Counter not working properly Counter not working properly
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Counter not working properly

Started by Nielsk, May 26, 2007, 10:16:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nielsk

Hi!
I found out that the viewcounter on my site www.nielsenjose.nl is not working properly. Only when I use my own pc and click on a photo, the viewcounter changes. Viewed externally (at work, famliy etc.), the viewcounter is not changing. Does anyone know what to do?

I've read in some other threads that it had to do with being logged on as administrator, it seems my problem is the opposite.

Thanks in advance!
Niels

Joachim Müller

Actual link to gallery is http://www.nielsenjose.nl/gallery/index.php

Imo you have changed coppermine's cookie names to contain illegal characters. Cookie names mustn't contain dots or other special chars.

You're using cpg1.4.9, while the most recent version is cpg1.4.10. It is mandatory to upgrade.

Nielsk

Quote from: GauGau on May 27, 2007, 09:55:01 AM
Actual link to gallery is http://www.nielsenjose.nl/gallery/index.php
Sorry, you're right!

Quote from: GauGau on May 27, 2007, 09:55:01 AM
Imo you have changed coppermine's cookie names to contain illegal characters. Cookie names mustn't contain dots or other special chars.
??? don't know what you mean. Didn't change a thing, at least not on purpose...

Quote from: GauGau on May 27, 2007, 09:55:01 AM
You're using cpg1.4.9, while the most recent version is cpg1.4.10. It is mandatory to upgrade.
Ok clear! Will make the necessarry upgrade!

Nibbler

The cookies are not being sent atall. Probably caused by whatever does this:


<link rel="stylesheet" href="http://www.nielsenjose.nl/gallery/themes/hardwired/lightbox/css/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="http://www.nielsenjose.nl/gallery/themes/hardwired/lightbox/js/prototype.js"></script>
<script type="text/javascript" src="http://www.nielsenjose.nl/gallery/themes/hardwired/lightbox/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="http://www.nielsenjose.nl/gallery/themes/hardwired/lightbox/js/lightbox.js"></script><meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />

<link href="themes/hardwired/style.css" rel="stylesheet" type="text/css" media="all">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


Try disabling it.

Nielsk

The first four lines are referring to the lightbox script.
I deleted these lines in gallery/index.php; gallery/thumbnails.php; gallery/displayimage.php.
The four lines are only still in template.html as suggested in http://forum.coppermine-gallery.net/index.php?topic=35539.msg190717#msg190717

Unfortunately it seems that it doesn't do the trick.
Any other suggestion?

Nielsk

Quote from: GauGau on May 27, 2007, 09:55:01 AM
It is mandatory to upgrade.

So I did, and that did the trick!!!  :)
Problem solved, thanks for the help!