Error - "You cannot access the private section of this site.

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Clint3200
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Wed Jun 04, 2008 6:21 pm

Error - "You cannot access the private section of this site.

Post by Clint3200 » Sat Apr 06, 2013 12:53 am

I have searched far and wide to solve this issue to no avail.

I am working on a test site that I hope to go live with soon.

I can login as a super user, but when I have tested the registering process, or created other user accounts they are unable to login.

Yes I have checked, and rechecked the permissions settings in Global config.

I even paid for the ACL manager extension and did a diagnostics check, but did no good.

Any help appreciated.

Thanks
Last edited by Clint3200 on Sat Apr 06, 2013 9:39 pm, edited 1 time in total.

User avatar
Ankit Mathur
Joomla! Ace
Joomla! Ace
Posts: 1063
Joined: Wed Jan 09, 2013 10:39 am
Location: India
Contact:

Re: Error - "You cannot access the private section of this s

Post by Ankit Mathur » Sat Apr 06, 2013 10:01 am

Are those registered users enabled from your site's backend?
With Kind Regards,
Ready Bytes Software Labs
Joomla Shopping Cart: http://www.readybytes.net/paycart.html

Clint3200
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Wed Jun 04, 2008 6:21 pm

Re: Error - "You cannot access the private section of this s

Post by Clint3200 » Sat Apr 06, 2013 2:05 pm

Yes, they are enabled.

I have Added and enabled new users from back-end as well as tried a full registration from the front-end to test. No matter what, the error is generated. If I take one of the users and make them a super-user, they can login...

Clint3200
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Wed Jun 04, 2008 6:21 pm

Re: Error - "You cannot access the private section of this s

Post by Clint3200 » Sat Apr 06, 2013 8:32 pm

RESOLVED!!!

The support from ACL manager saw this thread and came up with my answer in case others have this issue. Here is what was needed:

"It looks like you have a legacy contact category that is causing the issue. Please open the categories table via phpMyAdmin and find the category with extension "com_contact_details" (ID=28). Open this category and change the extension name from "com_contact_details" into "com_contact".

After this (you might need to fix some asset issues in the ACL Manager diagnostics) the issue should be solved."

After I did this, this issue was fixed. Kudos to ACL Manager for the fix.

User avatar
Ankit Mathur
Joomla! Ace
Joomla! Ace
Posts: 1063
Joined: Wed Jan 09, 2013 10:39 am
Location: India
Contact:

Re: Error - "You cannot access the private section of this s

Post by Ankit Mathur » Sun Apr 07, 2013 8:09 am

Clint3200 wrote:RESOLVED!!!

The support from ACL manager saw this thread and came up with my answer in case others have this issue. Here is what was needed:

"It looks like you have a legacy contact category that is causing the issue. Please open the categories table via phpMyAdmin and find the category with extension "com_contact_details" (ID=28). Open this category and change the extension name from "com_contact_details" into "com_contact".

After this (you might need to fix some asset issues in the ACL Manager diagnostics) the issue should be solved."

After I did this, this issue was fixed. Kudos to ACL Manager for the fix.
Ohk, Thanks for sharing the solution.
With Kind Regards,
Ready Bytes Software Labs
Joomla Shopping Cart: http://www.readybytes.net/paycart.html

dansky
Joomla! Intern
Joomla! Intern
Posts: 74
Joined: Thu Jan 10, 2008 4:42 pm
Location: Italy
Contact:

Re: Error - "You cannot access the private section of this s

Post by dansky » Mon May 20, 2013 4:01 pm

Ok, I think we should send this to the joomla 3.1 developers, because it really looks like a bug in the update process from 2.5 to 3.1.
I already have 2 sites with blocked permissions on registered groups. Only superadmin is allowed to login on the frontend.
The extension com_aclmanager solved the issue but it's a commercial extension.
I didnt recognize any problem on database or permissions configuration so getting the extension was the only fast way to fix it.

I really would like someone who can explain us how to fix it manually. If someone from the bugsquad is listening, please tell me how to send to the buglist checking.

For everyone getting mad (like me) on fixing it: actually looks like the onl way is installing acl mamanager and running the diagnostic tool.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Error - "You cannot access the private section of this s

Post by infograf768 » Fri May 24, 2013 7:02 am

To globally change the wrong com_contact_details to com_contact in the _categories table, you can use a global query.

The issue comes from a wrong migration from 1.5, not 2.5

UPDATE jos_categories // change pefix to fit
SET extension = 'com_contact'
WHERE extension = 'com_contact_details'

What is exactly the change done to the assets by com_aclmanager?

Do you have assets of the type
com_contact_details.category.35
instead of
com_contact.category.35

?
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

alexskynet
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Wed Jun 30, 2010 5:53 pm

Re: Error - "You cannot access the private section of this s

