Script-Error with Guestbook 1.1.8

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
Erich le Ghaz
Forum Members
Forum Members
Posts: 32
Joined: Wed Feb 07, 2007 2:55 pm

Script-Error with Guestbook 1.1.8

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Script-Error with Guestbook 1.1.8

Post by RonnyK »

Do you use "mailnoti" in the calling of the module and if so, is it properly defined.

Ronny
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Script-Error with Guestbook 1.1.8

Post 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
User avatar
Erich le Ghaz
Forum Members
Forum Members
Posts: 32
Joined: Wed Feb 07, 2007 2:55 pm

Re: Script-Error with Guestbook 1.1.8

Post 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
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Script-Error with Guestbook 1.1.8

Post by Dee »

Hmm, seems to be a bug indeed.  :-[
On line 153 of action.default.php change

Code: Select all

if (isset($params["mailnoti"])
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
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Script-Error with Guestbook 1.1.8

Post 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
Last edited by Anonymous on Wed Feb 21, 2007 2:02 pm, edited 1 time in total.
User avatar
Erich le Ghaz
Forum Members
Forum Members
Posts: 32
Joined: Wed Feb 07, 2007 2:55 pm

Re: Script-Error with Guestbook 1.1.8

Post by Erich le Ghaz »

Thanks a lot for the quick help. I could solve the problem by changing the code.

Image

Regards,
Christian
Post Reply

Return to “CMSMS Core”