Error information: " 200 parsererror SyntaxError: Unexpected token < in JSON at position 0

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ahmad
    Senior Member
    • Oct 2007
    • 275
    • 5.6.3

    Error information: " 200 parsererror SyntaxError: Unexpected token < in JSON at position 0

    hello,
    my vb 5.3.4

    when i Edit Site < Edit Page, when i Enter password in (Confirm Authorization for Change) show this message:
    (Error information: " 200 parsererror SyntaxError: Unexpected token < in JSON at position 0)

    please help me
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24286
    • 6.0.X

    #2
    Can you please clear your browser cache and restart the browser?
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    • ahmad
      Senior Member
      • Oct 2007
      • 275
      • 5.6.3

      #3
      Thank you Mark.B
      Now, i try put php on php7.1, The problem is finishd

      thank you Again

      Comment

      • keyuramin
        New Member
        • Jan 2018
        • 23
        • 5.3.x

        #4
        I also got this error today while registering on my new forum and filling the password field.

        Is it because of the PHP version?

        If I use the PHP 7.0, I get the following error:

        An unexpected error was returned: 'Call to undefined function iconv_strlen()' (unexpected_error)
        Last edited by keyuramin; Sun 7 Jan '18, 10:21pm.

        Comment

        • Mark.B
          vBulletin Support
          • Feb 2004
          • 24286
          • 6.0.X

          #5
          Originally posted by keyuramin
          I also got this error today while registering on my new forum and filling the password field.

          Is it because of the PHP version?

          If I use the PHP 7.0, I get the following error:

          An unexpected error was returned: 'Call to undefined function iconv_strlen()' (unexpected_error)
          That is a completely different error to the one above.

          You need to ask your hosts to install the iconv library.

          If you need further support, please start your own thread with full details of the problem.
          MARK.B
          vBulletin Support
          ------------
          My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
          My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

          Comment

          • keyuramin
            New Member
            • Jan 2018
            • 23
            • 5.3.x

            #6
            Thank you Mark B.

            I have installed the iconv Library and rebuild the apache and restarted it and now that error is resolved.

            However, I am still unable to update the avatar image.

            My forum is new and I just got someone to register. They registered successfully but aren't able to upload the avatar.

            Upon checking and uploading the image in Maintenance > Diagnostics > Upload ------ I get the following results.
            Pertinent PHP Settings
            file_uploads: On
            open_basedir: None
            upload_tmp_dir: None
            upload_max_filesize: 20.00 MB
            Results
            No file uploaded and no local file found. The test cannot continue.
            Upon checking the Settings > Options > Server Settings & Optimization Options

            I've open_basedir Upload Enabled set to YES

            open_basedir Temporary Directory set to /tmp

            Although there wasn't any tmp directory which I created in the /home/mysite/public_html/ and gave it the permission of 777

            Edited the php.ini which is present in /home/mysite/public_html/ and added the following lines:
            open_basedir = "/home/mysite/:/usr/lib/php:/home/mysite/public_html/tmp/"
            upload_tmp_dir = "/home/mysite/public_html/tmp"

            No idea if I did the last step correctly or not because in PHPmyinfo file, open_basedir still shows as None.

            Could someone please help me resolve this avatar uploading problem which is getting originated through any of the above settings.

            I need to know how to correctly set the path for open_basedir and any other settings that is required to be done and followed.

            I also restarted my Apache web server after updating the php.ini file but to no success.

            Comment

            • Mark.B
              vBulletin Support
              • Feb 2004
              • 24286
              • 6.0.X

              #7
              Hello

              As I mentioned, please start your own thread with full details so we can assist.

              Please note however that server configuration is outside the scope of the support we can provide.
              MARK.B
              vBulletin Support
              ------------
              My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
              My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

              Comment

              Related Topics

              Collapse

              Working...