coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: roxanacaz on August 13, 2008, 02:04:27 PM

Title: Views not increasing
Post by: roxanacaz on August 13, 2008, 02:04:27 PM
Hi.

Image views not increasing - I know admin and repeated views don't count.
I have this error on the bottom of the page:

  0 -

select count(*) as total from sessions where sesskey = '1b49224d53aac0f28e68197ecf8d3e5b'

[TEP STOP]

Link to gallery: Gallery (http://www.muccelmic.com/gallery.php)

Coppermine 1.4.19

HTTP Server: Apache
PHP Version: 5.2.6 (Zend: 2.2.0)
Database: MySQL 5.0.51a
Server OS: Linux 2.6.25.9-76.fc9.i686.PAE

GD Support  enabled 
GD Version  bundled (2.0.34 compatible) 
FreeType Support  enabled 
FreeType Linkage  with freetype 
FreeType Version  2.3.5 

I think it stopped working when the host upgraded server version.

Thank you.
Title: Re: Views not increasing
Post by: Joachim Müller on August 13, 2008, 05:42:45 PM
(Temporarily) disable the SEF_URLs plugin and see if those errors go away. Also fix your encoding - it's not a bright idea to run iso8859-1. Coppermine was designed with utf-8 in mind - you shouldn't have changed that.
You appear to be using some sort of wrapper that may be the culprit. It's hard to advice anything, as your gallery is hacked so heavily.
Title: Re: Views not increasing
Post by: roxanacaz on August 14, 2008, 07:59:46 AM
Thank you for the fast reply.
Well, if SEF urls plugin is disabled the error persists.
BUT since yesterday I have one view counted (after upgrading), so I guess now it works - or at least it partially works.
As for the enconding... i switched to utf-8 and automatically the text appeared in english and now I can't switch back to Romanian. What should I do? Just translate the english file? I'm not sure how this will affect things.
Title: Re: Views not increasing
Post by: Joachim Müller on August 14, 2008, 11:50:11 AM
You can't just switch to utf-8, as your textual content that resides in the database is encoded in iso8859-1 now.
Title: Re: Views not increasing
Post by: roxanacaz on August 14, 2008, 04:02:09 PM
So, what should I do now? Any suggestion?
Title: Re: Views not increasing
Post by: Joachim Müller on August 14, 2008, 04:26:41 PM
I already told you: turn SEF_URLs off. Then undo your wrapper that you established, as it probably interferes with cookies. Once that is done, reply here accordingly.