• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

SyntaxError: Unexpected token < in JSON at position 0

Status
Not open for further replies.

impact2155

Chevereto Member
I purchased the Network license and tried to update but got a SyntaxError: Unexpected token < in JSON at position 0 while installing. I can't get back into the site anymore

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
 

Attachments

  • 2019-08-25_1-26-55.png
    2019-08-25_1-26-55.png
    4.3 KB · Views: 9
I didn't added a error handler for the installer file. Instead, it writes all errors to a file at installer.error.log

If that file doesn't exists then chances are that your server has all logs disabled and it is preventing the installer from writing to that file. Several people is having this issue, but I've been unable to detect the problem because of the lack of error logging.

The error you showed is at client side, is JavaScript telling you that the server response is not a JSON document. The actual error is unknown because your server seems that it didn't logged it.

I've to code an new error+exception handler to catch all the errors and only then I will be able to control logging for the install process. I just need a basic handler so it won't take me that much.

In the meanwhile you should do the manual procedure. Simply download the zip file and replace all the server files with the contents of the /chevereto folder.

 
Unfortunately, this ticket has more than seven days without a reply or feedback from the original poster. We will now consider this ticket abandoned and its now closed.

Don't hesitate to create a new ticket if this matter is still causing you issues.

Ticket closed.
 
Status
Not open for further replies.
Back
Top