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 line "php_flag register_globals off" in the .htaccess file that is included with the script; not all server configurations support this directive. After doing this, you should check with your server administrator and confirm that register globals is turned off, for security reasons.

2. I am receiving an error such as "Error creating thumbnail" when attempting to upload or import images.

It is possible that 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

Also, confirm that the "thumbs" folder has write permissions enabled.

3. When doing a search and selecting one or more of the attributes, I get an error such as "You have an error in your SQL syntax."

Currently, DRBImageGallery requires MySQL version 4.1 or higher. It appears that you are using an older version that does not support some of the required syntax. Please check your MySQL version, and upgrade if possible.

DRBImageGallery