forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upgrading => Topic started by: pols1337 on March 24, 2014, 03:26:22 am

Title: Upgrading from cpg1.5.24 to 1.5.26
Post by: pols1337 on March 24, 2014, 03:26:22 am
Error:

Warning: require_once(include/inspekt/error.php): failed to open stream: Permission denied in /srv/www/htdocs/adonismale/charly/include/inspekt.php on line 33 Fatal error: require_once(): Failed opening required 'include/inspekt/error.php' (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in /srv/www/htdocs/adonismale/charly/include/inspekt.php on line 33

I think this may be because I ran update.php prematurely?  Please advise on how to fix.  Do I need to fix permissions somewhere?

Title: Re: Upgrading from cpg1.5.24 to 1.5.26
Post by: gmc on March 25, 2014, 03:49:13 am
You didn't provide a website url, so I can't see if the site is functional...

update.php can always be rerun.
you can verify the file permissions via the file explorer function your webhost provides or an ftp application...
if they look ok, I would try uploading the CPG files again. They may have gotten corrupted in the transfer.

Let us know what you find.

Greg
Title: Re: Upgrading from cpg1.5.24 to 1.5.26
Post by: pols1337 on March 25, 2014, 05:33:24 pm
Gallery located at: http://adonismale.com/charly/

When I try to run update.php, I just get a totally blank page.  I'll try reuploading all of the files and checking the permissions. 
Title: Re: Upgrading from cpg1.5.24 to 1.5.26
Post by: Αndré on March 27, 2014, 01:54:57 pm
Check include/inspekt/error.php particularly.
Title: Re: Upgrading from cpg1.5.24 to 1.5.26
Post by: pols1337 on March 28, 2014, 02:51:08 am
The file exists and the permissions are at 775. 
Title: Re: Upgrading from cpg1.5.24 to 1.5.26
Post by: phill104 on March 28, 2014, 02:25:16 pm
But is it the right version of the file. Re-upload the upgrade files via ftp overwriting the originals and see if that works.
Title: Re: Upgrading from cpg1.5.24 to 1.5.26
Post by: pols1337 on March 29, 2014, 02:45:44 pm
I eventually figured out how to fix it.  Changed all permissions in /include to 755.