Torben Nehmer wrote:

> I have more info now, I replaced midgard-root.php with this:
>
> <? /* $Id: midgard-root.php,v 1.1 2001/02/23 23:08:04 emile Exp $ */
>    /* This is the Midgard root file.                          */
>    /* First we set up some global variables for Midgard pages */
>    /* and then we start the page generation process by        */
>    /* invoking a set of standard templates.                   */
>
>    /* Uncomment the following line if you want to get dates
>    /* localized (replace second parameter with correct locale)*/
>    /* setlocale("LC_ALL","ru_RU.KOI8-R");                     */
>
>    if(!function_exists("mgd_get_midgard")) {
>       dl("midgard.so");
>    }
>    if ($midgard = mgd_get_midgard()) {
>       $argc = $midgard->argc;
>       $argv = $midgard->argv;
>    }
>    /*mgd_eval("?>".mgd_template("code-compat")."<?","code-compat");
>    mgd_eval("?>".mgd_template("code-global")."<?","code-global");
>    mgd_eval("?>".mgd_template("code-init")."<?","code-init");
>    mgd_eval("?>".mgd_template("ROOT")."<?","ROOT");*/
> ?>
> <[code-compat]>
> <[code-global]>
> <[code-init]>
> <[ROOT]>

This is not the current MMP rootfile. Get the latest at
http://cvs.midgard-project.org/~checkout~/midgard/mod-preparser/midgard-root.php?rev=1.7&content-type=text/plain

The cache file looks OK, though. But to be on the safe side, install the
new rootfile, clear the cache directory, and try again.

Emile



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

Reply via email to