Home

flatCMS - The FlatFile WebSiteEngine

[english] [deutsch] Print preview
XHTML, CSS

The Guestbook Module

To install the guestbook-module, just unpack the flatcms_guestbook package to your flatcms directory


have fun with it.

I got a mail from flatcms user Vidar Jon Bauge regarding the captcha and PHP5.1:

Hi Joerg!

I have recently moved my website from http://vbauge.tollfreepage.com/,
to www.bauge.dk on my own server.
The server runs Mandriva 2007 Free Edition, php-5.1.6 on apache-2.2.3-1.

After moving the site, I doscovered that the captcha image in the guest
book stopped working. After poking around on the internet I discovered
that it had something to to with png compression. In the original
captcha_img.php script it is set to 100 (?). This triggered a php-error,
which could be found in apache's error.log file:

gd-png error: setjmp returns error condition
gd-png:  fatal libpng error: zlib error

The solution was to set the png compression to 9, which is (now) the
highest allowed value. I did this by altering line 126 in the
captcha_img.php

from: imagepng($Grafik, "", 100);
to: imagepng($Grafik, "", 9);

Just to let you know. I do not know if anyone else has encountered the
problem, which I understand is effective from php version 5.1

By the way, you may want to update the link in you link collection. The
correct URL is now www.bauge.dk instead of http://vbauge.tollfreepage.com/.

Sincerely
Vidar Jon Bauge