Author |
|
vasyakrg Newbie
Joined: 05 June 2015 Location: Kazakhstan
Online Status: Offline Posts: 2
|
Posted: 05 June 2015 at 1:14am | IP Logged
|
|
|
hello
such a problem, when I try to download multiple attachments in one archive in the server logs prescribed two mistakes and nothing happens
[Fri Jun 05 13:55:29 2015] [error] [client 5.76.140.83] PHP Warning: fopen(): Filename cannot be empty in /var/www/vigroup586/data/www/vigroup.com/libraries/other/Zip.php on line 364, referer: https://vigroup.com/
[Fri Jun 05 13:55:29 2015] [error] [client 5.76.140.83] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/vigroup586/data/www/vigroup.com/libraries/other/Zip.php on line 385, referer: https://vigroup.com/
servers parametres:
PHP 5.4.39-0+deb7u2 (cli) (built: Mar 25 2015 09:10:46)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
afterlogic webmail lite - 7.4.2
|
Back to Top |
|
|
Raymond AfterLogic Support
Joined: 14 April 2015
Online Status: Offline Posts: 9
|
Posted: 05 June 2015 at 5:07am | IP Logged
|
|
|
Looks like there is a problem with your PHP setup. The code which throws error is using sys_get_temp_dir function for getting temporary directory path but it seems to return empty value.
Try running the following sample found at the above documentation page:
Code:
<?php
// Create a temporary file in the temporary
// files directory using sys_get_temp_dir()
$temp_file = tempnam(sys_get_temp_dir(), 'Tux');
echo $temp_file;
?> |
|
|
Hope this helps!
---
Regards, Andrew
AfterLogic Support
|
Back to Top |
|
|
vasyakrg Newbie
Joined: 05 June 2015 Location: Kazakhstan
Online Status: Offline Posts: 2
|
Posted: 05 June 2015 at 8:15am | IP Logged
|
|
|
nice!
thanks very much
php_admin_value open_basedir "/var/www/vigroup586/data:/tmp"
|
Back to Top |
|
|