Hi Armand,

Sorry it took so long to get back to you on this issue.

It turns out that this did correct the issue.

Thank you very much!

-Nathan

-----Original Message-----
From: Armand A. Verstappen [mailto:[EMAIL PROTECTED] 
Sent: September 4, 2003 11:18 AM
To: [EMAIL PROTECTED]
Subject: Re: [midgard-user] Issue with caching

Hi,

On Thu, 2003-09-04 at 20:00, Nathan Brown wrote:
> When you update a page, page element, style, or style element; when
> should the changes be made public? I am assuming they would be
> available immediately after you update them? 

Correct.

> If that is the case, I have come across a strange occurrence where I
> must remove all the cache files manually which are located in
> /var/html/midgard/cache to have any changes done to these two types of
> data. There seems to be no apparent problem with updating topics or
> articles, just the style and page types.

... and more specifically, when you change the style that's applied to a
page, right? I bumped into that problem recently, and found out that
there's a configure flag made available to fix that specific problem.
Specify --with-cache-fix on the ./configure commandline for midgard-lib
together with other options you may need. recompile and install at least
midgard-lib and mod_midgard_preparse.

You then also need to alter the cache table in your midgard database:

alter table cache add column style int(11) not null default 0;
alter table cache drop primary key;
alter table cache add primary key (page,type,style,id);

Let me know if this solves your problem.

wkr,
 
-- 
Envida                     http://www.envida.net/
Armand A. Verstappen       Graadt van Roggenweg 328
[EMAIL PROTECTED]       3531 AH Utrecht
tel: +31 (0)30 298 2255    Postbus 19127
fax: +31 (0)30 298 2111    3501 DC Utrecht


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

Reply via email to