If this is your first visit, check our documentation. To post, register or login.
Forums / Installing on a Linux/Unix Server / Permission error logging into admin

Permission error logging into admin

Locked

Started by alkazar on 16 May 2006, 4:24 PM · Views: 3,816

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
16 May 2006, 4:24 PM
#1
alkazar avatar

alkazar

New Zenner

Join Date:
May 2006
Posts:
5
Plugin Contributions:
0

Permission error logging into admin

Just installed zen cart for the first time. Install appears to finish ok and the site comes up on my browser ok, but I can't seem to get into the admin area. I have tried clicking on the admin area button at the end of the install as well as manually entering /admin/index.php and get the following error: You don't have permission to access /admin/ on this server

Component name Component version
https://www.onlinecircuitsales.com
mysql 3.23.58-1
php 4.3.2-14.ent
perl-Apache-ASP 2.57-rhel3.build71040817.01

I have checked the configuration files and can't seem to figure out why I get this error. Please help.

16 May 2006, 7:58 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Permission error logging into admin

alkazar:

Just installed zen cart for the first time. Install appears to finish ok and the site comes up on my browser ok, but I can't seem to get into the admin area. I have tried clicking on the admin area button at the end of the install as well as manually entering /admin/index.php and get the following error: You don't have permission to access /admin/ on this server
Try TEMPORARILY renaming the /admin/.htaccess file

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 May 2006, 2:32 PM
#3
alkazar avatar

alkazar

New Zenner

Join Date:
May 2006
Posts:
5
Plugin Contributions:
0

Re: Permission error logging into admin

Thank you for the immediate response. I have tried your suggestion of renaming the htaccess file and there is no difference. Any other ideas? The main page comes up fine but I can not get into the admin portion. Thank you again.

17 May 2006, 2:41 PM
#4
detroitonline avatar

detroitonline

New Zenner

Join Date:
May 2006
Posts:
8
Plugin Contributions:
0

Re: Permission error logging into admin

Make sure you didn't accidently change the permissions on the /admin folder. It should be set to 755. Also make sure that /admin/includes/configure.php is set to 644.

Are you seeing a 403 error when you try to access the Admin section?

17 May 2006, 9:07 PM
#5
alkazar avatar

alkazar

New Zenner

Join Date:
May 2006
Posts:
5
Plugin Contributions:
0

Re: Permission error logging into admin

Thanks for the tips, changed the /admin dir to 755 and verified admin/includes/config file was 644. Still get the following:
Forbidden

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

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.0.46 (Red Hat) Server at https://www.componentcommerce.com Port 80

Thanks again for the help.

18 May 2006, 3:54 PM
#6
detroitonline avatar

detroitonline

New Zenner

Join Date:
May 2006
Posts:
8
Plugin Contributions:
0

Re: Permission error logging into admin

What does your Apache error_log say? It will be kicking out an error entry for this. It should shed some more light on the issue.

18 May 2006, 11:23 PM
#7
alkazar avatar

alkazar

New Zenner

Join Date:
May 2006
Posts:
5
Plugin Contributions:
0

Re: Permission error logging into admin

Removed everything, added a directory to the httpdocs directory and installed it there, and it works fine now.??. For some reason ther are no permission problems now. Thanks for the help.:yes:

18 May 2006, 11:28 PM
#8
detroitonline avatar

detroitonline

New Zenner

Join Date:
May 2006
Posts:
8
Plugin Contributions:
0

Re: Permission error logging into admin

Did you originally have it in htdocs when you were getting the errors?