NineChime forum

Furry stuff, oekaki stuff, and other stuff.

You are not logged in.

#1 09-11-2006 18:51:52

copkid
Member

HTTP 500 - Internal server error----HELP!

I had the Oekaki for months, and just recently i went into my FTP client and i went to layout.
There, i entered the backround.php And changed it.....Today i went on...and it the backround didn't change, but it was working But now it gives me.

HTTP 500 - Internal server error
Internet Explorer

Help?

Offline

#2 09-12-2006 03:30:44

Waccoon
Administrator

Re: HTTP 500 - Internal server error----HELP!

Layout?  Background.php?  Are you talking about editing a template?

If so, there's not much I can do to help unless you tell me what changes were made.  A 500 server error is when PHP is doing something the server doesn't like (like a security violation), and the server refuses to show the site.  A lot of unrelated things can cause this.

If your host has a control panel, check for something related to your server's error log.  Look for entries that have "500" as a status code.  Those will be related to your oekaki.  The more info you can give me, the better.

Offline

#3 09-17-2006 13:08:29

copkid
Member

Re: HTTP 500 - Internal server error----HELP!

Its better now, but some times it says "Cannot connect to MySQL" ^^

Offline

#4 09-17-2006 18:34:49

Waccoon
Administrator

Re: HTTP 500 - Internal server error----HELP!

If it only does that occasionally, chances are the SQL server is overloaded, or the server is incorrectly configured to use only persistent connections, which is bad.

To get more information, open up the dbconn.php file in a text editor, and change this line:

Code:

SOURCE:
$dbconn = mysql_connect($dbhost, $dbuser, $dbpass) or die('Could not connect to the MySQL database.');

CHANGE TO:
$dbconn = mysql_connect($dbhost, $dbuser, $dbpass) or die( mysql_error() );

Note that when you try to re-upload the file, the server may not let you.  Delete the original file from the server, upload the new one, and CHMOD it to 664.

Offline

Board footer

Yep, still running PunBB
© Copyright 2002–2008 PunBB