coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Nielsk on May 26, 2007, 10:16:54 AM

Title: Counter not working properly
Post by: Nielsk on May 26, 2007, 10:16:54 AM
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
Title: Re: Counter not working properly
Post by: Joachim Müller on May 27, 2007, 09:55:01 AM
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.
Title: Re: Counter not working properly
Post by: Nielsk on May 27, 2007, 01:44:37 PM
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!
Title: Re: Counter not working properly
Post by: Nibbler on May 27, 2007, 03:07:39 PM
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.
Title: Re: Counter not working properly
Post by: Nielsk on May 27, 2007, 06:27:24 PM
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?
Title: Re: Counter not working properly
Post by: Nielsk on May 27, 2007, 08:06:36 PM
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!