Jump to content

Silly me blocked myself out of admin-how to solve this?


Wouter
 Share

Recommended Posts

Hi Netcarver, 

Thanks for your time...

Since i can not log in, and am a complete newbie to building anything on the web. How do i do this solution? How do i access the root folder. How do i run it, what does that mean?

Thanks

Solution

Paste the following into a file (e.g. "reset.php") in the root folder of the site, then run it.

Link to comment
Share on other sites

The easiest way I have done this is to paste the following in the home.php file (this can be found under site->templates). Once you have saved your change to the home template, visit your site's home page. Once you have visited the page after updating the template, you can remove the code from the template.

$admin = $users->get('admin'); // or whatever your username is
$admin->setAndSave('pass', 'yo123456'); //change the password to whatever you want it to be

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...