Page 1 of 2

problem with formmailer

Posted: Thu 17. Feb 2005, 11:01
by Vince-E
Hi,
I have some problems with the formmailer.
When I use SMTP, mail is sent (and received), though I receive this error....
Warning: Cannot modify header information - headers already sent by (output started at /home/vno-internet/www/include/inc_ext/phpmailer/class.smtp.php:2078) in /home/vno-internet/www/include/inc_act/act_formmailer.php on line 296

If I put on MAIL instead of SMTP, no mail is send, and receive this error...
Language string failed to load: instantiate

This is the mailform (just for testing purposes):
IT|fname|1|First Name: |40,100||300
IT|lname|1|Last Name: |40,100||300
IT|title|0|Your Title: |40,100||300
IT|company|0|Company Name: |40,100||300
IT|address|0|Address: |40,100||300
IT|city|0|City: |40,100||300
IT|state|0|State: |40,100||300
SC|country|0|Country: |10,100|BR|300
IT|tel|0|Phone: |40,100||300
IT|fax|0|Fax: |40,100||300
IT|website|0|Website: |40,100||300
IT|email|1|Email: |40,100||300
TA|msg|0|Message: |20,8||300
IH|language|0||10,100|DE|0
IH|redirect|0||10,100|http://www.microsoft.com|0
IH|redirect_error|0||10,100|http://www.google.com|0

I searched the forum allready, couldnt find the answer.... unless I really missed something... thnx..

Posted: Thu 17. Feb 2005, 11:51
by Pappnase
hello

first wich release did you use!?

Posted: Thu 17. Feb 2005, 11:53
by Vince-E
ah sorry, that would be useful information ;)
I am using phpwcms_1.1.9-DEV, clean install...

PHP Version 4.3.4

Posted: Thu 17. Feb 2005, 12:23
by Pappnase
hello

did you also test if this error will be come when you use "mail" and not "smtp"?

Posted: Thu 17. Feb 2005, 12:27
by Vince-E
Pappnase...
Like i wrote in the first post...
If I put on MAIL instead of SMTP, no mail is send, and receive this error...
Language string failed to load: instantiate
thnx

Posted: Thu 17. Feb 2005, 12:30
by Vince-E
im terribly sorry,
this question should be under "Support", not under "Development release Support and Bug Reports". Can someone please move?

Posted: Thu 17. Feb 2005, 19:57
by Vince-E
Please, problem is still not fixed...
anyone?

Posted: Thu 17. Feb 2005, 20:21
by jeremyl1
do you have the smtp server set in your php.ini file? if not, do it. then set phpwcms to use mail. try that. worked for me.

Posted: Fri 18. Feb 2005, 12:54
by Vince-E
isnt php.ini with the hoster? Where can i find php.ini? Its on an externaly host, just have access to my www directory

Posted: Sat 19. Feb 2005, 20:47
by Vince-E
i really would like this thing get to work....

Posted: Sat 19. Feb 2005, 21:36
by Oliver Georgi
try to download new release - I have found multiple linebreaks after ?> in these files which I have deleted. Maybe this makes problem in your PHP installation. You can try to replace phpmailer (include/inc_ext/phpmailer) of that your current with new one.

Oliver

Posted: Sun 20. Feb 2005, 15:23
by Vince-E
allright Oliver,
I uploaded the phpmailer from version 1.2.1 DEV and through SMTP everything works ok...
thnx a lot!

keep up the good work

Posted: Fri 25. Feb 2005, 03:29
by jsw_nz
Did the same...in order to fix the fact that email validation did not work on 1.1.9. Pappnase told me to upgrade to complete new 1.2.1, since his works in this regard.

I wanted to ask if email validation files can be 'fixed' without doing a full upgrade/reinstall, since this require a lot of backup and reconstruction on a project that is nearing completion and deployment...or perhaps I am overlooking a setting.

I found the function: function is_valid_email() in include/inc_lib/general.inc.php, but somehow it is not being called...
a little perplexed.

Cheers,
John

Posted: Fri 25. Feb 2005, 04:25
by Ben
BTW, I wrote an upgrade tutorial that might help you: http://www.phpwcms.de/forum/viewtopic.php?t=5822

Posted: Fri 25. Feb 2005, 04:27
by jsw_nz
Cheers Ben,

Very Nice....now bookmarked.

:)