Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: ratepic.php and cookies???  (Read 3335 times)

0 Members and 1 Guest are viewing this topic.

jarekn

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 47
ratepic.php and cookies???
« on: May 30, 2005, 12:17:33 am »

Not sure during which update changed this but I noticed that in ratepic.php you check to see if user accepts script's cookies... With this option enabled I and everyone else I talked to was unable to rate the images... I commented that part of the script out and now all works fine.  Can you tell me why this part is there?  My gallery is configured to only display large images to logged in users... eg no guests allowed... so I hope this won't cause any issues...

Thanx

JarekN
http://www.NiteLifeInfo.com
« Last Edit: May 31, 2005, 09:21:08 pm by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: ratepic.php and cookies???
« Reply #1 on: May 30, 2005, 07:18:05 am »

If you only allow registered users, then there shouldn't be an issue with cookies, as authentification of registered users is done with cookies as well. Please post a link and test user account for details.
Logged

jarekn

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 47
Re: ratepic.php and cookies???
« Reply #2 on: May 30, 2005, 05:53:46 pm »

Hello GauGau

Here is direct link to the gallery:

http://forum.nitelifeinfo.com/cpg

user: test
password: test2005

Thank you for taking the time and looking into this.  I should say that my cpg is integrated with vBulletin... not sure if that makes a difference...

Thanx
Logged

Nibbler

  • Guest
Re: ratepic.php and cookies???
« Reply #3 on: May 30, 2005, 11:24:18 pm »

I'd expect the reason is that the coppermine cookie is being set with a path of '.' (fullstop). Set it to '/' (forward slash).
Logged

jarekn

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 47
Re: ratepic.php and cookies???
« Reply #4 on: May 31, 2005, 09:17:59 pm »

THANX that is exactly what it was  ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.