Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: 'Most viewed' is not working for me  (Read 5866 times)

0 Members and 1 Guest are viewing this topic.

leotan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
'Most viewed' is not working for me
« on: December 17, 2005, 06:50:14 am »

I am not sure what is wrong, but the 'most viewed' function is not working for me.

It just shows 'No image to display' when I clicked on it.

I have just upgraded from 1.3.2 to 1.4.2.
And I have install the mod for 'picture of the week'.

my site is at http://sghamsters.com/gallery/

Hope someone can help me to solve this.
Thanks.
« Last Edit: December 21, 2005, 08:30:14 am by GauGau »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: 'Most viewed' is not working for me
« Reply #1 on: December 17, 2005, 07:16:27 am »

When someone else had the same issue, it was due to a dot in the cookie name. But your gallery cookie is just _data.

So I ran update.php and it looks quite different. Did you mod it or use a modded installation of CPG?
Logged

leotan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: 'Most viewed' is not working for me
« Reply #2 on: December 17, 2005, 03:35:29 pm »

When someone else had the same issue, it was due to a dot in the cookie name. But your gallery cookie is just _data.

So I ran update.php and it looks quite different. Did you mod it or use a modded installation of CPG?

I am using the mod http://forum.coppermine-gallery.net/index.php?topic=14600.0
I modded it myself according to the instructions given.

Any idea what is wrong?
Logged

leotan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: 'Most viewed' is not working for me
« Reply #3 on: December 18, 2005, 04:17:59 am »

anyone can help me? thanks.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 'Most viewed' is not working for me
« Reply #4 on: December 19, 2005, 07:45:36 am »

undo the mod, verify that "most viewed" works, then re-do it.
Logged

leotan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: 'Most viewed' is not working for me
« Reply #5 on: December 20, 2005, 04:44:20 pm »

undo the mod, verify that "most viewed" works, then re-do it.
I undo the mod, but it is not working too.
could it be something wrong with the upgrading?
Logged

Nibbler

  • Guest
Re: 'Most viewed' is not working for me
« Reply #6 on: December 20, 2005, 05:13:57 pm »

You probably did the edit to include/functions.inc.php wrongly. Revert to the original file from the package and try it again carefully.
Logged

leotan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: 'Most viewed' is not working for me
« Reply #7 on: December 21, 2005, 04:17:44 am »

You probably did the edit to include/functions.inc.php wrongly. Revert to the original file from the package and try it again carefully.
Thank you so much, the problem is solved.
It is the error while I mod it in functions.inc.php.

funny thing is that how come the functions.inc.php wasn't overwrited when I upload all the original files up to the server.  ???
nevertheless, the problem is solved.

thanks guys! ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.