i've just tried a migration from an older site with midgard 1.2.5/PHP3:

        mysqldump yourbase > file.sql
        mysqladmin create database_new
        mysql database_new < empty.sql 
        mysql database_new < file.sql
        database-upgrade
        repligard -m -i AsgardSite.1.41.xml 

to 1.4.2/PHP4 ...
when i now call the site i get the following errors:

        Fatal error: Cannot use [] for reading in code-init on line 128
        Fatal error: Cannot use [] for reading in code-init on line 127

and sometimes also PHP-code snippets when i reload the page fast enough like:

----------------------------------------------------------------------------
Parse error: parse error in code-init on line 124
?><[function-lib]> 
<?php 
# Browser-Variablen 

    $Browser_Name = strtok($HTTP_USER_AGENT, "/"); 
    $Browser_Version = strtok(" "); 
     
    if(ereg("MSIE", $HTTP_USER_AGENT)) 
    { 
        $Browser_Name = "MSIE"; 
        $Browser_Version = strtok("MSIE"); 
        $Browser_Version = strtok(" "); 
        $Browser_Version = strtok(";"); 
[snip] --------------------------------------------------------------------

http error log says:
[error] PHP Fatal error:  Cannot use [] for reading in code-init on line 124

I thought PHP4 was designed to be as compatible with earlier versions of PHP.
Asgard instaed works fine except that i can't create a new host entry.

Does someone knows such a behavior ?
Do i have to change something in php.ini ?
any idea ...?


regards
-- 
Bernhard 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to