PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Donovan
Client


Joined: Oct 07, 2003
Posts: 735
Location: Ohio

PostPosted: Wed Dec 12, 2007 6:06 pm Reply with quote Back to top

I needed to change the password for the God account so I went into phpmyadmin and was going to do it manually. Input the new password and selected MD5. Clicked on Go and got this result.

Affected rows: 0

It seems I can no longer manually change this when in PHP4 I could.

The SQL query looked like this.

Code:
UPDATE `xxxxxxx_main`.`nuke_authors` SET `pwd` = MD5( 'xxxxxxxx' ) WHERE CONVERT( `nuke_authors`.`aid` USING utf8 ) = 'xxxxxx' LIMIT 1 ;
View user's profile Send private message Visit poster's website ICQ Number
Donovan
Client


Joined: Oct 07, 2003
Posts: 735
Location: Ohio

PostPosted: Wed Dec 12, 2007 6:37 pm Reply with quote Back to top

New admin for modules cannot login though admin.php

Before the guy said it was telling him Begone.

Now all that happens is the login page refreshes.

The user is a normal module admin and not a superuser.
View user's profile Send private message Visit poster's website ICQ Number
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 3186
Location: near Albany NY

PostPosted: Wed Dec 12, 2007 7:45 pm Reply with quote Back to top

just go in and edit the field in phpmyadmin. under function choose md5 and then type in the text that you want to apply the md5 to. to edit the field, browse the file, then pick the record you want to edit. There is no need to write a query for this, phpMyAdmin will do it for you.
View user's profile Send private message Visit poster's website
Donovan
Client


Joined: Oct 07, 2003
Posts: 735
Location: Ohio

PostPosted: Wed Dec 12, 2007 8:37 pm Reply with quote Back to top

fkelly wrote:
just go in and edit the field in phpmyadmin. under function choose md5 and then type in the text that you want to apply the md5 to. to edit the field, browse the file, then pick the record you want to edit. There is no need to write a query for this, phpMyAdmin will do it for you.


Donovan wrote:

I went into phpmyadmin and was going to do it manually. Input the new password and selected MD5. Clicked on Go and got this result.


I did just what I wrote. I used phpmyadmin and got ...

Affected rows: 0
View user's profile Send private message Visit poster's website ICQ Number
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

PostPosted: Thu Dec 13, 2007 7:18 am Reply with quote Back to top

I don't understand why it is putting in the CONVERT. There is something odd going on with regards to charsets (but I have no idea what). Try this instead:

UPDATE `xxxxxxx_main`.`nuke_authors` SET `pwd` = MD5( 'xxxxxxxx' ) WHERE `aid` = 'xxxxxx' LIMIT 1 ;

You may have to do this manually (the SQL that is).
View user's profile Send private message Visit poster's website
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Thu Dec 13, 2007 8:13 am Reply with quote Back to top

Can't you just delete the GOD record and the next time you visit admin.php it will prompt you to create a new one? Don't try this until someone confirms that will happen. Wink
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum