Unexpected token when adding link

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pmquist
    Senior Member
    • Jan 2006
    • 232
    • 5.7.X

    Unexpected token when adding link

    When trying to add a link to a post i get an error message "HTTP 200 - SyntaxError: Unexpected token < in JSON at position 0"

    vB 5.3.0

    Regards
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 73981

    #2
    What version of PHP are you using?

    What are the steps that you're following? There are many ways to "insert a link".
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • pmquist
      Senior Member
      • Jan 2006
      • 232
      • 5.7.X

      #3
      PHP 5.6.28

      With "add link" I mean pushing the link-button that adds a link to the post. Not inserting it inte the text of the post.

      Click image for larger version

Name:	2017-05-11_21-21-06.png
Views:	60
Size:	5.1 KB
ID:	4369880

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 73981

        #4
         
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        • Wayne Luke
          vBulletin Technical Support Lead
          • Aug 2000
          • 73981

          #5
          What is the link that you're using?

          Do you have a custom style or template edits?

          If you press F12 and open the developer tools are there any error on the page?
          Translations provided by Google.

          Wayne Luke
          The Rabid Badger - a vBulletin Cloud demonstration site.
          vBulletin 5 API

          Comment

          • pmquist
            Senior Member
            • Jan 2006
            • 232
            • 5.7.X

            #6
            I have tried several links now including the youtube/link you used above. Same error every time.

            There is no indication in styles and templates that there is any changes made. However I have one product that zips all attachments and download them as one file that shows up on posts already made. It is not active here (as I understand it) since since this error shows up when creating a post.

            F12: I push it and sees no obvious warnings. However I am not very familiar with F12 so I might need some help pointing me in the right direction what to look for.

            Comment

            • Wayne Luke
              vBulletin Technical Support Lead
              • Aug 2000
              • 73981

              #7
              With the lack of information, I can't tell what is causing the issue. As you have ticket support, you should open a ticket and let someone have access to your system so they can see what is going on.
              Translations provided by Google.

              Wayne Luke
              The Rabid Badger - a vBulletin Cloud demonstration site.
              vBulletin 5 API

              Comment

              • pmquist
                Senior Member
                • Jan 2006
                • 232
                • 5.7.X

                #8
                Thanks for trying. I will do that.
                Regards!

                Comment

                • Trevor Hannant
                  vBulletin Support
                  • Aug 2002
                  • 24326
                  • 5.7.X

                  #9
                  For info, the issue was caused by a custom URL rewrite in the .htaccess file which was rewriting a core vBulletin URL for the link functionality.
                  Vote for:

                  - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                  - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                  Comment

                  Related Topics

                  Collapse

                  Working...