Site maintenance: Sun 15 Nov, from 20:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Installing on a Linux/Unix Server / Getting 403 error during installation

Getting 403 error during installation

Started by tzulady on 12 Jan 2012, 4:00 AM · Views: 1,663

Results 1 to 6 of 6
12 Jan 2012, 4:00 AM
#1
tzulady avatar

tzulady

New Zenner

Join Date:
Mar 2010
Posts:
49
Plugin Contributions:
0

Getting 403 error during installation



I am moving my clients site to a new Unix host server. Using V1.3.0 have installed SSL cert., setup SQL database, copied all files of the zencart installation, changed permissions as noted in the installation article. When I go to save system settings, I get a '403 Forbidden - Access is forbidden to the requested page:'
I've checked to insure the domain name was typed correctly. I have changed the server info on domain name definition but it has not resolved yet. Would this cause this error? I had to access the install program using the IP address but when defining the site in system settings, I used the real domain name. Can someone please help. I will include the entire error message below.
Thanks for anticipated help.

403 Forbidden
Access is forbidden to the requested page:

74.53.247.26/~ruthsdes/store/zc_install/index.php?main_page=phpbb_setup&language=english&physical_path=/home/ruthsdes/public_html/store&virtual_http_path=http://www. ruthsdesigns. com/store&virtual_https_path=https://www. ruthsdesigns. com/store&virtual_https_server=https://www. ruthsdesigns. com&enable_ssl=true&enable_ssl_admin=true&sql_cache=/home/ruthsdes/public_html/store/cache&is_upgrade= (port 80)
Please forward this error screen to 74.53.247.26's WebMaster.

12 Jan 2012, 5:02 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Getting 403 error during installation

That's your server's security systems trapping the very long URL parameters which contain multiple references to "http://", which is a common exploit method used by hackers.
Newer versions of Zen Cart use a better approach to passing information between pages. But to benefit from that you'll need to use a newer version of Zen Cart, which means upgrading.
You REALLY ought to be upgrading ASAP anyway, since your old version has known security vulnerabilities.

Your host probably won't be willing to disable mod_security and other security protections they have in place. So you might need to do your upgrade on the old host or on your own PC, and then move the upgraded version to the new server.

.
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.

12 Jan 2012, 5:19 AM
#3
tzulady avatar

tzulady

New Zenner

Join Date:
Mar 2010
Posts:
49
Plugin Contributions:
0

Re: Getting 403 error during installation

EVery article I've read says to NOT upgrade and move a site at the same time. I had planned to upgrade after I moved it and got it working properly. According to how much time I've had to keep this site down just doing this part, I now don't know when I could upgrade. It has been one problem after another, not just zencart but everything I touch. I inherited this site and the old webmaster would not give me all the info I needed... oh, don't go there.
Anyway, so you're saying because of the version I have and the error I'm getting, the only solution would be to upgrade now?
Thanks

12 Jan 2012, 5:52 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Getting 403 error during installation

Yes, unfortunately, for the reasons I mentioned earlier, upgrading before you move servers looks like your best option.

And you're right: you should upgrade BEFORE or AFTER a move, but not "during" a move. Else you'll never know whether something that's "not working" is a result of a server problem on the new server or something in your upgrade or something that just wasn't copied properly. It makes troubleshooting any move-related issues very very complicated if you do an upgrade during the move. And, since troubleshooting such problems involves the majority of steps involved in an upgrade, it makes sense to spend the time intentionally upgrading instead of troubleshooting without knowing what the real issues are.

.
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.

12 Jan 2012, 7:07 AM
#5
tzulady avatar

tzulady

New Zenner

Join Date:
Mar 2010
Posts:
49
Plugin Contributions:
0

Re: Getting 403 error during installation

One more question. I've already changed the server names to point to the new servers. When installing zencart, will it let me use the IP address instead of domain name? If not, I will have to change it back to the old servers then when I get the upgrade done, I will have to change it again to point to the new servers.
Whew! This is going to be ugly anyway I look at it. I've already had this site down for 3 days because I needed some information and I had to deal with finger pointing trying to get answers. Got that resolved, ran into another problem, got that resolved and now this! My client gonna be unhappy and I can't blame her. Because I'm new to zencart and I'm afraid of how long this process is going to take, according to some of the threads I've read.

Oh, can I upgrade to the newest version or do I have to go in sequence??

12 Jan 2012, 5:02 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: Getting 403 error during installation

TzuLady:

Oh, can I upgrade to the newest version or do I have to go in sequence??
Answered here, in the questions section:
https://www.zen-cart.com/tutorials/index.php?article=98

.
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.