I got the same messages as Elena, except that I had this one on the list, as well:
August 3, 2003, 4:03 pm DXMachina[23]: ERROR [2] Cannot modify header information - headers already sent by (output started at /home/bufforg/public_html/classes/giles.php:54) line 39 of file /home/bufforg/public_html/classes/user.php
Here's one other thought. Does the random quote function on each page create a separate MySQL connection to the database? Does it contribute to the problem? Because if so, it's certainly something we can live without for the time being.
Just got this at the top of the home page, now:
August 3, 2003, 4:53 pm : ERROR [2] mysql_close(): no MySQL-Link resource supplied line 81 of file /home/bufforg/public_html/classes/giles.php
August 3, 2003, 4:53 pm : ERROR [2] mysql_close(): no MySQL-Link resource supplied line 81 of file /home/bufforg/public_html/classes/giles.php
Okay. I'm going to upload some new changes, that have been somewhat tested. Hopefully there will be no mean messages, but bear with me.
This isn't slutting, this is further testing.
Pshaw.
I never got the messages again, for what it's worth. Even before your post about making more changes.
I'm getting an error on the links page:
August 3, 2003, 8:04 pm Jon B.[211]: ERROR [2] mysql_close(): no MySQL-Link resource supplied line 81 of file /home/bufforg/public_html/classes/giles.php
It shows up twice after every section header.
Whoops. Copied over one too few files.
Should be gone now.
You know, I wish I knew more about the internals of MySQL/PHP, to know where the break even point is between closing db connections before a script is over, and reusing just one connection for every query.
I guess it depends on the speed the script runs -- the faster it's done, the more likely keeping one connection open for the whole thing is the efficient choice. But if it takes a long time to run, the bits inbetween where it's not being used, but is just sitting there ... those'll add up.
Which
implies
that a faster machine works better for keeping them open all script long.
But I could be making shit up.
So, according to your made up shit, would a slow machine be better than a fast one for, um, whatever it is we're trying to have happen?