Forbidden You don't have permission to access /administrato

General questions relating to Joomla! 2.5. Note: All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5. There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Locked
User avatar
raiahsan
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 169
Joined: Wed Jun 01, 2011 11:56 am

Forbidden You don't have permission to access /administrato

Post by raiahsan » Tue Jan 17, 2012 7:23 am

I've upgraded from joomla 1.6 to 1.7 and now I can't edit "administrator/template manager/my template/ edit main page template". When i press "save" or "save and close" or even if i press "cancel" following message appears.


Forbidden

You don't have permission to access /administrator/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
)

I probably updated from 1.6.3 to 1.7
Last edited by raiahsan on Sun Jan 22, 2012 5:04 am, edited 3 times in total.

User avatar
raiahsan
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 169
Joined: Wed Jun 01, 2011 11:56 am

Re: Cann't edit "main page template" in Administrator

Post by raiahsan » Fri Jan 20, 2012 12:32 pm

Please help. 4 days old post???

User avatar
raiahsan
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 169
Joined: Wed Jun 01, 2011 11:56 am

Re: Forbidden You don't have permission to access /administ

Post by raiahsan » Sun Jan 22, 2012 5:05 am

Nobody is going to answer still now?????

frighten
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 178
Joined: Tue Sep 19, 2006 1:16 pm
Location: Stockholm

Re: Forbidden You don't have permission to access /administ

Post by frighten » Sun Jan 22, 2012 12:32 pm

Hi
I do not directly have you answer. But can you provide some information about your directory permissions?
Backend > Site Menu > System Information > Directory Permissions
Please provide the status of the directories.

User avatar
raiahsan
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 169
Joined: Wed Jun 01, 2011 11:56 am

Re: Forbidden You don't have permission to access /administ

Post by raiahsan » Sun Jan 22, 2012 2:08 pm

I checked permissions.
All are writable

except one this.
configuration.php unwritable

should it be writable? if yes how?

frighten
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 178
Joined: Tue Sep 19, 2006 1:16 pm
Location: Stockholm

Re: Forbidden You don't have permission to access /administ

Post by frighten » Sun Jan 22, 2012 9:02 pm

Hmm
That file should be unwritable. It is correct.

Could you check two things?
1. On your FTP server: Do you have the file /administrator/index.php ? What is the CHMOD for it? (Also check if you might have a duplicate of this file with (2) behind the filename.)
2. On your FTP server: What name does your htaccess file have? Is it ".htaccess" or is it "htaccess.txt"? (Also check if you might have a duplicate of this file with (2) behind the filename.)

User avatar
raiahsan
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 169
Joined: Wed Jun 01, 2011 11:56 am

Re: Forbidden You don't have permission to access /administ

Post by raiahsan » Mon Jan 23, 2012 2:27 am

Please forgive me if i become a little silly when answering,
1. I don't use FTP program so i went to cpanel and then file manager. I searched for "index.php" in "public_html" There were many index.php files but i clicked on "administrator/index.php". Its chmod was 0644
then checked for index2.php but not found any file.
2. Yes there is a file public_html/htaccess.txt chmod 0644 with a sign of red T on it. I think it has been made by joomla when i updated joomla. Because i renamed it to .htaccess when i was on j1.6 but not sure.
Yes there is also i file public_html/.htaccess chmod 0644 which i remember i made my self by renaming htaccess.text to .htaccess when i was on j1.6
There are many other .htaccess files but not directly in public_html but in subdirectries of public_html
There is no file with 2 behind its name

frighten
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 178
Joined: Tue Sep 19, 2006 1:16 pm
Location: Stockholm

Re: Forbidden You don't have permission to access /administ

Post by frighten » Mon Jan 23, 2012 2:17 pm

As a first step, could you rename your htaccess.txt file so it becomes .htaccess? (Your existing .htaccess file have to be named something else.) I don't know if there is any difference between the two files, but one is for J1.6 and one is for J1.7 I guess. What the red T means I don't know. Maybe you will find a hint in your cpanel

