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
What about her cookie settings? It's under Privacy -> Advanced.
also, get her to check her computer internal clock is set correctly. If it has gone out of time/date this can happen.
I have added that zone as trusted, but it is the same thing...
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.
Quote from: kegobeer 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.
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
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
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
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:
<?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.
I have test it the rigister_global is on and if i change the variable in the login.php it doesn't work to.
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
Make sure to remove the file from the server, Lada.
In init.inc.php, around line 140, you should find this:
if (is_array($HTTP_COOKIE_VARS)) {
Right above it, put this:
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.
Also, go into login.php and right above
if (!isset($HTTP_COOKIE_VARS[$CONFIG['cookie_name'] . '_data'])) {
put this
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]
on the left top is
cookie_vars is an array 1
the cookie name is cpg132
In config for cookie path is "/"
Above
echo 'cookie_vars is an array ' . is_array($HTTP_COOKIE_VARS) . '<br />';
put this
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.
That is not good, I would like to use this Gallery. Know someone what i can do? Please help me.
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.
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
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
please help me!
I'm pretty sure this cookie issue is related to the use of your subdomain (album.exoteninfo.com).
Three things:
One: First, change your cookie name to cpg132. After that, try logging in using another browser, like Firefox. Does the message still show up?
Two: Change the path from / to .exoteninfo.com and see what happens.
Three: Can you try a test install at www.exoteninfo.com/coppermine and see if you still have the same issues?
kegobeer: Is your last post also related to me or not ? Because in the same webhosting like I have is also CPH (not mine) installed and works correctly for IE6.
http://alb.rosfcb.com/login.php?referer=%2Findex.php%3Flang%3Denglish
Lada,
Your cookie name is ok, but try changing the cookie path to .lam-sro.com
Quote from: kegobeer on September 07, 2004, 12:10:24 AM
I'm pretty sure this cookie issue is related to the use of your subdomain (album.exoteninfo.com).
Three things:
One: First, change your cookie name to cpg132. After that, try logging in using another browser, like Firefox. Does the message still show up?
Two: Change the path from / to .exoteninfo.com and see what happens.
Three: Can you try a test install at www.exoteninfo.com/coppermine and see if you still have the same issues?
Wow Thank you! It works now!
Quote from: kegobeer on September 07, 2004, 05:47:14 AM
Lada,
Your cookie name is ok, but try changing the cookie path to .lam-sro.com
I have tried using Firefox
1) I can login as admin
2) I cannot logout
3) I cannot switch to User mode - it says Bey, bey - but actually still logged as admin
4) I cannot change the cookies path - it says it was updated but if I visit Config again - no change, still remains "/" .
@cooljonny: What was it that fixed your problem? Changing the cookie name, changing the path, or both? Or was it installing to a different directory?
@Lada: You may need to use phpMyAdmin or some other tool to manually change the cookie path. You should also go in to your browser and delete the cookie set by Coppermine and try again.
Quote from: kegobeer on September 07, 2004, 03:58:24 PM
@Lada: You may need to use phpMyAdmin or some other tool to manually change the cookie path. You should also go in to your browser and delete the cookie set by Coppermine and try again.
:\'( I have cleared the cookie in Firefox and got to the same problem like with IE6 . :\'(
Yes, the path is changed to .lam-sro.com - no improvement.
Quote from: kegobeer on September 07, 2004, 03:58:24 PM
@cooljonny: What was it that fixed your problem? Changing the cookie name, changing the path, or both? Or was it installing to a different directory?
I have changed both, the cookie name and the path! But the other things are the same like yesterday. The Same subdomain and the same Folder.
But I have now the same Problem i cant change in UserMode!
Oh shit! I have cleared my Cookies and now i have the same problem like before. I cant loggin me.
Can me help Anyone?
Well, I'm stumped. The only other thing I can think of is an improperly configured server causing this. I'm sure if you install Coppermine to a subdirectory instead of a subdomain the cookie problem will vanish (www.youriste.com/coppermine instead of coppermine.yoursite.com).
I know it's not the answer you were looking for, but it's about the only way I see of getting it working. You could always talk to your host about this problem and see if there's something they can do to get your cookies working.
WOOOOW
I managed to get it working :D :D The problem was very simple. It needs to have the same name for subdomain and for the MySql database.
Previously I have had cph_gallery.lam-sro.com for subdomain and alba for database. Now I have subdomain http://www.alba.lam-sro.com/index.php
Is alba your name for the database or is albe the pfrefix for yuor Tables?
Quote from: cooljonny on September 09, 2004, 09:59:10 PM
Is alba your name for the database or is albe the pfrefix for yuor Tables?
name of MySql database
Glad you were able to straighten it out. That's something I never would have thought about. Just goes to show how each server setup is different!
BUt strange thing does appear now. Whatever change I make I have to press Refresh in order to see it.
this is browser-related.
Joachim