1 (edited by Uetzwurschd 07/01/2017 01:53:55 pm)

Topic: Error installing 2.4.1 (XAMPP 3.2.2)

Hi,
when installing the new release of frontaccounting, I get an error...
The recent distribution of XAMPP (3.2.2) comes with MariaDB 10.1.24, Apache 2.4.25 and PHP 7.1.6.

The error when accessing frontaccounting is as follows:

=======================================
Notice: Trying to get property of non-object in C:\xampp\htdocs\frontaccounting\includes\errors.inc on line 74

Fatal error: Uncaught Error: Call to undefined function user_company() in C:\xampp\htdocs\frontaccounting\includes\errors.inc:85 Stack trace: #0 C:\xampp\htdocs\frontaccounting\install\isession.inc(84): error_handler(8192, 'Methods with th...', 'C:\\xampp\\htdocs...', 19, Array) #1 C:\xampp\htdocs\frontaccounting\install\isession.inc(84): include_once() #2 C:\xampp\htdocs\frontaccounting\install\index.php(18): include('C:\\xampp\\htdocs...') #3 {main} thrown in C:\xampp\htdocs\frontaccounting\includes\errors.inc on line 85
=======================================




This is the error I get when changing the errors.inc with the recent information on sourceforge...

=======================================
Fatal error: Uncaught Error: Call to undefined function user_company() in C:\xampp\htdocs\frontaccounting\includes\errors.inc:85 Stack trace: #0 C:\xampp\htdocs\frontaccounting\install\isession.inc(84): error_handler(8192, 'Methods with th...', 'C:\\xampp\\htdocs...', 19, Array) #1 C:\xampp\htdocs\frontaccounting\install\isession.inc(84): include_once() #2 C:\xampp\htdocs\frontaccounting\install\index.php(18): include('C:\\xampp\\htdocs...') #3 {main} thrown in C:\xampp\htdocs\frontaccounting\includes\errors.inc on line 85
=======================================

Anybody else facing this issue?! Is there a solution?!

Thanks...

Re: Error installing 2.4.1 (XAMPP 3.2.2)

This has been rectified in later commits. Just overwrite your files with those from the attachment in this post.

Re: Error installing 2.4.1 (XAMPP 3.2.2)

Hi,
thank you very much for your fast reply.
Unfortunately, it didn't solve the problem...

Here the error:

=====================================
Fatal error: Uncaught Error: Call to undefined function user_company() in C:\xampp\htdocs\frontaccounting\includes\errors.inc:85 Stack trace: #0 C:\xampp\htdocs\frontaccounting\install\isession.inc(84): error_handler(8192, 'Methods with th...', 'C:\\xampp\\htdocs...', 19, Array) #1 C:\xampp\htdocs\frontaccounting\install\isession.inc(84): include_once() #2 C:\xampp\htdocs\frontaccounting\install\index.php(18): include('C:\\xampp\\htdocs...') #3 {main} thrown in C:\xampp\htdocs\frontaccounting\includes\errors.inc on line 85
=====================================

Before updating XAMPP to the latest version, it worked :-(
So, I guess it has something to do with apache...

Re: Error installing 2.4.1 (XAMPP 3.2.2)

The latest version of XAMPP uses PP 7.0.x and 7.1.x. What versions of PHP/MySQL are you using? It is safe ti use FA on PHP version upto 5.3.x and MySQL upto v5.5 and some tweaks may be needed thereafter.

Also see if this post is helpful.