Removed user in admin by accident, now getting Permission Denied , You do not have permission to access this page, please refer to your system administrator.
Any help would be great
Any help would be great
Open
/admin/controller/common/home.php
Find
and after it on a new line temporarily put
and save the file
Then go into the admin, set up the users and permissions as you want them
and then edit the file again removing the temporary line of code
/admin/controller/common/home.php
Find
Code: Select all
public function permission() {
Code: Select all
return true;
Then go into the admin, set up the users and permissions as you want them
and then edit the file again removing the temporary line of code
ok, in that case we'll use another method 
Open
/admin/index.php
Find these lines:
After those put
and save
then go to your admin area and you should see just "OK"
Once you see that, remove the two lines and save again
You now have a user called "admin" with the password "password"

Open
/admin/index.php
Find these lines:
Code: Select all
// Database
$db = new DB(DB_DRIVER, DB_HOSTNAME, DB_USERNAME, DB_PASSWORD, DB_DATABASE);
$registry->set('db', $db);
Code: Select all
$db->query("INSERT INTO `".DB_PREFIX."user` (`user_group_id`, `username`, `password`, `status`) VALUES ('1', 'admin', '5f4dcc3b5aa765d61d8327deb882cf99', '1')");
die('OK');
then go to your admin area and you should see just "OK"
Once you see that, remove the two lines and save again
You now have a user called "admin" with the password "password"
I have same problem
I unselect all in top administrator and save
now i can`t work more
permision denide
permision denide
all site permision denide
I can`t change enyting
I unselect all in top administrator and save
now i can`t work more
permision denide
permision denide
all site permision denide
I can`t change enyting
Who is online
Users browsing this forum: No registered users and 98 guests