Title: Export doesn&#039;t work
Last modified: August 21, 2016

---

# Export doesn't work

 *  [Roman](https://wordpress.org/support/users/lrv/)
 * (@lrv)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/export-doesnt-work-2-2/)
 * 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/](https://wordpress.org/plugins/types/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [jozik](https://wordpress.org/support/users/jozik/)
 * (@jozik)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/export-doesnt-work-2-2/#post-4636911)
 * Thank you for reporting this, we’ll have a look at this issue soon.
 *  [paulogoode](https://wordpress.org/support/users/paulogoode/)
 * (@paulogoode)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/export-doesnt-work-2-2/#post-4636955)
 * 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…
 *  [companyjuice](https://wordpress.org/support/users/companyjuice/)
 * (@companyjuice)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/export-doesnt-work-2-2/#post-4637081)
 * 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

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Export doesn't work’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/types_ced1d3.svg)
 * [Toolset Types - Custom Post Types, Custom Fields and Taxonomies](https://wordpress.org/plugins/types/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/types/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/types/)
 * [Active Topics](https://wordpress.org/support/plugin/types/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/types/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/types/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [companyjuice](https://wordpress.org/support/users/companyjuice/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/export-doesnt-work-2-2/#post-4637081)
 * Status: not resolved