Since Update 17.1.4 / 17.2.0 errors comes up!

Issues related to forms.
Post Reply
mwdasoul
 
 
Posts: 8
Joined: Sun Mar 13, 2016 12:24 am
Location: Germany
Contact:

Since Update 17.1.4 / 17.2.0 errors comes up!

Post by mwdasoul »

Hello,

since the version 17.1.4 i have problems with publishing my pages.

When i publish for example my form page and download the php page and upload it again there are suddenly mistakes on the page.
Form fields are missing or texts disappear or the page ist complitly broken.

I looked at my homepage and suddenly discovered errors with the form fields. They disappear. I then uninstalled 17.2.0 and installed 17.1.4. Here are the same problems. With the version 17.1.3 these errors are no longer present. So it's up to the new versions.

With the Version 17.1.4 and 17.2.0 I tried to correct the mistakes on the page and for example put the IDs in order. But it only got worse until the page was completely broken and jumbled up.

Unfortunately I cannot use 17.1.4 and 17.2.0.

Only the 17.1.3 works without problems with my Windows 10 computer.

Hope it will be fixed soon or i can not use any new version anymore.

Michael
User avatar
Pablo
 
Posts: 23571
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Since Update 17.1.4 / 17.2.0 errors comes up!

Post by Pablo »

There are no changes to the way forms work in version 17.2 compared to previous versions.
Also, no one else has reported any issues.
Maybe there is another conflict?
Or maybe you did not publish all files?

If you need help then please share a DEMO project so I can see your settings.

I do not need the complete project because that will only take more time to figure out what you have done.
Basically, I just need a small project with one page and object(s) that are relevant to your question.

For further details about how to share a project file, please see this FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
mwdasoul
 
 
Posts: 8
Joined: Sun Mar 13, 2016 12:24 am
Location: Germany
Contact:

Re: Since Update 17.1.4 / 17.2.0 errors comes up!

Post by mwdasoul »

Hi,

when i publish a form page made by the Web Builder 17 so a visitor can get in touch with me there are problems in the form extention.

When a visitor get on my form page and send a message it will be send to my email address and an automatic answer to the customer. When the customer wants to respond he gets allways 2 Mails in the replay field. The email of the customer and my mail address. So when the customer want to replay he send himself and to me a mail

I found out that an error is in the form extention so 2 mails are in the replay window when the customer wants to send a email back to me.

