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] 2   Go Down

Author Topic: Cookies?  (Read 14198 times)

0 Members and 2 Guests are viewing this topic.

scrappinhappy

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Cookies?
« on: July 29, 2004, 03:05:31 pm »

I have a person who is having trouble uploading into my gallery.  SHe has never had problems before, and as far we both know, nothing has changed on either end.  But she is getting the following message:

"I tried to upload some cards to the gallery tonight, but I can't log in...there is message that says...."Warning your browser does not accept script's cookies"  "


Any ideas on what could be going on?  I had her check her security level on the cookies, and it is set at 'medium"

Help?

Carrie

Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Cookies?
« Reply #1 on: July 29, 2004, 06:52:16 pm »

What about her cookie settings?  It's under Privacy -> Advanced.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Cookies?
« Reply #2 on: July 29, 2004, 07:49:47 pm »

also, get her to check her computer internal clock is set correctly.  If it has gone out of time/date this can happen.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

SandrasXXX

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Cookies?
« Reply #3 on: August 04, 2004, 07:41:59 pm »

I have added that zone as trusted, but it is the same thing...
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Cookies?
« Reply #4 on: August 04, 2004, 09:26:19 pm »

Make sure your privacy settings are correct, not your security settings.  Click the Advanced button, and always accept cookies.  Also put a checkmark in the box to accept session cookies.

When you next visit the site, see if there's a little icon at the bottom right of your browser next to the Internet icon.  It'll be a little Do Not Enter sign.  See if IE is blocking the cookies from that site.

You can also try another browser, like Firefox or Mozilla, and see if you still have problems with the site.  Then you'll know if it's a browser issue or computer issue.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Lada

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Cookies?
« Reply #5 on: September 03, 2004, 09:59:50 am »

Make sure your privacy settings are correct, not your security settings.  Click the Advanced button, and always accept cookies.  Also put a checkmark in the box to accept session cookies.

When you next visit the site, see if there's a little icon at the bottom right of your browser next to the Internet icon.  It'll be a little Do Not Enter sign.  See if IE is blocking the cookies from that site.

