News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

View cart leads to "Too many redirects" in Safari

Started by shikar1860, May 21, 2014, 17:52:01 PM

Previous topic - Next topic

shikar1860

When I click on the order button on a product page I get an error page with the message "Too many redirects" in Safari (and a blank page). In Firefox and Chrome the proces is not stopped but when I activate debubbing I see the following set of messages repeated many times:

vmdebug My selected language by JFactory::getLanguage()->getTag() nl-NL
vmdebug $siteLang: nl-NL self::$_jpConfig->lang nl_nl
vmdebug vmTime: loadConfig db no: 0.00997495651245117
vmdebug Start used Ram 10M
vmdebug subtotal vattax id 5 = 2.17
vmdebug subtotal vattax id 5 = 11.62
vmdebug subtotal vattax id 5 = 2.17
vmdebug subtotal vattax id 5 = 11.62
vmdebug shipmentmethod Pakketpost = TRUE for variable weight = 0 Reason: is lower than the set 10
vmdebug shipmentmethod Pakketpost = TRUE for variable products quantity = 2 Reason: is within Range of the condition from 1 to 999
vmdebug shipmentmethod Pakketpost = TRUE for variable order amount = 66.95 Reason: is within Range of the condition from 1 to 99999
vmdebug shipmentmethod Pakketpost = TRUE for variable zip = Reason: is lower than the set 999999
vmdebug shipmentmethod Pakketpost = TRUE for variable virtuemart_country_id = 150, Reason: Countries in rule 21, 150 or none set
vmdebug shipmentmethod Pakketpost = TRUE for variable weight = 0 Reason: is lower than the set 10
vmdebug shipmentmethod Pakketpost = TRUE for variable products quantity = 2 Reason: is within Range of the condition from 1 to 999
vmdebug shipmentmethod Pakketpost = TRUE for variable order amount = 66.95 Reason: is within Range of the condition from 1 to 99999
vmdebug shipmentmethod Pakketpost = TRUE for variable zip = Reason: is lower than the set 999999
vmdebug shipmentmethod Pakketpost = TRUE for variable virtuemart_country_id = 150, Reason: Countries in rule 21, 150 or none set
vmdebug shipmentmethod Pakketpost = TRUE for variable weight = 0 Reason: is lower than the set 10
vmdebug shipmentmethod Pakketpost = TRUE for variable products quantity = 2 Reason: is within Range of the condition from 1 to 999
vmdebug shipmentmethod Pakketpost = TRUE for variable order amount = 66.95 Reason: is within Range of the condition from 1 to 99999
vmdebug shipmentmethod Pakketpost = TRUE for variable zip = 1234+AB Reason: is lower than the set 999999
vmdebug shipmentmethod Pakketpost = TRUE for variable virtuemart_country_id = 150, Reason: Countries in rule 21, 150 or none set


So it looks like the shipmentmethod (or something else) is stuck in a loop. But I can't figure out how this occurs.
My site runs on Joomla 2.5.19 and VM 2.0.26d and uses SSL. I also use onepagecheckout.

I tried switching off ssl, removing a menulink to the cart, and several settings but it does not make a difference.

Does anyone recognize this problem or has an idea how to solve it?
Thanks for any help.

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

shikar1860

Pakketpost is a Dutch parcel delivery service. I don't think this makes a difference. It is just a service with in the configuration 2 countries an a zip code range of 0 to 999999; and form 0 to 10 kg. So nothing special there.

GJC Web Design

so you mean a standard VM weight/postcode ship plugin?

how many methods of it?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

shikar1860

I have just one shipment method, so that is also the standard (VM - Shipment, By weight, ZIP and countries).

GJC Web Design

just tested - vanilla vm2.6.1
1 method weight

I get the identical debug as you  - 3 loops thru the ship method

no problem in Safari...

I assume you mean the "Go to cart" button?  as opposed to add to cart?

i.e. click add to cart -> popup -> go to cart

in any case no problems in Safari in all tests
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

shikar1860

Hi GJC Web Design,

Yes, you are correct, the problem occurs when I click the "view cart" link (in pop-up after clicking "add to cart").

I is a strange problem since at the moment Safari doesn't show the "Too many redirect" error when I try it either. I don't know what changed but let's hope it stays like this.

Thanks a lot for help in trying to find the cause of the problem.