coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: Roadster2004 on November 27, 2005, 05:11:25 PM

Title: After upgrading unable to login..
Post by: Roadster2004 on November 27, 2005, 05:11:25 PM
Hey all,

I had cpg 1.3.5 installed to work together with mine phpbb board..

After upgrading van cpg 1.3.5 to 1.4.2 I've no users anymore at CPG therefore I cannot login als admin :(
I had as template the standard template water_drop that came with 1.3.5

www.xdmm.net/phpbb
www.xdmm.net/covers


plss advice
Title: Re: After upgrading unable to login..
Post by: Nibbler on November 27, 2005, 05:19:11 PM
Login using the original admin account you created during installation.
Title: Re: After upgrading unable to login..
Post by: Roadster2004 on November 27, 2005, 05:25:43 PM
I've tried that.. But still keeps on saying That I cannot loggin and that I've to tried again  ::)
Title: Re: After upgrading unable to login..
Post by: kegobeer on November 27, 2005, 06:54:06 PM
Use phpMyAdmin and get the username and password for user #1.
Title: Re: After upgrading unable to login..
Post by: Joachim Müller on November 27, 2005, 08:03:56 PM
you can't, it's encrypted afaik.
Title: Re: After upgrading unable to login..
Post by: kegobeer on November 27, 2005, 08:50:08 PM
It was encrypted during the upgrade process?
Title: Re: After upgrading unable to login..
Post by: Nibbler on November 27, 2005, 08:58:46 PM
If it's an upgrade from 1.3 then the passwords would remain plaintext.

Your server does not appear to be setting any cookies atall, that is the real issue.
Title: Re: After upgrading unable to login..
Post by: Kurt21 on November 27, 2005, 09:22:02 PM
And solution is?
Title: Re: After upgrading unable to login..
Post by: Joachim Müller on November 27, 2005, 09:45:59 PM
Quote from: kegobeer on November 27, 2005, 06:54:06 PM
Use phpMyAdmin and get the username and password for user #1.
Title: Re: After upgrading unable to login..
Post by: saintnick on December 02, 2005, 03:52:57 PM
I have the same problem. I just upgraded, and now I can't log in.
I've tried to log in as the first account listed on phpMyAdmin, but it still doesn't work.

When I clicked on "Forgot my password" I got an e-mail with a link to a page that looked like this:
QuoteAn error has been encountered in accessing this page.

1. Server: coppermine.sourceforge.net
2. URL path: /forgot_passwd.php
3. Error notes: File does not exist: /home/groups/c/co/coppermine/htdocs/forgot_passwd.php
4. Error type: 404
5. Request method: GET
6. Request query string: key=bda783e56824b5e0707adec79cd663cf&id=1
7. Time: 2005-12-02 06:49:29 PST (1133534969)

Reporting this problem: The problem you have encountered is with a project web site hosted by SourceForge.net. This issue should be reported to the SourceForge.net-hosted project (not to SourceForge.net).

If this is a severe or recurring/persistent problem, please do one of the following, and provide the error text (numbered 1 through 7, above):

   1. Contact the project via their designated support resources.
   2. Contact the project administrators of this project via email (see the upper right-hand corner of the Project Summary page for their usernames) at user-name@users.sourceforge.net

If you are a member of the project that maintains this web content, please refer to the Site Documentation regarding the project web service for further assistance.

My gallery is here: http://ib1a.toobigtofitinhere.com/galleri/index.php (http://ib1a.toobigtofitinhere.com/galleri/index.php)
Title: Re: After upgrading unable to login..
Post by: Nibbler on December 02, 2005, 03:54:05 PM
You haven't set the url to coppermine correctly in config then, it still points to our site. You'll need to set that manually in the config table if you can't login.
Title: Re: After upgrading unable to login..
Post by: saintnick on December 02, 2005, 03:58:25 PM
Yeah, I figured it was something like that.
So, where do I change?  ???
Title: Re: After upgrading unable to login..
Post by: Nibbler on December 02, 2005, 03:59:31 PM
cpg_config table, 'ecards_more_pic_target'
Title: Re: After upgrading unable to login..
Post by: saintnick on December 02, 2005, 05:20:31 PM
I managed to fix the "Forgot password" thing, and got a new one, but I still can't log in. :(
Title: Re: After upgrading unable to login..
Post by: Roadster on December 03, 2005, 09:14:18 AM
I've fixed this by adding a new useraccount with de rights of account 1...

After that I could login again :o
Title: Re: After upgrading unable to login..
Post by: saintnick on December 03, 2005, 11:25:56 AM
Quote from: Roadster on December 03, 2005, 09:14:18 AM
I've fixed this by adding a new useraccount with de rights of account 1...

After that I could login again :o
That doesn't work for me. I still can't log in. :( :(
Title: Re: After upgrading unable to login..
Post by: saintnick on December 03, 2005, 06:25:04 PM
I've just re-updated Coppmermine, but I still can't log in. :( This sucks so much.  >:(
Title: Re: After upgrading unable to login..
Post by: Paver on December 03, 2005, 06:53:07 PM
In your cpg_config table, check the "enable_encrypted_passwords" record.  It should be '0' if you upgraded from a 1.3 version.  If it's '1', change it to '0', then try to log in with the first account listed in your cpg_users table again (whose password I assume is plain text in the table).
Title: Re: After upgrading unable to login..
Post by: saintnick on December 04, 2005, 08:07:50 PM
Thank you! It finally works now!   ;D