I have this issue in IE 6 (v. 6.0.2800.1106 + SP1, W98SE)(IE 5 was OK). I have set it up like you described. No  icon does appear next to the Internet globe icon. Still get message
Warning your browser does not accept script's cookies  
When I login (as admin, no other account created) it says Welcome and returns me to the main page of CPH not logged  :(

BTW I did a search through this forum for cookies issues  and found out really strange thing-- Where some people claim to have problems I do not have. So it seems to OK set up cookies in my IE6 as well (like IE5 before). I attached my gallery to try it by someone more experienced. Please let me know if you  get the red warning message also. I guess the problem is somewhere inside the CPH.
http://www.cph_gallery.lam-sro.com/index.php
Login == Prihlasit  
« Last Edit: September 03, 2004, 10:48:07 am by Lada »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Cookies?
« Reply #6 on: September 03, 2004, 11:13:56 am »

Should be http://www.cph_gallery.lam-sro.com/index.php?lang=english ...
The login alone won't tell as long as you keep the password a secret. Make sure not to post an admin account (only a test user account).
Make sure your pc's clock is OK, and check the privacy option in IE's options. I suggest using another Browser (Firefox recommended).

Joachim
Logged

cooljonny

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Cookies?
« Reply #7 on: September 04, 2004, 07:29:23 pm »

Hallo, I have the same problem. I have installed the copermine Gallary and logged in as admin but i have no permission to access the config.php and if I logg in in the album i return to the startpage but not logged in. In the logg in Site is this text "Warning your browser does not accept script's cookies" but i have allowed cookies. I cant understand it.

Here is my gallary: http://album.exoteninfo.com
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Cookies?
« Reply #8 on: September 04, 2004, 07:44:10 pm »

In login.php, do a search for $HTTP_COOKIE_VARS.  Change this to $_COOKIE and see if your problem persists.

Also, create a simple phpinfo script called phpinfo.php:

Code: [Select]
<?php
phpinfo
();
?>

Upload it to your site, run it, and look for register_globals.  If it is set of off, it explains why you're getting this error.  $HTTP_COOKIE_VARS (depreciated as of php 4.1.0) needs this set to ON, but $_COOKIE does not.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

cooljonny

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Cookies?
« Reply #9 on: September 04, 2004, 08:03:26 pm »

I have test it the rigister_global is on and if i change the variable in the login.php it doesn't work  to.
Logged

Lada

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Cookies?
« Reply #10 on: September 04, 2004, 08:45:16 pm »

kegobeer I have also treid to rename the variable - did not help.
I have made the info file as you suggested
http://cph_gallery.lam-sro.com/info.php
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Cookies?
« Reply #11 on: September 04, 2004, 09:00:07 pm »

Make sure to remove the file from the server, Lada.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Cookies?
« Reply #12 on: September 04, 2004, 09:24:19 pm »

In init.inc.php, around line 140, you should find this:

Code: [Select]
if (is_array($HTTP_COOKIE_VARS)) {
Right above it, put this:

Code: [Select]
echo 'cookie_vars is an array ' . is_array($HTTP_COOKIE_VARS) . '<br />';
Try to log into your site again, and report back with what is printed at the top of the screen.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Cookies?
« Reply #13 on: September 04, 2004, 09:31:46 pm »

Also, go into login.php and right above

Code: [Select]
if (!isset($HTTP_COOKIE_VARS[$CONFIG['cookie_name'] . '_data'])) {
put this

Code: [Select]
echo 'the cookie name is ' . $CONFIG['cookie_name'] . '<br />';
Report back with the results.  Also in config, tell us what you have in  Path of the cookie used by the script.

[edit]
By "config" I mean the config page in Coppermine.
[/edit]
« Last Edit: September 04, 2004, 10:21:39 pm by kegobeer »
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Lada

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Cookies?
« Reply #14 on: September 05, 2004, 12:15:55 am »

on the left top is
cookie_vars is an array 1
the cookie name is cpg132


In config for cookie path is "/"
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Cookies?
« Reply #15 on: September 05, 2004, 12:41:51 am »

Above

Code: [Select]
echo 'cookie_vars is an array ' . is_array($HTTP_COOKIE_VARS) . '<br />';
put this

Code: [Select]
echo 'cookie_vars is set ' . isset([$CONFIG['cookie_name']) . '<br />';
For you, Lada, I can only get this error if I visit your site with IE.  Firefox works great.
For you, cooljonny, I get this error with both browsers.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

cooljonny

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Cookies?
« Reply #16 on: September 05, 2004, 12:33:29 pm »

That is not good, I would like to use this Gallery. Know someone what i can do? Please help me.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Cookies?
« Reply #17 on: September 05, 2004, 12:55:07 pm »

cooljonny, please add the lines to your files so we can see the output.  Most likely this is a problem stemming from your use of a subdomain.  I'm hoping we can get this ironed out by modifying the cookie a bit.

Also, both of you please create a test user: username=test, password=test.
« Last Edit: September 05, 2004, 01:22:12 pm by kegobeer »
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Lada

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Cookies?
« Reply #18 on: September 05, 2004, 07:06:53 pm »

left top now
cookie_vars is set
cookie_vars is an array 1
the cookie name is cpg132

(BTW you have there a mistake with "["   - isset([$CONFIG['cookie_name'] )

account test/test created on the http://cph_gallery.lam-sro.com/index.php
Logged

cooljonny

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Cookies?
« Reply #19 on: September 06, 2004, 12:48:02 am »

OK Ihave put the code in the files.
And the Account is also created.

Username="test"
Password="ptest" (because i cant use the same for username and for password)

Link= http://album.exoteninfo.com
Logged
Pages: [1] 2   Go Up
 

Page created in 0.024 seconds with 19 queries.