Unable to install FreePBX V3

maanas's picture

Hi there,
I am trying to install FreePBX V3 and I am getting this error.

Warning Message

An error was detected which prevented the loading of this page. If this problem persists, please contact the website administrator.

freepbx/hooks/freepbx.php [85]:

include() [function.include]: Filename cannot be empty
Stack Trace

    * freepbx/hooks/freepbx.php [85]:

      FreePbxHook::bootstrapFreePbx(  )

    *

      FreePbxHook::bootstrapFreePbx(  )

    * system/core/Event.php [209]:

      call_user_func(  )

    * system/core/Bootstrap.php [46]:

      Event::run(  )

    * index.php [106]:

      require(  )

Please help it seems the freepbx is trying to load all hook file but unable to do that. Am i missing something?

Thanx

__________________


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Which OS are you installing

samkeslers's picture

Which OS are you installing it on? Maybe it require the PHP to be installed?


Hi there, I m installing on

maanas's picture

Hi there,
I m installing on CentOS 5.4 with php 5.2.9. I am using cpanel and recompiled every thing again and checked in phpinfo() all required modules are present.

Thanx

Hi there, I believe the root

maanas's picture

Hi there,
I believe the root cause of my problem is i m trying to install on cpanel enabled system. So the IP adress do not point to the site where i m trying to host the freepbx.

The virtual host is hosting the freepbx. When i provide the full domain name in config.php

/**
* Base path of the web site. If this includes a domain, eg: localhost/kohana/
* then a full URL will be used, eg: http://localhost/kohana/. If it only includes
* the path, and a site_protocol is specified, the domain will be auto-detected.
*/
$config['site_domain'] = 'http://mydomain.com/freepbx-v3/';

I get this in browser

http://www.http.com//mydomain.com/freepbx-v3/index.php/user/login

Please help

Hi there, Problem is

maanas's picture

Hi there,
Problem is resolved. It was cpanel issue. The Virtual site was referencing to another location.
It working now.

Same problem, solved

rootshell's picture

Hi,
I got the same problem with last trunk version, there is function, which listing all "hooks", but some of the files are missing there.

I debug it and solved it (not sure if in good way, but works) by adding empty hook php file to every module, which was loaded.

touch modules/_skeleton/hooks/_skeleton.php
touch modules/_skeleton_application/hooks/_skeleton_application.php
touch modules/_skeleton_plugin/hooks/_skeleton_plugin.php
touch modules/calls/hooks/calls.php
touch modules/lcr/hooks/lcr.php
touch modules/misdnmanager/hooks/misdnmanager.php
touch modules/voicemailviewer/hooks/voicemailviewer.php

Jan