serendipity_event_geshi

Creating and modifying plugins.
Post Reply
JWalker
Regular
Posts: 177
Joined: Mon Sep 12, 2005 4:14 pm
Location: Botevgrad, Bulgaria
Contact:

serendipity_event_geshi

Post 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 ?
Last edited by JWalker on Fri Nov 25, 2005 12:26 pm, edited 1 time in total.
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: serendipity_event_geshi

Post by garvinhicking »

Maybe you are using the entryproperties cache feature?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
JWalker
Regular
Posts: 177
Joined: Mon Sep 12, 2005 4:14 pm
Location: Botevgrad, Bulgaria
Contact:

Post 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 ?
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Did you create a new entry and see if your Code change is applied in that new entry?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
JWalker
Regular
Posts: 177
Joined: Mon Sep 12, 2005 4:14 pm
Location: Botevgrad, Bulgaria
Contact:

Post 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.
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
Post Reply