Please or Register to create posts and topics.

Forum not loading correctly | Topics never load until refresh

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

Uploaded files:
  • screenshot-test.sparkddigital.ca-2018-01-17-22-31-14-192.png

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.

anthonyrams has reacted to this post.
anthonyrams
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Is the optimization plugin installed?

Hi,

I will check the theme – thanks.

There are no optimization plugins running on the site.

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

Disable Ajax for the forum-page only should be fine. You dont need to add a url for every new topic.

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

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

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.

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!