:? When trying to upload a picture I get the above error message, e.g.
Script called without the required parameter(s).
File: /home/httpd/vhosts/lestreghe.org/httpdocs/coppermine/db_input.php - Line: 39
Line 39 is actually a blank one, but here are the ones before and after:
define('DB_INPUT_PHP', true);
require('include/init.inc.php');
What's wrong?
Thanks in advance for any suggestions
I had the same problems, and it took me forever to figure it out. Chances are, your PHP settings need to be adjusted. Check the phpinfo() to see if 'file_uploads' is turned on and if 'register_globals' is off. If either is set incorrectly, you could run into trouble. More information can be found in this thread (http://forum.coppermine-gallery.net/index.php?topic=438&highlight=script+parameter).
The good news is that on many Apache servers you can change these settings for individual directories. A simple .htaccess file will do the trick. Place something like the following in a file called .htaccess in your Coppermine directory:
php_flag register_globals off
php_flag file_uploads on
Some Apache configurations don't allow this, and I know nothing of non-Apache webservers, but it's a start...
--Michael
www.jokeofalltrades.com (http://www.jokeofalltrades.com)