Zen Cart Logo
Forums / Installing on a Windows Server / Public-end redirects failing

Public-end redirects failing

Views: 1,593

Results 1 to 10 of 10
1 Mar 2011, 9:55 PM
#1
forgottenembers avatar

forgottenembers

New Zenner

Join Date:
Mar 2008
Posts:
7
Plugin Contributions:
0

Public-end redirects failing

Site: PortableRadios.com
Zen-Cart v1.3.8a
Windows server 2008 IIS7.5
PHP v5.2.13 run as FastCGI

I've recently moved my website from Windows server 2003 IIS6 server to Windows server 2008 IIS7.5 and now anytime I go to a page that has a redirect the page just stalls. This only happens on the public side, the redirects in the administration work fine. Also, everything worked fine on the old server (IIS6).

By redirect I mean if you try to log in, add a product to the cart, etc. I've looked over the server logs and the page comes up as a 200, so everything is fine on that end.

I've tried different combinations already:
Disabled SSL for the cart
Changed it to run as FastCGI, CGI and ISAPI
Tried running it under PHP v4.4.7

I even tried installing the latest Zen-Cart v1.3.9h with all the different settings above, it still had the same issue.

Does anyone have other ideas I could try to get this thing working?

1 Mar 2011, 10:17 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Public-end redirects failing

Do you require the win server for anything else?
Linux is a better platform in general

1 Mar 2011, 10:22 PM
#3
forgottenembers avatar

forgottenembers

New Zenner

Join Date:
Mar 2008
Posts:
7
Plugin Contributions:
0

Re: Public-end redirects failing

It's a vps and unfortunately a majority of the sites I host on it are ASP and .NET

1 Mar 2011, 10:24 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Public-end redirects failing



The above On a page

What are you using to edit the php files with?

1 Mar 2011, 10:37 PM
#5
forgottenembers avatar

forgottenembers

New Zenner

Join Date:
Mar 2008
Posts:
7
Plugin Contributions:
0

Re: Public-end redirects failing

I haven't edited any of the files just transfered them to the new server. Could the windows server converted them during the transfer. If so, do you know if there might be a way to mass-convert from UTF-8 to ISO-8859-1?

1 Mar 2011, 10:53 PM
#6
forgottenembers avatar

forgottenembers

New Zenner

Join Date:
Mar 2008
Posts:
7
Plugin Contributions:
0

Re: Public-end redirects failing

What browser are you using that shows the BOM? I've tried it on Chrome and IE-8 and didn't see the characters.

2 Mar 2011, 12:06 AM
#7
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Public-end redirects failing

I see them when using Firefox, and when using IE 8. They are a sure indication that files have at least been opened in a plain text editor which uses utf-8 as its default mode of operation.

Vger

2 Mar 2011, 1:31 AM
#8
forgottenembers avatar

forgottenembers

New Zenner

Join Date:
Mar 2008
Posts:
7
Plugin Contributions:
0

Re: Public-end redirects failing

It appears that I removed all the BOMs and the issue still stands with the redirect. Any other ideas?

2 Mar 2011, 1:45 AM
#9
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Public-end redirects failing

What I see is a blank page issue

/index.php?main_page=index&cPath=7
/index.php?main_page=index&cPath=14

Are just 2 that I found may be more

https://www.zen-cart.com/tutorials/index.php?article=82

2 Mar 2011, 7:27 PM
#10
forgottenembers avatar

forgottenembers

New Zenner

Join Date:
Mar 2008
Posts:
7
Plugin Contributions:
0

Re: Public-end redirects failing

Finally got it fixed. Thank you, kobra, for the tutorials link. I just couldn't figure out what term to search for in the forums and help.
Turns out when I converted the files (there were only 5) from UTF-8, the files replaced the BOM character with a space in front of the opening PHP tags. Once I removed the spaces everything worked fine.

Again, thank you for all your help.