forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Invalid ID on February 21, 2007, 10:39:29 pm
-
Just did the worst thing. I didn't know how but I didn't notice that the option "Reset view counters (1)" is ticked by default and I accidentally clicked on "Submit".
And then noticed all the 1,50000 views had gone and now the statics is showing zero as file views.
Is there a possibility I can bring my lost counts?
-
If you have a backup you can, otherwise no, sorry.
-
As I mentioned I didn't notice this option is ticked by default, so I had no reason to make a backup before doing it.
I wonder how come such option is on ... gone my data gathered in 3 years.
-
It's been discussed already and changed for the next version. Always keep regular backups.
-
Too late. I will always wonder why this option was there ticked and who would like to lose the image views anyway.
Thanks
-
Is there anyway I can increase total image views using phpMyadmin?
-
Yes, you can specify whatever hits you like if you edit the database.
-
What table is holding all the viewcounts ? I can't find the real one! ???
-
It's the `hits` field in the picture table.
-
is this ok?
`hits` int(10) NOT NULL default '0',
i change to
`hits` int(10) NOT NULL default '10000',
or? Thanks
-
That would give all new files 10000 views. If that is what you want then do that.