Also check the CHMOD of your admin folder.

User avatar
raiahsan
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 169
Joined: Wed Jun 01, 2011 11:56 am

Re: Forbidden You don't have permission to access /administ

Post by raiahsan » Mon Jan 23, 2012 3:20 pm

i renamed existing .htaccess to .htaccesss then
renamed .htaccess.txt to .htaccess
but problem is still there.
my administrator folder chmod is 0755
-----------------------
i also tried by doing off SEF and URL REWRITE in my administrator, but no solution
Thanks again for your continuous help.

frighten
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 178
Joined: Tue Sep 19, 2006 1:16 pm
Location: Stockholm

Re: Forbidden You don't have permission to access /administ

Post by frighten » Mon Jan 23, 2012 3:59 pm

My friend, at the moment I don't know what it could be. It might as well be something very easy to solve. I'll let you know if I come up with anything.
Meanwhile I would like to recommend you to contact your host and ask them if they have any security rules that might be the cause of the blocking. (Ask for mod_security and they will hopefully know what you are asking for.)

frighten
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 178
Joined: Tue Sep 19, 2006 1:16 pm
Location: Stockholm

Re: Forbidden You don't have permission to access /administ

Post by frighten » Mon Jan 23, 2012 8:06 pm

Hi again
I don't know if the following solution is good to do (off security reasons) or even if it will work. But you can try it and if it works you know what your problem is.

In your .htaccess file in the root add the following lines:
SecFilterEngine Off
SecFilterScanPOST Off

Save and see if your problem is solved. Better is to try one of the rows at a time to see if it works. No need to disable both if one will do.

Let us know.

User avatar
raiahsan
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 169
Joined: Wed Jun 01, 2011 11:56 am

Re: Forbidden You don't have permission to access /administ

Post by raiahsan » Tue Jan 24, 2012 5:34 am

putting any one of these lines, administrator login page does not open at all. Error

User avatar
raiahsan
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 169
Joined: Wed Jun 01, 2011 11:56 am

Re: Forbidden You don't have permission to access /administ

Post by raiahsan » Tue Jan 24, 2012 8:24 am

if i assign any other template, that works fine and i can edit index.php easily. what is this. should i reinstall my current template.

frighten
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 178
Joined: Tue Sep 19, 2006 1:16 pm
Location: Stockholm

Re: Forbidden You don't have permission to access /administ

Post by frighten » Tue Jan 24, 2012 8:34 am

Well. If it works with another template, your current template are either somehow broken, or it is not fully compatible.
Try by reinstalling. If it still doesn't work and you really want to keep this template you have to dig into your template files. Maybe the creator of the template or someone at the template forum (at this site) knows about this problem.

User avatar
raiahsan
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 169
Joined: Wed Jun 01, 2011 11:56 am

Re: Forbidden You don't have permission to access /administ

Post by raiahsan » Tue Jan 24, 2012 2:11 pm

Dear frighten,
sorry for disturbing you again.
I uninstall my template and reinstall a fresh downloaded copy. But it contains all features of previous uninstalled template. even it shows that images which i replaced on old template with my own images. Means after uninstalling, there remained its related files. so problem did not solved.
I went to file manager then public_html. there was tmp folder containing files related to my template after uninstalling. i deleted all files. reinstall template. template loaded with its own features like images and other setting. But still can not edit index.php
I think some information remains still there after uninstalling.
Problem may be solved if i am able to completely remove all files and information of my template and reinstall fresh template.
May you help me how to completely remove related files of my template.

frighten
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 178
Joined: Tue Sep 19, 2006 1:16 pm
Location: Stockholm

Re: Forbidden You don't have permission to access /administ

Post by frighten » Tue Jan 24, 2012 2:28 pm

Hi
I think you have done correctly when you first uninstalled the template and then deleted the temp files. That is correct.

