forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upgrading => Topic started by: sharpo on December 03, 2010, 11:46:15 pm

Title: error_log, probably a one-off error?
Post by: sharpo on December 03, 2010, 11:46:15 pm
http://www.sharpos-world.co.uk/kc/

Upgraded from 1.5.8 to 1.5.10 this evening. Everything seems to be working as normal when viewing images, but when checking I had a backup copy of the files I noticed an extra file - error_log.

The time it was created was during the 30 minutes when I was uploading the 1.5.10 files. The gallery had been set to offline before the 1.5.8 files were deleted and I'm just guessing it's a very rare error? Couldn't find anything after searching the forum. This was what the log contained:-

[03-Dec-2010 09:58:37]
PHP Warning: require(include/init.inc.php) [function.require]: failed to open stream: No such file or directory in /sharpos-world.co.uk/kc/displayimage.php on line 23 [03-Dec-2010 09:58:37]
PHP Warning: require(include/init.inc.php) [function.require]: failed to open stream: No such file or directory in /sharpos-world.co.uk/kc/displayimage.php on line 23 [03-Dec-2010 09:58:37]
PHP Fatal error: require() [function.require]: Failed opening required 'include/init.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /sharpos-world.co.uk/kc/displayimage.php on line 23

Title: Re: error_log, probably a one-off error?
Post by: Αndré on December 04, 2010, 11:08:24 am
Seems that somebody tried to view a picture while you upgraded your gallery (especially while replacing the file include/init.inc.php).
Title: Re: error_log, probably a one-off error?
Post by: sharpo on December 04, 2010, 01:55:12 pm
I thought perhaps it might be a simple explanation like that, thanks for confirming it.

Will mark as solved.