Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 05:06:59 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Admin failure  (Read 754 times)
corris

Offline Offline

Posts: 7



« on: November 30, 2007, 01:27:28 PM »

Hi

Tried a search - no result I could see

Longstanding website on WB2.6.5 - no probs with the website - but when I log onto admin (used to be OK but probably a couple of months since I last logged in) it just refreshes the logon page.

Tried the "forgotton your details" (which returned a new password OK) and also tried
UPDATE tableprefix_users set password = md5("new password") where username = "admin";

No Go - just keeps refreshing the lgon page as though admin logon has somehow been disabled - any ideas?




« Last Edit: December 01, 2007, 12:14:14 AM by corris » Logged
doc
Guest
« Reply #1 on: November 30, 2007, 01:55:23 PM »

Hello,

keep in mind that you have to set "admin" to the username you would like to change and tableprefix to the table prefix you have defined during installation.

Code:
UPDATE tableprefix_users set password = md5("new password") where username = "admin";

Regards Christian
Logged
corris

Offline Offline

Posts: 7



« Reply #2 on: November 30, 2007, 01:59:00 PM »


Thanks Christian

Yep - SQL expression was made valid for my installation.

Tried with blank password as well --- same result
Logged
corris

Offline Offline

Posts: 7



« Reply #3 on: December 01, 2007, 12:08:15 AM »


Right --- took me far too long, and should have checked earlier  huh

I chmoded config.php in the recent past incorrectly (don't remember why), but I've just remembered doing so and thinking at the time that I must undo that - promptly forgot.
No exec access and wouldn't find admin session for me.

Funny as the site still works, Oh Well. Admin alive again now - wise after the event - take care with chmod  embarassed

Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!