Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 29, 2024 9:12 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: New install - admin page, website cannot display the page
PostPosted: Thu May 07, 2015 8:55 am 
Offline

Joined: Thu May 07, 2015 8:36 am
Posts: 7
Hi all,

I'm new to linux and trying to get a2billing to work with ubuntu 14.04 and asterisk 13.3.2. I've a followed a few installation instructions for a2billing up until the stage where I attempt to log into the admin panel but I keep getting "http 500 internal server error, website cannot display the page".

I've set /var/www/html to www-data:www-data and permissions for anything underneath to 755 but the page is still not loading.

Had a look at the apache logs and I'm getting this:

PHP Warning: include(): Failed opening '../lib/admin.smarty.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/a2billing/admin/Public/index.php on line 35

PHP Fatal error: Call to undefined function getpost_ifset() in /var/www/html/a2billing/admin/Public/index.php on line 37


Top
 Profile  
 
 Post subject: Re: New install - admin page, website cannot display the page
PostPosted: Wed May 13, 2015 10:41 pm 
Offline

Joined: Sun Jan 13, 2013 5:43 pm
Posts: 3
You may have missed something when you copied the files to the /var/www/html directory for a2billing. Copy the files again and make sure you change ownership to asterisk.


Top
 Profile  
 
 Post subject: Re: New install - admin page, website cannot display the page
PostPosted: Wed May 27, 2015 9:50 pm 
Offline

Joined: Wed May 27, 2015 9:47 pm
Posts: 1
I have the same symptom, but a different error in my apache error log:

Fatal error: Class 'Factory\\SmartyFactory' not found in /var/www/html/a2billing/common/lib/admin.smarty.php on line 43


Top
 Profile  
 
 Post subject: Re: New install - admin page, website cannot display the page
PostPosted: Tue Jun 09, 2015 10:22 am 
Offline

Joined: Thu May 07, 2015 8:36 am
Posts: 7
Ok so got a bit further with this, I had a look at the index.php file and found lines 34 and 35 refers to path ..lib/admin/admin.defines.php and ..lib/admin/smarty.defines.php and it appeared to be having problems accessing these files.

So I changed the path to /var/www/html/a2billing/common/lib/admin.defines.php and /var/www/html/a2billing/common/lib/smarty.defines.php and I can now see the login page.

Now to see if I can actually login...


Top
 Profile  
 
 Post subject: Re: New install - admin page, website cannot display the page
PostPosted: Thu Jun 11, 2015 2:37 pm 
Offline

Joined: Thu May 07, 2015 8:36 am
Posts: 7
Nope couldn't login but I discovered that in the directory below (a2billing/admin/) there was an ASCII file containing a path to ../common/lib so I figured that line 34 in index.php which reads:

include '../lib/admin.defines.php';
include '../lib/admin.smarty.php';

Maybe be referring to the lib ASCII file which in turn points to ../common/lib but for some reason it doesn't seem to redirect properly ../common/lib properly.

I then had the idea of creating a symlink with call lib and removed the original ASCII file which works, only thing is I'm having to do this for every ASCII file and I'm sure this isn't the proper fix.


Top
 Profile  
 
 Post subject: Re: New install - admin page, website cannot display the page
PostPosted: Sun Jun 21, 2015 11:27 pm 
Offline

Joined: Sun Jun 21, 2015 5:48 pm
Posts: 4
The Admin page is trying to reach /common/lib link but something is preventing that process , i gave up on that when i was using Centos 6.5+Asterisk 13 .

Now i am installing Ubuntu 14.04 and try installing Asterisk then A2billing and hopefully it will work .

PS : Check files permission in /var/www/html/a2billing/* you might find something here .

Good luck


Top
 Profile  
 
 Post subject: Re: New install - admin page, website cannot display the page
PostPosted: Wed Jun 24, 2015 9:27 am 
Offline

Joined: Thu May 07, 2015 8:36 am
Posts: 7
Hi polow,

I had already reached the conclusion that something was preventing admin page from reaching the common/lib/ directory and that was using Ubuntu 14.04 with Asterisk 13 hence why I replaced the links with symlinks instead.

As for permissions I tried with different users and groups and even set access to 777 -R from the a2billing parent folder but nothing would work.

Let me know how you get on with Ubuntu, maybe you'll have better luck than me.


Top
 Profile  
 
 Post subject: Re: New install - admin page, website cannot display the page
PostPosted: Sun Nov 29, 2015 5:22 am 
Offline

Joined: Fri Nov 27, 2015 7:31 am
Posts: 10
same here

did u figure it out on ubuntu ?

[Sat Nov 28 22:38:41.568539 2015] [:error] [pid 1470] [client 125.26.204.115:523 40] PHP Fatal error: require_once(): Failed opening required '/var/www/html/a2b illing/common/lib/../../vendor/autoload.php' (include_path='.:/usr/share/php:/us r/share/pear') in /var/www/html/a2billing/common/lib/admin.defines.php on line 3 3


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 
Voice Broadcast System


All times are UTC


Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group