"Wrong .zip file." any slider update failed
-
Hi Folks and Cracks,
i hate those “simple solutions”, because most of them produced a lot of trouble. My trouble here:
I’d inserted an
wowslider(4);
after the design agency produced a WOW-Slider-File in ourheader.php
at my template path. They uploaded there ZIP-File from the designers Apple OS System into/_wpFlip/wp-content/uploads/wow-slider-plugin/import
and added 4 times until anything went right.After a while i got somes changes and made them into a windows based System on WOWslider. First, i’d tried to uplaod this ZIP-File as i exported via WordPress-PlugIn into my uploadfolder. The slider name was exactly the same as before. But my installation finished by an alert with “Wrong .zip file.” – same as imported ZIP-Archiv over the import folder.
So: no way to update it!
We used WP at latest release in Version 3.8.1 and our WOWslider plugin must be the latest too at Version 4.2 – isn’t it?!
The whole system works i an Apache-Environment under PHP 5.3.28 so that i think theres no need to change the .htaccess File?!
a BZip2 Support is available in Version 1.0.6 (from 6-Sept-2010)
a Zip-Module is enabled too as an Extension Version 1.11.0 and a Libzip at version 0.10.1
and if it need to know:
a zlib module is also enabled by zlib.inflate, zlib.deflate
in a Compiled Version at 1.2.5 and the same as linked Version (so also 1.2.5).After all: i get some directories and folders under
wp-content/uploads/wow-slider-plugin
and it looks like this:+---4 | +---images | \---tooltips +---data1 | +---images | \---tooltips +---data2 | +---images | \---tooltips +---engine1 +---engine2 \---import
In my produced HTML-Code all img-Tags located the src-path to
/wp-content/uploads/wow-slider-plugin/4/images/
where also located myscript.js
file <i>-where i found my done changes in-</i>.Specially in our case: i had to delete all Image desriptions, renamed all image titles and also killed all links and link targets.
After i recognized that no upload or update worked, I’d made the changes manually in
script.js
located at/wp-content/uploads/wow-slider-plugin/4/images/
which are loaded in my slider container like this:<script type='text/javascript' src='https://eisgruber-rauscher.de/wp-content/uploads/wow-slider-plugin/4/script.js'></script>
Funnily: there is a my title available in cleartext as i’d change it manually. But on frontpage the changed titles for my dots are still the old one (no Proxy, Browser cache deleted – tens of times) and nothing will changed that.
Before anyone said: “delete all and reinstall it”: i have to understand what’s wrong there. Because i need to know it, if i like to guaranty that any other changes later on will work correctly too.
There does anyone have a tip or chant for me?
That’s all for the moment – and thanks for your for your time and attention – in particular thx for your time that is yet to invest for any hint, chant or solution ??
<hr>
At the End just a little hint to any other readers and users who invest there time up to here;-)If you just insert a
wowslider(X);
in your template file, you will get an massive error if the plug-in will be deactivated –
Unfortunately, this applies to all plug-ins. Whenever you need a call from those plug-ins and before it happend, fix this risk by a simple check if this plug-in is available. Here one possible solution:`<?php
/**
* FCR note:
* Detects WOWslider plugin first and
* just inserted if it available and active.
*/
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );// check for plugin using plugin name
$plugin = 'wowslider/wowslider.php';
if ( is_plugin_active( $plugin ) ) { ?>
<?php wowslider(4); ?>
<?php } ; ?>`
- The topic ‘"Wrong .zip file." any slider update failed’ is closed to new replies.