#1122 posted by inertia on 2007/06/06 23:43:35
when accessing http://celephais.net/board/view_thread.php?id=870&start=840 i got this error
it always goes away if i specify "celephais.net/forum" as the address
Warning: mysql_connect() [function.mysql-connect]: Too many connections in /home/johnfitz/sites/www.celephais.net/board/_database.php on line 3
Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/johnfitz/sites/www.celephais.net/board/_database.php on line 4
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/johnfitz/sites/www.celephais.net/board/_database.php on line 4
Warning: mysql_query() [function.mysql-query]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/johnfitz/sites/www.celephais.net/board/_database.php on line 8
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/johnfitz/sites/www.celephais.net/board/_database.php on line 8
Warning: mysql_query() [function.mysql-query]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/johnfitz/sites/www.celephais.net/board/_database.php on line 8
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/johnfitz/sites/www.celephais.net/board/_database.php on line 8
RECURSIVE ERROR:
Error 1: SQL error 1045 on line 12 of view_thread.php.
Error 2: SQL error 1045 on line 30 of _display.php.
This problem usually goes away if you refresh the page (but feel free to tell metlslime about the specific error you just got, since I'm curious about why this happens.
And
#1123 posted by inertia on 2007/06/06 23:44:42
it's _database.php in case you weren't sure (since it gets cut off)
Hmmm...
#1124 posted by metlslime on 2007/06/07 04:54:10
seems like every once in a while the database is inacessible for a couple seconds. I probably need to detect that and put up a simpler message.
WTf Is This:
#1125 posted by PuLSaR on 2007/07/07 01:23:15
Warning: mysql_connect() [function.mysql-connect]: Too many connections in /home/johnfitz/sites/www.celephais.net/board/_database.php on line 3
Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/johnfitz/sites/www.celephais.net/board/_database.php on line 4
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/johnfitz/sites/www.celephais.net/board/_database.php on line 4
RECURSIVE ERROR:
Error 1: SQL error 1045 on line 98 of _user.php.
Error 2: SQL error 1045 on line 30 of _display.php.
This problem usually goes away if you refresh the page (but feel free to tell metlslime about the specific error you just got, since I'm curious about why this happens.
Looks Like...
#1126 posted by metlslime on 2007/07/07 03:02:45
the FOV120 database went down for a minute... I had the same problem on cubeengine.com at the same time.
Argh
#1127 posted by Spirit on 2007/07/09 20:03:22
Oops
#1128 posted by Spirit on 2007/07/09 20:04:49
forgot to add:
totally out of the blue, firefox 2 something, happened for a few times, now it's gone.
Spirit
#1129 posted by JPL on 2007/07/09 20:20:06
How long are we suppose to wait before seeing something on the provided link ?
5 mn after typing "enter", it's still waiting for the website.... wtf ?
Hmm....
#1130 posted by metlslime on 2007/07/09 20:43:29
seems to be another case of the database going down or getting hit too hard by requests. Maybe i need to ask sleepwalkr about it.
Bugfix:
#1131 posted by metlslime on 2007/07/13 13:11:23
I fixed the quotes-in-title-preview bug. (It used to eat your title if you had quotes in it and used the preview feature.)
"yay"
#1132 posted by mwh on 2007/07/15 00:57:05
I reported this in 2005 I think :)
Improved Error Message For When The Database Is Down
#1133 posted by metlslime on 2007/07/28 11:31:41
This doesn't help with the database going down, but hopefully you'll get one error instead of a screen full of errors.
That One Error Seems To Be:
#1134 posted by mwh on 2007/07/29 15:08:42
Fatal error: Call to undefined function: d_error() in /home/johnfitz/sites/www.celephais.net/board/_database.php on line 11
... which doesn't seem quite right?
Mwh:
#1135 posted by metlslime on 2007/07/30 01:25:35
good catch. PHP doesn't require that you declare a function before calling it, unless the function is in an include. Should be fixed now (have to wait until the next DB downtime to see)
A Couple Of Small Changes...
#1136 posted by metlslime on 2007/08/20 11:29:48
1. there is now some additional text on the "submit news" and "create a new discussion thread" pages. This should hopefully explain to newcomers what the standards are for creating a new thread vs. posting in an existing thread.
2. you can now create a URL that always points to the last page of a thread, using &page=last in the URL. This page will display the last 25 posts for an anonymous user, but if you are logged in, it will display 25, 50, or 100 posts depending on your preferences.
ERROR: Title Cannot Be Longer Than 70 Characters Asdasdasdasdasfasfasf
#1137 posted by czg on 2007/08/21 11:45:15
But you get the error message at 69?
Wait, What? Sdfsdfsdfsdfsdfdffffffffffffffffffffffffffffffffffffffffff
#1138 posted by czg on 2007/08/21 11:45:37
Now It Works? AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsg
#1139 posted by czg on 2007/08/21 11:46:04
Well I Don't Know What's Going On But I Got That Error Twice But Now
#1140 posted by czg on 2007/08/21 11:46:59
it suddenly works...
Ok One More Try This Time With Some Proper Words And Not Just A Stream
#1141 posted by czg on 2007/08/21 11:48:38
of characters that gets cut off with an ellipsis
Hello Czg, What A Great Day. I Just Wanted To Tell You That You Are So
#1142 posted by Spirit on 2007/08/21 12:23:30
:P
i can't even type in more than 70. Does Opera not use the "maxlength='70'"? Or are you using something evil.
Hmm...
#1143 posted by metlslime on 2007/08/21 12:32:00
might be an apostrophe counts as two characters after it's encoded?
Yeah I Guess It_s The Apostrophe_s Fault. Probably _quotes_ Too? 1 2 3
#1144 posted by czg on 2007/08/21 12:49:07
Yeah I guess it's the apostrophe's fault. Probably "quotes" too? 1 2 3 <-- 70 chars, does not validate.
Yeah I guess it_s the apostrophe_s fault. Probably "quotes" too? 1 2 3 <-- 70 chars, does not validate.
Yeah I guess it_s the apostrophe_s fault. Probably _quotes_ too? 1 2 3 <-- 70 chars, ok.
OMG
#1145 posted by metlslime on 2007/08/23 03:01:23
yeah, i know about the database problem from the last 6+ hours. Not sure what caused it, but it was server-wide (it also brought down the cube forums.) I'll ask sleepy if he knows what was up.
But it did reveal that my attempt to have a single, clean error message for when the DB is down failed.
Okay...
#1146 posted by metlslime on 2007/08/23 06:27:55
the NEXT time the database takes a shit, there will hopefully be a nice clean error message.
|