melemel Posted January 28, 2010 Share Posted January 28, 2010 I'm using Cubecart 4.3.4, havent updated recently or made any changes to anything. This is first time i have tried to add options.. I get this error after trying to add product options: MySQL Error Occurred Error Message: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '0,,'+')' at line 1 SQL: INSERT INTO shop_CubeCart_options_bot (`product`,`option_id`,`value_id`,`option_price`,`option_symbol`) VALUES (40,,0,,'+'); So I can't add options . How can i fix this? Quote Link to comment Share on other sites More sharing options...
melemel Posted January 29, 2010 Author Share Posted January 29, 2010 To others who may have this problem - it was solved by changing the existing file inside admin/sources/products/index.inc.php file. HOW TO FIX: Find line 329 on admin/sources/products/index.inc.php : $value = explode('{|}', $option); Replace with: $value = explode('|', $option); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.