vuderok Posted July 2, 2016 Share Posted July 2, 2016 (edited) Hello, when loading the second image for the product shows an error Unexpected token <in JSON at position 0. But the first image should be loaded is always excellent, the only problem is when you load a second image. What could be the problem. Errors in the log clean and the browser does not display anything from the mistakes. Thank you.... Prestashop 1.6.1.3 Edited July 2, 2016 by vuderok (see edit history) Link to comment Share on other sites More sharing options...
vuderok Posted July 3, 2016 Author Share Posted July 3, 2016 UP Link to comment Share on other sites More sharing options...
vuderok Posted July 3, 2016 Author Share Posted July 3, 2016 Reports from FireBug Link to comment Share on other sites More sharing options...
vuderok Posted July 3, 2016 Author Share Posted July 3, 2016 Solution sql request: ALTER TABLE `ps_image` CHANGE `cover` `cover` TINYINT(1) UNSIGNED NULL DEFAULT '0'; ALTER TABLE `ps_image_shop` CHANGE `cover` `cover` TINYINT(1) UNSIGNED NULL DEFAULT '0'; Thanks Lefty_sarl 2 Link to comment Share on other sites More sharing options...
codetheweb Posted July 3, 2016 Share Posted July 3, 2016 Thanks for posting the solution for the community, glad to help you Link to comment Share on other sites More sharing options...
amerigeau Posted August 17, 2017 Share Posted August 17, 2017 Solution sql request: ALTER TABLE `ps_image` CHANGE `cover` `cover` TINYINT(1) UNSIGNED NULL DEFAULT '0'; ALTER TABLE `ps_image_shop` CHANGE `cover` `cover` TINYINT(1) UNSIGNED NULL DEFAULT '0'; Thanks Lefty_sarl Thanks a lot for sharing the solution Link to comment Share on other sites More sharing options...
ricardo21ferreira Posted November 21, 2017 Share Posted November 21, 2017 thanks vuderok ! 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