Support Forum
Having an unusual problem at the moment. This morning all was working well until I started installing a few plugins. First off I activated the TinyMCE plugin, which seems to work fine (and continues to do so).
A short time afterwards I activated the Comment Preview plugin. I thought I'd give it a try, so jumped into the forum and created a reply, then clicked the preview button. Nothing happened except for the loading gif appearing on the screen.
I decided I'd jump into the forum administration screen on the WP dashboard, and started noticing that panels loaded via AJAX weren't loading - a similar issue to the comment preview with the loading gif appearing on the screen but never completing.
I decided to have a further look using the inspector Google Chrome, and noticed that the AJAX call to /index.php?sp_ahah=forums-loader was returning a 500 Internal Server Error. Further inspection showed that the response did actually contain the expected html.
Not sure if this is the Plugin that caused this (it's since been removed, but that didn't fix the problem) or something else.
Any suggestions?
comment preview? is that a wp plugin?
we normally see 500 server errors on ajax responses when the file permissions are not correct... so if you could verify that wp-content, plugins and simple-press directories are 0755 and the php files within simple press are 0644... depending on flavor of php could be slightly different but the key is not too restrictive and not 0777 which ajax has some problems with...
the other thing that can cause ajax some issues is mod_security... it has more false positive than true positives... are you running mod_security?
are your ajax issues on front end and admin? sorry, not sure what you were saying...
do you have link to your site so we can check for any other obvious js conflicts?
Visit Cruise Talk Central and Mr Papa's World
Nope, the Post Preview plugin for the forum. I don't really think it's the plugin, just seemed to be a coincidence the problem happened at the same time.
I'll try and explain the symptoms a little more clearly:
- Enter the Wordpress Dashboard
- Click on the Forums item in the left menu
- Forums page appears fine, shows the Manage Groups and Forums page
- Click on Edit Group or Edit Forum on any of the items and the loading gif appears
- However nothing actually happens
- Check the Network tab in Google Chrome Dev tools and can see an AJAX call has taken place /index.php?sp_ahah=forums-loader but the response code is internal error 500, despite the actual response looking to be correct
Site was working fine up until I installed the Post Preview plugin, but as I seaid I believe that might be just a coincidence. Will look into permissions now, everything should be setup as you've directed.
Link is http://www.fourtheye.net/f/
the post preview plugin does not even load in the admin... weird... so probably not related...
but I can say base don the link provided you have some plugins or theme not following the wp api and standards... they are loading they own versions of jquery and jquery ui which could cause problems on the front end...
theme and plugin authors REALLY need to stop loading external libs like that when wp provides their own... no good reason to load external especially given that other theme and plugin others expect the wp versions... read more: http://codex.simple-press.com/.....-conflict/
your user messages plugin is also loading its own version of jquery autocomplete
this could also potentially conflict with the wp provided jquery autocomplete version... its much better to use the wp provided ones... cannot tell for sure, but it might be the user messages plugin also incorrectly loading the jquery and jquery ui...
or the theme... but it seems to be a twenty twelve child theme or derivative so unless it got messed up, it shouldnt be the one loading those js incorrectly...
but again, that's front end... if problems are on admin side, not likely related...
Visit Cruise Talk Central and Mr Papa's World
Ok, seem to have solved the problem for now, though to be honest I'm not sure why this has fixed it.
Anyway, I've been using a Wordpress plugin called Widget Logic for some time on the blog. It's always worked fine, even after the forum was installed yesterday. However upon disabling that plugin (it was creating a whole bunch of lines in the error log) the AJAX inside the forum administration started working straight away.
And the Post Preview now works fine as well...
good news - sort of... not sure why it would be causing issues... is it current and up to date with wp 3.5?
Visit Cruise Talk Central and Mr Papa's World