forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: jarekn on May 30, 2005, 12:17:33 am

Title: ratepic.php and cookies???
Post by: jarekn 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
Title: Re: ratepic.php and cookies???
Post by: Joachim Müller 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.
Title: Re: ratepic.php and cookies???
Post by: jarekn 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
Title: Re: ratepic.php and cookies???
Post by: Nibbler 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).
Title: Re: ratepic.php and cookies???
Post by: jarekn on May 31, 2005, 09:17:59 pm
THANX that is exactly what it was  ;D