成品网站's backend prompts that there is no administrative permission.

Published: 2016-07-22

```html

blob.png

  1. First click Manage Account Maintenance. If you have permission to operate this item, click Modify Permissions, check all permissions, and save once.

  2. If the Manage Account Maintenance permission has also been revoked, reset it by the following method:

    Create a new file named reset.php in the root directory and write the following:


<?php

 require("config.inc.php");

 $link=mysql_connect($dbHost,$dbUser,$dbPass); 

 mysql_select_db($dbName);

 $query="insert INTO ".$TablePre."_base_adminrights(auth,user) VALUES(3,'admin')" ;

 if($rs=mysql_query($query,$link))

{

 print "<br>Account maintenance permission has been reset successfully. Please log in to the Admin Panel - Settings - Manage Account Maintenance - Modify Permissions, check all permissions, and save!";    

  }

  else{

   print mysql_error();

  }

mysql_close($link);

?>

Save, then visit http://yourdomain/reset.php  once to add the "Manage Account Maintenance" permission.

Then log in to the Admin Panel - Settings - Manage Account Maintenance - Modify Permissions, check all permissions, and save.

```