I installed gallery3 on one server, then moved it to another. I then found I couldn't log on as admin. When I choose to reset admin password, I never get a notice in my email.
I have access to the users table via phpmyadmin. Can I fix it from there? Can I change the password and encrypt it?
Thanks for any assistance.
Posts: 3
never mind...figured it out minutes after posting. Thanks anyway.
Posts: 3
Please tell me what you did.
I have the same problem and can't figure it out.
Posts: 3
In phpmyadmin, I entered my password in the text field, then chose MD5 on the left side. When I saved changes, all was well.
Posts: 3
Thanks PoorBC.
I can't figure out how to run phpmyadmin,
but I found an answer that worked for me.
On Thu, 2010-09-02 05:36 bharat posted this:
-----
Create a file called modules/gallery/controllers/x.php and put this in it:
<? class x_Controller extends Controller { public function login_as_admin() { auth::login(identity::admin_user()); url::redirect(item::root()->abs_url()); } }Then browse to /gallery3/index.php/x/login_as_admin and you'll be logged in as an admin.
Then go to Admin > Users and change passwords till you're happy.
Don't forget to delete x.php!
-----
Posts: 10
Just wanted to say thanks for posting this! Helped me and FAST.....
Posts: 20
doesn't help
Posts: 48
Try This
Posts: 20
no luck
Posts: 2
I created an x.html page and when I go to
gallery/index.php/x/login_as_admin
I get this page.
Dang... Something went wrong!
We tried really hard, but it's broken.
Hey wait, you're an admin! We can tell you stuff.
But it didn't help me.
By the way I didn't use gallery3 because my folder is called gallery.
Any other thoughts about this?
Thank you in advance for any help.
Jay