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 24. Nov 2024, 11:59

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  [ 15 posts ] 
Author Message
 Post subject: Fatal error
PostPosted: 27. Sep 2008, 07:45 
Offline

Joined: 11. Oct 2007, 04:08
Posts: 46
Hi I get this error message in my browser:

Fatal error: Maximum execution time of 40 seconds exceeded in /mounted-storage/home91c/sub001/sc39103-BTMH/www/inc/filefunctions.inc.php on line 213

I update TWG to the last version and the problem still, if I refresh the page after 1 or 2 minutes it show, I dont know how to fix it!!

Tks and have a nice day!!!

---> Wach the error by yourself www.latangaroja.com <---


Top
 Profile  
 
 Post subject:
PostPosted: 27. Sep 2008, 10:33 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
It seems the problem is the following:

you have ~ 100.000 images in the gallery. TWG needs to scan all directories first to count all images. Scanning the 100.000 images seems to need longer than 40 sec.

This information is stored in the cache in the cache directory. An this cache is refreshed every time you upload new images or all 4 hours (this number can be increased to 24 h max). Therefore the first user is the one that has to wait until the cache is build (if it is build...)

What you can do: increase the execution time + the cache time that the cache is not refreshed that often.
Or disable the display of the number of images that are in each folder.

This brings me to a good idea. I do the same with the album tree. I only show it when the cache is build and if not I don't show it for the first user and build it it the background. I'll put this on my todo list for the next version.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 27. Sep 2008, 20:31 
Offline

Joined: 11. Oct 2007, 04:08
Posts: 46
Hi, tks for the answer, so how I can do those things??

In the server right now I have something like 40 GB and I have in my computer more than 300 GB waiting to be uploaded.... (I dont know how many images, but they are a lot...)

Another question, is possible to make something than peple pay in paypal and then they have access to zip files in some part of the gallery?? like an user administration or something..??

Tks and have a nice day, I realy love TWG!!!


Top
 Profile  
 
 Post subject:
PostPosted: 28. Sep 2008, 12:37 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
read
http://www.tinywebgallery.com/en/faq.php#h45

and set
$show_counter_in_jstree=false;
$show_number_of_pic=false;

You could use private galleries or for zips you have to do some coding of course.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 13. Oct 2008, 10:14 
Offline

Joined: 11. Oct 2007, 04:08
Posts: 46
Hi again, now I have this error:

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /mounted-storage/home91c/sub001/sc39103-BTMH/www/index.php on line 444

:cry:

I install the new version with the installer, tks!!


Top
 Profile  
 
 Post subject:
PostPosted: 13. Oct 2008, 10:22 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Seems like during unzipping a file was not properly extracted.

Simply retry or extract index.php manually and overwrite the one on the server.

I just tested this with the installer of TWG 1.7.5 I downloaded 3 minutes ago ;).

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 13. Oct 2008, 10:30 
Offline

Joined: 11. Oct 2007, 04:08
Posts: 46
That error was before I update TWG also
=(


Top
 Profile  
 
 Post subject:
PostPosted: 13. Oct 2008, 11:10 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Have you modified something?

I have tested with the latest version you can download. If you get this error TWG should not even display the first page properly.

If the extraction does not work properly simply use the zip version and copy the file that has the problem manually to your server.

But you where running TWG before. Was the error there too?


/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 13. Oct 2008, 11:15 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
btw: are you using a skin for TWG?

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 13. Oct 2008, 17:52 
Offline

Joined: 11. Oct 2007, 04:08
Posts: 46
No, I use the default skin and colors!!

Tks!!


Top
 Profile  
 
 Post subject:
PostPosted: 13. Oct 2008, 17:59 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I'm just adding new colors for the buttons to TWG ;).

So is your problem solved by uploading the index.php again?

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 13. Oct 2008, 18:24 
Offline

Joined: 11. Oct 2007, 04:08
Posts: 46
No, still the same!!


Top
 Profile  
 
 Post subject:
PostPosted: 13. Oct 2008, 19:56 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I have sent you the patch for 1.7.5.1 which I tested and works fine for me.
Are you sure you have updated all files?

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 13. Oct 2008, 21:04 
Offline

Joined: 11. Oct 2007, 04:08
Posts: 46
Is possible for you to upload and make the update in my site, I can give you ftp access, only if you agree!!!

Tks!!!


Top
 Profile  
 
 Post subject:
PostPosted: 13. Oct 2008, 21:08 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
send me an e-mail

/Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 69 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