I'm trying to install Coppermine on a Linux server, but when I try to access it, I get the following error page:
Notice: Undefined index: debug_mode in /home/flying/public_html/photos/include/functions.inc.php on line 96
Fatal error :
There was an error while processing a database query
Any idea what's going on here?
Enable debug mode in your config settings. If you can't access your site, use phpMyAdmin to change debug_mode from 0 to 1 in your cpg133_config table. Post the actual error message.
Also, did you read the documentation and follow the installation instructions? Did you upload all the files to your website before running install.php?
I didn't upload any files at all; Coppermine was in my site's script library, courtesy of the folks at PeopleHost. I just clicked the "Install" button, and away it went.
I would ask your host about the error message. It sounds like their automated installation script doesn't work properly, they don't have all the files available, or a combination of the two.
The sad truth is that my host is a pack of idiots who can barely spell, never mind provide support for a PHP script. I'll probably have to start from scratch on my own. Ah, well.
We recommend installing the script yourself instead of using an automated installation system like Fantastico. They tend to be unreliable and changes are usually made that screw things up. Download 1.3.3 from our site, unzip it to your local machine, and then read the documentation in the /docs folder. Installation is easy. Just make sure your host can support it (PHP, MySQL, IIS/Apache). The only thing you'll have to do is create a database, if you don't already have one.