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

Blank page after upgrade
http://forum.asterisk2billing.org/viewtopic.php?f=33&t=10952
Page 1 of 1

Author:  Suprazz [ Tue Oct 14, 2014 9:56 am ]
Post subject:  Blank page after upgrade

Hi, I'm running A2billing with freepbx.

I'm trying to upgrade a2billing from 2.0.1 to 2.0.16.

Everything work with symlink so I only need to rename the a2billing in /usr/local/srv to change a2billing version.

Version 1.9.X is working and version 2.0.1 is working.

But when I try to upgrade to version 2.0.16, I get the admin login page, and after it's an empty page and I get this errors in the httpd log:

[Fri Oct 10 20:08:48 2014] [error] [client 127.0.0.1] PHP Notice: Undefined variable: form_action in /usr/local/src/a2billing/common/lib/Misc.php on line 362
[Fri Oct 10 20:08:48 2014] [error] [client 127.0.0.1] PHP Notice: Undefined variable: atmenu in /usr/local/src/a2billing/common/lib/Misc.php on line 362
[Fri Oct 10 20:08:48 2014] [error] [client 127.0.0.1] PHP Notice: Undefined variable: action in /usr/local/src/a2billing/common/lib/Misc.php on line 362
[Fri Oct 10 20:08:48 2014] [error] [client 127.0.0.1] PHP Notice: Undefined variable: stitle in /usr/local/src/a2billing/common/lib/Misc.php on line 362
[Fri Oct 10 20:08:48 2014] [error] [client 127.0.0.1] PHP Notice: Undefined variable: sub_action in /usr/local/src/a2billing/common/lib/Misc.php on line 362
[Fri Oct 10 20:08:48 2014] [error] [client 127.0.0.1] PHP Notice: Undefined variable: IDmanager in /usr/local/src/a2billing/common/lib/Misc.php on line 362
[Fri Oct 10 20:08:48 2014] [error] [client 127.0.0.1] PHP Notice: Undefined variable: current_page in /usr/local/src/a2billing/common/lib/Misc.php on line 362
[Fri Oct 10 20:08:48 2014] [error] [client 127.0.0.1] PHP Notice: Undefined variable: order in /usr/local/src/a2billing/common/lib/Misc.php on line 362
[Fri Oct 10 20:08:48 2014] [error] [client 127.0.0.1] PHP Notice: Undefined variable: sens in /usr/local/src/a2billing/common/lib/Misc.php on line 362
[Fri Oct 10 20:08:48 2014] [error] [client 127.0.0.1] PHP Notice: Undefined variable: mydisplaylimit in /usr/local/src/a2billing/common/lib/Misc.php on line 362
[Fri Oct 10 20:08:48 2014] [error] [client 127.0.0.1] PHP Notice: Undefined variable: filterprefix in /usr/local/src/a2billing/common/lib/Misc.php on line 362
[Fri Oct 10 20:08:48 2014] [error] [client 127.0.0.1] PHP Notice: Undefined variable: cssname in /usr/local/src/a2billing/common/lib/Misc.php on line 362
[Fri Oct 10 20:08:48 2014] [error] [client 127.0.0.1] PHP Notice: Undefined variable: popup_select in /usr/local/src/a2billing/common/lib/Misc.php on line 362
[Fri Oct 10 20:08:48 2014] [error] [client 127.0.0.1] PHP Notice: Undefined variable: popup_formname in /usr/local/src/a2billing/common/lib/Misc.php on line 362
[Fri Oct 10 20:08:48 2014] [error] [client 127.0.0.1] PHP Notice: Undefined variable: popup_fieldname in /usr/local/src/a2billing/common/lib/Misc.php on line 362
[Fri Oct 10 20:08:48 2014] [error] [client 127.0.0.1] PHP Notice: Undefined variable: ui_language in /usr/local/src/a2billing/common/lib/Misc.php on line 362
[Fri Oct 10 20:08:48 2014] [error] [client 127.0.0.1] PHP Notice: Undefined variable: msg in /usr/local/src/a2billing/common/lib/Misc.php on line 362
[Fri Oct 10 20:08:48 2014] [error] [client 127.0.0.1] PHP Notice: Undefined variable: section in /usr/local/src/a2billing/common/lib/Misc.php on line 362
[Fri Oct 10 20:08:48 2014] [error] [client 127.0.0.1] PHP Notice: Undefined variable: cssname in /usr/local/src/a2billing/common/lib/Misc.php on line 362
[Fri Oct 10 20:08:48 2014] [error] [client 127.0.0.1] PHP Notice: Undefined variable: err_type in /usr/local/src/a2billing/common/lib/Misc.php on line 362

I'm pretty sure it's a simple thing but after many days of search and trying to figure this out I still have the same problem.

Any suggestions? Thanks!

Author:  Suprazz [ Tue Oct 14, 2014 11:56 pm ]
Post subject:  Re: Blank page after upgrade

the problem is on the function sanitize_data at line 362 in misc.php

Author:  dbbrito [ Wed Oct 22, 2014 5:47 pm ]
Post subject:  Re: Blank page after upgrade

I am having the same problem!

Author:  bucasia [ Mon Oct 27, 2014 2:27 pm ]
Post subject:  Re: Blank page after upgrade

