Client says “proceed to checkout” empties cart and returns to homepage

A customer would come to the website, place items in their shopping cart, and then click the “proceed to checkout button” from the shopping cart. Rather than take them to the cart, our Magento website would immediately forward them to the home page and empty all the items from their cart.

Cause: ISPs like AOL, Comcast, and Shaw.ca use a technique of changing IP addresses that cause security settings in Magento to empty the cart and not allow people to check out.

Fix: Change the Session Validation settings in the Magento Admin, found under System > Configurations > Web, to ‘no’ on everything except “Validate HTTP_USER_AGENT.” After doing this, go to System > Cache Management and refresh the configuration cache to apply the changes.

syntax error [Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML…3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">”

I received some clients website files today in which Firefox was throwing a syntax error on the DOCTYPE. To fix this make sure that each of your javascript calls contains type=”text/javascript”. The client had only language=”javascript”. This attribute has been deprecated. It was used to select other programming languages and specific versions of JavaScript. You don’t need it. Don’t use it.

After I added the TYPE the file validated just fine at W3C.