freepbx fails with php errors

David Koski david at kosmosisland.com
Sun Jul 27 19:16:46 UTC 2008


Hello Tzafrir,

On Thursday 24 July 2008 01:05, Tzafrir Cohen wrote:
> Hi David,
>
> Thanks for your report,
>
> On Wed, Jul 23, 2008 at 08:55:23PM -0700, David Koski wrote:
> > Access to the url <freepbx_server_ip>/freepbx/ yields the following
> > error:
> >
> > Warning:
> > require_once(/usr/share/phpsysinfo/includes/includes/os/class.parseProgs.
> >inc.php) [function.require-once]: failed to open stream: No such file or
> > directory in /usr/share/phpsysinfo/includes/os/class.Linux.inc.php on
> > line 27
> >
> > Fatal error: require_once() [function.require]: Failed opening required
> > '/usr/share/phpsysinfo/includes/includes/os/class.parseProgs.inc.php'
> > (include_path='.:/usr/share/php:/usr/share/pear') in
> > /usr/share/phpsysinfo/includes/os/class.Linux.inc.php on line 27
> >
> > After changing line 27 of class.Linux.inc.php from this:
> >
> > require_once (APP_ROOT . '/includes/os/class.parseProgs.inc.php');
> >
> > ..to this:
> >
> > require_once (APP_ROOT . '/os/class.parseProgs.inc.php');
> >
> > ii  asterisk-sounds-moh-freepbx            2.3.1~dfsg-0.5650             
> >         music-on-hold files for the Asterisk PBX ii  freepbx             
> >                   2.3.1~dfsg-0.5650                      web-based
> > management interface for the Aster ii  freepbx-common                    
> >     2.3.1~dfsg-0.5650                      FreePBX administration panel
> > ii  freepbx-modules                        2.3.0.5649                    
> >         modules for FreePBX - a web-based GUI for As ii  freepbx-mysql   
> >                       2.3.1~dfsg-0.5650                      FreePBX -
> > MySQL (4 or 5) support ii  freepbx-panel                         
> > 2.3.1~dfsg-0.5650                      Asterisk Flash operator panel -
> > FreePBX inte ii  freepbx-sounds-extra                   2.3.1~dfsg-0.5650
> >                      extra sounds for FreePBX
>
> I believe that this issue is fixed with latest freepbx/freepbx-modules
> packages (using proper include of the system phpsysinfo). Could you try
> those?
>
> Note that those are 2.4 packages.

I did an upgrade:

freepbx 2.4.0~dfsg-0.5751
freepbx-common 2.4.0~dfsg-0.5751
freepbx-modules 2.4.0~0.5993
freepbx-mysql 2.4.0~dfsg-0.5751
freepbx-panel 2.4.0~dfsg-0.5751
freepbx-sounds-extra 2.4.0~dfsg-0.5751

There does not seem to be a change in this problem.  In the browser I still 
get:

Warning: 
require_once(/usr/share/phpsysinfo/includes/includes/os/class.parseProgs.inc.php) 
[function.require-once]: failed to open stream: No such file or directory 
in /usr/share/phpsysinfo/includes/os/class.Linux.inc.php on line 27

Fatal error: require_once() [function.require]: Failed opening 
required '/usr/share/phpsysinfo/includes/includes/os/class.parseProgs.inc.php' 
(include_path='.:/usr/share/php:/usr/share/pear') 
in /usr/share/phpsysinfo/includes/os/class.Linux.inc.php on line 27

Thank You,
David Koski
david at kosmosisland.com



More information about the Pkg-voip-maintainers mailing list