reiben Posted September 14, 2016 Share Posted September 14, 2016 Hi, for unknown reason we started receive error: JSON.parse: unexpected character at line 1 column 1 of the JSON data when we try to upload product photo (any kind of jpg) ajax response is: <xmp style="text-align: left;">/home/www/domain.xx/www/domain.xx/img/tmp/PS57d924b416e089.12401101jgLc4L</xmp><br />END when i look into img/tmp there is that photo uploaded with random name like: PS57d924b416e089.12401101jgLc4L if i want to delete this product photo that is not working i receive (in firebug) : TypeError: data.content is undefined i can not find reason in php error log, i tried to turn off all suspicious modules, but no luck any help is appreciated thanks Link to comment Share on other sites More sharing options...
Teapot Creative Posted September 14, 2016 Share Posted September 14, 2016 Hi Have you checked that image files do not contain spaces in the file name? NickC Link to comment Share on other sites More sharing options...
reiben Posted September 14, 2016 Author Share Posted September 14, 2016 yes, they are named like number.jpg 1 Link to comment Share on other sites More sharing options...
Bossydog Posted September 20, 2016 Share Posted September 20, 2016 I am getting the same error. I didn't have this error till now. 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