Problem with Logging in... Problem with Logging in...
 

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]

Main Menu

Problem with Logging in...

Started by kaminari, August 27, 2004, 06:49:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kaminari

Okay, I really hope I'm in the right forum... Anyway, here goes...

When I try to log in to my coppermine account it just brings me back to a page and says I'm not logged in... -_- I'm not sure if its a problem with my own cookies, or with my coppermine... but would anyone know anything about this? --> http://www.kawaii-sugar.org/coppermine Thanks...

Joachim Müller

Try deleting your cookie, or try anoter browser. Make sure your browser accepts your cookie (In IE, use "Tools" - "Internet Options" - "Privacy").

GauGau

kaminari

Hmm... Nothing works. I get a message saying

Warning your browser does not accept script's cookies  

And I tried everything you said but I can't fix it. -_-;;;

Joachim Müller

did login work before (after install)? Maybe you have set the cookie path to something incorrect. Use a tool like phpMyAdmin to directly access your database. Browse the coppermine config table, look for "cookie_path" and check what it says. Usually, the default value "/" (without the quotes) should be fine.

Joachim

Nibbler

You have a space in your cookie name, I don't think it will work with that. Follow the method GauGau suggested to fix the cookie name.

kaminari

Huh? This is all very confusing. I'm still somewhat of a beginner. Yeah, login worked before... I think it might be because I do have a space in the cookie name... But how do I fix this? And what the heck is PHPMyAdmin?  ???

Joachim Müller

Quote from: kaminari on August 27, 2004, 10:07:16 PMI think it might be because I do have a space in the cookie name...
This is what Nibbler already suggested...

Quote from: kaminari on August 27, 2004, 10:07:16 PMAnd what the heck is PHPMyAdmin?  ???
phpMyAdmin is a tool to directly modify your database. It's not only usefull for your issue, but for other things (e.g. backing up your database) as well: http://www.phpmyadmin.net/ Many webhosts offer it pre-installed on your server. If you don't have it, download now, setup is fairly easy.

Joachim

kaminari

I'm sorry, PHPAdmin is just waaay too confusing. I can't make heads or tails of it. O___O;

Joachim Müller

download attached file, rename it to reset_cookie.php, upload it to your coppermine root folder and then point your browser to http://www.kawaii-sugar.org/coppermine/reset_cookie.php
Try logging in then. If it worked, delete reset_cookie.php from your webserver again.

Joachim

kaminari

Hmm... I uploaded reset_cookie.php to the directory kawaii-sugar.org/coppermine ... I went to http://www.kawaii-sugar.org/coppermine/reset_cookie.php and it was a 404 error. I don't think it works... I still can't log in...  :-\\

Nibbler

Download the attached file to this post, rename it to reset_cookie.php (remove the .txt) then upload it into /coppermine and go to http://www.kawaii-sugar.org/coppermine/reset_cookie.php

Dannisk

kaminari,

Nibbler is right you forgot to remove the .txt of the file. I just wanted to say if you can log in as admin or if you have admin power with your user you can also modify the cookie by going to your configuration option in the admin menu and check the cookie value (and remove the space) its at the end of the page.

Good luck.
Dannisk

kaminari

Okay... I uploaded reset_cookie.php to kawaii-sugar.org/coppermine again, but when I point my browser to it, I get a message saying

Parse error: parse error, unexpected '/' in /home/.quaintdryer/hann/kawaii-sugar.org/coppermine/reset_cookie.php on line 2...

Joachim Müller

line 2?
Please post the content of your file.

Joachim

Tranz

In the reset_cookie.php file that Nibbler attached, line 2 has '/' instead of '//'

@kaminari, at the beginning of the second line in that file, there is a '/' by itself. Add another one so it looks like '//'

kaminari

Oh thanks. I added the slash. That fixed that little problem... But now when I point my browser to reset_cookie.php, it gives me a message saying: There was an error while processing a database query ...

*sigh* It just seems to be one problem after another. -_-;

Nibbler

That query was totally wrong, try this one, sorry.

kaminari

Hoorah! It's fixed! Thank you all so much!  :D

Joachim Müller

remember to delete reset_cookie.php from your webserver now.

Joachim