pp wrote:

> > >
> > > I tried to use pageresolve but I do not know where it is dumped.
> >
> > midgard-pageresolve -u /admin/ -v -d /dev/null
>
> Working site:
>
> midgard-pageresolve -S localhost  -p 8099 -u / -r /var/www/midgard-root.php4  -d 
>./normal.html
> Touching the cache
> Resolving host: http://localhost:8099/
> Host found: 33 in sitegroup 3
> Resolving page: http://localhost:8099/
> Page found: 126, active=0, redirect=0
> Path: 126:
> Style: 40

You should see 'Storing'... here. This confirms that you don't have
cache entries present... but there should be. The cache is being touch
(see above) and at this point midgard-pageresolve should be reloading
the cache. Does style 40 have any elements?

>    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");
> ?>

You must fetch a newer version of the root file for MMP to work. There's
a bug in the one used to generate this cache file.

> Style: 1
> Rebuilding cache for 5

Same problem here... do you see queries like

SELECT id,name,value FROM element WHERE style=40

in your mysql log? And if you execute this query by hand, how many
elements are returned?

Emile



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

Reply via email to