forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: jaysonallen on July 05, 2006, 10:10:43 pm

Title: no longer able to get into admin
Post by: jaysonallen on July 05, 2006, 10:10:43 pm
I just upgraded my gallery, I was able to get into the admin section, after the upgrade, I no longer have my admin password working, it denies me access to long in with the first user account, the one I nade, how do I delete the memberlist/users and start fresh?

Thanks
Title: Re: no longer able to get into admin
Post by: Sami on July 05, 2006, 10:56:28 pm
what is the error said?
Title: Re: no longer able to get into admin
Post by: jaysonallen on July 06, 2006, 02:06:03 am
there is no error, I just can not log in as an admin, username and password does not work anymore
Title: Re: no longer able to get into admin
Post by: Sami on July 06, 2006, 06:36:20 am
when you type your username and password and hit the button what you got?
is thi what you got *** Couldn't log in. Try again *** ?
Title: Re: no longer able to get into admin
Post by: jaysonallen on July 16, 2006, 04:27:08 pm
Sorry I did not reply eailer, but was in Saint Louis for 2 weeks, and yes that is what I got, and I am wondering if it got hacked, because it worked until 2 new members joined...
Title: Re: no longer able to get into admin
Post by: Sami on July 16, 2006, 04:47:33 pm
you need to change the password manualy by phpmyadmin...
open xxx_uesrs table from your gallery database and find the admin user with 1 as a user_id and change the user_password with 098f6bcd4621d373cade4e832627b4f6 in this way your admin user password is test
Title: Re: no longer able to get into admin
Post by: jaysonallen on July 17, 2006, 03:14:34 am
Thanks for your help, I do not seem to be able to edit the table and change the text...is there a trick to it?  Thanks
Title: Re: no longer able to get into admin
Post by: Sami on July 17, 2006, 07:31:38 am
yes there is ...
you should unpack the attachment to the root of gallery and execute adminpass.php by browser
this file will try to change username and passwoord of first user of your gallery (user_id = 1) and then will give you new username and password
Please make sure to DELETE this file after account creation
Title: Re: no longer able to get into admin
Post by: jacules on August 05, 2006, 03:00:39 am
It works... thanks so much again. :)
Title: Re: no longer able to get into admin
Post by: Captured Magic on August 05, 2006, 04:38:15 am
Hello from a brand new newbieee.  Sorry but I am now having the same problem logging into admin.  It does not give any error but welcomes me like it is suppose to do. (Welcome Admin) But when it loads it does not give me the permissions of Admin.  I cannot do anything but view my folders.  I thought I had it figured out.  I logged onto my laptop and noticed that my husband had been logged in earlier to my gallery and when my computer came on from being off, his name was still logged in.  I logged him off and logged in as admin and it worked.  I have a wireless connection on the laptop.  I did have the permissions set for only one computer logging in with the same email account but he did use a different email address.  Like I say I was able to log on the laptop so I thought I would go back and try the desktop...no...couldn't do it!  Please help, this is where all my pictures are held!  I thought I was doing so well too!  Was quite proud of the gallery I have created, I am a member of a club that I am building this site for and everyone loves the gallery.  Please help resolve this issue!  Thank YOu, Jeanne :)
Title: Re: no longer able to get into admin
Post by: Captured Magic on August 05, 2006, 05:05:45 am
Hey Guys, host BlueHost fixed the problem.  I remembered after writing to you about the power going out the last time I logged in as admin.  Well, Bluehost told me to delete all my cookies and temp files and it worked!  So anyone else out there...it was a easy fix!  I love this gallery I hope it continues to work well.  Thanks!!

Jeanne ;D
Title: Re: no longer able to get into admin
Post by: Stramm on August 05, 2006, 09:12:19 am
That's usually the first you try
However you musn't hijack other threads but start your own. And a search would have told you the answer too

