by Andrew Brett WatsonPublished in Joomla
You may have come across this Access not allowed error and although I can’t guarantee this is the solution it might help. It took me a while of fruitless searches to discover that the error showed up as a result of my own mistake, one thats easy to make. I installed an old plugin in Community Manager which was responsible. Here’s are three possible fixes:
Solution 1: Check you don’t have an old Language plugins installed in Community Builder.
After trial and error I found that the Direct Access to this Location is not allowed error using Community Builder and Joomla was due to me installing an old version of a language plugin (in this case the Spanish translation plugin for Community Builder). So, step one is to login to your Joomla backend and check to see if you have any languages plugins installed. One by one click to unpublished them and then check the front end to see if the Direct Access to this Location is not allowed error persists. With a bit of luck when you unpublish one of the language plugins you will find that the error no longer appears, then all you need to do is delete that plugin (make sure you back it up if you have customised it) and install the latest version.
(the Community Builder Plugin Manager)
I found the latest language translations for Community Builder here (Click the language file you want and and then click the files menu across the top): http://forge.joomlapolis.com/projects/lan-cb
Solution 2: Check you don’t have any OTHER old installed plugins in Community Builder that are incompatible.
Ok, so it goes without saying that if it wasn’t a Community Builder language plugin causing the problem, it could be another plugin thats old or just incompatible causing the Direct Access to this Location is not allowed error. Let’s troubleshoot that and see if we can find the offending plugin.
Unpublish the community builder plugins one by one, look to see if the “Direct Access to this Location is not allowed” error is no longer returned, that way you know the plugin that causes the error is either incompatible with Community Builder or just plain bad. You can then look for an up to date version of the plugin or another plugin that does the same job (but works with the version of Community Builder you are using - check that!).
Solution 3: Clutching at straws.
Ok, I’m just about out of useful advice. One last thing if you are still have problems and the “Direct Access to this Location is not allowed” try a general maintenance step which sometimes fixes errors. Check your Joomla permissions are set correctly. They should be 755 for folders and 644 for files. You can set this by right clicking on the main Joomla folder in your favourite FTP app and clicking “permissions”, I’m not sure how much help that will be, but it’s one last thing to tick off the list.
I hope this gets ride of you Direct Access error with Joomla/Community builder. Good luck