By Roberto Santos on Monday, 12 October 2015
Posted in General Issues
Likes 0
Views 0.9K
Votes 0
Hi!

When I try to upload a cover image, I have the following error:

"SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data"

My site is running EasySocial 1.4.1 Stable on Joomla! 3.4.4

Any help will be very appreciated.

Thank you!
Thanks for getting back to us quickly, I can reproduce this issue in your site, but it work in our test site.

I suspect that image you provided that image resolution is higher, so it required more memory in your server.

Can you request with your Webhosting provider to increase these following php value to higher and see how it goes?
max_execution_time - 300
max_input_time - 300
memory_limit - 512M
·
Monday, 12 October 2015 11:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Roberto,

I've tested upload photo cover in your site, but it seems work fine, am i missing something here? Please advise.
·
Monday, 12 October 2015 09:35
·
0 Likes
·
0 Votes
·
0 Comments
·
After you reply I decided to give another try and my first one failed with a new error message: "SyntaxError: Unexpected end of input"

Then, I did resize the image and worked fine. I'm still trying to understand why that happened, since the image has only 3.6MB and my upload_max_filesize is 128MB.

Any idea?

Thank you,

Roberto
·
Monday, 12 October 2015 10:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Roberto,

Can you attach that image file in your next reply which you trying to upload in your Easysocial? So that I can take a look of this.
·
Monday, 12 October 2015 10:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Attached
·
Monday, 12 October 2015 10:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex!

That did the trick, I could upload that image without problems.

Thanks a lot!

Roberto
·
Monday, 12 October 2015 11:51
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome, glad to heard your issue resolved.
·
Monday, 12 October 2015 12:17
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post