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: Views not counting? - Cookiename?  (Read 3950 times)

0 Members and 1 Guest are viewing this topic.

CandyEyes

  • Coppermine novice
  • *
  • Country: es
  • Offline Offline
  • Gender: Female
  • Posts: 20
    • CandyEyesDeisgns
Views not counting? - Cookiename?
« on: January 11, 2013, 07:34:05 pm »

Hi! This is my gallery: http://candyeyes.es/portfolio. the image views are not counting when I click on the images from other computers different from mine, not admin mode, just as a guest. I've been searching for this on the forum, and in so many cases, I saw that the answer was to change the cookiename? I don't knwo how to do that or even if that's the problem why the views aren't counting...
could somebody have a look at this and help me, please?
Thank you so much!
Logged

CandyEyes

  • Coppermine novice
  • *
  • Country: es
  • Offline Offline
  • Gender: Female
  • Posts: 20
    • CandyEyesDeisgns
Re: Views not counting? - Cookiename?
« Reply #1 on: January 14, 2013, 08:12:05 pm »

Well, I've been trying and trying...and the only thing that seemed to work is that I had this code in my theme.php:

Code: [Select]
ob_start();
    include "/home/candyeye/public_html/portfolio/cpmfetch/cpmfetch.php";
    $objCpm = new cpm("/home/candyeye/public_html/portfolio/cpmfetch/cpmfetch_config.php");
    $options = array( 'imageheight' => '40', 'imagewidth' => '30', 'imagestyle' => 'image100');
    $objCpm->cpm_viewLastAddedMedia(2,6, $options);
    $objCpm->cpm_close();
    $cpmfetch_latest = ob_get_clean();

because of the latets images, and now I deleted it and the counting seems to be working....could you guys tell me if it's counting for you? thank you for your time!
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4853
    • Windsurf.me
Re: Views not counting? - Cookiename?
« Reply #2 on: January 14, 2013, 09:18:37 pm »

I think the problem is cpmfetch. It was built for CPG 1.4.x and we know there are some issues with CPG 1.5.x. Sadly the chap who developed it has not been around for a long time so I doubt it will be updated unless someone from the community fancies contributing.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

CandyEyes

  • Coppermine novice
  • *
  • Country: es
  • Offline Offline
  • Gender: Female
  • Posts: 20
    • CandyEyesDeisgns
Re: Re: Views not counting? - Cookiename?
« Reply #3 on: January 14, 2013, 09:20:46 pm »

I think the problem is cpmfetch. It was built for CPG 1.4.x and we know there are some issues with CPG 1.5.x. Sadly the chap who developed it has not been around for a long time so I doubt it will be updated unless someone from the community fancies contributing.

Thank you! Yeah, it seems it was cpmfetch.
Logged

CandyEyes

  • Coppermine novice
  • *
  • Country: es
  • Offline Offline
  • Gender: Female
  • Posts: 20
    • CandyEyesDeisgns
Re: Views not counting? - Cookiename?
« Reply #4 on: January 16, 2013, 10:16:13 pm »

Hi..I don't know if I fixed it..could anybody tell me if the views arec ounting when you click on the image? thank you!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Views not counting? - Cookiename?
« Reply #5 on: January 18, 2013, 05:03:30 pm »

could anybody tell me if the views arec ounting when you click on the image
Works for me as expected.
Logged

CandyEyes

  • Coppermine novice
  • *
  • Country: es
  • Offline Offline
  • Gender: Female
  • Posts: 20
    • CandyEyesDeisgns
Re: Re: Views not counting? - Cookiename?
« Reply #6 on: January 18, 2013, 07:46:43 pm »

Works for me as expected.

thank you!
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.