Closed gudge25 closed 9 years ago
There is a missing step in the installation documentation. Go to the directory where you downloaded a2billing and type. curl -sS https://getcomposer.org/installer | php then type php composer.phar install
documentation is here https://getcomposer.org/doc/00-intro.md#dependency-management
Оr just use SVN version. It is not messed up yet.
Is there still a SVN version :)
Is the a SVN trunk of A2billing to download?
UltraTone Sdn Bhd
United States Office: 75 East Santa Clara Street, Suite P-80, San Jose, 95113
Phone: +1-408-715-2002
Fax: +1-408-459-7766
Cell: +1-818-910-2001
Malaysia Office: Unit 17A, Plaza Ampang City, No 332A Jalan Ampang, KL, 50450
Phone: +60-3-2730-6404
Fax: +60-3-48138823
Cell: +60-12-3919138
Websites: UltraTone.com.my http://www.ultratone.com.my/
On Fri, Jun 5, 2015 at 12:52 AM, Areski Belaid notifications@github.com wrote:
there is still a SVN version :)
— Reply to this email directly or view it on GitHub https://github.com/Star2Billing/a2billing/issues/104#issuecomment-108967545 .
Hi, Did anyone manage to fix this issue as im experiencing the same problem. I have installed the composer but doesnt make any difference.
@pcdrob123 try to explode the tar instead of pulling the git worked for me this way
@tsromana where would i get the tar from
I done there was a problem with link in tar archive. Tomorrow will give u more inf.meanwhile check broken links in folder of a2b
Taran Romana notifications@github.com wrote:
https://codeload.github.com/Star2Billing/a2billing/tar.gz/v2.1.0
Reply to this email directly or view it on GitHub: https://github.com/Star2Billing/a2billing/issues/104#issuecomment-111742926
you have to link the source a2billing source directory to the http server directory. (not copy the files !) You also have to use the apache FollowSymLinks option . redge
Did you run:
cd /usr/local/src/a2billing (or where you have the source....)
curl -sS https://getcomposer.org/installer | php
php composer.phar update
php composer.phar install
Then ..
mkdir /var/www/html/a2billing
ln -s /usr/local/src/a2billing/common /var/www/html/a2billing/common
ln -s /usr/local/src/a2billing/admin /var/www/html/a2billing/admin
ln -s /usr/local/src/a2billing/agent /var/www/html/a2billing/agent
ln -s /usr/local/src/a2billing/customer /var/www/html/a2billing/customer
chown -R asterisk:asterisk /var/www/html/a2billing
chown -R asterisk:asterisk /usr/local/src/a2billing
chmod 755 /var/www/html/a2billing/admin/templates_c chmod 755 /var/www/html/a2billing/customer/templates_c chmod 755 /var/www/html/a2billing/agent/templates_c
On Tue, Jun 23, 2015 at 7:48 AM, icaxis notifications@github.com wrote:
Even with Symlinks, it doesn't work... I check for the folder vendor and it seems it doesn't exist at all nor for the file autoload. Did anyone solve this or able to workaround.?
— Reply to this email directly or view it on GitHub https://github.com/Star2Billing/a2billing/issues/104#issuecomment-114365237 .
Thanks redge76, It works for me.
i did that bit it not worked could you help me my skype is jasaroc i tryed to install from 0 :(
fixed and worked through this process i installed v2.1.2 from https://codeload.github.com/Star2Billing/a2billing/tar.gz/v2.1.2 got this error: 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 used composer then error gone and got two new error: PHP Parse error: syntax error, unexpected '[' in /usr/local/src/a2billing/common/lib/Misc.php on line 1290 PHP Parse error: syntax error, unexpected '[' in /usr/local/src/a2billing/common/lib/Misc.php on line 1302 then removed [1] site came up. still this error unexpected '[' exist in 2.1.2
again also has same error: syntax error, unexpected '[', expecting ')' in /usr/local/src/a2billing/common/lib/agent.smarty.php on line 82 customer also has same error: PHP Parse error: syntax error, unexpected '[', expecting ')' in /usr/local/src/a2billing/common/lib/customer.smarty.php on line 81
Having the same problem as afshin-blue.. I installed v2.1.2 also
which php version are you running?
Hi,
I am running CentOS 6.6 and php-5.3.3-46.el6_6.x86_64.
Error I am getting is
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 [Tue Jul 28 02:35:46 2015] 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
Thanks
Areski,
Any updates?
no there was many other errors.
2015-07-29 11:33 GMT-03:00 Nogie Ekunwe notifications@github.com:
Areski,
Any updates?
— Reply to this email directly or view it on GitHub https://github.com/Star2Billing/a2billing/issues/104#issuecomment-125970884 .
Contato: email: jasaroc@gmail.com skype: jasaroc Cel: (11) 986435771 ( TIM )
@catchcoin Please point me in the right direction. Thanks
I have the feeling there is something wrong with PHP version, I m going to try now on an centos 6.5
ok tank you
2015-07-29 12:18 GMT-03:00 Areski Belaid notifications@github.com:
I have the feeling there is something wrong with PHP version, I m going to try now on an centos 6.5
— Reply to this email directly or view it on GitHub https://github.com/Star2Billing/a2billing/issues/104#issuecomment-125985614 .
Contato: email: jasaroc@gmail.com skype: jasaroc Cel: (11) 986435771 ( TIM )
Hello,
I see a trailing dot when I issue ls -l at /var/www/. Could this possibly be the culprit?
See below drwxr-xr-x 6 root root 4096 Jul 25 01:23 a2billing drwxr-xr-x. 2 root root 4096 Oct 16 2014 cgi-bin drwxr-xr-x. 3 root root 4096 Jul 15 05:29 error drwxrwxrwx. 3 root root 4096 Jul 25 01:43 html drwxr-xr-x. 3 root root 4096 Jul 15 05:30 icons
Thx
leave it :( i will use 2.5 version of elastix tanks for help
2015-07-29 12:39 GMT-03:00 Nogie Ekunwe notifications@github.com:
Hello,
I see a trailing dot when I issue ls -l. Could this possibly be the culprit?
See below drwxr-xr-x 6 root root 4096 Jul 25 01:23 a2billing drwxr-xr-x. 2 root root 4096 Oct 16 2014 cgi-bin drwxr-xr-x. 3 root root 4096 Jul 15 05:29 error drwxrwxrwx. 3 root root 4096 Jul 25 01:43 html drwxr-xr-x. 3 root root 4096 Jul 15 05:30 icons
Thx
— Reply to this email directly or view it on GitHub https://github.com/Star2Billing/a2billing/issues/104#issuecomment-125992725 .
Contato: email: jasaroc@gmail.com skype: jasaroc Cel: (11) 986435771 ( TIM )
Hi I would be more than happy to fix this
Add me Skype. Threedtelecoms
On 29 Jul 2015, at 16:39, Nogie Ekunwe notifications@github.com Iwrote:
Hello,Lll
I see a trailing dot when I issue ls -l. Could this possibly be the culprit?
See below drwxr-xr-x 6 root root 4096 Jul 25 01:23 a2billing drwxr-xr-x. 2 root root 4096 Oct 16 2014 cgi-bin drwxr-xr-x. 3 root root 4096 Jul 15 05:29 error drwxrwxrwx. 3 root root 4096 Jul 25 01:43 html drwxr-xr-x. 3 root root 4096 Jul 15 05:30 icons
Thx
— Reply to this email directly or view it on GitHub.
rsss me to but my client have a operational elastix 2.5 and he doesnt want MT any more due this problems
2015-07-29 12:42 GMT-03:00 pcdrob123 notifications@github.com:
Hi I would be more than happy to fix this
Add me Skype. Threedtelecoms
On 29 Jul 2015, at 16:39, Nogie Ekunwe notifications@github.com Iwrote:
Hello,Lll
I see a trailing dot when I issue ls -l. Could this possibly be the culprit?
See below drwxr-xr-x 6 root root 4096 Jul 25 01:23 a2billing drwxr-xr-x. 2 root root 4096 Oct 16 2014 cgi-bin drwxr-xr-x. 3 root root 4096 Jul 15 05:29 error drwxrwxrwx. 3 root root 4096 Jul 25 01:43 html drwxr-xr-x. 3 root root 4096 Jul 15 05:30 icons
Thx
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub https://github.com/Star2Billing/a2billing/issues/104#issuecomment-125993643 .
Contato: email: jasaroc@gmail.com skype: jasaroc Cel: (11) 986435771 ( TIM )
MT?
Here to help if required
On 29 Jul 2015, at 16:44, learning learning learning notifications@github.com wrote:
rsss me to but my client have a operational elastix 2.5 and he doesnt want MT any more due this problems
2015-07-29 12:42 GMT-03:00 pcdrob123 notifications@github.com:
Hi I would be more than happy to fix this
Add me Skype. Threedtelecoms
On 29 Jul 2015, at 16:39, Nogie Ekunwe notifications@github.com Iwrote:
Hello,Lll
I see a trailing dot when I issue ls -l. Could this possibly be the culprit?
See below drwxr-xr-x 6 root root 4096 Jul 25 01:23 a2billing drwxr-xr-x. 2 root root 4096 Oct 16 2014 cgi-bin drwxr-xr-x. 3 root root 4096 Jul 15 05:29 error drwxrwxrwx. 3 root root 4096 Jul 25 01:43 html drwxr-xr-x. 3 root root 4096 Jul 15 05:30 icons
Thx
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub https://github.com/Star2Billing/a2billing/issues/104#issuecomment-125993643 .
Jasar orion Cirelli
Contato: email: jasaroc@gmail.com skype: jasaroc Cel: (11) 986435771 ( TIM ) — Reply to this email directly or view it on GitHub.
@pcdrob123 Please help email me at edo.ekunwe@gmail.com.. Thx
tank you for help :D
2015-07-29 12:54 GMT-03:00 Nogie Ekunwe notifications@github.com:
@pcdrob123 https://github.com/pcdrob123 Please help
— Reply to this email directly or view it on GitHub https://github.com/Star2Billing/a2billing/issues/104#issuecomment-125997282 .
Contato: email: jasaroc@gmail.com skype: jasaroc Cel: (11) 986435771 ( TIM )
Can you add me on Skype to communicate better
On 29 Jul 2015, at 16:54, Nogie Ekunwe notifications@github.com wrote:
@pcdrob123 Please help
— Reply to this email directly or view it on GitHub.
sure my skype is jasaroc
2015-07-29 13:05 GMT-03:00 pcdrob123 notifications@github.com:
Can you add me on Skype to communicate better
On 29 Jul 2015, at 16:54, Nogie Ekunwe notifications@github.com wrote:
@pcdrob123 Please help
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub https://github.com/Star2Billing/a2billing/issues/104#issuecomment-126000912 .
Contato: email: jasaroc@gmail.com skype: jasaroc Cel: (11) 986435771 ( TIM )
after some testing on CentOS6, I just pushed a patch https://github.com/Star2Billing/a2billing/commit/a1beacb5c0bfa101c599bbe110b1f3fee5cf7245
Make sure you have php-xml installed and that you install vendor packages with compose: cd /usr/local/a2billing curl -sS https://getcomposer.org/installer | php php composer.phar update php composer.phar install
That should do the trick
Hello Areski,
I am running php-5.3.3-46.el6_6.x86_64 on CentOS 6.6
Thanks
Nogie Ekunwe EDO Network Services, Inc. P O Box 20243 Jackson, MS 39289 +1.601.313.9009(P)
+1.601.497.3932(C) +1.601.313.9009(F)
IMPORTANT.This e-mail message and any attachments are strictly confidential and may be protected by law. This message is intended only for the named recipient(s) above. If you have received this message in error, or are not the named recipient(s), please notify the sender and delete this e-mail message immediately. Any unauthorized view, usage or disclosure of this message or information therein is prohibited. E-mail messages may in general be unreliable, EDO Network Services, Inc. shall not be liable for any message if modified, changed or falsified. The recipient should ensure that this email message is virus free before they open or view it.
From: Areski Belaid [mailto:notifications@github.com] Sent: Monday, July 27, 2015 7:01 AM To: Star2Billing/a2billing a2billing@noreply.github.com Cc: NogieGit nogie.ekunwe@edonetworkservices.com Subject: Re: [a2billing] Blank page after installing latest version of a2billing (#104)
which php version are you running?
— Reply to this email directly or view it on GitHub https://github.com/Star2Billing/a2billing/issues/104#issuecomment-125180041 .
As this requirement for Composer is a fairly big change, it might be worthwhile putting a check in place, so that if autoload.php can't be included, it shows an error message. Over the last few years I think everyone has gotten used to just untarring over the old version and updating the database.
This composer virus ask impossible things.
-bash-4.1$ php ../composer.phar install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Your requirements could not be resolved to an installable set of packages.
Problem 1
Guys, centos 6 and PHP 5.3.3 is a good system, is it possible to download somewhere working tar that simply includes required vendor/autoload.php? What is symfony/yaml and why I need it? Is it PHP module? What is the last working version of A2Billing? This composer makes deployment platform dependant and too complicated. This is development tool, why not to package source code of VI and ED editors as dependency then ;) They are very useful editors ;)
-bash-4.1$ php ../composer.phar update Loading composer repositories with package information Updating dependencies (including require-dev) Nothing to install or update
[ErrorException] file_put_contents(./composer.lock): failed to open stream: Permission denied
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [packages1] ... [packagesN]
Current folder is writable why not to create lock file? Of course no way to run this virus as root.
Got it working. User that execute "update" and "install" should have rights to entire a2b tree. And it will forgive you not to have symfony/yaml even with PHP 5.3.9. I will tar it, if someone need it I can share ;)
Pls share. Edo.ekunwe@gmail.com
Thanks
Nogie Ekunwe 601.497.3932
On Aug 25, 2015, at 12:29 AM, Andres Moya notifications@github.com wrote:
Got it working. User that execute "update" and "install" should have rights to entire a2b tree. And it will forgive you not to have symfony/yaml even with PHP 5.3.9. I will tar it, if someone need it I can share ;)
— Reply to this email directly or view it on GitHub.
Hi, Yes, please share. talsinki@gmail.com
Greetings
On 25.8.2015, at 8.29, Andres Moya notifications@github.com wrote:
Got it working. User that execute "update" and "install" should have rights to entire a2b tree. And it will forgive you not to have symfony/yaml even with PHP 5.3.9. I will tar it, if someone need it I can share ;)
— Reply to this email directly or view it on GitHub.
Hi andres-moya
Please share samy.battar@gmail.com
Kind regards
I need help
email me that tar please krystian26@gmail.com
or how do I fix this?
[root@vodeoo a2billing]# php composer.phar update Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.
Problem 1
Potential causes:
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems. [root@vodeoo a2billing]# php composer.phar install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Your requirements could not be resolved to an installable set of packages.
Problem 1
@Hostile it's telling you that it needs you to upgrade your PHP to 5.3.9 or newer 5.5 or 5.6 are the minimum recommended PHP versions now according to php.net the creators of PHP. 5.3.x and 5.4.x are past their end of life, no longer supported and discouraged to be used for security reasons. Reference: http://php.net/supported-versions.php
This error continue again? I tried to use php 5.6 but this error continues see the log
[Sun Jan 03 19:23:24 2016] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations [Sun Jan 03 19:23:29 2016] [error] [client 192.168.25.100] PHP Warning: require_once(/var/www/a2billing/common/lib/../../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/a2billing/common/lib/admin.defines.php on line 33 [Sun Jan 03 19:23:29 2016] [error] [client 192.168.25.100] PHP Fatal error: require_once(): Failed opening required '/var/www/a2billing/common/lib/../../vendor/autoload.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/a2billing/common/lib/admin.defines.php on line 33 [Sun Jan 03 19:23:30 2016] [error] [client 192.168.25.100] PHP Warning: require_once(/var/www/a2billing/common/lib/../../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/a2billing/common/lib/admin.defines.php on line 33 [Sun Jan 03 19:23:30 2016] [error] [client 192.168.25.100] PHP Fatal error: require_once(): Failed opening required '/var/www/a2billing/common/lib/../../vendor/autoload.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/a2billing/common/lib/admin.defines.php on line 33 [Sun Jan 03 19:23:34 2016] [error] [client 192.168.25.100] PHP Warning: require_once(/var/www/a2billing/common/lib/../../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/a2billing/common/lib/admin.defines.php on line 33 [Sun Jan 03 19:23:34 2016] [error] [client 192.168.25.100] PHP Fatal error: require_once(): Failed opening required '/var/www/a2billing/common/lib/../../vendor/autoload.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/a2billing/common/lib/admin.defines.php on line 33
I use a Debian 7.9
Hi, Very weird... I followed all instruction and got a perfectly running system - used it over a month now. Rebooted the server yesterday with no changes done... and all of a sudden cannot access - get error 500 page and in error_log I see: PHP Warning: include(../lib/admin.defines.php): failed to open stream: No such file or directory in /var/www/html/a2billing/admin/Public/index ......
I tried to follow all solutions suggested but didn't succeed...
Any suggestions?
Ami
Would be happy to take a look ?
Of course How can I do that?
When would you like me to take a look?
Sent from my iPhone
On 22 Jan 2017, at 16:15, shalmon1 notifications@github.com wrote:
Of course I can I do that?
Sent from my iPhone.
On 22 Jan 2017, at 18:05, pcdrob123 notifications@github.com<mailto:notifications@github.com> wrote:
Would be happy to take a look ?
- You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/Star2Billing/a2billing/issues/104#issuecomment-274339755, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYHHwNRMP47VrxIQPd8soPa0yx-8AoTQks5rU35SgaJpZM4EtvJq. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Whenever convenient to you. I am here...
This is absolutely related problem:
http://serverfault.com/questions/810782/fixing-path-issues-on-php-application
If I change the path manually in the file I can get the login screen again (but cannot pass it)
What type of server are you running A2B on
Sent from my iPhone
On 22 Jan 2017, at 16:19, shalmon1 notifications@github.com wrote:
pcdrob123
Hosted VPS - installed with the FreePBX disto than a2billing. It's centos 64bit 6.6 PHP 5.3.28 Asterisk 11.23.1
How can you send me over vps details
Sent from my iPhone
On 22 Jan 2017, at 16:52, shalmon1 notifications@github.com wrote:
Hosted VPS - installed with the FreePBX disto than a2billing. It's centos 64bit 6.6 PHP 5.3.28
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
[Thu May 28 19:02:36 2015] [error] [client 134.249.181.77] 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 [Thu May 28 19:02:36 2015] [error] [client 134.249.181.77] 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
---SEEMS there is no such file at all