problems with formmailer ... need direction

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
nsnook
Posts: 12
Joined: Fri 30. Apr 2004, 22:08

problems with formmailer ... need direction

Post 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
nsnook
Posts: 12
Joined: Fri 30. Apr 2004, 22:08

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

Post 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';
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post 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
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
nsnook
Posts: 12
Joined: Fri 30. Apr 2004, 22:08

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

Post 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
alexk
Posts: 2
Joined: Thu 11. Mar 2004, 14:10

...workaround

Post 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
nmd_inc
Posts: 7
Joined: Fri 9. Apr 2004, 11:10

yepp!

Post 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!
Pappnase

Post by Pappnase »

hello

that was an old thread!*smile*
wich version di you use!?
nmd_inc
Posts: 7
Joined: Fri 9. Apr 2004, 11:10

Post 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
Pappnase

Post by Pappnase »

hello

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