__fabrice Posted August 26, 2010 Share Posted August 26, 2010 hello there,I have an unexpected error:When I add to the basket, it's not working. The animation in jQuery is done, but nothing more.Debugging, I saw this:- In the updateQt() function $this>id is set to zero. Obviously, the addition in the basket does not working.An idea please?Thank youFabrice Link to comment Share on other sites More sharing options...
__fabrice Posted August 27, 2010 Author Share Posted August 27, 2010 For now, if i'm not connected (with an user) it's not working. If i did, it's fine.Why must I have connected ?Fabrice Link to comment Share on other sites More sharing options...
__fabrice Posted August 30, 2010 Author Share Posted August 30, 2010 It was a typing error in /classes/Cart.php: $ fields ['bon _cadeau'] = psql ($ this-> bon_cadeau) [/ code]instead of[Code] $ fields ['bon_cadeau'] = psql ($ this-> bon_cadeau) [/ code]Hard to see;), particularly because I had no message in the logs: (Fabrice. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now