[Resolved] Jquery Error After Saving
I can install the plugin ok, and see the Menu Edit page, I can play around, but after saving I get a page with no css loaded and nothing saves if I relaod the admin panel.
Firebug says: ReferenceError: jQuery is not defined
[Stop on this error]
Here is the code:
‘<div id=”ws-pro-version-notice”>’ +
‘Upgrade to Pro‘ +
})(jQuery); == ERROR!
It sounds like the menu data might be getting stripped out by something. What URL do you see in the address bar after you click “Save Changes”?
Yes, it appears that something strips the menu data before the plugin can save it. There are several things that could cause this:
– A security system like mod_security2 or similar is running on your server and blocking menu data because it contains “suspicious” keywords. Other users have encountered similar problems where it turned out that mod_security was preventing them from saving the menu because menu settings contained words like “update” and “set” (as part of “Settings”).
Solution: Ask your hosting provider if mod_security2 or something similar is installed on the server. If so, tell them to add an exception for this plugin, or to disable the offending configuration rule.
– The server discards menu data because it exceeds the post_max_size limit set in PHP.ini.
Solution: Set post_max_size to a higher value (at least 1MB).
– Suhosin is installed on your server and strips out the menu data because it exceeds the configured maximum size of values sent via a POST request.
suhosin.request.max_value_lengthto at least 300000. If you don’t know how to edit Suhosin’s configuration, ask your hosting provider to do it for you.
- The topic ‘[Resolved] Jquery Error After Saving’ is closed to new replies.