Support Forum

Can't press "add topic" or "reply" on my forum

RT Richard Thompson
Richard Thompson
Member

Hi, I am very new to this, but I created a forum and when i was finished I could not press the add topic button or the reply button. I have been reading over some of the similar issues here and I see the trouble shooting gets very detailed. I only said that to say, I am an armature LOL. please go slow. But seriously I really need your help. hear is a link to the forums. If there is any other screen shots you would like to see let me know. One more thing if I am in a topic then press add topic it bring bring back out of the topic.

Thank you 

http://tyronet.com/forum/ar-drones-v2/parrot-ar-drone-2-0-power-edition-unboxing-3172014/

13 Answers

New Answer

MP Mr Papa
Mr Papa
Member

invalid loading of wp jquery ui from external source…

<script type=’text/javascript’ src=’//code.jquery.com/ui/1.10.3/jquery-ui.js?ver=3.8.1′></script>

see:  http://codex.simple-press.com/codex/faq/troubleshooting/what-is-this-jquery-conflict/

since wp is already loading its version of jquery ui, the two are conflicting and causing js issues…

at least that is the appearance…

DM Darren Melia
Darren Melia
Member

I have the same problem but it is not the above

MP Mr Papa
Mr Papa
Member

@darren, gonna need more info…. any js errors in console?  no caching, js min or incorrect jquery loading?  link to your site we can help look for obvious conflicts…

DM Darren Melia
Darren Melia
Member

Fixed it. Turns out it was Add This that was the problem

YS Yellow Swordfish
Yellow Swordfish
Member

Sorry to hear that. I do not believe I have come across ‘Add This’ before…

DB dbass
dbass
Member

I have a similar issue with our forum.  The buttons are clickable, but don’t do anything.  When I hover over the “Add Reply” button the script on the browser says: “javascript:void(null)”  We have the forum in a Wishlist Member “Members only” page.  It seems the change has been relatively recent :(

Dustin

YS Yellow Swordfish
Yellow Swordfish
Member

Going to have to start the same way as above with the possibility of a JavaScript conflict possibly in your WP theme or another plugin – which needs to be fixed. This codex article explains what this means and what to look for:

http://codex.simple-press.com/codex/faq/troubleshooting/what-is-this-jquery-conflict/

of course of you can use the script console of your browser we can get to see if there is a problem a lot quicker.

DB dbass
dbass
Member

I’m not a coder, but when look at the page loads in the console of Chrome’s “View Source” this is what I get when I click on a post…

Consider using ‘dppx’ units instead of ‘dpi’, as in CSS ‘dpi’ means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual ‘dpi’ of a screen. In media query expression: not all, not all, only screen and (-webkit-min-device-pixel-ratio: 1.5), not all, only screen and (min-resolution: 120dpi) (index):1

The value “1.0;” for key “initial-scale” was truncated to its numeric prefix. (index):155
The value “1.0;” for key “maximum-scale” was truncated to its numeric prefix. (index):155
Error parsing a meta element’s content: ‘;’ is not a valid key-value pair separator. Please use ‘,’ instead. (index):155
Uncaught TypeError: Property ‘$’ of object [object Object] is not a function (index):313
(anonymous function) (index):313
Consider using ‘dppx’ units instead of ‘dpi’, as in CSS ‘dpi’ means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual ‘dpi’ of a screen. In media query expression: print, not all, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) (index):688
Uncaught TypeError: Object [object Object] has no method ‘_mouseInit’ jquery-ui.min.js:9
c.widget.c.extend._init jquery-ui.min.js:9
(anonymous function) jquery.ui.widget.min.js?ver=1.10.3:4
e.Widget._createWidget jquery.ui.widget.min.js?ver=1.10.3:4
e.(anonymous function).(anonymous function) jquery.ui.widget.min.js?ver=1.10.3:4
(anonymous function) jquery.ui.widget.min.js?ver=1.10.3:4
x.extend.each jquery.js?ver=1.10.2:3
x.fn.x.each jquery.js?ver=1.10.2:3
e.fn.(anonymous function) jquery.ui.widget.min.js?ver=1.10.3:4
i.widget._create sp-plugin-scripts-header.js?ver=18:144
(anonymous function) jquery.ui.widget.min.js?ver=1.10.3:4
e.Widget._createWidget jquery.ui.widget.min.js?ver=1.10.3:4
e.(anonymous function).(anonymous function) jquery.ui.widget.min.js?ver=1.10.3:4
(anonymous function) jquery.ui.widget.min.js?ver=1.10.3:4
x.extend.each jquery.js?ver=1.10.2:3
x.fn.x.each jquery.js?ver=1.10.2:3
e.fn.(anonymous function) jquery.ui.widget.min.js?ver=1.10.3:4
(anonymous function) (index):907
c jquery.js?ver=1.10.2:3
p.fireWith jquery.js?ver=1.10.2:3
x.extend.ready jquery.js?ver=1.10.2:3
q jquery.js?ver=1.10.2:3
Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App’s settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App’s domains. ping?client_id=[deleted for security]&domain=familydodots.com&origin=1&redirect_uri=http%3A%2F%2Fstatic.ak…:1
event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery.js?ver=1.10.2:4

 

Any help would be appreciated beyond words (or beyond wordpress, grin)

YS Yellow Swordfish
Yellow Swordfish
Member

Uncaught TypeError: Property ‘$’ of object [object Object] is not a function (index):313

That is probably the culprit although hard to tell in all of that. I should have added to only show script errors!

Why not give me a link to your forum page and at least I can see if it is anything obvious. And if this problem is a recent thing then the question is what had changed. A new plugin added perhaps? Change of Wp theme? Some updates?

DB dbass
dbass
Member

After looking into it a bit more, a normal member is able to reply just fine, its only the admin role where the “Add Reply” button doesn’t execute.  If it were a javascript conflict it would be a more universal issue than being isolated to just the admin role. Please advise. I can send you a login and the url of the forum on a back channel, but for obvious reasons I wouldn’t want to share it here.

Dustin

YS Yellow Swordfish
Yellow Swordfish
Member

But something – and I think it is probably your WP theme although I can not be sure of that – is loading a second copy of the jQuery UI from the google cdn. It is an older copy and it is incompatible with WordPress standards and API – which is exactly what the codex article was about. It also means that it has been loaded without using the WP API to ensure it does not get loaded twice. In short it breaks all of the rules.

The ‘TypeError’ that I pointed to in my last post is also causing problems as suspected. This is because it does not address jQuery using the WP required method. I believe thus is coming from the WO theme as well bit again can not be 100% sure of that.

And on this account you created for me, I can’t add topics or reply to posts either, And that is almost certainly because of the above. But until those are fixed up we do not know if there are any others waiting to be found as the TpoeError issue stops all other scripts from running,.

DL David Lieder
David Lieder
Member

We had this problem and found the solution:

In WordPress, it’s usually a plugin that is causing the “Add Topic” or “Reply” button to freeze up and not work.

Deactivate all WordPress plugins and test  the “Add Topic” button again. If it works then (which it probably will), you have to just activate plugins one or two at a time and test the “Add Topic” button again until you find the offending plugin.

This happened to us and it was a chat box plugin that was causing the problem. I emailed the developers about the conflict and they actually fixed the chat box so it would not conflict. But some plugin developers are not as skilled and create buggy plugins that will cause this problem (breaking the “Add Topic” button).

MP Mr Papa
Mr Papa
Member

its usually when a sloppy author includes an external jquery or jquery ui type library rather than using the one that comes with wp… causes more problems for plugins than I can even remember…