Hi Janos,

i have again one problem :)
i can't save a zip archive of found messages, the file is empty.

here is apache log (IP and Host name are changed):

[Thu Aug 02 22:49:02 2012] [error] [client IP] PHP Warning: Invalid argument supplied for foreach() in /var/www/piler/model/message/restore.php on line 16, referer: http://myhost/search.php

[Thu Aug 02 22:49:02 2012] [error] [client IP] PHP Warning: filesize(): stat failed for /var/www/piler/tmp/yYVHuiDhuawFj4Yf in /var/www/piler/model/message/restore.php on line 31, referer: http://myhost/search.php

[Thu Aug 02 22:49:02 2012] [error] [client IP] PHP Warning: readfile(/var/www/piler/tmp/yYVHuiDhuawFj4Yf): failed to open stream: No such file or directory in /var/www/piler/model/message/restore.php on line 35, referer: http://myhost/search.php

[Thu Aug 02 22:49:02 2012] [error] [client IP] PHP Warning: unlink(/var/www/piler/tmp/yYVHuiDhuawFj4Yf): No such file or directory in /var/www/piler/model/message/restore.php on line 37, referer: http://myhost/search.php


ls -la /var/www/piler give me:

drwxrwxr-x  9 root     root     4096 Aug  2 22:47 .
drwxr-xr-x  6 root     root     4096 Aug  2 03:20 ..
-rw-rw-r--  1 root     root     6524 Aug  2 22:47 config.php
drwxrwxr-x 13 root     root     4096 Jun 27 15:17 controller
-rw-r--r--  1 root     root      670 Aug  2 01:53 .htaccess
-rw-r--r--  1 root     root     1866 Aug  2 01:53 index.php
drwxrwxr-x  4 root     root     4096 Jun 27 15:17 language
drwxrwxr-x  2 www-data www-data 4096 Aug  2 22:34 log
drwxrwxr-x 12 root     root     4096 Jun 27 15:17 model
drwxrwxr-x  4 root     root     4096 Aug  2 18:41 system
drwxrwxrwx  2 www-data www-data 4096 Jun 27 15:17 tmp
drwxrwxr-x  4 root     root     4096 Jun 27 15:17 view

--
MfG,
Oleg Reich

Reply via email to