coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: wreckage on November 26, 2006, 05:18:13 AM

Title: Cannot access 'install.php' - fatal error.
Post by: wreckage on November 26, 2006, 05:18:13 AM
Hello all. 
Yes, my first post after failing to be able to install Gallery2....  Here we come, Coppermine! :-)

Here's what I've done so far;

-uploaded cpg1.4.10.zip to my webserver and unzipped it.

-changed permissions on 'include' and 'albums' folder to 666
  (permissions on my root coppermine folder (CM) are 755 - http://www.re-rentacrowd.com/Coppermine/CM/install.php)

-directed my browser to; http://www.re-rentacrowd.com/Coppermine/CM/install.php
   ...and received this:-

  Warning: main(include/sql_parse.php): failed to open stream: Permission denied in /mounted-storage/home16a/sub002/sc18297-SNVA/www/Coppermine/CM/install.php on line 36

Warning: main(include/sql_parse.php): failed to open stream: Permission denied in /mounted-storage/home16a/sub002/sc18297-SNVA/www/Coppermine/CM/install.php on line 36

Warning: main(include/sql_parse.php): failed to open stream: Permission denied in /mounted-storage/home16a/sub002/sc18297-SNVA/www/Coppermine/CM/install.php on line 36

Fatal error: main(): Failed opening required 'include/sql_parse.php' (include_path='.:/usr/local/lib/php') in /mounted-storage/home16a/sub002/sc18297-SNVA/www/Coppermine/CM/install.php on line 36
--------------

Here is a link to phpinfo.php: - http://www.re-rentacrowd.com/Coppermine/phpinfo.php

Can anybody please assist me as to what the problem is?

Thanks, and Cheers! 

PS - how do I upload an avatar - I can't see it under profile settings?

Thanks.
Title: Re: Cannot access 'install.php' - fatal error.
Post by: Sami on November 26, 2006, 06:45:16 AM
Quote from: wreckage on November 26, 2006, 05:18:13 AM
-changed permissions on 'include' and 'albums' folder to 666
  (permissions on my root coppermine folder (CM) are 755 - http://www.re-rentacrowd.com/Coppermine/CM/install.php)

Permission on those folder should be 755 or 777 you need write permission on those folders

Quote from: wreckage on November 26, 2006, 05:18:13 AM
PS - how do I upload an avatar - I can't see it under profile settings?
You can't , this option is disable for you ...
Title: Re: Cannot access 'install.php' - fatal error.
Post by: wreckage on November 26, 2006, 08:17:20 AM
Thanks again, Sami.

BTW, 666 is 'write' - you mean those folders have to have 'execute' permissions.  Perhaps the install guide should mention that.

Cheers.
Title: Re: Cannot access 'install.php' - fatal error.
Post by: Sami on November 26, 2006, 08:28:39 AM
Sorry my bad , yes you need 'execute' permissions

QuotePerhaps the install guide should mention that.
it's actually there !
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#installation
Title: Re: Cannot access 'install.php' - fatal error.
Post by: wreckage on November 26, 2006, 09:28:33 AM
You're right, Sami.

I was reading this one: http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#MinimumRequirements
under 'what are the steps....'

Unfortunately, my web host has given me the incorrect path to ImageMagick, so now I have to wait for that info.
I hope it all works ok.

Cheers.
Title: Re: Cannot access 'install.php' - fatal error.
Post by: Joachim Müller on November 26, 2006, 09:49:20 AM
Try GD2 instead.