Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 22. Nov 2024, 07:01

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 28. Feb 2015, 03:23 
Offline

Joined: 28. Feb 2015, 03:06
Posts: 4
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!!


Top
 Profile  
 
PostPosted: 28. Feb 2015, 08:36 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
PostPosted: 2. Mar 2015, 23:44 
Offline

Joined: 28. Feb 2015, 03:06
Posts: 4
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!!


Top
 Profile  
 
PostPosted: 3. Mar 2015, 00:31 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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!


Top
 Profile  
 
PostPosted: 3. Mar 2015, 01:32 
Offline

Joined: 28. Feb 2015, 03:06
Posts: 4
If I turn on cache the gallery dont open nothing only white screen with the fatal error...

I also disable counter :(


Top
 Profile  
 
PostPosted: 3. Mar 2015, 09:32 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I don't see anything there. How have you disabled the counter?

Best, Michael


Top
 Profile  
 
PostPosted: 3. Mar 2015, 09:33 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Gust got it loaded - the numbers are still there!
I talk about the number next to the album names.


Top
 Profile  
 
PostPosted: 3. Mar 2015, 21:48 
Offline

Joined: 28. Feb 2015, 03:06
Posts: 4
I fix it with the how tos, thank you very much, have a nice day!!!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy