Jump to content

Attachments error


nellabunta

Recommended Posts

I was trying to add a PDF attachment to my product and got this error message: JSON.parse:unexpected character at x line 1 column 1 of the json data.

I have been attaching files with no issues until now. Why does this happen and what can I do to fix this issue?

 

many thanks

post-1087506-0-77433900-1460680848_thumb.jpg

Link to comment
Share on other sites

usually this happens when there is some unexpected error occurred during ajax call. some error message affect the JSON data parser.

if you have turned on error displaying, then try to turn to set _PS_MODE_DEV_ to false in file /config/defines.inc.php to see if it fixes

 

or if you know the ajax call URL and parameters, then manually run the ajax call on your browser to see if it output JSON data or not.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...