-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

- --On 27.03.2002 20:14:49 +0100 Emiliano wrote:

>> mysql> select count(id),type,page from cache where page=38 group by
>> type;
>> +-----------+------+------+
>> | count(id) | type | page |
>> +-----------+------+------+
>> |         9 |    0 |   38 |
>> +-----------+------+------+
>> 1 row in set (0.01 sec)
>> 
>> Again, no Style elements have been genereted.
> 
> Hmm... so, there are cache elements but only page elements... but
> midgard-pageresolve _does_ add the style elements?

Right. It goes a step further: midgard-pageresolve actually cleans the
cache table and refills it with the correct value for one page. Look at
this:

mysql> select count(id),type,page from cache group by type,page order
by page;
+-----------+------+------+
| count(id) | type | page |
+-----------+------+------+
|         9 |    0 |    2 |
|         8 |    0 |    3 |
|         4 |    0 |    4 |
|         1 |    1 |    4 |
|         8 |    0 |   28 |
|         9 |    0 |   37 |
|         9 |    0 |   38 |
|         9 |    0 |   40 |
|        33 |    1 |   40 |
|        10 |    0 |   42 |
+-----------+------+------+
10 rows in set (0.00 sec)

As you can see, two pages are correct: 40 (asgard, style) and 4 (asgard
main). Though I doubt, that the Asgard Root Page can do with a single
style element. All other pages show the symptoms described. 

After this command line:

midgard-pageresolve -S 195.30.85.211 -N torben_mgd -U torben -P
"xxxxxxx" -h seneca.link-m.de -p 8080 -u /asgard/style/view/2.html -r
/usr/lib/apache/1.3/midgard-root.php -d /tmp/page40.html -v >
/tmp/page40.log

It looks like this:

mysql> select count(id),type,page from cache group by type,page order
by page;
+-----------+------+------+
| count(id) | type | page |
+-----------+------+------+
|         9 |    0 |   40 |
|        33 |    1 |   40 |
+-----------+------+------+
2 rows in set (0.00 sec)

The whole procedure works for every page and does exactly the same.


>> BTW: Is it ok, that an execution of midgard-pageresolve cleans the
>> cache table?
> 
> It doesn't do any harm (since it'll just trigger a cache refresh, but
> I'm changing it anyhow.

OK, which means it is the same as I have by manually clearing
everything. And it is the cause why you cannot trigger the problem with
midgard-pageresolve. It deletes the cache and, as shown above, the very
first call to the system is successful.


Live long and prosper!
Torben Nehmer

- --
Torben Nehmer, Munich, Germany
http://www.nathan-syntronics.de, mailto:[EMAIL PROTECTED]
PGP Public Key ID on wwwkeys.(de.)pgp.net: 0x7E9DE456
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org

iD8DBQE8otG8JPh4Kn6d5FYRAm1MAJ0byPMHYvVjshf+tPa1timG6jekqwCgmNFc
L87w03qZ11eZOUwmXn5yt2Q=
=Q6qi
-----END PGP SIGNATURE-----


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

Reply via email to