Drake CMS Official Forums - read-only archive

You are reading the Drake CMS Official Forums archive, available for historical purposes only.

Drake CMS has been rebranded into Lanius CMS, visit the new Lanius CMS Official Forums if you need support about Lanius CMS or Drake CMS -> Lanius CMS migration.



Home page Security issues > forgot admin password Permanent link to this page
 
 
Author Message:
roland
forgot admin password
10 July 2007 21:33
Anonymous Hi,
what can I do if I forgot the admin password?
Can I reset it somehow?
Regards,
Roland
 
trex1512
Re: forgot admin password
16 July 2007 16:09
Anonymous Hi Roland

Sorry for the late reply, you were not being ignored on purpose...

Unfortunately, reseting is not an option...

You might be better off and just easier doing a full reinstall...unless there is data of a particularly important nature you wish to try and retreive.

TerryF
 
legolas558
Re: forgot admin password
28 November 2007 20:57
Anonymous Here it is how to reset the admin password if you have FTP access to the website:

  1. create an SQL backup in your local installation

  2. [li]create a file in the root directory with .php extension and put in it Code:
    <?php require 'core.php';
    $conn->Execute('INSERT SQL HERE');
    ?>

  3. replace INSERT SQL HERE with the INSERT INTO #..users ... row found in your SQL backup file. You should pick the row of your admin user

  4. before running the script, remove the first field from VALUES(...) and "id" from (id, ...

  5. execute the SQL script on the remote server and remove the file

Sorry for this late reply - but I did not notice it before
 
Top