Page 1 of 1

403 - Forbidden: Access is denied - instalace

Posted: Tue Jun 15, 2010 2:36 am
by RBS
Hi,
I need help with installation, or rather how to get to it.

I have followed the instal. guide so all files are uploaded on the server.


But when I try to type the URL I get only this message:

403 - Forbidden: Access is denied.
You Do not has permission to view this directory or page using the credentials you supplied That.

Could anyone advise me what can I do?

Thank you!

M

Re: 403 - Forbidden: Access is denied - instalace

Posted: Tue Jun 15, 2010 2:53 am
by adrunkentheory
Which directory is it?

Make sure you have set the correct permissions if you're on a Linux server.

Code: Select all

 chmod 0755 or 0777 image/
   chmod 0755 or 0777 image/cache/
   chmod 0755 or 0777 image/data/   
   chmod 0755 or 0777 system/cache/
   chmod 0755 or 0777 system/logs/
   chmod 0755 or 0777 download/
   chmod 0755 or 0777 config.php
   chmod 0755 or 0777 admin/config.php

Re: 403 - Forbidden: Access is denied - instalace

Posted: Tue Jun 15, 2010 3:00 am
by RBS
It's in the "WWW" folder. Tried to put it directly to root but nothing happend.

Using Windows so the problem has to be elsewhere.

Re: 403 - Forbidden: Access is denied - instalace

Posted: Tue Jun 15, 2010 3:19 am
by adrunkentheory
You might have to login to your file manager via your hosting website and change the permissions that way. I have an installation on a windows server and that's what I had to do, although I wasn't getting forbidden errors - things just wouldn't work properly until I set the permissions.

Re: 403 - Forbidden: Access is denied - instalace

Posted: Tue Jun 15, 2010 3:58 am
by Xsecrets
RBS wrote:Using Windows so the problem has to be elsewhere.
oh my God I needed that. Haven't had a good laugh in a while. ;D

Re: 403 - Forbidden: Access is denied - instalace

Posted: Tue Jun 15, 2010 4:32 am
by Moggin
...EDIT... re-read thread, my post won't help, sorry.

Re: 403 - Forbidden: Access is denied - instalace

Posted: Tue Jun 15, 2010 4:34 am
by RBS
Xsecrets wrote:
RBS wrote:Using Windows so the problem has to be elsewhere.
oh my God I needed that. Haven't had a good laugh in a while. ;D
Thank you, very productive response....

Re: 403 - Forbidden: Access is denied - instalace

Posted: Tue Jun 15, 2010 4:51 am
by adrunkentheory
I have to admit I chuckled a bit when I read that. All my issues have been primarily Windows server configuration based. I will also add, all 403 messages I've received with Windows in the past were because there was not an index page in the directory, so I automatically assumed it was a bad upload - but also could of been a permissions thing.

Anyhow, have you figured out your issue?

Re: 403 - Forbidden: Access is denied - instalace

Posted: Tue Jun 15, 2010 5:32 am
by MattGSX
RBS,

I've had some funky permission errors before, as well. Not with OpenCart, but with other software. I've found it can be very helpful to check your server's error logs, as it will usually state WHY something is forbidden or otherwise.

A few quick questions:
1. When you set file permissions, did you set them recursively? It may be that you set a folder with certain permissions, but the files inside still have the old permissions.
2. Do you also have a public_html folder? I'm not sure of Windows server directory structure, but it could be that there is a problem with the www symlink (I don't know my server tech, so feel free to flame).
3. Did you upload your files via a file manager, or via FTP? If you uploaded via file manager, did you do so to the document root for the specific domain? If you are on a host with multiple domains, you may have just put it to www and not to the registered domain's folder.

Re: 403 - Forbidden: Access is denied - instalace

Posted: Tue Aug 29, 2017 3:04 pm
by mithtech
Go to your Cpanel > Security> ModSecurity
Disable it & edit your store setting & save it.
Once your done turn the ModSecurity back on!