1

(24 replies, posted in Installation)

PaulShipley wrote:

Hi,

I had the same installation problem with FA2.4.2 and XAMPP3.2.2. Failed with:

  Fatal error: Uncaught Error: Call to undefined function user_company() in ...

I have fixed this and many deprecated messages. My changes can be found in https://github.com/PaulShipley/fa24

Cloned from https://github.com/FrontAccountingERP/FA on 14Aug2017 (last commit 5Aug2017). Tested with Windows 10 and XAMPP 3.2.2 (Apache 2.4.25, PHP 7.1.4, MariaDB 10.1.22).

Thanks


I am trying with your updated code but i get following error when i click continue on the first installation page:

method_exists(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "language" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in G:\Web\htdocs\fac\install\isession.inc on line 128


I have resolved this by editing the isession.inc file by substituting:

$_SESSION['language']->set_language($_SESSION['language']->code);
    $GetText->add_domain( $_SESSION['language']->code, $path_to_root."/install/lang");

with this:

if(isset($_SESSION['language']))
{
    $_SESSION['language']->set_language($_SESSION['language']->code);
    $GetText->add_domain( $_SESSION['language']->code, $path_to_root."/install/lang");
}

Now I am able to proceed with the installation smile