Post by alexskynet » Fri Jun 14, 2013 12:00 pm

Hi all

I have the very same problem on a 3.1.1

I applied the query to update the categories table with no luck.

What may I check next?

Thank you

EskimoRoll
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Jan 06, 2010 9:38 pm

Re: Error - "You cannot access the private section of this s

Post by EskimoRoll » Tue Jul 16, 2013 5:45 pm

Hello I have this exact problem as well with 3.1.1.

I am using an already packaged joomla install from a template vendor so I didn't start from a fresh install.

I tried changing com_contact_details to com_contact to no avail. I can only log on with SuperUser and no other user. I also made sure that the *Registered* group has site logon privs in the global config.

After renaming com_content_details to com_content...it was mentioned that ACL Manager might further update some inconsistencies, what are they?

EskimoRoll
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Jan 06, 2010 9:38 pm

Re: Error - "You cannot access the private section of this s

Post by EskimoRoll » Thu Jul 18, 2013 2:04 pm

I am still having this problem...

Fintan
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 126
Joined: Mon Jul 28, 2008 11:34 pm
Location: Switzerland

Re: Error - "You cannot access the private section of this s

Post by Fintan » Thu Aug 01, 2013 8:39 am

I am getting the smae problem with a test site.

Updated from Joomla 2.5.10 to Joomla 2.5.13

when loging in with super user I get:
403 - You can not login to the site. Please, contact webmaster.

When returning to admin and loging off I get:
Your session has expired. Please log in again.

When logging in with an existing or new user I get:
You cannot access the private section of this site.

I have checked global settings and access levels.

Changing: com_contact_details to com_contact
didn't help either.

Is there anything else I could do besides rebuilding from scratch? This is a huge site with hundreds of vmart products, videos, a huge cataloge, etc.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Error - "You cannot access the private section of this s

Post by infograf768 » Thu Aug 01, 2013 9:43 am

It's the opposite
_contact has to be changed to _contact_details
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

alexskynet
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Wed Jun 30, 2010 5:53 pm

Re: Error - "You cannot access the private section of this s

Post by alexskynet » Thu Aug 01, 2013 9:50 am

It doesn't seem only related to assets table or contact query
I cleaned up the assets table and it looks OK but still can't login on public site in a 3.1.4
I'll try to debug where this happnens in PHP
Any suggestion about where to start from?

Fintan
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 126
Joined: Mon Jul 28, 2008 11:34 pm
Location: Switzerland

Re: Error - "You cannot access the private section of this s

Post by Fintan » Thu Aug 01, 2013 9:56 am

Thanks infograf. Changed it back, same difference.

If you have the time have a look:
http://www.latina-bodyfashion.ch/Test/i ... y-specials


This is freaking me.
Especially since I cannot login with superuser. I think something is drastically wrong here.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Error - "You cannot access the private section of this s

Post by infograf768 » Thu Aug 01, 2013 10:26 am

@Fintan

I have deleted the credentials you posted above. Never post name/pass into a forum.
Your issue may be related to a bad upgrade

We are releasing tonight a 3.1.5 solving quite a few bugs in the 3.1.4.
I suggest you update when it will be available and report here.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

Fintan
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 126
Joined: Mon Jul 28, 2008 11:34 pm
Location: Switzerland

Re: Error - "You cannot access the private section of this s

Post by Fintan » Thu Aug 01, 2013 11:03 am

Upgrading to 3.x.x would be the same as rebuilding the whole site.
Vmart, all my other components, modules, templates, etc.

Before going that route, I would like to solve theis issue.

I'll give it a shot on a second test page, but not now. No time ;)

alexskynet
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Wed Jun 30, 2010 5:53 pm

Re: Error - "You cannot access the private section of this s

Post by alexskynet » Thu Aug 01, 2013 11:54 am

Ok I was wrong

Checking the assets table once again I discovered some records with parent_id set to 0

According to http://docs.joomla.org/J3.1:Cannot_login_in_3.1.4 I fixed the MISSING com_weblinks row and modified all the weblinks assets to have as parent the added record and SNAP I can login again from the public area!

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Error - "You cannot access the private section of this s

Post by infograf768 » Thu Aug 01, 2013 12:17 pm

Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

Fintan
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 126
Joined: Mon Jul 28, 2008 11:34 pm
Location: Switzerland

Re: Error - "You cannot access the private section of this s

Post by Fintan » Thu Aug 01, 2013 2:30 pm

Ok up until I updated to 2.5.13 all was well. This sucks.
To fix you can manually or with an sql query change the parent ids.
I am not sure how I am supposed to do this.

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: Error - "You cannot access the private section of this s

Post by mcsmom » Thu Aug 01, 2013 3:42 pm

Follow the instructions on the wiki.