You say you can still see the favicon (the small image in the address bar). This is normal and has nothing to do with Joomla. For some reason those small icons are kept in the browser cache. In some browser (IE) you have to manually delete the old favicon so the new one can be showed. You can check in your filemanager under your template to see if it is the new or old one.

Regarding the files and settings that are still there. Some of these could be once again in your browser cache. Try to delete the cache once and for all. Others are probably settings you made in the Joomla backend, like modules in module positions.

And for your original error. If it still remains. I recommend you to contact the creator of the template. He/She/They should know.

Just to be sure about one thing. The template you are talking about is your frontend or backend template? Because your problem was regarding /administrator/index.php

User avatar
raiahsan
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 169
Joined: Wed Jun 01, 2011 11:56 am

Re: Forbidden You don't have permission to access /administ

Post by raiahsan » Tue Jan 24, 2012 2:50 pm

It is front end template AS002025
I think they have abandoned help for some weeks.
however if problem could not solve, i will go to completely reinstall joomla.
I can not leave this template.
or i will purchase it.

amoooc
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 111
Joined: Thu Jul 08, 2010 8:17 pm

Re: Forbidden You don't have permission to access /administ

Post by amoooc » Tue Jan 24, 2012 3:08 pm

Please install Admin Tools and fix permissions by using component options. https://www.akeebabackup.com/download/o ... tools.html Use stable version. Our apologies for late response. I think that everybody was busy by preparing their sites for new Joomla 2.5 update. Anyway Joomla Community have usualy greatest support one the web.

Regards

Cocotton
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Fri Jan 20, 2012 8:22 pm

Re: Forbidden You don't have permission to access /administ

Post by Cocotton » Tue Jan 24, 2012 6:18 pm

Hello Amoooc,

I had a similar problem to this one so I installed admin tools as you suggested. Is there a rule about the permissions for each directories/files?

Right now, my directories are either set to 775 or 755 and my files are mainly set to 644.

Thank you very much for your help guys

(I received the error about not being able to access administrator/index.php when I try to update the admin e-mails under the properties of a form (RSForm! Pro))


*************************************
EDIT
*************************************
I finally found how to fix my problem!

I learned that if you are running apache v2.0.0 and higher, you cannot turn off mod_sec into the .htaccess.

In fact I needed to add those three lines :

Code: Select all

<IfModule mod_security2.c>
SecRuleEngine Off
</IfModule>
in this file :

Code: Select all

/etc/httpd/conf/httpd.conf
right under those 2 lines :

Code: Select all

# Include the virtual host configurations:
Include /etc/httpd/.......

I hope it can help!

PS : At first I was putting the code lines into random spot in the file, but it only worked when I placed them under the vhost include line.

User avatar
raiahsan
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 169
Joined: Wed Jun 01, 2011 11:56 am

Re: Forbidden You don't have permission to access /administ

Post by raiahsan » Wed Jan 25, 2012 4:38 am

I'm some reluctant about "amooc" post. will it solve my problem. I've installed it now and fix permissions. directries are 0755 files are 0644. but no benefit.

Second I'm completely unable to understand what "Cocotten" is describing in upper post.

User avatar
raiahsan
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 169
Joined: Wed Jun 01, 2011 11:56 am

Re: Forbidden You don't have permission to access /administ

Post by raiahsan » Wed Jan 25, 2012 5:45 am

oohhhhh.....
At last template support came with this answer.
"free version is limited. you can not edit source code."
Alas.
However "Frighten" I thank you very much for being with me so long and giving your precious time and help.
Thanks.
ss.png
You do not have the required permissions to view the files attached to this post.

mytannet
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Apr 23, 2013 7:36 am

Re: Forbidden You don't have permission to access /administ

Post by mytannet » Tue Apr 23, 2013 8:15 am

Please helps~! I'm having this problem on version 3.0 !
I'm just started to use this email system not more than a month and i dont have FTP server. I just using web browser to log in and use.

