If logging in to your offline Joomla website as Registered users and you encounter the log-in error: “cannot access the private section of this site”, you may try the following fixes:
Set the correct global permissions to allow the user (Registered) group to login to the offline site.
- Login to backend
- Go to Global Configuration > Permissions
- Click to edit “Registered” (or any other user groups that requires logging in to the offline website)
- Set “Offline Access” to “Allowed”
Fix the assets table of the Joomla database
- Go to your database thru any of database management tools and interface, for example PHPMyAdmin
- Navigate to your database
- Create a backup, so you can reload if something does go well
- Run the following SQL queries, one after the other (below SQL querying is for Joomla 3.x)
- UPDATE `#_assets` SET `parent_id`=1 WHERE `parent_id` = ‘0’;
- UPDATE `#_assets` SET `parent_id`=0 WHERE `title` = ‘Root Asset’;
- This will fix any broken assets values when and where found
Rebuild your Menus and Categories
- Go to your menus and any categories of your existing components where applicable (Articles, K2, etc.)
- Select all categories, then click the Rebuild button to refresh and attempt to fix relevant values
- Additionally, try deleting all Trashed Items and Categories