forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: g0b0t on December 10, 2003, 05:10:47 am

Title: fresh install;permissions denied on install.php; not chmod
Post by: g0b0t on December 10, 2003, 05:10:47 am
Warning: main(include/sql_parse.php): failed to open stream: Permission denied in /home/user/public_html/coppermine/install.php on line 21

Fatal error: main(): Failed opening required 'include/sql_parse.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/coppermine/install.php on line 21

i have read a number of posts where users were getting this error on a fresh install.
their issue has been the chmod settings.
well, i tried them all.   :o   and nothing, damnit.  :evil:
any other ideas?

thanks.
Title: fresh install;permissions denied on install.php; not chmod
Post by: Joachim Müller on December 10, 2003, 09:20:28 am
your include path is set to '.:/usr/lib/php:/usr/local/lib/php' - that's where the script looks for the file 'sql_parse.php', but it isn't there.
If none of the postings about include issues did help, try changing all the include/require statements you encounter errors with: edit install.php and change
Code: [Select]
require('include/sql_parse.php');to
Code: [Select]
require('/home/user/public_html/coppermine/include/sql_parse.php');
You'll have to replace several include/require statement, be warned!

GauGau
Title: fresh install;permissions denied on install.php; not chmod
Post by: hyperion on December 10, 2003, 06:59:20 pm
Alternatively, you can change the include path using a .htaccess file if you are running Apache.

Something like:

php_value include_path .:/home/user/public_html/coppermine/include
Title: fresh install;permissions denied on install.php; not chmod
Post by: g0b0t on December 14, 2003, 12:02:37 am
well, i searched through the board and tried a few things and somehow it finally worked.
thanks for the replies.
-g0b0t
Title: installation problem, PLEASE HELP!
Post by: kylie_xx on December 22, 2003, 01:11:45 pm
i just uploaded coppermine, went 2 the address and it says this:

Warning: main(include/config.inc.php): failed to open stream: No such file or directory in /home/john-fos/public_html/xtina/include/init.inc.php on line 135

Fatal error: main(): Failed opening required 'include/config.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/john-fos/public_html/xtina/include/init.inc.php on line 135


could someone tell me whats rong and what i have 2 do?
thanx love kylie xx