Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Rating/View problems  (Read 3131 times)

0 Members and 1 Guest are viewing this topic.

SyzygySmashed

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Rating/View problems
« 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
« Last Edit: October 05, 2006, 11:21:10 pm by GauGau »
Logged

Nibbler

  • Guest
Re: Rating/View problems
« Reply #1 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.
Logged

SyzygySmashed

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Rating/View problems
« Reply #2 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...

Code: [Select]
/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...
Logged

Nibbler

  • Guest
Re: Rating/View problems
« Reply #3 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.
Logged

SyzygySmashed

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Rating/View problems
« Reply #4 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...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Rating/View problems
« Reply #5 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).
Logged

SyzygySmashed

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Rating/View problems
« Reply #6 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
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.