Page 1 of 1
Script-Error with Guestbook 1.1.8
Posted: Wed Feb 21, 2007 11:05 am
by Erich le Ghaz
Hi !
I have problems with the guestbook and hope you can help me:
After submitting a new entry I get an error message from my provider. I asked them for help and they send me the log entry:
malformed header from script. Bad header=No recipient addresses found i:
[...]easy-breeze.de/band/index.php
Despite of the error the entries reach the database and are presented correctly. You can see the problem here and try it on your own:
http://www.easy-breeze.de/index.php?page=test1
I am running CMS 1.0.2.
Can you help me?
Christian
Re: Script-Error with Guestbook 1.1.8
Posted: Wed Feb 21, 2007 11:47 am
by RonnyK
Do you use "mailnoti" in the calling of the module and if so, is it properly defined.
Ronny
Re: Script-Error with Guestbook 1.1.8
Posted: Wed Feb 21, 2007 12:24 pm
by Dee
Are you using a {cms_module} tag to include the Guestbook or using the "Guestbook" content type?
When using the tag there is an mailnoti parameter which should not be used unless with a valid E-mail address.
When using guestbook content the Notification email input field should be completely empty or contain a valid E-mail address.
Regards,
D
Re: Script-Error with Guestbook 1.1.8
Posted: Wed Feb 21, 2007 12:50 pm
by Erich le Ghaz
I am using the following tag:
Code: Select all
{cms_module module="Guestbook" shownow="1" smiley="1" captcha="1" lang="de_DE" number="15" dateformat="d.m.Y"}
I tried using the Guestbook as content type, too. But that caused different problems, which you may see here:
http://www.easy-breeze.de/index.php?page=test2
Christian
Re: Script-Error with Guestbook 1.1.8
Posted: Wed Feb 21, 2007 1:50 pm
by Dee
Hmm, seems to be a bug indeed.

On line 153 of action.default.php change
to
Code: Select all
if (isset($params['mailnoti']) && $params['mailnoti'] != '')
I'll see what's going wrong with the Guestbook content type (tested it here before release and it worked).
Regards,
D
Re: Script-Error with Guestbook 1.1.8
Posted: Wed Feb 21, 2007 1:58 pm
by Dee
The Guestbook content type is working fine overhere, also when the Smiley module is activated.
Maybe resetting your templates to default will fix it.
Regards,
D
BTW if you want to use the Smileys module with Guestbook, there's a bug in Smileys that redirects you to the homepage when the popup is opened, to fix it look here:
http://forum.cmsmadesimple.org/index.ph ... 119.0.html
Re: Script-Error with Guestbook 1.1.8
Posted: Wed Feb 21, 2007 9:15 pm
by Erich le Ghaz
Thanks a lot for the quick help. I could solve the problem by changing the code.
Regards,
Christian