Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Firefox not showing Shipping Address


RichardPryor

Recommended Posts

So!

 

I installed a couple of contributions and did my own version of FEC. I now have this problem:

 

- If a returning customer logs in and places an order, his shipping address will not show in checkout_shipping (empty box... billing address is shown).

- If a new customer places an order, same thing happens

 

http://i258.photobucket.com/albums/hh275/E...es/DSC00628.jpg

 

Then if I click continue, I get the following error on the checkout_confirmation page (we skip checkout_payment)

 

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/content/m/o/l/xxx/html/includes/functions/general.php on line 42

 

 

This only happens with Firefox. IE works fine.

Link to comment
Share on other sites

Damn.

 

Did not fix this at all... crazy.

 

Thing is, I'm not sure if this happened after I changed my checkout procedure or after I added SSL to my website.

 

This only happens when I use Firefox. Internet Explorer does not have this issue. That's why it's puzzling me.

 

I do have the following on my checkout_shipping.php

 

// if the customer is not logged on, redirect them to the login page
 if (!tep_session_is_registered('customer_id')) {
$navigation->set_snapshot();
tep_redirect(tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'));
 }

// if there is nothing in the customers cart, redirect them to the shopping cart page
 if ($cart->count_contents() < 1) {
tep_redirect(tep_href_link(FILENAME_SHOPPING_CART));
 }

Link to comment
Share on other sites

Ummmm. Discard the previous code. Doesn't have anything to do with it.

 

Oh, one other crazy thing that might help you solve this mystery.

 

If I click on change address button in the checkout page:

 

http://i258.photobucket.com/albums/hh275/E...es/DSC00628.jpg

 

and then click continue without entering any information,

 

http://i258.photobucket.com/albums/hh275/E...es/DSC00636.jpg

 

then the problem is fixed and I can see the address in the previously empty box, and it remains this way even after I logoff and log back in.

 

If I enter new information in the fields, the new information also shows.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...