Page 1 of 1

problems with formmailer ... need direction

Posted: Fri 21. May 2004, 22:39
by nsnook
I have been having problems with the formmailer & I think it is something silly I just keep missing. here is the error:

nsnook@yahoo.com [email] => nsnook@yahoo.com [site] => bsticker.com [country] => CO [web] => ack [redirect] => http://www.mysite.com/index.php?id=8,8,0,0,1,0 [redirect_error] => http://www.mysite.com/index.php?id=8,17,0,0,1,0 [language] => EN [submit] => blahblah [subject] => blab [recipient] => nsnook@yahoo.com [required] => Email,name,email,site [type] => 0 )
Warning: Cannot modify header information - headers already sent by (output started at /home/systems/public_html/bsticker.com/rc4/include/inc_act/act_formmailer.php:49) in /home/systems/public_html/bsticker.com/rc4/include/inc_act/act_formmailer.php on line 179

Things I have done so far to try & figure this out...

Posted: Fri 21. May 2004, 22:41
by nsnook
I cant figure this thing out, here is what i did so far:

I read these topics for help & played with "document_root.php"

http://www.phpwcms.de/forum/viewtopic.php?t=1275#10589
http://www.phpwcms.de/forum/viewtopic.php?t=1749
http://www.phpwcms.de/forum/viewtopic.php?t=2055
http://www.phpwcms.de/forum/viewtopic.php?t=1953

This is the error I get with "document_root.php"
http://bsticker.com/rc4/document_root.php

When I tried to add this line, I was unable to add articles, it kept using the location "/home/systems/public_html/bsticker.com/rc4/rc4/.....":
$_SERVER['DOCUMENT_ROOT'] = '/home/systems/public_html/bsticker.com/rc4';

Posted: Fri 21. May 2004, 22:49
by cyrano
hi,

i don't know if this helps:

sometimes it's a problem with the "SMTP" in the conf.inc.php; try to set the "SMTP" to "MAIL".

Perhaps this works..?

greetings

error I got once I changed that line from 'smtp' to 'mail'

Posted: Sat 22. May 2004, 01:16
by nsnook
I thought that was the problem initially..... this is the error I got once I changed that line from 'smtp' to 'mail'

nsnook@yahoo.com [email] => nsnook@yahoo.com [site] => nsnook@yahoo.com [country] => HR [web] => nsnook@yahoo.com [redirect] => http://www.mysite.com/index.php?id=8,8,0,0,1,0 [redirect_error] => http://www.mysite.com/index.php?id=8,17,0,0,1,0 [language] => EN [submit] => blahblah [subject] => blab [recipient] => nsnook@yahoo.com [required] => Email,name,email,site [type] => 0 )
Warning: Cannot modify header information - headers already sent by (output started at /home/systems/public_html/bsticker.com/rc4/include/inc_act/act_formmailer.php:49) in /home/systems/public_html/bsticker.com/rc4/include/inc_act/act_formmailer.php on line 179

...workaround

Posted: Wed 26. May 2004, 18:08
by alexk
Hi,

I got the same error message "Warning: Cannot modify information...". I commented out the three marked lines below (in act_formmailer.php):

Code: Select all

if(isset($_POST["language"])) {
    --> //echo '<pre';
    --> //print_r($_POST);
    --> //echo '</pre>';
	$lang = trim($_POST["language"]);
	unset($_POST["language"]);
}
Now everything seems to work fine.

Bye
Alex

yepp!

Posted: Wed 22. Sep 2004, 20:43
by nmd_inc
Good Tip!

Worked for me to! I always got similar error as "nsnook" using the language DE

Code: Select all

IH|language|0||10,100|EN|0
but not if I didn't use that code (e.g. standard language EN)

Now it works!

Thanks!

Posted: Wed 22. Sep 2004, 20:53
by Pappnase
hello

that was an old thread!*smile*
wich version di you use!?

Posted: Wed 22. Sep 2004, 21:01
by nmd_inc
I know it is an old thread, but that was a solution that helped :roll:

I'm using Version 1.1-RC4 01-05-2004

Posted: Wed 22. Sep 2004, 21:02
by Pappnase
hello

if you update to the latest version you have this problems not more! :wink: