Bug: Flux CMS snapshot

Andreas Bachmann <[email protected]> Wed, 16 Dec 2009 21:07:30 +0100
Newsgroups gmane.comp.cms.bitflux.general
Message-ID <e2840d9e221454e2e5ef2bdc08fe1131@localhost>
Hi,

Env:
WinXP
Apache 2.2.14
mod_fcgid 2.3.4
PHP 5.3.1
MySQL 5.1.41-community

When I'd like to install Flux CMS, an error came:
[...]
Checking for MySQL Support ... Wrong version.
Flux CMS cannot be installed due to:
MySQL too old. Should be >= 4.0, is mysqlnd 5.0.5-dev - 081106 - $Revision:
289630 $
[...]

I fixed the part:
function getMysqlVersion() {
    if (extension_loaded("mysqli")) {
        $mysql_version = @mysqli_get_server_info();
        if (!$mysql_version) {
            $mysql_version = @mysqli_get_client_info();
        }
    } else {
        $mysql_version = @mysql_get_server_info();
        if (!$mysql_version) {
            $mysql_version = @mysql_get_client_info();
        }
    }
    
    if (strpos($mysql_version, "mysqlnd") == 0) {
        $arr = explode(" ", $mysql_version);
        $mysql_version = $arr[1];
    }
    
    return $mysql_version;
}

Another thing: install/.htaccess has php module specific commands and
brought me a "500 Internal Server Error"
[...]
[Wed Dec 16 20:53:26 2009] [alert] [client 127.0.0.1]
F:/apache2.2/htdocs/fluxcms/install/.htaccess: Invalid command 'php_value',
perhaps misspelled or defined by a module not included in the server
configuration
[...]

greets

Andreas
-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms