coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: SyzygySmashed on October 05, 2006, 09:41:00 PM

Title: Rating/View problems
Post by: SyzygySmashed on October 05, 2006, 09:41:00 PM
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
Title: Re: Rating/View problems
Post by: Nibbler on October 05, 2006, 10:08:26 PM
You have set your cookie name to .awrev.com which is not valid. I would suggest setting it to just cpg.
Title: Re: Rating/View problems
Post by: SyzygySmashed on October 05, 2006, 10:25:58 PM
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...
Title: Re: Rating/View problems
Post by: Nibbler on October 05, 2006, 10:39:56 PM
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.
Title: Re: Rating/View problems
Post by: SyzygySmashed on October 05, 2006, 11:06:37 PM
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...
Title: Re: Rating/View problems
Post by: Joachim Müller on October 05, 2006, 11:08:50 PM
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).
Title: Re: Rating/View problems
Post by: SyzygySmashed on October 05, 2006, 11:12:47 PM
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