Ticket #5533 (closed Bugs: fixed)

Opened 4 months ago

Last modified 3 weeks ago

PHP filesize() warning

Reported by: mustardman Assigned to: p_lindheimer
Priority: minor Milestone: Undetermined
Component: Installation Version: 2.10-branch
Keywords: php warning Cc:
Confirmation: Unreviewed SVN Revision (if applicable):
Backend Engine: Asterisk 1.8 Backend Engine Version:

Description

Installing FreePBX 2.10.0 beta2 I get the following warning. Maybe it's nothing but thought I should report it anyways.

[root@host]# cd /usr/src/freepbx-2.10.0beta2 [root@host]# ./install_amp Checking for PEAR DB..OK PHP Warning: filesize(): stat failed for /tmp/freepbx_pre_install.log in /usr/src/freepbx-2.10.0beta2/amp_conf/htdocs/admin/libraries/utility.functions.php on line 75

Change History

05/03/12 04:10:35 changed by chrisjx2002

I got exactly the same problem installing freepbx 2.10 with asterisk 1.8.11.1 on a squeeze debian server. What is the turnaround?

05/03/12 09:19:26 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.

(In [14048]) fixes #5533 harmless warning message by not checking the filesize of the log file the first time if it does not exists yet

05/03/12 10:30:25 changed by chrisjx2002

Is it the same problem for this warning message : PHP Warning: filesize(): stat failed for /var/log/asterisk/freepbx_debug in /usr/src/freepbx-2.10.0/amp_conf/htdocs/admin/libraries/utility.functions.php on line 641

05/03/12 10:54:56 changed by p_lindheimer

(In [14049]) check if dbug file exists before calculatin size to remove otherwise harmless warning message re #5533