freepbx fails with php errors

David Koski david at kosmosisland.com
Thu Jul 24 03:55:23 UTC 2008


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');

..another error shows:

FreePBX System Status
FreePBX Notices
 You have 2 broken modules

The following modules are disabled because they are broken:
framework, customappsreg

You should go to the module admin page to fix these.
Added ago
(freepbx.modules_broken)
show all
FreePBX Statistics
Total active calls
0
Internal calls
0
External calls
0
Total active channels
0
FreePBX Connections

Fatal error: Call to undefined method Error::singleton() in /usr/share/phpsysinfo/includes/common_functions.php on line 137

ii  asterisk                               1:1.4.21.1~dfsg-0.5941                 Open Source Private Branch Exchange (PBX)
ii  asterisk-config-freepbx                2.3.1~dfsg-0.5650                      FreePBX - config files for the Asterisk PBX
ii  asterisk-doc                           1:1.4.21.1~dfsg-0.5941                 Source code documentation for Asterisk
ii  asterisk-mp3                           1.4.7-1                                MP3 format support (format_mp3) for the Aste
ii  asterisk-mysql                         1.4.7-1                                MySQL support for the Asterisk PBX (cdr main
ii  asterisk-sounds-extra                  1.4.7-1                                Additional sound files for the Asterisk PBX
ii  asterisk-sounds-main                   1:1.4.21.1~dfsg-0.5941                 Core Sound files for Asterisk (English)
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
ii  libapache2-mod-php5                    5.2.6-2                                server-side, HTML-embedded scripting languag
ii  php-db                                 1.7.13-2                               PHP PEAR Database Abstraction Layer
ii  php-pear                               5.2.6-2                                PEAR - PHP Extension and Application Reposit
ii  php5                                   5.2.6-2                                server-side, HTML-embedded scripting languag
ii  php5-cli                               5.2.6-2                                command-line interpreter for the php5 script
ii  php5-common                            5.2.6-2                                Common files for packages built from the php
ii  php5-curl                              5.2.6-2                                CURL module for php5
ii  php5-gd                                5.2.6-2                                GD module for php5
ii  php5-mysql                             5.2.6-2                                MySQL module for php5
ii  phpsysinfo                             3.0~rc6-1                              PHP based host information


Regards,
David Koski
david at kosmosisland.com



More information about the Pkg-voip-maintainers mailing list