Forum not loading correctly | Topics never load until refresh
Quote from anthonyrams on January 18, 2018, 4:50 amHi,
Two issues:
1.When I initially load the forum page it is not formatted properly as illustrated in the screen attached. One the page is refreshed the forum loads as it should.
2. When a user clicks on the forum topic eg. ‘General Discussion’ the page hangs and nothing ever loads. If you open the link to a new tab it works.
In Chrome’s console it shows this message:
Uncaught ReferenceError: tinymce is not defined
at eval (eval at <anonymous> (jquery.js?ver=1.12.4:2), <anonymous>:2:1)
at eval (<anonymous>)
at jquery.js?ver=1.12.4:2
at Function.globalEval (jquery.js?ver=1.12.4:2)
at HTMLScriptElement.<anonymous> (ajax.min.js?ver=4.9.2:1)
at Function.each (jquery.js?ver=1.12.4:2)
at a.fn.init.each (jquery.js?ver=1.12.4:2)
at slideInNewPage (ajax.min.js?ver=4.9.2:1)
at d (ajax.min.js?ver=4.9.2:1)Any help would be greatly appreciated here.
Thanks,
Anthony
Hi,
Two issues:
1.When I initially load the forum page it is not formatted properly as illustrated in the screen attached. One the page is refreshed the forum loads as it should.
2. When a user clicks on the forum topic eg. ‘General Discussion’ the page hangs and nothing ever loads. If you open the link to a new tab it works.
In Chrome’s console it shows this message:
Uncaught ReferenceError: tinymce is not defined
at eval (eval at <anonymous> (jquery.js?ver=1.12.4:2), <anonymous>:2:1)
at eval (<anonymous>)
at jquery.js?ver=1.12.4:2
at Function.globalEval (jquery.js?ver=1.12.4:2)
at HTMLScriptElement.<anonymous> (ajax.min.js?ver=4.9.2:1)
at Function.each (jquery.js?ver=1.12.4:2)
at a.fn.init.each (jquery.js?ver=1.12.4:2)
at slideInNewPage (ajax.min.js?ver=4.9.2:1)
at d (ajax.min.js?ver=4.9.2:1)
Any help would be greatly appreciated here.
Thanks,
Anthony
Quote from Asgaros on January 18, 2018, 6:44 amHello anthonyrams,
this seems to be a problem with your theme or some ajax/pre-loading extension. The JavaScript errors are not directly related to the forum but it seems that they are caused by this plugin/theme as well or at least breaking its functionality. So best way would be to disable single plugins/changing the theme for testing purposes to figure out which one is the cause for this problem and adjust its settings after it.
Hello anthonyrams,
this seems to be a problem with your theme or some ajax/pre-loading extension. The JavaScript errors are not directly related to the forum but it seems that they are caused by this plugin/theme as well or at least breaking its functionality. So best way would be to disable single plugins/changing the theme for testing purposes to figure out which one is the cause for this problem and adjust its settings after it.
Quote from anthonyrams on January 18, 2018, 3:47 pmHi,
I will check the theme – thanks.
There are no optimization plugins running on the site.
Thanks,
Anthony
Hi,
I will check the theme – thanks.
There are no optimization plugins running on the site.
Thanks,
Anthony
Quote from anthonyrams on January 18, 2018, 4:30 pmHi,
I was able to find a temporary solution within the theme’s general settings. Here I listed all of the forum URL’s that are currently being used and the forum loads without issue. However, this would only be a temporary solution as once the site is handed off, new topics are created, and replied to, the admins would have to add each of these URLs.
———————-
List of Internal URLs Loaded Without AJAX (Separated With Comma)To disable AJAX transitions on certain pages, enter their full URLs here (for example: http://www.mydomain.com/forum/)
———————-Is there anything else that I can do for a permanent fix?
Thanks,
Anthony
Hi,
I was able to find a temporary solution within the theme’s general settings. Here I listed all of the forum URL’s that are currently being used and the forum loads without issue. However, this would only be a temporary solution as once the site is handed off, new topics are created, and replied to, the admins would have to add each of these URLs.
———————-
List of Internal URLs Loaded Without AJAX (Separated With Comma)
To disable AJAX transitions on certain pages, enter their full URLs here (for example: http://www.mydomain.com/forum/)
———————-
Is there anything else that I can do for a permanent fix?
Thanks,
Anthony
Quote from Asgaros on January 18, 2018, 5:48 pmDisable Ajax for the forum-page only should be fine. You dont need to add a url for every new topic.
Disable Ajax for the forum-page only should be fine. You dont need to add a url for every new topic.
Quote from anthonyrams on February 12, 2018, 1:22 amHi,
As we started testing the forum it was noticed that if any user adds a topic, it provides the same error. Even with the base forum URL “/community/” added to the exception list.
eg. http://test.ca/test/community/?view=thread&id=2&part=1#postid-2 – causes this issue:
Is there anyway to ensure that ajax doesn’t load on any forum page by default?
Uncaught ReferenceError: tinymce is not defined
at eval (eval at <anonymous> (jquery.js?ver=1.12.4:2), <anonymous>:2:1)
at eval (<anonymous>)
at jquery.js?ver=1.12.4:2
at Function.globalEval (jquery.js?ver=1.12.4:2)
at HTMLScriptElement.<anonymous> (ajax.min.js?ver=4.9.4:1)
at Function.each (jquery.js?ver=1.12.4:2)
at a.fn.init.each (jquery.js?ver=1.12.4:2)
at slideInNewPage (ajax.min.js?ver=4.9.4:1)
at d (ajax.min.js?ver=4.9.4:1)
at Object.success (ajax.min.js?ver=4.9.4:1)
(anonymous) @ VM2880:2
(anonymous) @ jquery.js?ver=1.12.4:2
globalEval @ jquery.js?ver=1.12.4:2
(anonymous) @ ajax.min.js?ver=4.9.4:1
each @ jquery.js?ver=1.12.4:2
each @ jquery.js?ver=1.12.4:2
slideInNewPage @ ajax.min.js?ver=4.9.4:1
d @ ajax.min.js?ver=4.9.4:1
success @ ajax.min.js?ver=4.9.4:1
i @ jquery.js?ver=1.12.4:2
fireWith @ jquery.js?ver=1.12.4:2
y @ jquery.js?ver=1.12.4:4
c @ jquery.js?ver=1.12.4:4
XMLHttpRequest.send (async)
send @ jquery.js?ver=1.12.4:4
ajax @ jquery.js?ver=1.12.4:4
loadResource @ ajax.min.js?ver=4.9.4:1
onLinkClicked @ ajax.min.js?ver=4.9.4:1
(anonymous) @ ajax.min.js?ver=4.9.4:1
dispatch @ jquery.js?ver=1.12.4:3
r.handle @ jquery.js?ver=1.12.4:3
Thanks,
Anthony
Hi,
As we started testing the forum it was noticed that if any user adds a topic, it provides the same error. Even with the base forum URL “/community/” added to the exception list.
eg. http://test.ca/test/community/?view=thread&id=2&part=1#postid-2 – causes this issue:
Is there anyway to ensure that ajax doesn’t load on any forum page by default?
Uncaught ReferenceError: tinymce is not defined
at eval (eval at <anonymous> (jquery.js?ver=1.12.4:2), <anonymous>:2:1)
at eval (<anonymous>)
at jquery.js?ver=1.12.4:2
at Function.globalEval (jquery.js?ver=1.12.4:2)
at HTMLScriptElement.<anonymous> (ajax.min.js?ver=4.9.4:1)
at Function.each (jquery.js?ver=1.12.4:2)
at a.fn.init.each (jquery.js?ver=1.12.4:2)
at slideInNewPage (ajax.min.js?ver=4.9.4:1)
at d (ajax.min.js?ver=4.9.4:1)
at Object.success (ajax.min.js?ver=4.9.4:1)
(anonymous) @ VM2880:2
(anonymous) @ jquery.js?ver=1.12.4:2
globalEval @ jquery.js?ver=1.12.4:2
(anonymous) @ ajax.min.js?ver=4.9.4:1
each @ jquery.js?ver=1.12.4:2
each @ jquery.js?ver=1.12.4:2
slideInNewPage @ ajax.min.js?ver=4.9.4:1
d @ ajax.min.js?ver=4.9.4:1
success @ ajax.min.js?ver=4.9.4:1
i @ jquery.js?ver=1.12.4:2
fireWith @ jquery.js?ver=1.12.4:2
y @ jquery.js?ver=1.12.4:4
c @ jquery.js?ver=1.12.4:4
XMLHttpRequest.send (async)
send @ jquery.js?ver=1.12.4:4
ajax @ jquery.js?ver=1.12.4:4
loadResource @ ajax.min.js?ver=4.9.4:1
onLinkClicked @ ajax.min.js?ver=4.9.4:1
(anonymous) @ ajax.min.js?ver=4.9.4:1
dispatch @ jquery.js?ver=1.12.4:3
r.handle @ jquery.js?ver=1.12.4:3
Thanks,
Anthony
Quote from Asgaros on February 12, 2018, 6:48 pmHello @anthonyrams
I think you have to ask the developer of the plugin on how the exception-list filter has to look like. Here is another topic from another user. Maybe this information can help you:
https://wordpress.org/support/topic/tinymce-is-not-defined-with-autoptimize/
Because of the fact that this seems to be a problem caused by another extension which I dont know, I cant give any detailled support for it.
Hello @anthonyrams
I think you have to ask the developer of the plugin on how the exception-list filter has to look like. Here is another topic from another user. Maybe this information can help you:
https://wordpress.org/support/topic/tinymce-is-not-defined-with-autoptimize/
Because of the fact that this seems to be a problem caused by another extension which I dont know, I cant give any detailled support for it.