close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Internal Server Error

Thread began 3/24/2010 10:46 am by alistair316863 | Last modified 3/25/2010 6:48 pm by Eric Mittman | 755 views | 3 replies |


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:

$WAGLOBAL_Root_URL = "" ;
$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 = "" ;
$WAGLOBAL_Verification_Email_CC = "" ;
$WAGLOBAL_Verification_Email_BCC = "" ;
$WAGLOBAL_Registration_Email_Subject = "Welcome to our site" ;
$WAGLOBAL_Registration_Email_FROM = "" ;
$WAGLOBAL_Registration_Email_CC = "" ;
$WAGLOBAL_Registration_Email_BCC = "" ;
$WAGLOBAL_Password_Email_Subject = "Your password" ;
$WAGLOBAL_Password_Email_FROM = "" ;
$WAGLOBAL_Password_Email_CC = "" ;
$WAGLOBAL_Password_Email_BCC = "" ;
$WAGLOBAL_Admin_UserName = "myusername" ;
$WAGLOBAL_Admin_Password = "mypassword" ;

and my connections file is:

# 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, 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

Sign in to reply to this post

Eric Mittman

A 500 level error is an error from the server. Does your hosting support php? If so you should create a phpinfo page by making a new file called phpinfo.php and ensuring that it has this line of code in it:

<?php phpinfo(); ?>

After you create this file upload it to your server and browse to it. It should let you know about the details of your php server setup. This must be correctly setup and working before you will be able to use any php pages on your site. Please post back and let us know what you discover.

Sign in to reply to this post


it was a file permission issue sorted now cheers anyway, just one thing is it possible to have uk Counties instead of us states?

Sign in to reply to this post

Eric Mittman

The state select list is static so the values are in the list directly. You can just update them to fit your needs. You can select the list and go into split or code view to edit the values.

You should start with the first state you can select:

<option value="AL" <?php if (!(strcmp("AL", (ValidatedField("usersRegistration","UserState"))))) {echo "selected=\"selected\"";} ?>>Alabama</option>

You would update this to your first County like this:

<option value="your county abbreviation" <?php if (!(strcmp("your county abbreviation", (ValidatedField("usersRegistration","UserState"))))) {echo "selected=\"selected\"";} ?>>your country name</option>

You would then want to repeat this and ensure that there is a selection for each county. You can overwrite the existing state values or just add your own in and get rid of the states after the fact.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...