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

Fresh install failed to open stream error
http://forum.asterisk2billing.org/viewtopic.php?f=33&t=11697
Page 1 of 1

Author:  mase2hot [ Sat Jun 06, 2015 6:48 pm ]
Post subject:  Fresh install failed to open stream error

Hi,

Fresh install and I get the error below, I have installed A2billing before with no issues. I've checked permissions and can not locate where my issue is. Please help.

Code:
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


Code:
PHP Fatal error:  require_once(): Failed opening required '/var/www/html/a2billing/common/lib/../../vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/a2billing/common/lib/admin.defines.php on line 33

Author:  polow [ Sun Jun 21, 2015 11:20 pm ]
Post subject:  Re: Fresh install failed to open stream error

I had the same Error message when i used AsteriskNow image "Centos 6.5"

After installing a2billing and when i try to Login to the IPADDRESS\a2billing\admin i get a blank Page .

What system are you using OP ? what version ?

Author:  emtty [ Sun Jul 12, 2015 2:19 am ]
Post subject:  Re: Fresh install failed to open stream error

Per INSTALL.rst:

Code:
cd /usr/local/a2billing

inconsistent with rest of doc, i.e. should be /usr/local/src/a2billing/, or where ever your A2B source is located, next:
Code:
curl -sS https://getcomposer.org/installer | php
php composer.phar update
php composer.phar install


However, the INSTALL.rst fails to mention:

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

Author:  Igicosoci [ Fri Sep 11, 2015 8:27 am ]
Post subject:  Re: Fresh install failed to open stream error

I always think you know a lot.



จีคลับ

Author:  tomfoley [ Mon Nov 09, 2015 1:35 pm ]
Post subject:  Re: Fresh install failed to open stream error

Another correction needed on INSTALL.rst also. Section 2.6. Under the sub section titled OPTION 1 it states
Code:
cp a2billing-monitoring.php /usr/share/asterisk/agi-bin/

It should be
Code:
cp a2billing_monitoring.php /usr/share/asterisk/agi-bin/

a2billing-monitoring.php should be an underscore, not a dash.

Author:  tomfoley [ Mon Nov 09, 2015 1:36 pm ]
Post subject:  Re: Fresh install failed to open stream error

Thank you @Emtty. You saved me a lot of head scratching :mrgreen2:

emtty wrote:
Per INSTALL.rst:

Code:
cd /usr/local/a2billing

inconsistent with rest of doc, i.e. should be /usr/local/src/a2billing/, or where ever your A2B source is located, next:
Code:
curl -sS https://getcomposer.org/installer | php
php composer.phar update
php composer.phar install


However, the INSTALL.rst fails to mention:

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

Author:  ziaabass [ Tue Nov 10, 2015 7:52 pm ]
Post subject:  Re: Fresh install failed to open stream error

hello every one think about this

curl -sS https://getcomposer.org/installer | php
php composer.phar update
php composer.phar install

first need update or install then update that is a ishue

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