Here is the code of the upload form php made by the Web Builder 17:

}
$mail->ClearAddresses();
$mail->ClearAttachments();
$mail->Subject = stripslashes($autoresponder_subject);
$mail->From = $autoresponder_from;
$mail->FromName = $autoresponder_from;
$mail->AddAddress($autoresponder_to, "");
$mail->AddReplyTo($autoresponder_from);
foreach ($_POST as $key => $value)
{

I changed 2 things:

}
$mail->ClearAddresses();
$mail->ClearAttachments();
$mail->ClearReplyTos();
$mail->Subject = stripslashes($autoresponder_subject);
$mail->From = $autoresponder_from;
$mail->FromName = $autoresponder_from;
$mail->AddAddress($autoresponder_to, "");
$mail->addReplyTo($mailto);
foreach ($_POST as $key => $value)
{

Now the customer just gets 1 email to replay to (my email address).

So when i publish the form page with the Web Builder 17 editor I download the php file and change manualy 2 things and upload it again with an foreign ftp program.

After i upload the changed php page with a foreign ftp program some errors comes up on my form page. But when I upload it with the intern ftp extention of the Web Builder 17 no error are shown. So now I must allways upload the changed php form page with the intern ftp extention of the Web Builder 17.

Is it prossible to correct the form extention in the Web Builder 17 so I don't have to keep changing it all the time?

Thank you for your reply.

Michael
User avatar
Pablo
 
Posts: 23571
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Since Update 17.1.4 / 17.2.0 errors comes up!

Post by Pablo »

This script has not changed recently. It has been working like his for years.
So, I am not sure about your suggested changes.
What is the context of the script?

If you need help then please share a DEMO project so I can see your settings.
mwdasoul
 
 
Posts: 8
Joined: Sun Mar 13, 2016 12:24 am
Location: Germany
Contact:

Re: Since Update 17.1.4 / 17.2.0 errors comes up!

Post by mwdasoul »

Hi,

The error in the automatic reply mail to the recipient has been around for a long time. At first I lived with it but changed it with the help of a programmer. Since then, the recipient of the automatic e-mail only sees my e-mail if he wants to reply to it.

If I create a new page with the web builder and use the form editor of the program, an HTML or PHP code is generated. As soon as you fill in the data in the form for the automatic reply and activate it, the code in the PHP page that I mentioned above is created. I then change this code in two places and everything works perfect.

It would be great if the form editor creates the right code in the automatic reply section in the php code text in the created page.

The form editor works fine in allmost all sections just the automatic reply php section has an error that 2 emails are in the reply field when the customer replies to my automatic mail.

I found out to solve this problem but it would be better if the correct php code is generated in the automatic reply area when creating the form page so that I don't have to change it every time.

Michael
User avatar
Pablo
 
Posts: 23571
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Since Update 17.1.4 / 17.2.0 errors comes up!

Post by Pablo »

Why did you change

Code: Select all

$mail->AddReplyTo($autoresponder_from)
to

Code: Select all

$mail->AddReplyTo($mailto);
Why is this better?
Shouldn't the reply address be the same as the 'from address"?

You wrote:
Since Update 17.1.4 / 17.2.0 errors comes up!
However, this code has been the same for years.
Can you please explain how this is related to the recent update?

Also, please understand that you are not the only user who uses this feature so if I make any changes then it may break the (working) forms of other users.
mwdasoul
 
 
Posts: 8
Joined: Sun Mar 13, 2016 12:24 am
Location: Germany
Contact:

Re: Since Update 17.1.4 / 17.2.0 errors comes up!

Post by mwdasoul »

Hi,

there are 2 things that i mentioned.

The first was about the error since Update 17.1.4 / 17.2.0 errors comes up that i had.

1. If I download or upload a php file that was created by web builder 17 with a foreign ftp tool i have errors on the page like missing fields or the structure of the whole page is no longer correct. Something happened when uploading or download the php file with an other ftp tool. But when I do it with the ftp tool of the Web Builder 17 everything is fine. I don't know why. Unfortunately I didn't find it out. So now I use the ftp tool of the Web Builder 17 for publishing and for ftp up- & download.

2. The second error that i mentioned is the form extention that is inside the Web Builder 17. The form extention works properly except for this one bug with replying to the automatic mail. Before I changed the code of the generated php form page at one point I tried to make changes in the form extension. But with no succeed. I sent myself test emails using the generated form page and saw that there were always 2 email addresses in the reply window. Of course that's not good. So I looked for a solution and found it and changed the code in one place. After that there was only one email in the reply window if you want to reply to the automatic mail.

Whatever the reason is why there are 2 email addresses in the reply window of a mail program I solved the error by making the changes mentioned. Of course with the help of a programmer from a PHP forum on the Internet. I searched for a long time until I found it. I'm not a programmer myself. I tried it out by changing the code and it worked.

You don't have to change the extension because of this. I've found the problem and always change this one spot myself. Then it works.

If you create a page with the form extension and enable auto-reply you'll see what I mean. 2 email addresses are in one field. The first from the sender himself that fill out the form php page by putting in his email adress and from the email that you put in the form extention. The e-mail address of the sender that fill out the form page of your side should not be there otherwise he will send himself an e-mail if he replys to the automatic mail that he got from your php page. I had that a few times so that no e-mail arrived at me and the sender did not notice it.

Michael
Post Reply