Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sat Mar 30, 2024 6:29 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Problem installing A2Billing -- blank page (cont..)
PostPosted: Mon Jul 02, 2007 2:49 am 
Offline

Joined: Wed Mar 15, 2006 8:46 am
Posts: 109
Quote:
Hello everybody. I am having problems with the A2Billing installation.

First at all, I have zero experience in PHP, Apache and MYSQL. I do know how to follow instructions. Because of that, I have two questions based on the installation guide (maybe I missed something or simply I do not understand it).

1) If I want to use MYSQL, should I ignore everything related to postgresql installations and modifications?

2) When I point my browser to http://127.0.0.1/A2Billing_UI/index.php
I receive a blank page, what could it be?

Thank you for your help

David Medina


Please refer to old post for more information.

http://forum.asterisk2billing.org/viewtopic.php?t=2192

Install from ./install.sh will solve my problem.


Last edited by johnaa on Tue Jul 03, 2007 2:08 am, edited 2 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 02, 2007 7:55 pm 
Offline

Joined: Thu Jun 28, 2007 11:55 am
Posts: 13
Location: Herent, Belgium
asiby wrote:
henkoegema, is your linux box a testing box? If so, if you don't mine, I can take a quick look at it with putty, vnc, ... I maybe able to help. I have a great deal of experience in PHP, MySQL, Apache, ... we never know. My MSN is [email protected].


I'll appreciate that very much.
Will give you the details later.

Henk


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 05, 2007 11:56 am 
Offline

Joined: Mon Jul 02, 2007 4:38 pm
Posts: 6
Hi all. I've just installed the latest copy of 1.3.0 and I also get a blank screen for A2Billing_UI/index.php, A2Billing_UI/Public/index.php, and A2BCustomer_UI/index.php . Everything works fine with version 1.2.3.

I have no experience with Smarty, but I would imagine that the problem has something to do with Smarty?

I ran the database scripts on a new database and this didn't change anything (I still get a blank page with no source).

In index.php, there is the following:
Code:
$smarty->display('index.tpl');

I tried changing this to
Code:
$smarty->display('./templates/default/index.tpl');

but that also didn't change anything.

I set
Code:
var $debugging       =  true;

in lib/Smarty/Smarty.class.php(line 105), but there's still no output or errors.

Any other ideas?

(And for interest's sake, version 1.2.3 works great with the db set to mysql and the port to 5432 in a2billing.conf).


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 05, 2007 8:42 pm 
Offline

Joined: Thu Jun 28, 2007 11:55 am
Posts: 13
Location: Herent, Belgium
joshilewis wrote:
Hi all. I've just installed the latest copy of 1.3.0 and I also get a blank screen for A2Billing_UI/index.php, A2Billing_UI/Public/index.php, and A2BCustomer_UI/index.php .


So got I. :evil:

(but I keep smiling)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 05, 2007 9:10 pm 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
henkoegema, what is your time zone? I am in Eastern Time (GMT - 5)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 06, 2007 6:19 am 
Offline

Joined: Mon Jul 02, 2007 4:38 pm
Posts: 6
It seems like there are lots of problems with 1.3.0 at the moment. We've taken the decision to stay with 1.2.3 for the time being until things get sorted out with 1.3.0. I'm willing to help with trying to sort out 1.3.0 (the business can't afford the lag though) if anyone wants my help or has any ideas.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 07, 2007 11:00 am 
Offline

Joined: Thu Jun 28, 2007 11:55 am
Posts: 13
Location: Herent, Belgium
asiby wrote:
henkoegema, what is your time zone? I am in Eastern Time (GMT - 5)


I'm living in Belgium.

GMT + 1

But Now (summertime) GMT + 2


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 08, 2007 5:28 pm 
Offline

Joined: Sun Jul 08, 2007 5:23 pm
Posts: 6
if you're getting a blank page, go into your /etc/php.ini and set log_errors = On. Restart apache, and refresh the page.

This should narrow down your problem - if it's not a manager/mysql problem then it is most likely a file permission issue.

callingcard wrote:
Same thing here, installed from svn.

But maybe I am missing something.

Let's say i downloaded and put everything in /etc/asterisk2billing

But I don;t see any install.sh directory?


the install.sh will be in the addons directory. (A2Billing_1.3.0/addons)

best of luck!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 08, 2007 6:13 pm 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
You can also go into the web interface main directory (the same directory were index.php is located), and run the following:

Code:
php -l index.php


This will check for errors and display them.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 08, 2007 6:58 pm 
Offline

Joined: Thu Jun 28, 2007 11:55 am
Posts: 13
Location: Herent, Belgium
asiby wrote:
You can also go into the web interface main directory (the same directory were index.php is located), and run the following:

Code:
php -l index.php


This will check for errors and display them.


Can you please have a look at my attachment.

Rgds
Henk


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 09, 2007 1:43 am 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
Atrachment? Where? :o I think that you forgot to attach it.


Top
 Profile  
 
 Post subject: blank page
PostPosted: Mon Jul 09, 2007 9:30 am 
Offline

Joined: Tue Mar 13, 2007 7:16 am
Posts: 79
Hi
I got the same problem, blank page when I am using the new version of a2billing with Fedora 7.
I tried using ubuntu, but this time appache said permission denied on the folder /A2Billing_UI/templates_c, so I just tried chmod 777 templates_c, and the blank page desepired, so I am able to access the a2billing.

Still not testing it live, because I remember that on the last version when I am using ubuntu, a2billling.php script stop after 5 second and return 0, I don't know why in ubuntu but it work on suse and fedora, and I never got the answer for that on the fourm, most are not using ubuntu.

So for the blank page try to do the permission and let us know the result


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 31, 2007 9:09 pm 
Offline

Joined: Fri Oct 26, 2007 3:55 am
Posts: 7
Did you happen to log into the A2BCustomer_UI and change the design template? That's what I did causing the same issue. I just had to log back into the A2BCustomer_UI and change it back to default. :)

That being said... me thinks it's a template issue and if you can't fix it by doing what I said... Good luck, because I have no idea :)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 26, 2008 6:06 pm 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
You can also make sure that the templates_c folder has been chowned to the same user and group as the Apache an then chmoded to 755.

That folder is used but the Smarty template engine as cache folder and the Apache needs the in it for time to time.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 26, 2008 6:27 pm 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
Well the root owns apache. What you need to determine is "what user/group apache runs under"

In your apache configuration file, look for this kind of directives
Code:
User apache
Group apache


I have Apache2, so my conf is located at /etc/apache2/httpd.conf

You can also have a clue by checking the owner/groups of the files uploaded from a browser. The own and group will in that case become those of Apache (usually).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: No registered users and 11 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group