hi Jennifer
open_basedir restriction that doesn’t include a valid system’s temp folder (e.g. /tmp)
more https://stackoverflow.com/a/21440309/1759454
thanks, Alex
hi Jennifer
Have you resolved this problem ?
thanks, Alex
Dear Alex,
This is not solve the problem. We have already seen this page, but this resolution is not for our problem.
Our problem is:
Error zipping files : PCLZIP_ERR_MISSING_FILE (-4) : File ‘/[Content_Types].xml’ does not exist
The /tmp map we chnaged to chmod 777, also the var/tmp were changed to chmod 777.
In the public map there isn’t any results map.
We used to have a server with php 5.6 then we transfered to a new server with php 7.0
We also tried to uninstall the plugin, then install it again but the problem is the same. We were using this plugin on severalecommerce site, none of them are working now.
Do you have any other idea, please?
Thank you,
Jennifer
hi Jennifer
do you see this problem when you use button “export without progressbar” ?
thanks, Alex
hi Jennifer
Could you run following code ? What will you see – empty string ?
<?php echo sys_get_temp_dir(); ?>
thanks, Alex
you can contact me directly via helpdesk for quicker turnaround.
The plugin can’t create temporary file and code <?php echo realpath(sys_get_temp_dir()); ?>
showed the error
open_basedir restriction in effect. File(/tmp) is not within the allowed path(s):
For users having same problem , you should use one of following solutions
- fix permission issue for folder /tmp
-
open section “XLS” and mark [x] Export as .xls (Binary File Format)
-
install php zip extension, usually command is “sudo apt-get install php7.0-zip”
thanks, Alex