Thanks for clarifying the cache misconception. It would also appear that
since I'm trying to access http://<hostname>/midcom-admin/ais that there is
something about the 'en-us' entry that is missing on some lookup. I created
a new company and website and started fresh. I get the following errors,
like before:
Notice: Undefined index: en-us in
/var/local/cache/midgard/29-97-14-0.php(307) : eval()'d code(46) : eval()'d
code on line 52
Notice: Undefined index: en-us in
/var/local/cache/midgard/29-97-14-0.php(307) : eval()'d code(46) : eval()'d
code on line 53
Notice: Undefined index: en-us in
/var/local/cache/midgard/29-97-14-0.php(307) : eval()'d code(58) : eval()'d
code on line 56
I follow it to this section of code:
// Start MidCOM execution
eval(' ?>'.mgd_preparse(mgd_snippet("/midcom/midcom")).'<?php ');
// We shouldn't need HTMLfilter now
Since /midcom/midcom isn't a file I can look in, I don't know how to
proceed. In any event, if you set the Site Setting for "Site language
(two-letter abbreviation, default: from browser)" to en-us, you will easily
see the problem. [Note that setting it to 'en' will not produce a common use
date format for the U.S., but 'en-us' does; it just has other side-effects.]
I did note that a languages.xml file does have an entry for 'en-us', so a
lookup on that file would succeed.
I'd be happy to hunt this down with a little guidance. Can I be the only
American working with Midgard/MidCOM?
-----Original Message-----
From: Torben Nehmer [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 02, 2005 10:48 PM
To: [email protected]
Subject: Re: [midgard-user] Cache won't invalidate
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
- --Alan wrote on 2005-06-03 07:18:
> I?m running MidCOM 2.2.1 on Midgard 1.6.1 on an up-to-date Gentoo box.
> From this list I determined that if I set a site setting for
> localication to en-us that my dates will print out in the desired format.
>
> However, now I get all these cache warnings:
>
> *Notice*: Undefined index: en-us in
> */var/local/cache/midgard/22-90-15-0.php(307) : eval()'d code(58) :
> eval()'d code* on line *56*
>
> I have delete all rows from the cache table and all files from
> /var/local/cache/midgard with no change. I have run
> http://test.quicktricks.org/midcom-cache-invalidate and it doesn?t solve
> the problem either.
>
> Any suggestions on how to fix this?
This is no cache warning. You have to track the PHP warning to the piece of
code
it is related to, start by looking at the cache file in line 307 what is
eval'd
there. Then from there go further down the eval-tree until you find that
ominous
line 56.
Live long and Prosper!
Torben Nehmer
- --
Torben Nehmer, Guenzburg, Bavaria, Germany
http://www.nathan-syntronics.de, mailto:[EMAIL PROTECTED]
PGP Public Key: https://www.link-m.de/pgp/t.nehmer.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCn+8IJPh4Kn6d5FYRAq9LAKDzEIpcOP33fyierQVDQL24e8ImswCfVGbt
coXjdo4YVuyCMXZjorXH5uA=
=R0W6
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]