I'm not sure what is going on in the contact discussion but hte correct name for the contact extension asset is

com_contact

The correct name for any category within com_contact is something like

com_contact.category.4


ANything else is incorrect in the assets table.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

Fintan
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 126
Joined: Mon Jul 28, 2008 11:34 pm
Location: Switzerland

Re: Error - "You cannot access the private section of this s

Post by Fintan » Fri Aug 02, 2013 8:30 am

Follow the instructions on the wiki.
And which Wiki would that be? Please excuse my ignorance ;)

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: Error - "You cannot access the private section of this s

Post by sovainfo » Fri Aug 02, 2013 8:54 am

docs.joomla.org
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

Fintan
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 126
Joined: Mon Jul 28, 2008 11:34 pm
Location: Switzerland

Re: Error - "You cannot access the private section of this s

Post by Fintan » Fri Aug 02, 2013 10:27 am

docs.joomla.org
That is not very helpful. but thanks for the rtfm help anyway.

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: Error - "You cannot access the private section of this s

Post by sovainfo » Fri Aug 02, 2013 2:09 pm

rtfm not intended, just answered the question. Looks like you were looking for a different answer. Looked closer at your issue and recalled someone posting the answer you are looking for, I think.

http://forum.joomla.org/viewtopic.php?f ... 1#p3062752

Too bad, the documentation doesn't mention it!

EDIT
Wrong statement use his correction. (url above changed)
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

User avatar
tethmosis
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 249
Joined: Sat Sep 23, 2006 4:13 pm
Location: Canada

Re: Error - "You cannot access the private section of this s

Post by tethmosis » Sat Aug 03, 2013 12:29 am

Personally i have website in dev with Version 3.1.5 and another one in prod with version 3.1.1. None of the accounts i create for accessing back-end can get in... They all can access front end though... Only if i create a SuperAdmin will he be able to get back-end.
I've been going nuts all day trying to find a solutions to this problem...
http://forum.joomla.org/viewtopic.php?f ... 1#p3063601

I've been focusing mainly on trying sort out this Ndimensional maze that Joomla's permission system has become !

I just can't find the damn "Denied" setting that must have been set by mistake and which is being inherited to all other permission level and applications.

Would committing suicide be a valid solution ?...
Joomla realy became, over the past 4 years, a SFPOS system... At least it's free !

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: Error - "You cannot access the private section of this s

Post by mcsmom » Sat Aug 03, 2013 12:47 pm

It sounds like you haven't really gotten your mind around permissioning, it's actually not hard.

All of your non super admin users who you want to give backend login to are in the same group right?

So go to global configuration Permissions.
Find the tab for that group.
Make sure that the group has Admin Login set to allowed.

Also make sure they are not in any other group that has Admin Login explicitly set to Denied.

You may want to turn on the debugger so that you can see the acl view for each group showing what it can and cannot do.

Otherwise the simplest thing is just to make the managers in the basic acl structure.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: Error - "You cannot access the private section of this s

Post by sovainfo » Sat Aug 03, 2013 1:15 pm

Have a look at the 35 assets loaded for a clean install in joomla.sql found in installation/sql.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

User avatar
tethmosis
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 249
Joined: Sat Sep 23, 2006 4:13 pm
Location: Canada

Re: Error - "You cannot access the private section of this s

Post by tethmosis » Sat Aug 03, 2013 1:29 pm

sovainfo wrote:Have a look at the 35 assets loaded for a clean install in joomla.sql found in installation/sql.
Now that's the single most f*k*g useful reply i had since 48 hours !

Thanks dude... this is exactly what i was looking for...
The table is called Assets... super good name !

Thanks again... Now i can solve my problem...

People have to solve permission related issues by reinitializing the permission mapping table... The idiot behind Joomla's configuration system should be skinned off without mercy !...

User avatar
tethmosis
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 249
Joined: Sat Sep 23, 2006 4:13 pm
Location: Canada

Re: Error - "You cannot access the private section of this s

Post by tethmosis » Sat Aug 03, 2013 1:50 pm

Wow !....

Problem solved in 5 sec...

1) Find joomla.sql under Installation directory. (From a fresh Joomla inst zip file)
2) Drop table "#__assets"
3) copy/paste the sql query to recreate the table. (Right on top of the sql file)
4) Copy/paste the sql query to feed with initial values.
5) Enjoy life !!! ... Go outside !!... Forget Joomla bad design !... Pickup some flowers for your sweetheart !... pet your dog !...

Did i take my pills this morning ???


sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: Error - "You cannot access the private section of this s

Post by sovainfo » Sat Aug 03, 2013 2:09 pm

Next time use TRUNCATE instead of DROP, save you recreating the table.

Didn't you have any other content?
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!


Locked

Return to “Administration Joomla! 3.x”