Page 1 of 2

form dont work?

Posted: Tue 20. Jan 2004, 18:29
by Enkacom2
This dont work (sorry for my english), sent to user one email but not to my


SM|solicitud|1|Solicitud: |20,100|Ventas#Compras#Dirección#Otros|300
IT|nombre|1|Nombre: |40,100||300
IT|apellidos|1|Apellidos: |40,100||300
IT|email|1|Email: |40,100||300
IT|empresa|1|Compañia: |40,100||300
IT|direccion|1|Dirección: |40,100||300
IT|ciudad|1|Ciudad: |40,100||300
SC|pais|1|Pais: |10,100|ES|300
IT|tel|1|Telefono: |40,100||300
IT|fax|1|Fax: |40,100||300
TA|comentario|1|comentario: |20,6||300
IH|redirect|0||10,100|http://www.semael-epi.com/index.php?enviado|0
IH|redirect_error|0||10,100|http://www.semael-epi.com/index.php?error|0
IH|send_copy|0||10,100|1|0

Posted: Tue 20. Jan 2004, 19:34
by Florian
Hello!

You've just forgot to set a hidden field, wich contains the option to send the mail to the one who fills out the form.
The option is as follows:

Code: Select all

IH|send_copy|0||10,100|1|0

Thats all!

Cheers,
Florian

Posted: Tue 20. Jan 2004, 19:48
by adriano
What kind of mailserver do you have and on which operatingsystem does your site run?

Posted: Tue 20. Jan 2004, 19:59
by Pappnase
other question is wich version of phpwcms did you use!?
i can remember that there was an error in the onld version!
i think adriano had fix it! :wink:

pappnase

Posted: Tue 20. Jan 2004, 22:57
by Enkacom2
sorry I cant undestend; please you can write the solution.

:shock:

use phpwcms 1.1-RC2 (01-01-2004)

sorry for my english

Posted: Wed 21. Jan 2004, 08:54
by adriano
Well, I tried today again my own form, which worked fine, until now. With the new RC2 Release, you Oliver changed to phpmailer. Is this true?

With my old form, I got only a error message. Do I need to change some code in a conf. template and where do I find this one?

Need some help. :?

Posted: Wed 21. Jan 2004, 09:25
by rolf
The RC2 release do not work with postfix MTA. Look in /var/log/mail log for the error message.

Posted: Wed 21. Jan 2004, 09:36
by adriano
I have took a lokk at the mail.log, but I did not find a entry which shows me the error.

It seems, that I do have to setup phpmailer first, before I can use it, or am I wrong?

Posted: Wed 21. Jan 2004, 09:37
by Pappnase
Enkacom2 wrote:sorry I cant undestend; please you can write the solution.

:shock:

use phpwcms 1.1-RC2 (01-01-2004)

sorry for my english
hello

first try it with an update to phpwcms 1.1-RC (01-11-2004C)

an the solve for this kind of problem you find here.

http://www.phpwcms.de/forum/viewtopic.php?t=426

but this was for the older version of phpwcms

pappnase

Posted: Wed 21. Jan 2004, 10:24
by adriano
Ok, I have reset to the standard errorfile, which comes with phpwcms. Now, I can see, that the script does not accept my given email address, which is true as before. And the given email address is different for the email to which the form has to be send.

Where do I have to look?

Posted: Wed 21. Jan 2004, 10:36
by adriano
I tried again. If I put

Code: Select all

IH|send_copy|0||10,100|1|0
into my form, then I receive the errorpage with the following message:

Error 300 | No valid email address given.

But, info@wackernah.com should be a valid address, its my own.

Only if I do not want a copy send to the sender of the form, the script works fiine. Oooh :(

more and more

Posted: Wed 21. Jan 2004, 11:48
by Enkacom2
one more

I see all, I have the last version phpwcms but dont work, I cant change this
IT|fax|1|Fax: |40,100||300
for
IT|fax|0|Fax: |40,100||300

becouse is the same problem [570] Fill in field FAX.

you cant try this http://www.semael-epi.com/index.php?id=32,0,0,1,0,0

really sorry again, I love this tools

Posted: Wed 21. Jan 2004, 13:51
by Pappnase
hello

there is a simple way to solve this! it's not beuatiful but it works!

change

Code: Select all

IT|tel|1|Telefono: |40,100||300
to

Code: Select all

IT|tel|1|Telefono: |40,100|000-0000000|300
so you haven't this error anymore.

Pappnase

Posted: Wed 21. Jan 2004, 14:06
by adriano
Hello Enkakom,

I tried your form with a fantasy name and got a receivepage on your site, which told me, that I would receive a copy of the form by mail. But I did not receive a mailcopy. Is that your problem?

Posted: Wed 21. Jan 2004, 14:10
by Pappnase
hello adriano

i believe that he have a few probs with the mail from.

1. that it's send no copy
2. the needed field problem

but with your old MAC OS fix it should be work
an to the other problem what he have i also worte something!

Pappnase