WI 1.0-alpha1 installation issue.

Submitted by tdxtik on 2010-05-31

Hi Michal,

It is impossible to install WI server 1.0-alpha1.
It creates the table, inserts the initial data into tables (admin/pass) and gets back to the DB configuration page (didn't finish the installation).

BTW: Where 1.0 keeps config files? I suspect they aren't being created.

Regards,
Albert

The config file should be created in the data/config directory. The setup wizard checks if that directory is writable but maybe this test fails for some reason. Generally the whole data directory and its subdirectories should be writable for the server.

Regards,
Michał

The server is my local machine with Windows XP and xampp. So all directories are writable.
Still there is no config files in data/config directory.
I will debug the PHP script and will try to provide more detailed info.

Regards,
Albert

I just tested WI with Xampp and I found a bug which prevents it from working on PHP 5.3.

To fix it, open system/db/mysqli/engine.inc.php and change line 115 from:

$args = array_merge( array( $statement, $types ), $params );

to:

$args = array( $statement, $types );
        foreach ( $params as $key => $param )
            $args[ $key + 2 ] =& $params[ $key ];

Sorry I didn't test this earlier, but I was under high time pressure.

By the way, to debug such situations just enable logging as described in the INSTALL file. You can also enable displaying detailed errors on screen by putting debug_info = on in the site.ini file.

Regards,
Michał

Hi there,

I was very interested in the new alpha version, so I tried to install it, but on the "engine" install page I was stucked.. He said that there where no engines available.

Next thing I did was enable the logging, and this is wat I get.. I tried to fix it, but I can't, maybe you will look at it?

[2010-07-10 18:48:17, ***IP***]

Running script: /admin/setup/install.php
Executing page: Admin_Setup_Install
*** PHP Notice: Indirect modification of overloaded property Admin_Setup_Install::$page has no effect in /var/www/vhosts/oostdesign.nl/subdomains/issues2/httpdocs/system/web/form.inc.php on line 119
*** PHP Notice: Indirect modification of overloaded property Admin_Setup_Install::$language has no effect in /var/www/vhosts/oostdesign.nl/subdomains/issues2/httpdocs/system/web/form.inc.php on line 105
*** PHP Notice: Indirect modification of overloaded property Admin_Setup_Install::$language has no effect in /var/www/vhosts/oostdesign.nl/subdomains/issues2/httpdocs/system/web/form.inc.php on line 107
*** PHP Notice: Indirect modification of overloaded property Admin_Setup_Install::$engine has no effect in /var/www/vhosts/oostdesign.nl/subdomains/issues2/httpdocs/system/web/form.inc.php on line 105
*** PHP Notice: Indirect modification of overloaded property Admin_Setup_Install::$engine has no effect in /var/www/vhosts/oostdesign.nl/subdomains/issues2/httpdocs/system/web/form.inc.php on line 107
*** PHP Notice: Indirect modification of overloaded property Admin_Setup_Install::$host has no effect in /var/www/vhosts/oostdesign.nl/subdomains/issues2/httpdocs/system/web/form.inc.php on line 105
*** PHP Notice: Indirect modification of overloaded property Admin_Setup_Install::$host has no effect in /var/www/vhosts/oostdesign.nl/subdomains/issues2/httpdocs/system/web/form.inc.php on line 107
[...]
Total execution time: 21.5 ms

Regards, Bert

[edit]
Locally it works fine.. I saw a difference between PHP versions, this should do the trick.. locally I used PHP5.2.6 (lenny) and online I use PHP5.2.0 (etch)

Thanks for reporting this issue. It is related to bug #39449 in PHP 5.2.0 which was fixed in version 5.2.1. Unfortunately there is no easy workaround so the minimum required version for WebIssues will be 5.2.1.

Regards,
Michał