Search found 20 matches

by Cenic
Wed Aug 10, 2011 5:48 pm
Forum: Development
Topic: Caching of stylesheets
Replies: 6
Views: 6719

Re: Caching of stylesheets

Hi, in this case I believe ETag would be the better and simpler way to do it. ETag is defective the way Apache has implemented it by default. Out of the Box Apache uses the inode of the file to calculate the ETag. This of course leads almost always to different ETags when the same file is served by ...
by Cenic
Thu Aug 04, 2011 9:20 pm
Forum: Development
Topic: Caching of stylesheets
Replies: 6
Views: 6719

Re: Caching of stylesheets

Hi Garvin, yes, this involves changing serendipity.css.php. I will look into using ob_get_content() for it. Although I would say that the way the hook mechanism is used in serendipity.css.php suggests that plugins should alao add their styles to the parameter instead of messing directly with the out...
by Cenic
Thu Aug 04, 2011 6:07 pm
Forum: Development
Topic: Caching of stylesheets
Replies: 6
Views: 6719

Caching of stylesheets

Hi, following a discussion concerning traffic usage in the german corner of the forum I looked into the way serendipity delivers CSS stylesheets. Currently the stylesheet has an Expires header which allows the browser to cache the stylesheet for 1 hour. After that period the browser will request the...
by Cenic
Mon Aug 01, 2011 6:58 pm
Forum: Generelles in Deutsch
Topic: Mein Traffic bringt micht um
Replies: 34
Views: 13563

Re: Mein Traffic bringt micht um

Hi, unlimited traffic ist wie ein All-You-Can-Eat Restaurant. Wenn man da erstmal 20 Schnitzel gefuttert hat, wird man auch freundlich zum Ausgang begleitet... Zum Inhalt: mir ist aufgefallen, dass die Stylesheets da einen nicht zu vernachlässigen Anteil haben (serendipity.css schon alleine 2.2 GB)....
by Cenic
Mon Aug 01, 2011 6:45 pm
Forum: Generelles in Deutsch
Topic: staticpages-Plugin liefert immer 404
Replies: 17
Views: 9205

Re: staticpages-Plugin liefert immer 404

Hi,

ich habe den Update gerade installiert. Leider ist da noch ein Fehler drin:

Code: Select all

PHP Fatal error:  Call to undefined function serendipit_header() in /var/www/.../plugins/serendipity_event_staticpage/serendipity_event_staticpage.php on line 1208
Mit dem fehlenden y geht es dann.

Grüße
Stefan
by Cenic
Thu Jul 28, 2011 4:42 pm
Forum: Generelles in Deutsch
Topic: staticpages-Plugin liefert immer 404
Replies: 17
Views: 9205

Re: staticpages-Plugin liefert immer 404

Hi,

ich habe nun den angehängten Patch angewendet und damit auf den statischen Seiten keine 404er mehr.

Grüße
Stefan
by Cenic
Wed Jul 27, 2011 10:20 pm
Forum: Generelles in Deutsch
Topic: staticpages-Plugin liefert immer 404
Replies: 17
Views: 9205

Re: staticpages-Plugin liefert immer 404

Hi, ja, ich nutze Apache-2.2.9 mit PHP-5.2.6. Mit einem einfachen PHP-Script konnte ich zumindest den Status-Code aus PHP heraus setzen: header("HTTP/1.1 200 Good"); header("Content-Type: text/plain"); echo "Foo\n"; Interessanterweise steht auf http://php.net/manual/de/...
by Cenic
Tue Jul 19, 2011 5:26 pm
Forum: Generelles in Deutsch
Topic: staticpages-Plugin liefert immer 404
Replies: 17
Views: 9205

Re: staticpages-Plugin liefert immer 404

Hi, ich nutze 1.5.5 mit diesen Plugins: s9y@prd=> select substring(name from '(.*):') plugin, placement, sort_order from s9y_plugins order by sort_order; plugin | placement | sort_order ----------------------------------+-----------+------------ @serendipity_archives_plugin | hide | 0 @serendipity_q...
by Cenic
Mon Jul 18, 2011 9:27 pm
Forum: Generelles in Deutsch
Topic: staticpages-Plugin liefert immer 404
Replies: 17
Views: 9205

Re: staticpages-Plugin liefert immer 404

Hi, ich bekomme auch die 404 auf alle statischen Seiten. Ich habe allerdings das Gefühl, dass das nicht am Staticpage-Plugin liegt. Ich habe in serendipity_event_staticpage.php die Funktion show folgendermaßen geändert: function show() { global $serendipity; if ($this->selected()) { if ($this->error...
by Cenic
Fri May 14, 2010 1:03 pm
Forum: Plugins
Topic: Related Entries Plugin
Replies: 5
Views: 2875

Re: Related Entries Plugin

It works. With a change to my entries.tpl I was able to display the list of tags and the related links in different places of the page.

Thanks,
Stefan
by Cenic
Fri May 14, 2010 10:13 am
Forum: Plugins
Topic: Related Entries Plugin
Replies: 5
Views: 2875

Re: Related Entries Plugin

Now this is embarrassing... :oops: The formatting is not exactly what I want but I'll start playing with CSS for that. Sorry...
by Cenic
Thu May 13, 2010 8:04 pm
Forum: Plugins
Topic: Related Entries Plugin
Replies: 5
Views: 2875

Related Entries Plugin

Hi, I have seen a number of blogs where a related articles section was below every entry. As far as I found out there is nothing similar for Serendipity. So here is the first release of a plugin I wrote. The plugin uses the tags created by the freetags plugin to connect articles to each other. If tw...
by Cenic
Mon May 03, 2010 5:49 pm
Forum: Bugs
Topic: No search results found (but searchstring is in database)
Replies: 6
Views: 4533

Re: No search results found (but searchstring is in database)

Cenic: The patch looks OK. Does it work for you? (Haven't tested the patch on my blog.) I worked on this problem only yesterday and wanted to discuss it here when I realized that there was already a posting. I have the patch implemented on my blog since yesterday and it seems to work. On the other ...
by Cenic
Sun May 02, 2010 4:18 pm
Forum: Bugs
Topic: No search results found (but searchstring is in database)
Replies: 6
Views: 4533

Re: No search results found (but searchstring is in database)

Hi, I'm not sure if this is related but currently I'm also looking into a problem where the search does not find matching entries and I'm also running PostgreSQL (8.4.2). In my case I narrowed it down to the case where more than one word is entered into the search form. Are you using multiple words ...
by Cenic
Tue Oct 06, 2009 5:22 pm
Forum: Bugs
Topic: RSS feeds reported as unmodified after publishing an entry
Replies: 4
Views: 2447

Re: RSS feeds reported as unmodified after publishing an entry

Hi Garvin,

thanks for your support!
Looking forward to the 1.5 release.

Regards,
Stefan