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

counter
https://www.tinywebgallery.com/forum/viewtopic.php?f=5&t=423
Page 1 of 1

Author:  Merlin44 [ 3. Aug 2006, 13:09 ]
Post subject:  counter

counter always count +1 for my own ip
counter always count +1 every time i look a picture or every page i look

Author:  TinyWebGallery [ 3. Aug 2006, 13:54 ]
Post subject: 

on which installation is this happening?

check on any of the demos or the rc1.
if the counter/ip_data.txt file can be written this should not be the case.

if not delete this file and retry.
Most of the time counter does not work because people try on their own system and cpoy the counter director with content to the server - on most server the files are then not writeable because of security settings!

or you any kind of tool that you have a different ip every time ( are you using tor ?).

/Michael

Author:  TinyWebGallery [ 3. Aug 2006, 14:18 ]
Post subject: 

check if

$min=2; //

is in your config file!
never use a old config.php!! store all your settings always in the my_config.php or use the TWG Admin

/Michael

Author:  Merlin44 [ 3. Aug 2006, 14:27 ]
Post subject: 

Ok understand the way of $min work....

:evil: :
I never use a old config.php
My counter/ip_data.txt file can always be written
I never try on my own system and copy the counter with content to the server
:D

Author:  TinyWebGallery [ 3. Aug 2006, 14:34 ]
Post subject: 

good :).

have you modified min?

Author:  Merlin44 [ 3. Aug 2006, 14:34 ]
Post subject: 

no it's ok for me like that ;)
Just have to remember it when i stay more than 2 mn on my own gallery
thanks ;)

Author:  TinyWebGallery [ 3. Aug 2006, 14:37 ]
Post subject: 

just increase the number :) - In the final settings for 1.5 this will be 5 min anyway. I think i set 2 for testing and never set it back :).

/Michael

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