Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Fatal error: Maximum execution time
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=3815
Page 1 of 1

Author:  amateurchitsu [ 28. Feb 2015, 03:23 ]
Post subject:  Fatal error: Maximum execution time

Hi I update TWG to the last version, and Im getting this error:

Fatal error: Maximum execution time of 40 seconds exceeded in /mounted-storage/home94a/sub004/sc49375-YFFB/amateurchitsu.com/galerias/inc/filefunctions.inc.php on line 242

This is the answer of my hosting:

Thank you for contacting us.

php execution time is limited to 30sec. So a php_value max_execution_time 300 will be killed after 30 sec. As it is a shared server the connection should complete within 30 sec or our server will kill the script. This is done in order to protect servers from stalling. Thus, we request you to make changes to the script accordingly.

Please let us know if you need further assistance.

What can I do???

Thank you and have nice day!!

Author:  TinyWebGallery [ 28. Feb 2015, 08:36 ]
Post subject:  Re: Fatal error: Maximum execution time

This does happend when the whole tree is calculated. This checks how may images are in each folder.
This result is cached but has to be done if you want to show this numbers.

How many images do you ahve and do you have the cache enabled.

Also look at the howto how to optimize TWG for speed!

Best, Michael

Author:  amateurchitsu [ 2. Mar 2015, 23:44 ]
Post subject:  Re: Fatal error: Maximum execution time

Hi, I tunf off cache and now the gallery takes a lot to open but only the half and still the same sign "fatal error" if you wish see it by yourself...

http://www.amateurchitsu.com/galerias/index.php

Thank you!!

Author:  TinyWebGallery [ 3. Mar 2015, 00:31 ]
Post subject:  Re: Fatal error: Maximum execution time

I have not told you to turn off the cache. This will cause everything to be even slower.

Check the howto how to optimize TWG for speed. The important one is the counter.

You have around 87000 images!. And without cache all image folders are scanned again and again!

Author:  amateurchitsu [ 3. Mar 2015, 01:32 ]
Post subject:  Re: Fatal error: Maximum execution time

If I turn on cache the gallery dont open nothing only white screen with the fatal error...

I also disable counter :(

Author:  TinyWebGallery [ 3. Mar 2015, 09:32 ]
Post subject:  Re: Fatal error: Maximum execution time

I don't see anything there. How have you disabled the counter?

Best, Michael

Author:  TinyWebGallery [ 3. Mar 2015, 09:33 ]
Post subject:  Re: Fatal error: Maximum execution time

Gust got it loaded - the numbers are still there!
I talk about the number next to the album names.

Author:  amateurchitsu [ 3. Mar 2015, 21:48 ]
Post subject:  Re: Fatal error: Maximum execution time

I fix it with the how tos, thank you very much, have a nice day!!!

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/