Internal Server Error
Hi i have put all the files in a folder called secured in my root ie secured/
I can navigate to the index page but as soon as i try to get to: Admin/ I get a 500 Internal server error my globals file is set as below:
<?php
$WAGLOBAL_Root_URL = "http://www.mysite.co.uk/secured/" ;
$WAGLOBAL_Captcha_Width = "200" ;
$WAGLOBAL_Captcha_Height = "40" ;
$WAGLOBAL_Captcha_Characters = "5" ;
$WAGLOBAL_Captcha_Font = "Fonts/MOM_T___.TTF" ;
$WAGLOBAL_Captcha_BG = "ffffff" ;
$WAGLOBAL_Captcha_Noise = "000000" ;
$WAGLOBAL_Captcha_Text = "000000" ;
$WAGLOBAL_Captcha_BG_transparent = "0" ;
$WAGLOBAL_Email_Server = "" ;
$WAGLOBAL_Verification_Email_Subject = "Email Verification" ;
$WAGLOBAL_Verification_Email_FROM = "me@mysite.co.uk" ;
$WAGLOBAL_Verification_Email_CC = "" ;
$WAGLOBAL_Verification_Email_BCC = "" ;
$WAGLOBAL_Registration_Email_Subject = "Welcome to our site" ;
$WAGLOBAL_Registration_Email_FROM = "me@mysite.co.uk" ;
$WAGLOBAL_Registration_Email_CC = "" ;
$WAGLOBAL_Registration_Email_BCC = "" ;
$WAGLOBAL_Password_Email_Subject = "Your password" ;
$WAGLOBAL_Password_Email_FROM = "me@mysite.co.uk" ;
$WAGLOBAL_Password_Email_CC = "" ;
$WAGLOBAL_Password_Email_BCC = "" ;
$WAGLOBAL_Admin_UserName = "myusername" ;
$WAGLOBAL_Admin_Password = "mypassword" ;
?>
and my connections file is:
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_localhost = "localhost";
$database_localhost = "database_name";
$username_localhost = "my_username";
$password_localhost = "my_password";
$localhost = mysql_pconnect($hostname_localhost, $username_localhost, $password_localhost) or trigger_error(mysql_error(),E_USER_ERROR);
?>
Why am I getting this error please help full error is:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@mysite.co.uk 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.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Regards Alistair