1 (edited by alfa_romeo 2007-10-24 20:54)

Topic: Internal Server Error

Hi,
this evening I got this notice very often. My PunBB-Forum (1.2.14) has 34 users, a database of about 11 MB:

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, xxxxxx and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log."

When I tried to install on my local Computer (it's a Mac, I use MAMP) and try to import the database, I get the following error:

Error
SQL-Befehl:

CREATE TABLE  `punbans` (
`id` INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
`username` VARCHAR( 200 ) COLLATE latin1_german1_ci DEFAULT NULL ,
`ip` VARCHAR( 255 ) COLLATE latin1_german1_ci DEFAULT NULL ,
`email` VARCHAR( 50 ) COLLATE latin1_german1_ci DEFAULT NULL ,
`message` VARCHAR( 255 ) COLLATE latin1_german1_ci DEFAULT NULL ,
`expire` INT( 10 ) UNSIGNED DEFAULT NULL ,
PRIMARY KEY (  `id` )
) ENGINE = MYISAM AUTO_INCREMENT =2 DEFAULT CHARSET = latin1 COLLATE = latin1_german1_ci--
-- Table structure for puncategories
--
DROP TABLE IF EXISTS  `puncategories` ;

MySQL meldet:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DROP TABLE IF EXISTS `puncategories`' at line 12


I hope you can understand my bad English, sorry...

Re: Internal Server Error

Internal server error: Do what it says, check the error log and post the content here. We can't tell anything from that error

Importing: Your database dump doesn't appear to have semi-colons after queries like it should.