The page cannot be displayed

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mwaw
Forum Newbie
Posts: 19
Joined: Sun Aug 11, 2002 12:31 am
Location: California

The page cannot be displayed

Post by mwaw »

I am developing a very customized shopping cart. As usual, after adding products to the shopping cart, visitors go to a checkout form to input their name, address, credit card, etc.

Testing with Mozilla 1.1, the form can have many fields, the data can be validated with a JavaScript function, the data can be passed to a "thank you" page, massaged, inserted into a MySQL database and everything works great.

With Internet Explorer 5.5, if the form has more than five or six fields I get an error message: "The page cannot be displayed." I have experienced this trouble on two different computers with IE 5.5. I think IE 6 works OK, but there are still a lot of people using 5.5 or 5.0.

You can see a simplified version of the shopping cart at this address:
http://www.sepulveda.com/store

This version has no javascript, the form has a reduced number of fields, the thankyou page has no PHP, etc. Still, on my computer, testing with IE 5.5, I get the error message.

You can download the checkout page and thank you page coding at this address:
http://www.websites-graphics.biz/problem_files.zip

Any suggestions would be GREATLY appreciated.

Mike Wilkinson
mwaw
Forum Newbie
Posts: 19
Joined: Sun Aug 11, 2002 12:31 am
Location: California

Update

Post by mwaw »

I just checked using another computer, and the pages above do not work with IE 6.0 either.

Again, any suggestions would be appreciated.

Mike Wilkinson
mwaw
Forum Newbie
Posts: 19
Joined: Sun Aug 11, 2002 12:31 am
Location: California

Problem Solved

Post by mwaw »

After hours of struggle and experimentation, I solved the problem.

Both the checkout page and the thankyou page are in a secure folder. Originally the form tag on the checkout page form had the attribute action="https://domainname.com/thankyou.php"

Eventually I changed this absolute reference to a relative refernece:
action="thankyou.php" and this solved the problem.

My guess is that Internet Explorer may only like relative references to different pages within a secure folder. This is perhaps a security precaution to prevent posting information to a website outside the secure folder.
Post Reply