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, 15:45

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  [ 13 posts ] 
Author Message
PostPosted: 14. Oct 2007, 07:40 
Offline

Joined: 11. Oct 2007, 04:08
Posts: 46
Hi, my conter dont show history, show well total and today, but the little chart only show 7 visits since I install it and test it, how I can fix it?

Image

Tks!


Top
 Profile  
 
 Post subject:
PostPosted: 14. Oct 2007, 09:53 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
this chart is created once a day.
check the file counter/user_log.txt and check if it updated - if not delete it and then every day the counter should be stored there.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 15. Jan 2008, 11:30 
Offline

Joined: 2. Aug 2007, 18:53
Posts: 26
Hi,

My counter image does not update at all, unless I delete the /cache/counter.png file, then it creates an up to date one. Any ideas as apart from that everything else works perfectly?

Cheers,
MarkP (www.markypea.com)


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

Joined: 1. Aug 2005, 12:53
Posts: 11232
counter image is only upated once a day.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 15. Jan 2008, 11:44 
Offline

Joined: 2. Aug 2007, 18:53
Posts: 26
It never changes unless I delete it. This I realised after it had not changed for six months and I decided to delete it and see what happened.


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

Joined: 1. Aug 2005, 12:53
Posts: 11232
but the counter is running properly?
because the counter.png creating is linked to the creation of the user_today.txt

does this exist?

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 15. Jan 2008, 12:04 
Offline

Joined: 2. Aug 2007, 18:53
Posts: 26
The counter works fine, the visits per day and total visits increases. The only problem is the counter.png. I thought that it maybe the rights for twg to overwrite the existing png file but it is 777.

user_today.txt exists, is 777 and last updated one minute ago...


Top
 Profile  
 
 Post subject:
PostPosted: 15. Jan 2008, 12:09 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
which version are you running?


Top
 Profile  
 
 Post subject:
PostPosted: 15. Jan 2008, 12:24 
Offline

Joined: 2. Aug 2007, 18:53
Posts: 26
1.6.3

Is that no longer supported? :wink:


Top
 Profile  
 
 Post subject:
PostPosted: 15. Jan 2008, 12:29 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I think still a couple of weeks ...

I never had problems with the counter in this version.

you can add the counter.png to the files that are deleted automatically once a day.

If you know how to open a texteditor I tell you where you can add this.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 15. Jan 2008, 13:06 
Offline

Joined: 2. Aug 2007, 18:53
Posts: 26
Got stuck in a meeting... okay that sounds like a good solution, what should I put where?


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

Joined: 1. Aug 2005, 12:53
Posts: 11232
open
filefunction.inc.php

at the top you find

cleanup_cache()

add

if (file_exists($GLOBALS['cachedir']. "/counter.png")) {
unlink($GLOBALS['cachedir']. "/counter.png");
}

after

if ($remove_1_day_data) {
remove_tmp_files(); // once a day!
}

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 15. Jan 2008, 14:11 
Offline

Joined: 2. Aug 2007, 18:53
Posts: 26
Coolio looks to have fixed it, as helpful as ever! Thanks Michael.

MarkP


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

All times are UTC + 1 hour [ DST ]


Who is online

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