• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Overlay error on post edit

dethfire

Well-known member
#1
On this post
https://www.physicsforums.com/threads/python-3-question.772636/#post-4861908

when I try to edit, I get an overlay with the error:
"The server responded with an error. The error message is in the JavaScript console."

Firebug seems to id a problem in:
https://www.physicsforums.com/js/xenforo/xenforo.js?_v=c37027eb

at line 230 which appears to be
Code:
0);XenForo._manualDeferOverlay.find("span").text(a.status);var c=XenForo._manualDeferOverlay.find(".CancelDeferred");a.canCancel?c.show():c.hide()}else b()}).fail(b)};d()}},handleServerError:function(a,b){switch(b){case "abort":return!1;case "timeout":return XenForo.alert(XenForo.phrases.server_did_not_respond_in_time_try_again,XenForo.phrases.following_error_occurred+":"),!1;case "parsererror":return console.error("PHP "+a.responseText),XenForo.alert("The server responded with an error. The error message is in the JavaScript console."),
This was confirmed with default skin and no addons
 

dethfire

Well-known member
#3
It appears to break on any javascript overlay function on that page. I don't see what is different than other pages.

firebug just reports the entire page code in the console
 

Mr. Goodie2Shoes

Well-known member
#5
okay, I can confirm it... the page isn't being passed to the Json ViewRenderer... are you sure you don't have any server error logged? like both in XF's error log and PHP error log?
 

dethfire

Well-known member
#6
okay, I can confirm it... the page isn't being passed to the Json ViewRenderer... are you sure you don't have any server error logged? like both in XF's error log and PHP error log?
Nothing being reported. Not sure how to check php error log. It's only with that thread too. very strange