• Resolved Orabidoo

    (@orabidoo)


    Hello,

    After migrating a website using UM from an NGINX server to one running LiteSpeed photos can’t be uploaded by users. In Chrome I just get “ERROR” and one of the users gets this (not sure which browser he’s using though):

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

    I’ve tried disabling other plugins that might be conflicting, like Ivory Search and Ninja Forms, but no dice…and everything worked on the development server (same versions of WP and plugins).

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @orabidoo

    Have you tried using a default WP theme and see if this is a conflict issue with your theme?

    Regards,

    Thread Starter Orabidoo

    (@orabidoo)

    Yes, switched to the latest standard theme and got the same error.

    Thread Starter Orabidoo

    (@orabidoo)

    It appears to be mod_security running on the new server. The administrator turned that off and now photos can be uploaded.

    [161286946794.865004] [/wp-admin/admin-ajax.php] [1] Multipart: Content-Disposition header missing name field.
    [161286946794.865004] [/wp-admin/admin-ajax.php] [1] Multipart: Invalid part header (colon missing): undefined

    [161286946794.865004] [/wp-admin/admin-ajax.php] [3] Multipart: Skipping invalid part (part name missing): (offset 0, length 0)

    Thread Starter Orabidoo

    (@orabidoo)

    So is this error with Ultimate Member or is it a settings issue?

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @orabidoo

    It’s a compatibility issue with your server configuration. Thanks for letting us know how you resolve the issue.

    Regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t upload photos – ERROR: SyntaxError: JSON.parse’ is closed to new replies.