1 (edited by Nanayaw 05/17/2019 04:53:50 pm)

Topic: Blank page after logging in

I have been using front accounting for years and currently using FrontAccounting 2.3.24 . Since yesterday, anytime I log in, I get on  a blank page. I have read tons of related issues without finding a solution. I will be grateful if anyone can provide some assistance.

Re: Blank page after logging in

In config.php I have set  $go_debug to 1. This is the response I am seeing:
Methods with the same name as their class will not be constructors in a future version of PHP; current_user has a deprecated constructor in file: /home/hapaweb/public_html/finance/includes/current_user.inc at line 19
Methods with the same name as their class will not be constructors in a future version of PHP; user_prefs has a deprecated constructor in file: /home/hapaweb/public_html/finance/includes/prefs/userprefs.inc at line 12
Methods with the same name as their class will not be constructors in a future version of PHP; front_accounting has a deprecated constructor in file: /home/hapaweb/public_html/finance/frontaccounting.php at line 24
Methods with the same name as their class will not be constructors in a future version of PHP; menu_item has a deprecated constructor in file: /home/hapaweb/public_html/finance/applications/application.php at line 22
Methods with the same name as their class will not be constructors in a future version of PHP; menu has a deprecated constructor in file: /home/hapaweb/public_html/finance/applications/application.php at line 34
Methods with the same name as their class will not be constructors in a future version of PHP; app_function has a deprecated constructor in file: /home/hapaweb/public_html/finance/applications/application.php at line 54
Methods with the same name as their class will not be constructors in a future version of PHP; module has a deprecated constructor in file: /home/hapaweb/public_html/finance/applications/application.php at line 70
Methods with the same name as their class will not be constructors in a future version of PHP; application has a deprecated constructor in file: /home/hapaweb/public_html/finance/applications/application.php at line 104
Methods with the same name as their class will not be constructors in a future version of PHP; customers_app has a deprecated constructor in file: /home/hapaweb/public_html/finance/applications/customers.php at line 12
Methods with the same name as their class will not be constructors in a future version of PHP; suppliers_app has a deprecated constructor in file: /home/hapaweb/public_html/finance/applications/suppliers.php at line 12
Methods with the same name as their class will not be constructors in a future version of PHP; inventory_app has a deprecated constructor in file: /home/hapaweb/public_html/finance/applications/inventory.php at line 12
Methods with the same name as their class will not be constructors in a future version of PHP; manufacturing_app has a deprecated constructor in file: /home/hapaweb/public_html/finance/applications/manufacturing.php at line 12
Methods with the same name as their class will not be constructors in a future version of PHP; dimensions_app has a deprecated constructor in file: /home/hapaweb/public_html/finance/applications/dimensions.php at line 12
Methods with the same name as their class will not be constructors in a future version of PHP; general_ledger_app has a deprecated constructor in file: /home/hapaweb/public_html/finance/applications/generalledger.php at line 12
Methods with the same name as their class will not be constructors in a future version of PHP; setup_app has a deprecated constructor in file: /home/hapaweb/public_html/finance/applications/setup.php at line 12
Methods with the same name as their class will not be constructors in a future version of PHP; language has a deprecated constructor in file: /home/hapaweb/public_html/finance/includes/lang/language.php at line 18
Methods with the same name as their class will not be constructors in a future version of PHP; Ajax has a deprecated constructor in file: /home/hapaweb/public_html/finance/includes/ajax.inc at line 14
Methods with the same name as their class will not be constructors in a future version of PHP; JsHttpRequest has a deprecated constructor in file: /home/hapaweb/public_html/finance/includes/JsHttpRequest.php at line 21
Methods with the same name as their class will not be constructors in a future version of PHP; sys_prefs has a deprecated constructor in file: /home/hapaweb/public_html/finance/includes/prefs/sysprefs.inc at line 14
Methods with the same name as their class will not be constructors in a future version of PHP; dashboard_app has a deprecated constructor in file: /home/hapaweb/public_html/finance/modules/dashboard/dashboard.php at line 9
Methods with the same name as their class will not be constructors in a future version of PHP; widget has a deprecated constructor in file: /home/hapaweb/public_html/finance/modules/dashboard/dashboard.php at line 114
Methods with the same name as their class will not be constructors in a future version of PHP; supp_trans has a deprecated constructor in file: /home/hapaweb/public_html/finance/purchasing/includes/supp_trans_class.inc at line 17
Methods with the same name as their class will not be constructors in a future version of PHP; grn_item has a deprecated constructor in file: /home/hapaweb/public_html/finance/purchasing/includes/supp_trans_class.inc at line 188
Methods with the same name as their class will not be constructors in a future version of PHP; gl_codes has a deprecated constructor in file: /home/hapaweb/public_html/finance/purchasing/includes/supp_trans_class.inc at line 240

Re: Blank page after logging in

It looks like your php version has changed.

Go to setup-> system information and there you will see the php version used.

You may need to be using a lower version for 2.3


Or upgrade to 2.4

The FrontAccounting Wiki(Manual, examples, tips, setup info, links to accounting sites, etc) https://frontaccounting.com/fawiki/

Re: Blank page after logging in

Thanks, Poncho123, I set it the PHP version to 5.4 but that did solve the issue so I will proceed to upgrade to version 2.4

5 (edited by poncho1234 05/17/2019 08:09:33 pm)

Re: Blank page after logging in

did you restart your server?

is System Diagnostics now showing V5.4?

For the record what was your previous php version?

The FrontAccounting Wiki(Manual, examples, tips, setup info, links to accounting sites, etc) https://frontaccounting.com/fawiki/

Re: Blank page after logging in

Poncho123, I upgraded to version 2.4. Now I have only two errors:
Methods with the same name as their class will not be constructors in a future version of PHP; dashboard_app has a deprecated constructor in file: /home/hapaweb/public_html/finance/modules/dashboard/dashboard.php at line 9
Methods with the same name as their class will not be constructors in a future version of PHP; widget has a deprecated constructor in file: /home/hapaweb/public_html/finance/modules/dashboard/dashboard.php at line 114

Re: Blank page after logging in

I solved the problem by deleting the dashboard folder in the inside  /home/hapaweb/public_html/finance/modules/.

Re: Blank page after logging in

Yes the dashboard is integrated in 2.4

The FrontAccounting Wiki(Manual, examples, tips, setup info, links to accounting sites, etc) https://frontaccounting.com/fawiki/