Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
andreamarucci
Experienced
Topic Author
Posts: 308
Joined: 01 Mar 2011, 11:13

Some errors logged

15 Apr 2015, 07:47

Hello Karl, here are some errors loggend in my server's error log, if they are of some interest for you.
Code
[14-Apr-2015 02:25:26 Australia/Melbourne] PHP Warning:  filemtime(): stat failed for ./content/untitled folder/3.2008/260708/tn_DSC02599.jpg in /xxx/xxx/gallery/app/helpers.inc.php on line 140
[15-Apr-2015 08:19:59 Australia/Melbourne] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /xxx/xxx/gallery/app/helpers.inc.php on line 152
[15-Apr-2015 19:59:37 Australia/Melbourne] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /xxx/xxx/gallery/app/parsers/yaml/sfYamlParser.php on line 574
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Some errors logged

15 Apr 2015, 12:04

Yup, thanks for noting ...

The first one is unimportant, but I will try to have it fixed. One of the others was probably when I tried to create the full siteobject for your site earlier, and it did not manage to create the entire object ... I am not quite sure what the last one is, but nothing to worry about unless you get actual errors somewhere.
 
User avatar
andreamarucci
Experienced
Topic Author
Posts: 308
Joined: 01 Mar 2011, 11:13

Re: Some errors logged

15 Apr 2015, 16:39

I'll let you know if I'll note other errors...
 
User avatar
andreamarucci
Experienced
Topic Author
Posts: 308
Joined: 01 Mar 2011, 11:13

Re: Some errors logged

16 Apr 2015, 05:38

This is from today
Code
[16-Apr-2015 06:29:16 Australia/Melbourne] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /xxx/xxx/gallery/app/parsers/yaml/sfYamlParser.php on line 75
 
User avatar
andreamarucci
Experienced
Topic Author
Posts: 308
Joined: 01 Mar 2011, 11:13

Re: Some errors logged

16 Apr 2015, 05:39

BTW why Australia/Melbourne? I'm in Italy. :roll:
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Some errors logged

16 Apr 2015, 06:33

andreamarucci wrote:BTW why Australia/Melbourne? I'm in Italy. :roll:
Never mind this for now ... Its from a PHP 5.3+ requirement that date_default_timezone_set() needs to be set, and although it should be set in your php.ini file, we can't rely on it (because it would break if not set). I will attempt to improve this.
 
User avatar
andreamarucci
Experienced
Topic Author
Posts: 308
Joined: 01 Mar 2011, 11:13

Re: Some errors logged

16 Apr 2015, 12:19

Another error log I've found in another folder but now I don't remember where
Code
[15-Apr-2015 14:26:24 Europe/Berlin] PHP Fatal error:  Uncaught exception 'SLIRException' with message 'Image does not exist: ../../../content/4.20112015/5.2015/2.090315/_MG5507.jpg' in /xxx/xxx/gallery/app/parsers/slir/slirrequest.class.php:413
Stack trace:
#0 /xxx/xxx/gallery/app/parsers/slir/slirrequest.class.php(147): SLIRRequest->setPath('4.20112015/5.20...')
#1 /xxx/xxx/gallery/app/parsers/slir/slirrequest.class.php(119): SLIRRequest->__set('i', '4.20112015/5.20...')
#2 /xxx/xxx/gallery/app/parsers/slir/slir.class.php(197): SLIRRequest->__construct()
#3 /xxx/xxx/gallery/app/parsers/slir/index.php(37): SLIR->__construct()
#4 {main}
  thrown in /xxx/xxx/gallery/app/parsers/slir/slirrequest.class.php on line 413
[16-Apr-2015 11:54:47 Europe/Berlin] PHP Fatal error:  Allowed memory size of 63963136 bytes exhausted (tried to allocate 7454721 bytes) in /xxx/xxx/gallery/app/parsers/slir/slirimage.class.php on line 632
[16-Apr-2015 11:54:57 Europe/Berlin] PHP Fatal error:  Allowed memory size of 63963136 bytes exhausted (tried to allocate 7454721 bytes) in /xxx/xxx/gallery/app/parsers/slir/slirimage.class.php on line 632
[16-Apr-2015 11:55:46 Europe/Berlin] PHP Fatal error:  Allowed memory size of 63963136 bytes exhausted (tried to allocate 7454721 bytes) in /xxx/xxx/gallery/app/parsers/slir/slirimage.class.php on line 632
[16-Apr-2015 11:57:17 Europe/Berlin] PHP Fatal error:  Allowed memory size of 63963136 bytes exhausted (tried to allocate 7454721 bytes) in /xxx/xxx/gallery/app/parsers/slir/slirimage.class.php on line 632
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Some errors logged

16 Apr 2015, 23:51

There errors are related to images that were too big to be resized. You may or may not have seen this error in the frontend. What size are your images?

Please, there is no need to copy all the errors from your log here. It does not necessarily mean there is an error in the application, it just means an error happened on the server that should get logged. For example, if your server fails to resize some large images, it will report there.

There are error logs for 1. the website/frontend and 2. the panel.
 
User avatar
andreamarucci
Experienced
Topic Author
Posts: 308
Joined: 01 Mar 2011, 11:13

Re: Some errors logged

17 Apr 2015, 04:19

Ok, no problems Karl. My images are all 800 or 1024 wide. The only images bigger are the ones in the initial slideshow that are as wide as the images contained in the installation. I've put these images in an hidden folder and set the initial slideshow to point to these ones.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Some errors logged

17 Apr 2015, 10:38

andreamarucci wrote:Ok, no problems Karl. My images are all 800 or 1024 wide. The only images bigger are the ones in the initial slideshow that are as wide as the images contained in the installation. I've put these images in an hidden folder and set the initial slideshow to point to these ones.
... and your front page images are resizing fine. Here is an example of one resized to 800px for "smaller" screens:
http://gallery.kog.it/render/w800-q90/frontpage/sl1.jpg

I wouldn't worry about it, as it could just be a coincidence. The error log can be turned off, but it may help up intercept errors when something does go wrong in the website.