Installation issues---test Installation issues---test
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Installation issues---test

Started by flyingpigs, December 07, 2003, 10:54:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

flyingpigs

I'm getting the following error when installing Coppermine

Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/flyingpigproductions.net/httpdocs/coppermine/install.php on line 21

Fatal error: Failed opening required 'include/sql_parse.php' (include_path='.:/usr/lib/php') in /home/httpd/vhosts/flyingpigproductions.net/httpdocs/coppermine/install.php on line 21

I have it in a folder in http_docs called 'coppermine' I set chmod in ftp to read/write/exe privileges.
 What am I doing wrong?  Thanks in adavance for helping a newbie.

hyperion

PHP on your server is configured with a base directory restriction.  All programs must be within the specified directory, or PHP will not execute them.  Look in php.ini, if you have access, to determine or change this setting. Additionally, the PHP setup has a specified include directory, which means that Coppermine's include files must go there, or the php.ini must be changed to allow their use from within the Coppermine directory.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

hyperion

Alternatively, you can change the include path using a .htaccess file if you are running Apache.

Something like:

php_value include_path .:/home/user/siteroot.com/coppermine/include
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)