Page 1 of 1

serendipity_event_geshi

Posted: Fri Nov 25, 2005 12:24 pm
by JWalker
I have played some time with event_geshi plugin, that makes color highlightging of program text. Strange things happen and I dont know why. I wrote a short text in "C" language:

Code: Select all

[geshi lang=c]
if (TMR1 < ((CLOCKS_PER_MS*7)) {
    continue;
}
if (TMR1 < (CLOCKS_PER_MS*11)) {
    continue;
}
[/geshi]
The text gets colorized, and it's OK. But when I changed the corresponding colors in geshi/c.php file (this file is for "C" language), nothing changed - the colors remained the same at the frontpage. I even moved all contents of geshi directory to other place, that is I has emptied the geshi directory, and when I refreshed the front page, all was there - entries, "C" text colorized ... :roll: , no any messages of sort of "file not found"... This was with Firefox. Then I tried with MSIE - the same result...

All my configuration is at my laptop : Apache webserver with PHP and MySQL, browsers. First idea that came to me was that Apache Server caches PHP files. Is it possible ? I stopped and started Apache but nothing changed.
Can someone give some hints ?

Re: serendipity_event_geshi

Posted: Fri Nov 25, 2005 12:25 pm
by garvinhicking
Maybe you are using the entryproperties cache feature?

Regards,
Garvin

Posted: Fri Nov 25, 2005 12:45 pm
by JWalker
I have serendipity_event_entryproperties installed, but 'Allow to cache entries?' is 'No'. I just restated the PC, but nothing changed ... If entries are cached, where is the cache ?

Posted: Fri Nov 25, 2005 12:53 pm
by garvinhicking
Did you create a new entry and see if your Code change is applied in that new entry?

Regards,
Garvin

Posted: Fri Nov 25, 2005 1:52 pm
by JWalker
Wow, I did a mess, whenever, I made a copy of geshi plugin, in serendipity_event_old_geshi, and this was installed, then I had copied fresh version from CVS, but it was not active.

Now I uninstalled, removed this old_geshi, installed new and all is OK.

Thank you for your questions, they helped me to think into right direction.