eg.
http://forum.coppermine-gallery.net/index.php?topic=28808.0
http://forum.coppermine-gallery.net/index.php?topic=27421.0
http://forum.coppermine-gallery.net/index.php?topic=29818.0
http://forum.coppermine-gallery.net/index.php?topic=28338.0
Title: Re: no longer able to get into admin
Post by: Evolume on August 10, 2008, 07:34:44 pm
yes there is ...
you should unpack the attachment to the root of gallery and execute adminpass.php by browser
this file will try to change username and passwoord of first user of your gallery (user_id = 1) and then will give you new username and password
Please make sure to DELETE this file after account creation
Where is the file "adminpass.php" uploaded for a download? There are so many topics about this file and nobody says where to get it from. Thank you in advance!
Title: Re: no longer able to get into admin
Post by: Joachim Müller on August 11, 2008, 06:49:16 am
The file "adminpass.php" is attached to the posting http://forum.coppermine-gallery.net/index.php/topic,33512.msg158620.html#msg158620
Found it by performing a regular forum search. No special magic applied.
Title: Re: no longer able to get into admin
Post by: Evolume on August 11, 2008, 11:56:23 am
Thank you!!!
Just give this link to the users in order directly to DOWNLOAD THE ADMINPASS.PHP:
[Edit GauGau] Link removed [/Edit]
Title: Re: no longer able to get into admin
Post by: Joachim Müller on August 11, 2008, 06:47:46 pm
Thank you!!!
Just give this link to the users in order directly to DOWNLOAD THE ADMINPASS.PHP:
[Edit GauGau] Link removed [/Edit]
Don't try to be a smart-ass. We don't allow hotlinking attachments. If I would have wanted that done, I would have done it myself. Those attachment links are not permanent. I edited your posting accordingly.
Title: Re: no longer able to get into admin
Post by: Evolume on August 12, 2008, 12:39:32 am
Don't try to be a smart-ass. We don't allow hotlinking attachments. If I would have wanted that done, I would have done it myself. Those attachment links are not permanent. I edited your posting accordingly.
OK. As you wish.
Title: Re: no longer able to get into admin
Post by: ACDJ on September 26, 2008, 10:11:33 am
Thank you so much for this thread, adminpass.php saved my ass.

Thanks again!
Title: Re: no longer able to get into admin
Post by: MysticLuna on March 08, 2009, 09:59:38 am
Thanks a lot !!!!!!!! I couldn't login and now thanks to you I can !!!
Title: Re: no longer able to get into admin
Post by: nonne on March 29, 2009, 10:12:41 pm
Hi,
I'm having same problem logging in.

uploaded "adminpass.php" to the "root" on the server (netfirm) by ftp
executed "adminpass.php" by browser
it gave me the "admin and test password" as mentioned in the post
not responding "*** Couldn't log in. Try again ***

Notes:
yesterday I upgraded to a newer version ... all went well
I uploaded and installed a new "theme_andreas09"... all went well
today I was having problems with uploading photos ... it said I had not enough space allocated
tried allocating more space... the setting did not respond to this
in config (admin) I clicked on "reset all defaults"
that brought me to a page that said "there was an error while processing a database query"
shut down everything, cleaned cache etc. from browser
went back to login page... the new "theme" has disappeared 


very new at this and don't have much experience with databases. Also there isn't much on the database so... might be easier to just delete and start over with new install, but trying to find the fix is more fun than quitting.

Thank you... any suggestions would be appreciated.
Claire


Title: Re: no longer able to get into admin
Post by: Joachim Müller on March 30, 2009, 07:29:38 am
in config (admin) I clicked on "reset all defaults"
Not a bright move.
that brought me to a page that said "there was an error while processing a database query"
Enable debug_mode. If you can in coppermine's config. If you can't: do as suggested in the tutorial "Manually enabling debug_mode (http://coppermine-gallery.net/tutorial/debug_mode.php)"


very new at this and don't have much experience with databases. Also there isn't much on the database so... might be easier to just delete and start over with new install, but trying to find the fix is more fun than quitting.
Your issue is not related at all to the stuff discussed in this thread. You shouldn't have hijacked it in the first place. Locking. Start all over with a new thread of your own. Resetting the config to factory defaults means cleaning your install down to the way it way when you had finished installing it, minus the admin account. You have to create an admin account first. If you can't do that, I indeed suggest starting from scratch if there's little you lose. Anyway, in your new thread you should do as suggested per board rules and post a link to your gallery.