asterisk2billing.org
http://forum.asterisk2billing.org/

PHP Fatal error
http://forum.asterisk2billing.org/viewtopic.php?f=14&t=12035
Page 1 of 1

Author:  VitorMazuco [ Sun Jan 10, 2016 10:02 pm ]
Post subject:  PHP Fatal error

When I tried to install A2Billing in a Debian or Ubuntu Server, it always returns to me the same error.

When I access

Code:
http://192.168.xx.xx/a2billing/admin/Public/index.php


The page is blank and showing nothing

When I use
Code:
tail -100 /var/log/apache2/error.log
it returns

Code:
[Sun Jan 10 19:45:53.886906 2016] [:error] [pid 2716] [client 192.168.25.xxx:50529] PHP Fatal error:  require_once(): Failed opening required '/var/www/html/a2billing/common/lib/../../vendor/autoload.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/a2billing/common/lib/admin.defines.php on line 33, referer: http://192.168.25.xx/a2billing/
[Sun Jan 10 19:49:16.972806 2016] [:error] [pid 2717] [client 192.168.25.xxx:50537] PHP Warning:  require_once(/var/www/html/a2billing/common/lib/../../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/a2billing/common/lib/admin.defines.php on line 33, referer: http://192.168.25.xx/a2billing/
[Sun Jan 10 19:49:16.972835 2016] [:error] [pid 2717] [client 192.168.25.xxx:50537] PHP Fatal error:  require_once(): Failed opening required '/var/www/html/a2billing/common/lib/../../vendor/autoload.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/a2billing/common/lib/admin.defines.php on line 33, referer: http://192.168.25.xx/a2billing/


Someone knows who to fix it?

Thanks in advanced.

Author:  VitorMazuco [ Tue Jan 12, 2016 4:36 pm ]
Post subject:  Re: PHP Fatal error

I found the solution, :mrgreen2: :mrgreen2: :mrgreen2: :mrgreen2: :mrgreen2: :mrgreen2:

Just copy
Code:
cp -rf /usr/local/src/a2billing/vendor /var/www/html/a2billing/vendor

Author:  plettonline [ Wed Jan 20, 2016 5:28 pm ]
Post subject:  Re: PHP Fatal error

Legend ;-) cant believe i missed that . Thx!

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/