![]() |
Add to Cart Button Logs Me Out - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Add to Cart Button Logs Me Out (/showthread.php?tid=65837) |
Add to Cart Button Logs Me Out - rafail977 - 07-30-2016 In my case I use the greek characters and when I try to add an item to the cart I get logged out. When I try to add another item with latin characters I don't get logged out, but everything works perfectly. I read already too many solutions but all seem to have the same result. The solutions that I have found where to change the $product_name_rules into the following: Either: '\d\D' Or: '[:print:]' or anything similar. I tried all of these but none seem to be working. But when I use for example the '[:print:]' statement I don't get logged out but the item isn't added also to the cart, although I get the message that a new item added to the cart. If anyone could help me I would appreciate it. Thank you. RE: Add to Cart Button Logs Me Out - Diederik - 07-30-2016 It could be that your charset set in your HTML output (either the meta tag or the 'accept-charset' property of the form tag) is not corresponding to what the back-end expects. RE: Add to Cart Button Logs Me Out - rafail977 - 07-31-2016 (07-30-2016, 02:28 PM)Diederik Wrote: It could be that your charset set in your HTML output (either the meta tag or the 'accept-charset' property of the form tag) is not corresponding to what the back-end expects. Thank you for the answer but I already checked that and it is not the problem. |