coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: mmleikam on November 27, 2005, 06:44:58 PM

Title: warning and fatal error running install
Post by: mmleikam on November 27, 2005, 06:44:58 PM
I downloaded and installed CPG 1.4.2 and ran install.php.  This is what I got:


Warning: main(include/sql_parse.php): failed to open stream: Permission denied in /home/innerdem/public_html/gallery/install.php on line 36

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





Here's the URL:  http://innerdemise.com/gallery/install.php

I set up a MySql database and gave all permissions to the user.  Now I'm really confused.  What does the errors mean and what do I do?
Title: Re: warning and fatal error running install
Post by: kegobeer on November 27, 2005, 06:56:17 PM
Upload all of the files.  Looks like you didn't upload everything.
Title: Re: warning and fatal error running install
Post by: mmleikam on November 27, 2005, 07:21:20 PM
All of the files are uploaded and I'm still getting that error.  What you saw was probably when I was reuploading everything.  I'm not going to touch anything now, so if you can help, I'd appreciate it.  :)
Title: Re: warning and fatal error running install
Post by: Joachim Müller on November 27, 2005, 07:52:07 PM
what app did you use to upload?
Title: Re: warning and fatal error running install
Post by: mmleikam on November 27, 2005, 10:02:44 PM
I used FTP Commander.  I've never had any problems with it.

I CHMOD albums and include to 777.  Then I get that error.  Before I CHMOD, it told me that those files needed to CHMOD 777.
Title: Re: warning and fatal error running install
Post by: Nibbler on November 27, 2005, 10:13:00 PM
Try 755 instead of 777 and make sure the permission change applied to all the files inside the folder.
Title: Re: warning and fatal error running install
Post by: mmleikam on November 27, 2005, 10:19:35 PM
Still getting the errors after changing it to 755.

I've installed other PHP and MySQL scripts and have run into easily solved problems.  I was wondering, where do I need to input my database info, like password, database name, username, etc?  I'm thinking that could be the problem since I haven't done that and have no clue where to do it as I look at the code.
Title: Re: warning and fatal error running install
Post by: Nibbler on November 27, 2005, 10:25:05 PM
http://innerdemise.com/gallery/include/sql_parse.php

That message means you don't have the correct permissions set. Your profile says you are using windows, if you are then you need to set the permissions up differently. The installer will ask you for db info.
Title: Re: warning and fatal error running install
Post by: mmleikam on November 27, 2005, 11:33:39 PM
I got it to work.  CHMOD wasn't working before but I got it.  Thanks for the help!