coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: hardtraining on December 27, 2003, 08:03:50 PM

Title: Script called without the required parameter(s).
Post by: hardtraining on December 27, 2003, 08:03:50 PM
WHen I enter admin mode, I get this error. Any idea why? thanks!
Title: Script called without the required parameter(s).
Post by: Joachim Müller on December 28, 2003, 02:29:39 AM
http://forum.coppermine-gallery.net/index.php?topic=1290

GauGau
Title: PHP settings are wonky
Post by: jokeofalltrades on January 12, 2004, 02:20:17 AM
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)