Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Javascript:void(null) issue for Add Topic, Reply
Avatar
Gary Pickering
Rookie
Free Members
sp_UserOfflineSmall Offline
Jul 10, 2015 - 7:27 pm

I've tried disabling plugins and removing mod_security and the issue persists. When you hit 'Add Topic' or 'Add Reply' nothing happens. Some other buttons do this as well, such as 'delete post.' 

If I select a topic and then use the 'Add Topic' button, the javascript:void(null) isn't there but no new topic screen appears.

Both of these are disabled:

Enable combining and caching of forum script (JS) files
 

Server is on php 5.4.42 and site is running WordPress 4.2.2.

Any ideas, we need to get this resolved.

Thanks.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 10, 2015 - 8:38 pm

regarding javascript:void, please see:  https://simple-press.com/docum.....wser-link/

more than likely its related to this:  https://simple-press.com/docum.....-conflict/

if you give us a link, we can look for obvious conflicts...

Avatar
Gary Pickering
Rookie
Free Members
sp_UserOfflineSmall Offline
Jul 13, 2015 - 9:16 pm

Thank you for that. The site is http://www.nucanoe.com/forum and that second link was helpful, in viewing the source and then downloading what the developer of this site created as a theme, I discovered a script hard coded into the footer (bxslider).  I removed the script and reloaded the page, but the issue persists. There's also a bit of code loading jquery just for the forum page; I tried deleting that, viewing the source to make sure it was gone, and the issue is still there.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 13, 2015 - 9:33 pm

you site is throwing many, many jquery errors (view in browser console)...

you still have a hardcoded of loading jquery ui from a 3rd party...

<script src="//code.jquery.com/ui/1.10.3/jquery-ui.js" type="text/javascript"></script>

this will potentially conflict with the version that comes with WP...  and of course would be completely untested with simple press (or other wp plugins)...  just much more better and standard to use the version that comes with wp...

Avatar
Gary Pickering
Rookie
Free Members
sp_UserOfflineSmall Offline
Jul 14, 2015 - 4:20 pm

Hi Papa, Yes I'd noticed that hard-coding and think I mentioned it? I had tried disabling it and still have the problem. Today I disabled, re-enabled, and now it's working... We'll go for a redevelopment of the footer at some point, most likely. Thanks for your help.

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jul 14, 2015 - 4:43 pm

Thanks for letting us know, and hopefully you wont run into any further problems with it.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625