Support Forum
The local copy of my site works just fine, but I can't use Simple:Press on my staging site. Here is a screen cap of what I see when I go to my Forums:
There's a JS error: Uncaught TypeError: Object [object Object] has no method 'prettyCheckboxes'
The accordion menus won't work - I can't actually do anything because clicking the menu items doesn't load up the associated options. Additionally, if Simple-Press is activated, I can't add media to posts, and there are some other JS errors throughout the WP admin.
I've tried deactivating all plugins and switching my theme back to Twenty Twelve, but the problem with Simple-Press persists.
I'm running WP 3.5.1
And it runs fine on my local environment. What could possibly be the cause? The front end of the forums seems to work just fine, even though the admin is a mess.
not sure without more info... what is different between the two environments?
you can run a quick check and bypass the 'pretty' checkboxes... in your wp config file, or your sp theme functions file, try doing
define('SP_USE_PRETTY_CBOX;, false);
which turns them off... and see if that helps...
something else you can look at is forum - toolbox- housekeeping and clear the combined js cache... or even on forum - options - global settings, disable the combined js cache...
Visit Cruise Talk Central and Mr Papa's World
I can't get to Toolbox -> Housekeeping because the menus don't work.
I checked Options -> Global Setting and the CSS and JS caches aren't enabled.
I don't really know what the difference between the two environments is - I've never had a problem like this before - it's my hosting account, and I don't know how to even begin comparing the setting between what I'm running on my local with MAMP and what my host has configured on my server.
I tried adding that line to my spFunctions.php in my forum theme, but I still get the same error.
I was hoping this might sound familiar and there'd be a known fix. Can I get a clue about where I should check next?
Yes, in that respect, the environments are 100% identical.
I thought maybe something had just gotten out of sync on the server, like a missed file or something. So I completely erased the site and db on the server and uploaded a new copy of the files and moved the database. So they're exactly the same.
Only the forums don't work on the server and they do on my local.
sorry, I missed that you said in the admin... can you try opening your sp-config.php file in your simple press plugins folder and change the admin checkbox stuff there to false?
what other plugins? there is an issue with gd tools (I think thats it) that uses the same namespace as SP...
Visit Cruise Talk Central and Mr Papa's World
Thank you, Mr. Papa. Changing that setting in the sp-config.php file did the trick.
I could give you a list of all the plugins I'm using, but as I said, I experienced this issue even when I disabled all other plugins and reverted to the TwentyTwelve theme and the default SP theme.
I don't really know why that one little thing was so much trouble on one server only, but I'm sure glad to have a solution.