I don't think those errors are related to your problem. They are only notices about undefined variables.

Are you sure your session folder is writable by the Apache user (/var/lib/php/session ?)

Author:  saigop [ Fri Jan 30, 2015 4:34 pm ]
Post subject:  Re: Blank page after upgrade

I have the same issue, even though I allowed write permission to /var/lib/php/sessions, still i have the same error,

[Fri Jan 30 13:57:18 2015] [error] [client 10.30.201.226] PHP Notice: Undefined variable: form_action in /var/www/html/a2billing/common/lib/Misc.php on line 362, referer: http://10.20.253.200/a2billing/
[Fri Jan 30 13:57:18 2015] [error] [client 10.30.201.226] PHP Notice: Undefined variable: atmenu in /var/www/html/a2billing/common/lib/Misc.php on line 362, referer: http://10.20.253.200/a2billing/
[Fri Jan 30 13:57:18 2015] [error] [client 10.30.201.226] PHP Notice: Undefined variable: action in /var/www/html/a2billing/common/lib/Misc.php on line 362, referer: http://10.20.253.200/a2billing/
[Fri Jan 30 13:57:18 2015] [error] [client 10.30.201.226] PHP Notice: Undefined variable: stitle in /var/www/html/a2billing/common/lib/Misc.php on line 362, referer: http://10.20.253.200/a2billing/
[Fri Jan 30 13:57:18 2015] [error] [client 10.30.201.226] PHP Notice: Undefined variable: sub_action in /var/www/html/a2billing/common/lib/Misc.php on line 362, referer: http://10.20.253.200/a2billing/
[Fri Jan 30 13:57:18 2015] [error] [client 10.30.201.226] PHP Notice: Undefined variable: IDmanager in /var/www/html/a2billing/common/lib/Misc.php on line 362, referer: http://10.20.253.200/a2billing/
[Fri Jan 30 13:57:18 2015] [error] [client 10.30.201.226] PHP Notice: Undefined variable: current_page in /var/www/html/a2billing/common/lib/Misc.php on line 362, referer: http://10.20.253.200/a2billing/
[Fri Jan 30 13:57:18 2015] [error] [client 10.30.201.226] PHP Notice: Undefined variable: order in /var/www/html/a2billing/common/lib/Misc.php on line 362, referer: http://10.20.253.200/a2billing/
[Fri Jan 30 13:57:18 2015] [error] [client 10.30.201.226] PHP Notice: Undefined variable: sens in /var/www/html/a2billing/common/lib/Misc.php on line 362, referer: http://10.20.253.200/a2billing/
[Fri Jan 30 13:57:18 2015] [error] [client 10.30.201.226] PHP Notice: Undefined variable: mydisplaylimit in /var/www/html/a2billing/common/lib/Misc.php on line 362, referer: http://10.20.253.200/a2billing/
[Fri Jan 30 13:57:18 2015] [error] [client 10.30.201.226] PHP Notice: Undefined variable: filterprefix in /var/www/html/a2billing/common/lib/Misc.php on line 362, referer: http://10.20.253.200/a2billing/
[Fri Jan 30 13:57:18 2015] [error] [client 10.30.201.226] PHP Notice: Undefined variable: cssname in /var/www/html/a2billing/common/lib/Misc.php on line 362, referer: http://10.20.253.200/a2billing/
[Fri Jan 30 13:57:18 2015] [error] [client 10.30.201.226] PHP Notice: Undefined variable: popup_select in /var/www/html/a2billing/common/lib/Misc.php on line 362, referer: http://10.20.253.200/a2billing/
[Fri Jan 30 13:57:18 2015] [error] [client 10.30.201.226] PHP Notice: Undefined variable: popup_formname in /var/www/html/a2billing/common/lib/Misc.php on line 362, referer: http://10.20.253.200/a2billing/
[Fri Jan 30 13:57:18 2015] [error] [client 10.30.201.226] PHP Notice: Undefined variable: popup_fieldname in /var/www/html/a2billing/common/lib/Misc.php on line 362, referer: http://10.20.253.200/a2billing/
[Fri Jan 30 13:57:18 2015] [error] [client 10.30.201.226] PHP Notice: Undefined variable: ui_language in /var/www/html/a2billing/common/lib/Misc.php on line 362, referer: http://10.20.253.200/a2billing/
[Fri Jan 30 13:57:18 2015] [error] [client 10.30.201.226] PHP Notice: Undefined variable: msg in /var/www/html/a2billing/common/lib/Misc.php on line 362, referer: http://10.20.253.200/a2billing/
[Fri Jan 30 13:57:18 2015] [error] [client 10.30.201.226] PHP Notice: Undefined variable: section in /var/www/html/a2billing/common/lib/Misc.php on line 362, referer: http://10.20.253.200/a2billing/
[Fri Jan 30 13:57:18 2015] [error] [client 10.30.201.226] PHP Notice: Undefined variable: cssname in /var/www/html/a2billing/common/lib/Misc.php on line 362, referer: http://10.20.253.200/a2billing/

And even this type of error occurs when i try to fetch data from my CDR, and no values are showing up in the GUI.

Any comments would be much appreciated.

Thanks.

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