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 11. Oct 2024, 01:18

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 This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
PostPosted: 22. Sep 2012, 17:20 
Offline

Joined: 11. Jun 2009, 09:02
Posts: 81
Hi Michael,

May I have your advice for about below error when I click on Top X or in admin console by clicking Extract IPTC to get image update will write the error in debug session and no update found eventually.

ERROR 8 in /volume1/web/twg/inc/readxml.inc.php, line 974: unserialize(): Error at offset 1473 of 1561 bytes

Thank you.

Regards,
Vincent


Top
 Profile  
 
PostPosted: 22. Sep 2012, 23:47 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
this happens when a cache file get corrupt. But this is detected at this point in the cache file is deleted and recreated.
So nothing to worry about.

I have added a @ there for the next build that the message is not shown anymore.

- Michael


Top
 Profile  
 
PostPosted: 25. Sep 2012, 10:01 
Offline

Joined: 11. Jun 2009, 09:02
Posts: 81
Hi Michael,

Thanks for your update.

By the way, I found some of these newly created album didn't shown in TopX for user comments, view count and download count. Can you tell me how can I fix?

I have checked on album folder permission, debug log and find nothing else.

Please advise.

Regards,
Vincent


Top
 Profile  
 
PostPosted: 25. Sep 2012, 11:23 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
This counts are cached. the settings are this ones:

$precache_background=true; // (true/false) TWG preloads the counter xml of the albums of the first page to speedup the following background tasks (starts 5 sec after 1st page starts to load!) - if you want to speed up the first page on a slow connection: set this to true!
$precache_main_top_x=true; // (true/false) Caches the TopX in tmp files in the cache folder. The cache is eitehr build during the first call or when the background process is started
$precache_main_top_x_limit=2000; // (Number) If your whole gallery has less then the given limit the cache files are NOT used because normally they can be generated fast enough on the fly. Over this limit the _topx_ cache files are used if present or they are generated!
$precache_main_top_x_interval=4; // (Number) This is the time interval in hours the topx caches are deleted and new numbers are fetched - if you set -1 then the cache is connected to the one day caching - max value therefore is 24 ; This time is used for the autogeneration of top x folder images cecause it is linked to the topx
$precache_topx_additional_dirs=''; // (String) By default only the main topx is precached. If you want to cache subdirs too please add this dirs here as comma seperated list. e.g. for the 2 folders 'davos' and '2007/vacation' the enty has to be: 'davos,2007/vacation'

Best, Michael


Top
 Profile  
 
PostPosted: 25. Sep 2012, 12:07 
Offline

Joined: 11. Jun 2009, 09:02
Posts: 81
Will check this out and thank you Michael.


Top
 Profile  
 
PostPosted: 14. Jan 2020, 16:40 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
You are welcome


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

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