Rating/View problems Rating/View problems
 

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]

Main Menu

Rating/View problems

Started by SyzygySmashed, October 05, 2006, 09:41:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SyzygySmashed

Hi. I'm Syzygy, I manage a small fansite/forum/gallery, and the gallery (obviously) uses CPG. I think it's great, wonderfully syncs and stuff with my IPB, looks great, and has lots of nice and easy features.

Just one problem. Ratings and Views doesn't work. It's set to display both of them, and groups settings allow both, but neither is showing up. I've viewed a page many times and it still says 0 views, and I've hit the rating buttons, but it simply refreshes the page. Same is true for everyone on the site, it's got a grand total of no views.

I'd really like to skin this thing fit with the site, as I feel it could compete with... you don't really care, I suppose.

Anyway, I've got debug info if you need that or whatever. I know HTML and JS but I'm nowhere when it comes to PHP, so any help would be very appriciated. Very sorry if this is already anwsered. I looked back a ways and did a search, but didn't find anything.

Site is www.awrev.com/gallery
Thanks alot.

~Syz

Nibbler

You have set your cookie name to .awrev.com which is not valid. I would suggest setting it to just cpg.

SyzygySmashed

Hmmm. That's very true. I didn't set this gallery up, so I didn't know that.

However, that doesn't really fix anything...

/bridge/udb_base.inc.php

    * Notice line 149: Undefined property: multigroups

/include/themes.inc.php

    * Notice line 2206: Undefined index: uid
    * Notice line 1909: Undefined index: uid

/displayimage.php

    * Notice line 321: Undefined variable: meta_keywords

For the image view page.

That's my errors. Not good, is it...

Nibbler

You set it to 'cpg.' which is also not valid. My dot was there since it was at the end of the sentence, it was not to be taken literally. Dots are not valid in a cookie name. Set it to cpg

Disable debug mode.

SyzygySmashed

Heh. Damn. Sorry, I really don't know much about this stuff at all...

Wow, sorry about that. OK, so ratings work now, thank you soo much.

However, views still don't seem to work. Sorry for the trouble, but if I could get this sorted out, it'd be really nice...

Joachim Müller

Admin views are not being taken into account. Log out and browse your gallery as guest or logged in as non-admin (registered) user and the hits counter will increase. Please read the documentation before posting, this is explained there (and has already been asked often on the board as well).

SyzygySmashed

Hehe. So there was no real problem all along, I was just being an idiot.
Very sorry about that, and thank a whole bunch for helping.
Bleah. This can be locked.

~Syz