Yesterday i log in and sent email still looking fine, until just now log in this title message was given. How should i solve this problem ?!?! PLEASE HELP !

wmoreno3
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon May 13, 2013 5:02 pm

Re: Forbidden You don't have permission to access /administ

Post by wmoreno3 » Mon May 13, 2013 5:11 pm

http://httpd.apache.org/docs/2.4/upgrading.html

Code: Select all

        Alias /joomla /usr/local/www/joomla31/
        AcceptPathInfo On
        <Directory /usr/local/www/joomla31>
            AllowOverride None
            Require all granted
        </Directory>
apache22

Code: Select all

Order Allow,Deny
Allow from all
apache24

Code: Select all

Require all granted

mytannet
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Apr 23, 2013 7:36 am

Re: Forbidden You don't have permission to access /administ

Post by mytannet » Wed May 29, 2013 3:41 am

ok noted, thanks for the reply :-)

neomelonbay
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Nov 07, 2009 12:51 am

Re: Forbidden You don't have permission to access /administ

Post by neomelonbay » Mon Jul 15, 2013 8:14 am

Hi,

I experienced the same problem. I checked my .htaccess and disable this:

RewriteRule .* index.php [F]

after I commented out (put # before the line), my administrator running just like before. I dont know if this is the same situation with you, but it worked for me.

rgds,

Leo Ferdinand
http://www.premhouse.com

navarrodeacon
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Nov 01, 2013 7:10 am

Re: Forbidden You don't have permission to access /administ

Post by navarrodeacon » Fri Nov 01, 2013 7:19 am

I'm having the same problem but I also cannot log in from the back end. I'm able to view and login only on certain computers none of which are my home computers. I have full access and can view my website at work, but not from my home PC or my wives Kendal. Other people have complained that they are getting the same error when visiting my webpage. I want to know if I can hire someone to fix this issue.

Here's the error I'm getting:

Forbidden

You don't have permission to access / on this server.

marcosjiloh
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Nov 12, 2013 11:42 am

Re: Forbidden You don't have permission to access /administ

Post by marcosjiloh » Tue Nov 12, 2013 11:49 am

I had the same problem. In my case, it was my web content filtering tool that blocked the communication between the client and the server. It assumed that the code in the URL was an SQL Injection.
We configured the web filter properly and the problem was fixed.

trenton9
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sat Apr 05, 2014 2:51 am

Re: Forbidden You don't have permission to access /administ

Post by trenton9 » Sat Apr 05, 2014 3:27 am

My Solution:
I had this frustrating problem when attempting to alter protostar's index.php from the backend.

I eventually bypassed the back-end altogether. I accessed the index.php via FTP, making the change and saving the index.php right back into the directory.

I still don't know what the deal is with the backend route being denied. I can alter everything else (like the css/html) but none of the php's.

UPDATE:.................
Contacted my web host. They added an exception to my security rules which solved the problem.

atongsun
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Nov 19, 2008 6:08 pm

Re: Forbidden You don't have permission to access /administ

Post by atongsun » Mon Jan 12, 2015 10:56 am

Dear Friend
let me share for saem issue
i found that
* register domain & hosting under limited function from domian provider and then not working with firewall or proxy company but it's work on my personal internet access
** for register domain & hosting with full option it's notthing any isssue

User avatar
changlee
Joomla! Explorer
Joomla! Explorer
Posts: 470
Joined: Tue Nov 20, 2007 11:05 am
Location: Greece
Contact:

Re: Forbidden You don't have permission to access /administrato

Post by changlee » Mon Jan 15, 2018 7:10 am

Hello,
I faced the same problem at a Joomla 1.5 website also. I was using cPanel's directory privacy, and I manually deleted .htaccess

I restored the .htaccess and I removed directory privacy through cPanel ;)
If you do not programm your life, someone else will do it for you.
SMTP Newsletter APP: https://www.emailbat.com


Locked

Return to “General Questions/New to Joomla! 2.5”