1 (edited by barneyfa 11/11/2011 01:03:46 pm)

Topic: Installation FA238 on windows fails, on linux ok

Hello!
Tryin' to install on windows brings up error >>call to a member function run() on a non-object<<, installation on linux works well.
Any ideas?

barney

Re: Installation FA238 on windows fails, on linux ok

Strange, I have just tried an installation from the frontaccounting-2.3.8.zip file on a Windows Server and everything went well. Maybe a corrupted zip file? or maybe somebody from the audience can tell us more about that?

/Joe

Re: Installation FA238 on windows fails, on linux ok

Hi Joe!
Well, I don't think it is a corrupted zip file, as I used the same for the linux installation.
Maybe, It has got something to do with windows 7 admission rights for directories or so?!?!
On the other hand, installations from 2.3.1 to 2.3.7 worked well on the same system.
Hm????

barney

Re: Installation FA238 on windows fails, on linux ok

I use Windows 7 on my server. Hopefully somebody can tell us what could be wrong.

/Joe

Re: Installation FA238 on windows fails, on linux ok

can't update on windows xp. No error message, just a blank screen.

Markus

6 (edited by Apple 11/12/2011 05:38:59 am)

Re: Installation FA238 on windows fails, on linux ok

I have a similar problem with barneyfa and kyomar. I am using WinXp Pro Sp3 Internet Explorer 8.

Re: Installation FA238 on windows fails, on linux ok

If you get these problems during install then put the following lines first in your /install/index.php

        error_reporting(E_ALL);
        ini_set("display_errors", "On");

or if you are updating then set the $go_debug flag in the config.php file to 1.
It will eventually trap any errors.

/Joe

Re: Installation FA238 on windows fails, on linux ok

It's all the same: empty screen.
Error happens in isession.inc, line 22: $Ajay->run. Error message I wrote in my first message, see above.
Maybe, there is another error before which triggers this one ?!?!
barney

9 (edited by Apple 11/12/2011 12:11:10 pm)

Re: Installation FA238 on windows fails, on linux ok

Hi Joe,
The following errors are recorded in /install/error_log after insert the following lines in /install/index.php :
        error_reporting(E_ALL);
        ini_set("display_errors", "On");


[12-Nov-2011 20:03:14] ::language.php:15: include_once(../lang/installed_languages.inc) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory
[12-Nov-2011 20:03:14] ::language.php:15: include_once() [<a href='function.include'>function.include</a>]: Failed opening '../lang/installed_languages.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')
[12-Nov-2011 20:03:45] ::language.php:15: include_once(../lang/installed_languages.inc) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory
[12-Nov-2011 20:03:45] ::language.php:15: include_once() [<a href='function.include'>function.include</a>]: Failed opening '../lang/installed_languages.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')

Please help.

Thanks

Re: Installation FA238 on windows fails, on linux ok

I will forward this thread to Janusz. He rewrote some routines here a while ago. Maybe he can find something.

/Joe

Re: Installation FA238 on windows fails, on linux ok

This is really strange. I guess this can be related to php version you use. I have encountered similar problem on some php 5.2.x i nstallation some time ago. Unfortunately I have no access to Win based FA installation, but you can try adding following line at the top of install/index.php:

global $Ajax;

just below line containing '$path_to_root="..";
Janusz

Re: Installation FA238 on windows fails, on linux ok

Hi janusz,
unfortunately, it is not working, got still empty window.
I use PHP 5.3.1.
Well, here is, what Apache error log shows:

[Wed Nov 16 09:40:38 2011] [error] [client ::1] ::language.php:15: include_once(./lang/installed_languages.inc) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory
[Wed Nov 16 09:40:38 2011] [error] [client ::1] ::language.php:15: include_once() [<a href='function.include'>function.include</a>]: Failed opening './lang/installed_languages.inc' for inclusion (include_path='.;C:\\xampp\\php\\PEAR')
[Wed Nov 16 09:40:38 2011] [error] [client ::1] ::session.inc:297: Non-static method SessionManager::sessionStart() should not be called statically
[Wed Nov 16 09:40:38 2011] [error] [client ::1] 0::session.inc:28: Non-static method SessionManager::validateSession() should not be called statically
[Wed Nov 16 09:40:38 2011] [error] [client ::1] 0::session.inc:31: Non-static method SessionManager::preventHijacking() should not be called statically
[Wed Nov 16 09:40:38 2011] [error] [client ::1] ::language.php:15: include_once(../lang/installed_languages.inc) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory
[Wed Nov 16 09:40:38 2011] [error] [client ::1] ::language.php:15: include_once() [<a href='function.include'>function.include</a>]: Failed opening '../lang/installed_languages.inc' for inclusion (include_path='.;C:\\xampp\\php\\PEAR')



Any ideas??
Regards,
barney