Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: error from ZIP - empty filename Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
vasyakrg
Newbie
Newbie
Avatar

Joined: 05 June 2015
Location: Kazakhstan
Online Status: Offline
Posts: 2
Posted: 05 June 2015 at 1:14am | IP Logged Quote vasyakrg

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 View vasyakrg's Profile Search for other posts by vasyakrg
 
Raymond
AfterLogic Support
AfterLogic Support


Joined: 14 April 2015
Online Status: Offline
Posts: 9
Posted: 05 June 2015 at 5:07am | IP Logged Quote Raymond

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 View Raymond's Profile Search for other posts by Raymond
 
vasyakrg
Newbie
Newbie
Avatar

Joined: 05 June 2015
Location: Kazakhstan
Online Status: Offline
Posts: 2
Posted: 05 June 2015 at 8:15am | IP Logged Quote vasyakrg

nice!

thanks very much

php_admin_value open_basedir "/var/www/vigroup586/data:/tmp"
Back to Top View vasyakrg's Profile Search for other posts by vasyakrg
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide