Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1251372
    yvesmulkers
    Participant

    Hi,

    I have various sliders created, when I export them one by one, 2 exports have a size of 0kb, the 2 others are OK, and I can import them into another site.
    Any idea what can be wrong?

    #1251419
    Christian
    Moderator

    Hey there,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1253346
    yvesmulkers
    Participant
    This reply has been marked as private.
    #1253828
    Rad
    Moderator

    Hi there,

    I checked the debug log files and it can’t create the zip package for those few Essential Grid. Hence, it’s downloading non-existent zip files.

    To be exact, it’s related to this code, within the block of skip_images. Not sure how to trigger $_POST[‘skip_images’] since export has no other options other than export.

    if(class_exists('ZipArchive')) {
    
    			// Add slider folder and settings.json
    			$name = empty($item['name']) ? 'slider_' . $item['id'] : $item['name'];
    			$name = sanitize_file_name($name);
    			$zip->addSettings(json_encode($item['data']), $name);
    
    			// Add images?
    			if(!isset($_POST['skip_images'])) {
    				$images = $zip->getImagesForSlider($item['data']);
    				$images = $zip->getFSPaths($images);
    				$zip->addImage($images, $name);
    			}
    		}

    Hence, when I added an image layer/element on a TEST slider, the export works.

    Cheers!

    #1254237
    yvesmulkers
    Participant

    Thanks for the explanation, but how does it get fixed now?
    This seems to be code from layerslider?
    Or to what is the problem related?

    And what do you mean with it is downloading non existing packages?

    #1254255
    Rad
    Moderator

    Hi there,

    1. The fixed is by adding image layer on your slider.
    2. Yes, it’s part of LayerSlider’s core files but I can’t tell if it’s a bug yet, could be related to corrupted data.
    3. Downloading is exporting, there is no file to download since it fails to create a zip package.

    Thanks!

  • <script> jQuery(function($){ $("#no-reply-1251372 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>