There are no products in your shopping cart
That issue might be a MySQL problem. I'm assuming here that you dump the live DB and load it in your test machine.

Please check the uid value for the anonymous user in "users" table. The anonymous user is the one with empty fields. The uid value should be 0.

With certain MySQL configurations when loading sql dumps, autoincremental fields cannot accept the 0 value, and gives an incremented value.