cancel
Showing results for 
Search instead for 
Did you mean: 

403 forbidden error with magento ce 1.9.1.1

SOLVED
   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

403 forbidden error with magento ce 1.9.1.1

It seems there is a permission error with magento 1.19.1.1 zip file. My site issued 403 forbidden error when I ran it at my site.... Files with permission 640 but not 644...

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: 403 forbidden error with magento ce 1.9.1.1

I had the same issue, but I was able to resolve it by updating system-wide file permissions after unzipping/extracting the .zip or .tar.gz file. Log in via SSH, and make sure you're in the root directory of your Magento instance. Then run these commands:

 

find ./ -type f | xargs chmod 644
find ./ -type d | xargs chmod 755
chmod -Rf 777 var
chmod -Rf 777 media

Clear your browser cache, reload the URL of your Magento instance, and you should be able to complete the browser-based installation.

View solution in original post

8 REPLIES 8

Re: 403 forbidden error with magento ce 1.9.1.1

Try to apply 644 permission to your zip file.

Was my answer helpful? You can accept it as a solution.
200+ Premium Magento 2 Extensions Need help? Hire Magento Developer

Re: 403 forbidden error with magento ce 1.9.1.1

I had the same issue, but I was able to resolve it by updating system-wide file permissions after unzipping/extracting the .zip or .tar.gz file. Log in via SSH, and make sure you're in the root directory of your Magento instance. Then run these commands:

 

find ./ -type f | xargs chmod 644
find ./ -type d | xargs chmod 755
chmod -Rf 777 var
chmod -Rf 777 media

Clear your browser cache, reload the URL of your Magento instance, and you should be able to complete the browser-based installation.

Re: 403 forbidden error with magento ce 1.9.1.1

wrong user, you have to login as the user who owns the files.

+------------+------+-------+
| Permission | Octal| Field |
+------------+------+-------+
| rwx------  | 700  | User  |
| ---rwx---  | 070  | Group |
| ------rwx  | 007  | Other |
+------------+------+-------+  

 or add this user to web group, and set permissions:

usermod -g webgroup username
find . -type d -exec chmod 775 {} \;
find . -type f -exec chmod 664 {} \;
chmod -R 777 var media

 

or probably update your FTP users "umask" - 002

------------
MagenX - Magento and Server optimization

Re: 403 forbidden error with magento ce 1.9.1.1

Hi.

 

Well, i've got stuck at the same issue, of the crazy error 403, but i don't know how to acess via SSH to correct the file permissions.

 

There is any other way around the anoying issue?

 

Thank you

Re: 403 forbidden error with magento ce 1.9.1.1

I am not a developer, but am having this issue on Magento 1.9 You don't have permission to access /cron.php on this server.

 

Please can someone tell me as basic as possible how to correct this.  I understand I need to add some commands, but where do I add the?  Do I add them as a seperate file? I am working on a 123-reg cpanel.

Re: 403 forbidden error with magento ce 1.9.1.1

where do you put this command I have filezilla, and am trying to sort this issue out.

Re: 403 forbidden error with magento ce 1.9.1.1

I have worked out ssh put the command in under my public_html files and still has not solved the problem

 

Any advise please

Re: 403 forbidden error with magento ce 1.9.1.1

chmod 777 ??? Are you sure? Isn't this a security risk?

Also I get `chmod: access to 'fileXY.html' no possible: File or directory not found` on all files if I execute:

find ./ -type f | xargs chmod 644

 Edit: I found the solution here.