News | Forum | People | FAQ | Links | Search | Register | Log in
Site Help
This is the forum to ask questions about this website, report things that are broken, request features, etc.

Be sure to check out the FAQ as well.
First | Previous | Next | Last
Hmmm... 
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: 
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... 
the FOV120 database went down for a minute... I had the same problem on cubeengine.com at the same time. 
Argh 
Oops 
forgot to add:
totally out of the blue, firefox 2 something, happened for a few times, now it's gone. 
Spirit 
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.... 
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: 
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" 
I reported this in 2005 I think :) 
Improved Error Message For When The Database Is Down 
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: 
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: 
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... 
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 
But you get the error message at 69? 
Wait, What? Sdfsdfsdfsdfsdfdffffffffffffffffffffffffffffffffffffffffff 
 
Now It Works? AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsg 
 
Well I Don't Know What's Going On But I Got That Error Twice But Now 
it suddenly works... 
Ok One More Try This Time With Some Proper Words And Not Just A Stream 
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 
:P

i can't even type in more than 70. Does Opera not use the "maxlength='70'"? Or are you using something evil. 
Hmm... 
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 
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 
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... 
the NEXT time the database takes a shit, there will hopefully be a nice clean error message. 
Metl: 
please add: beer, hookers, and coke to snort off said hooker's tits; to func. 
Scampie: 
there's already a beer icon. The coke was smuggled into the country inside the crate icon. And if you want hookers, you need to find a pimp, who already has an icon. 
First | Previous | Next | Last
You must be logged in to post in this thread.
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.