DBScripts.net

Free PHP Scripts and Resources for Webmasters

Frequently Asked Questions

1. I am receiving an HTTP 500 Internal Server Error when attempting to browse to the folder where the script is installed.

Try removing or commenting out the lines "php_flag register_globals off" and "php_flag magic_quotes_gpc off" in the .htaccess file that is included with the script; not all server configurations support these directives. After doing this, you should check with your server administrator and confirm that register globals is turned off, for security reasons.

2. The challenge verification code does not display; I get a broken image instead.

More than likely, GD lib is either not installed or not enabled. The following link describes how to enable GD lib.

How do I get GD to work with PHP

If you are unable to get GD lib working, the challenge-response test can be disabled by setting the $CHALLENGE_ENABLED variable to FALSE in config.php.

3. When attempting to add a guestbook entry, I receive the error "Unable to open guestbook file for writing."

This usually means that the "data" folder does not have write permissions enabled. On a UNIX server, the permissions can be changed with the "chmod" command.

4. I get the error message "Unable to send notification."

The notifications feature depends on the PHP mail functions being available. If you are getting this message, more than likely they are not. The following page discusses the requirements of these mail functions:

http://us2.php.net/mail

DRBGuestbook