WordPress.org

Forums

  1. Roman
    Member
    Posted 1 year ago #

    Hello.

    When I have tried export types settings I got empty archive.
    In log this errors:

    [Fri Feb 21 21:02:29 2014] [error] [client ] PHP Warning:  tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/user/data:.) in /var/www/user/data/www/domain/wp-content/plugins/types/embedded/includes/module-manager.php on line 714, referer: http://blog1.domain/wp-admin/admin.php?page=wpcf-import-export
    [Fri Feb 21 21:02:29 2014] [error] [client ] PHP Warning:  ZipArchive::open(): Empty string as source in /var/www/user/data/www/domain/wp-content/plugins/types/embedded/includes/module-manager.php on line 716, referer: http://blog1.domain/wp-admin/admin.php?page=wpcf-import-export
    [Fri Feb 21 21:02:29 2014] [error] [client ] PHP Warning:  ZipArchive::addFromString(): Invalid or unitialized Zip object in /var/www/user/data/www/domain/wp-content/plugins/types/embedded/includes/module-manager.php on line 718, referer: http://blog1.domain/wp-admin/admin.php?page=wpcf-import-export
    [Fri Feb 21 21:02:29 2014] [error] [client ] PHP Warning:  ZipArchive::addFromString(): Invalid or unitialized Zip object in /var/www/user/data/www/domain/wp-content/plugins/types/embedded/includes/module-manager.php on line 719, referer: http://blog1.domain/wp-admin/admin.php?page=wpcf-import-export
    [Fri Feb 21 21:02:29 2014] [error] [client ] PHP Warning:  ZipArchive::close(): Invalid or unitialized Zip object in /var/www/user/data/www/domain/wp-content/plugins/types/embedded/includes/module-manager.php on line 720, referer: http://blog1.domain/wp-admin/admin.php?page=wpcf-import-export
    [Fri Feb 21 21:02:29 2014] [error] [client ] PHP Warning:  file_get_contents(): Filename cannot be empty in /var/www/user/data/www/domain/wp-content/plugins/types/embedded/includes/module-manager.php on line 721, referer: http://blog1.domain/wp-admin/admin.php?page=wpcf-import-export
    [Fri Feb 21 21:02:29 2014] [error] [client ] PHP Warning:  unlink(): open_basedir restriction in effect. File() is not within the allowed path(s): (/var/www/user/data:.) in /var/www/user/data/www/domain/wp-content/plugins/types/embedded/includes/module-manager.php on line 728, referer: http://blog1.domain/wp-admin/admin.php?page=wpcf-import-export

    https://wordpress.org/plugins/types/

  2. Srdjan
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you for reporting this, we'll have a look at this issue soon.

  3. paulogoode
    Member
    Posted 1 year ago #

    I was about to report the same, only export does "work" but the file exported refuses to be imported.

    e.g. sitename.types.2014-02-25.zip

    is downloaded.

    Importing that file fails with one error message "Data not valid".

    Expanding the zip creates:

    sitename.types.2014-02-25.zip.cpgz

    Importing that file offers 3 error messages:

    • Error parsing XML
    • Start tag expected, '<' not found
    • Data not valid

    I'm using WP 3.8.1 with Types 1.5.4 on a Mac OSX Mavericks.

    I hope that helps you resolve the issue. It would be handy to have a fix right now to save me recreating all the Types manually...

  4. companyjuice
    Member
    Posted 1 year ago #

    The same is occuring for me -- Module Manager exports an invalid zip file. I am using WP 3.8.1 with Types 1.5.4, Views 1.5.1, Module Manager 1.1 on both Windows 8 and CentOS 6.4.

    However, when turning on WP_DEBUG logging, there are no errors thrown. The errors only show on screen...

    Module Manager Import screen:

    "Unable to open .zip file"
    .
    Windows Explorer screen:
    "The compressed zip folder '...' is invalid."

    Thanks,
    Marty McGee
    companyjuice

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.