Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Problem with Logging in...  (Read 7435 times)

0 Members and 1 Guest are viewing this topic.

kaminari

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 18
    • kawaii-sugar.org
Problem with Logging in...
« on: August 27, 2004, 06:49:48 am »

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...
« Last Edit: August 29, 2004, 12:26:56 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with Logging in...
« Reply #1 on: August 27, 2004, 08:47:05 am »

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

GauGau
Logged

kaminari

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 18
    • kawaii-sugar.org
Re: Problem with Logging in...
« Reply #2 on: August 27, 2004, 08:12:57 pm »

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. -_-;;;
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with Logging in...
« Reply #3 on: August 27, 2004, 08:34:20 pm »

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
Logged

Nibbler

  • Guest
Re: Problem with Logging in...
« Reply #4 on: August 27, 2004, 08:52:12 pm »

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.
Logged

kaminari

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 18
    • kawaii-sugar.org
Re: Problem with Logging in...
« Reply #5 on: August 27, 2004, 10:07:16 pm »

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?  ???
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with Logging in...
« Reply #6 on: August 27, 2004, 10:14:20 pm »

I think it might be because I do have a space in the cookie name...
This is what Nibbler already suggested...

And 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
Logged

kaminari

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 18
    • kawaii-sugar.org
Re: Problem with Logging in...
« Reply #7 on: August 27, 2004, 10:24:47 pm »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with Logging in...
« Reply #8 on: August 27, 2004, 10:38:45 pm »

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
Logged

kaminari

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 18
    • kawaii-sugar.org
Re: Problem with Logging in...
« Reply #9 on: August 27, 2004, 11:54:01 pm »

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...  :-\\
Logged

Nibbler

  • Guest
Re: Problem with Logging in...
« Reply #10 on: August 28, 2004, 03:50:44 am »

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
Logged

Dannisk

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 18
Re: Problem with Logging in...
« Reply #11 on: August 28, 2004, 03:56:40 am »

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.
Logged
Dannisk

kaminari

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 18
    • kawaii-sugar.org
Re: Problem with Logging in...
« Reply #12 on: August 28, 2004, 07:28:00 am »

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...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with Logging in...
« Reply #13 on: August 28, 2004, 10:29:58 am »

line 2?
Please post the content of your file.

Joachim
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Problem with Logging in...
« Reply #14 on: August 28, 2004, 06:54:29 pm »

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 '//'
Logged

kaminari

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 18
    • kawaii-sugar.org
Re: Problem with Logging in...
« Reply #15 on: August 28, 2004, 09:41:53 pm »

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. -_-;
Logged

Nibbler

  • Guest
Re: Problem with Logging in...
« Reply #16 on: August 28, 2004, 10:16:01 pm »

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

kaminari

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 18
    • kawaii-sugar.org
Re: Problem with Logging in...
« Reply #17 on: August 29, 2004, 06:41:54 am »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with Logging in...
« Reply #18 on: August 29, 2004, 12:27:47 pm »

remember to delete reset_cookie.php from your webserver now.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.