问题
I am unable to get rid of this following error. The error shows up after I activate the plugin.
Slider Revolution error: could not unzip into the revslider/public/assets/ folder, please make sure that this folder is writable.
I did chmod 777 to revslider/public/assets/ but with no use.
I also got this error in browser..
Revolution Slider Error: You have some jquery.js library include that comes after the revolution files js include.
This includes make eliminates the revolution slider libraries, and make it not work.
To fix it you can:
1. In the Slider Settings -> Troubleshooting set option: Put JS Includes To Body option to true.
2. Find the double jquery.js include and remove it.
I cannot go to Troubleshooting set option after going to slider settings as none of the links (including 'Problem Handlings') work on the right hand side (attached the screenshot)
回答1:
I have the same problem. I am not sure what cause this problem but I can share my workaround:
- First you have to have FTP access to your WP folder
- Deactivate Revolution Slider plugin
- Use FTP and go to revslider/public/assets/assets/svg/ and download svg.zip file to your PC.
- Unzip svg.zip. Grab all unzipped content and put it in uploads/revslider/assets/svg/ folder.(If in uploads/revslider folders assets and svg doesn't exist you have to create them manually).
- Go to revslider/inludes/framework/ open base.class.php file and edit function public_folder_unzip():
Old code
if($unzipfile === true){
update_option('rs_public_version', RevSliderGlobals::SLIDER_REVISION);
}
else{
add_action('admin_notices', array('RevSliderBase', 'copy_notice'));
}
New code
if($unzipfile == true){
update_option('rs_public_version', RevSliderGlobals::SLIDER_REVISION);
}
else{
add_action('admin_notices', array('RevSliderBase', 'copy_notice'));
}
- Save file changes.
- Activate plugin.
回答2:
I found this happening today after updating the Autoptimize plugin. Turning off Javascript optimisation in the Autoptimize settings fixed the problem (though likely at the cost of some performance).
回答3:
You may need to update your theme and/or the Rev Slider plugin.
回答4:
Got the same issue! And its not the "update everthing" problem. I loaded everything fresh in the latest version. Wordpress (4.5.2) and a theme appbox. And the slider is also directly loaded in the last version. The bad thing is, that the menu options of the rev slider in wordpress not working correctly... Thus, the solution prompted is not executable as the dropdown menu hiding the option for query, can't be accessed. Another side effect: the delete slider is not working.
回答5:
Thanks Batgor. Your method worked for me. Allow me to cosign to help others who encountered something slightly different.
My assets.zip file in the ./revslider/public/assets folder was NOT unzipped. So i had to go in via SSH and unzip it first. Then once it blew up, I went into the ./revslider/includes/framework/base.class.php file.
For those who have old man eyes like me - you have to remove the 3rd equals sign in
if($unzipfile === true){
so that you end up with
if($unzipfile == true){
回答6:
Ran into this today. Deactivating the plugin "Async Javascript" and turning off Javascript optimisation in the Autoptimize plugin settings fixed my issue.
回答7:
There is the best solution :
- List item
- Go to revolution slider on the dashboard
- Select your slider causing the problem
- go to param slider
- Scroll to problem handlings on the right
- Select Troubleshooting
- set option: Put JS Includes To Bodyoption to true.
That's it
回答8:
For me it was the combo of
In the
Slider Settings
->Troubleshooting
set option:Put JS Includes To Body option
to true.Find the double
jquery.js
include and remove it. This was caused by auto optimize plugin. after I unchecked optimize JavaScript code that fixed it.
来源:https://stackoverflow.com/questions/37797407/wordpress-plugin-slider-revolution-error