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: Problem with Most Viewed  (Read 8582 times)

0 Members and 1 Guest are viewing this topic.

airking

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Problem with Most Viewed
« on: October 08, 2003, 08:18:06 pm »

Please.. i need help..

My Coppermine dont show "most viewed" pictures.

Thx

AirKing
Logged

gtroll

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 618
    • CPG-Nuke
Problem with Most Viewed
« Reply #1 on: October 08, 2003, 10:36:45 pm »

Is it configured to do so on the home page ie /topn,1 ?

airking

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Problem with Most Viewed
« Reply #2 on: October 08, 2003, 11:26:04 pm »

Yes...
my html just configured to show most viewed... but... dont show nothing ...

Return this message..

No Image to display here..


Thx
Sorry about my english...

AirKing
Logged

airking

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Problem with Most Viewed
« Reply #3 on: October 09, 2003, 05:16:17 am »

I See the link "Most Viewed" but when i access it... it say " No Imaga de display here " ...


but.. i have more than 500 pictures in my gallery....



Debug mode:

Quote

USER:
Array
(
    [ID] => 776c6a185d74367d4aa4a95262fe2e7a
    [am] => 1
)

 
GET :
Array
(
    [name] => coppermine
    [file] => thumbnails
    [album] => topn
)

 
POST :
Array
(
)

 
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Problem with Most Viewed
« Reply #4 on: October 09, 2003, 05:52:34 am »

Have you tried changing to something else, like "topn,4" ?  Give us a link please?
Logged

airking

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Problem with Most Viewed
« Reply #5 on: October 09, 2003, 06:07:15 am »

Hello moorey
thx for help

i dont make changes..

url: http://www.canalvotuporanga.com.br/modules.php?name=coppermine

Thx.
AirKing
Logged

airking

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Problem with Most Viewed
« Reply #6 on: October 09, 2003, 06:11:30 am »

ps: this picture with 50 views is a test

i change this

Thx
AirKing
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Problem with Most Viewed
« Reply #7 on: October 09, 2003, 07:34:00 am »

What's your exact config? A screenshot of it perhaps?

Have you tried reverting to a default theme?
Logged

airking

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Problem with Most Viewed
« Reply #8 on: October 09, 2003, 01:44:13 pm »

Quote from: "moorey"
What's your exact config? A screenshot of it perhaps?

Have you tried reverting to a default theme?




My Config

http://www.canalvotuporanga.com.br/fotos/foto01.jpg
http://www.canalvotuporanga.com.br/fotos/foto02.jpg
http://www.canalvotuporanga.com.br/fotos/foto03.jpg


And i have tried change to default theme...


Thx
AirKing
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Problem with Most Viewed
« Reply #9 on: October 09, 2003, 04:42:16 pm »

!!!!  :roll:  :lol:

In your config section for "The content of the main page": catlist/alblist/random,2/lastup,2

change it to:
Quote
catlist/alblist/random,2/lastup,2/topn


Hope this helps.
Logged

airking

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Problem with Most Viewed
« Reply #10 on: October 10, 2003, 01:10:52 am »

Quote from: "moorey"
!!!!  :roll:  :lol:

In your config section for "The content of the main page": catlist/alblist/random,2/lastup,2

change it to:
Quote
catlist/alblist/random,2/lastup,2/topn


Hope this helps.


Hello moorey

you dont understand my problem...


i have access to most viewed link
but... my coppermine dont counting visits..

example:

http://www.canalvotuporanga.com.br/modules.php?name=coppermine&file=thumbnails&album=topn

the 50 visits i change in my testes...

Thx
Logged

gtroll

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 618
    • CPG-Nuke
cookie from coppermine is not being set
« Reply #11 on: October 10, 2003, 08:57:10 am »

Your cookie from coppermine (default name cpg11d_data) is not being set.
So this line of displayimage.php  
Code: [Select]
if ($album != "lasthits" && !in_array($pid, $USER['liv']) && isset($HTTP_COOKIE_VARS[$CONFIG['cookie_name'] . '_data'])) is never is "true" and the count never increases
I was able to find this problem by going to your site and checking my cookies the lang cookie of phpnuke is being set...

airking

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Problem with Most Viewed
« Reply #12 on: October 11, 2003, 03:09:30 am »

sorry but...

i dont understand :/

what u need to help me?


Thx
AirKing
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 14 queries.