View Full Version : Disable Ajax for Create Post / Reply VB5
seyed
10-09-2018, 05:36 PM
Unfortunately since a few days ago vbulletin 5 is giving me :
Error while saving content: SyntaxError: Unexpected token E in JSON at position 65
for posting / creating content
BUT system is fine for removing posts
I just want to disable the AJAX for sending posts, I spent a lot of time fixing the problem but it doesn't work .. tried many things .. localhost it is fine but online ajax is not working so how can I disable ajax for create or send message
Thanks
noypiscripter
10-09-2018, 07:01 PM
If you disable ajax for posting then you wouldn't be able to post at all or you would get the raw JSON response displayed on the page or downloaded by the browser. There's no server-side code available to process posting without AJAX on vB5.
Whenever you get that error when posting, it usually means the server responds to the ajax request with an HTML output instead of JSON format. The HTML output probably states a generic server error message. You should check the server error logs for the exact error message or temporarily enable debug mode so that you can see the exact error message in the HTML output in the browser dev tools Network tab > Response tab for the AJAX request for submitting a post.
seyed
10-14-2018, 10:29 PM
If you disable ajax for posting then you wouldn't be able to post at all or you would get the raw JSON response displayed on the page or downloaded by the browser. There's no server-side code available to process posting without AJAX on vB5.
Whenever you get that error when posting, it usually means the server responds to the ajax request with an HTML output instead of JSON format. The HTML output probably states a generic server error message. You should check the server error logs for the exact error message or temporarily enable debug mode so that you can see the exact error message in the HTML output in the browser dev tools Network tab > Response tab for the AJAX request for submitting a post.
Thanks for your help .. unfortunately VB5 breaks so easy like if your mail server doesn't work properly you will experience such an error .. I resolved the issue and it works fine ... thanks for your suggestion
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.