problem with formmailer

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Vince-E
Posts: 19
Joined: Mon 7. Feb 2005, 17:27

problem with formmailer

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

Post by Pappnase »

hello

first wich release did you use!?
Vince-E
Posts: 19
Joined: Mon 7. Feb 2005, 17:27

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

Post by Pappnase »

hello

did you also test if this error will be come when you use "mail" and not "smtp"?
Vince-E
Posts: 19
Joined: Mon 7. Feb 2005, 17:27

Post 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
Vince-E
Posts: 19
Joined: Mon 7. Feb 2005, 17:27

Post by Vince-E »

im terribly sorry,
this question should be under "Support", not under "Development release Support and Bug Reports". Can someone please move?
Vince-E
Posts: 19
Joined: Mon 7. Feb 2005, 17:27

Post by Vince-E »

Please, problem is still not fixed...
anyone?
jeremyl1
Posts: 5
Joined: Thu 27. Jan 2005, 17:59

Post 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.
Vince-E
Posts: 19
Joined: Mon 7. Feb 2005, 17:27

Post 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
Vince-E
Posts: 19
Joined: Mon 7. Feb 2005, 17:27

Post by Vince-E »

i really would like this thing get to work....
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Vince-E
Posts: 19
Joined: Mon 7. Feb 2005, 17:27

Post 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
User avatar
jsw_nz
Posts: 907
Joined: Fri 2. Apr 2004, 02:42
Location: New Zealand

Post 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
Ben
Posts: 558
Joined: Wed 14. Jan 2004, 08:05
Location: Atlanta
Contact:

Post by Ben »

BTW, I wrote an upgrade tutorial that might help you: http://www.phpwcms.de/forum/viewtopic.php?t=5822
User avatar
jsw_nz
Posts: 907
Joined: Fri 2. Apr 2004, 02:42
Location: New Zealand

Post by jsw_nz »

Cheers Ben,

Very Nice....now bookmarked.

:)
Post Reply