WebSite X5Help Center

 
David  R.
David R.
User

How are forms managed internally in websitex5?  en

Author: David R.
Visited 242, Followers 1, Shared 0  

My website-hosting provider has just migrated to a new server. By doing so, a contact form I have designed in WebsiteX5 is no longer working: when the user clicks "Send" in the form, an error shows:"The page 'my-website' cannot process this request at this time. HTTP ERROR 500"


I told the hosting provider about the error and he asked:"Can you please check if you are using mail() or PHPmailer functions?"
so...what should I tell him?

thank you.
David

Posted on the
5 ANSWERS - 1 USEFUL
Claudio D.
Claudio D.
Moderator
Best User of the month ITBest User of the month PT

error 500 is usually an error related to the version of PHP on your host
What version of website x5 do you have ?
If the latest you can also use php 8.2
If older it will not work with recent php but you need PHP 7.x

Read more
Posted on the from Claudio D.
David  R.
David R.
User
Author
Claudio D.
error 500 is usually an error related to the version of PHP on your host What version of website x5 do you have ? If the latest you can also use php 8.2 If older it will not work with recent php but you need PHP 7.x


thank you Claudio.

the question of the hosting provider is very specific though:"Can you please check if you are using mail() or PHPmailer functions?"

Read more
Posted on the from David R.
Claudio D.
Claudio D.
Moderator
Best User of the month ITBest User of the month PT

1) you did not answer my question ...
what version of website X5 do you use ?
The version is essential to know it to be able to tell you what version of PHP you need.
The error is on the host and depend of the php version.
2) it is you who in the project , in the settings/parameters choose whether to use
phpmailer
or
normal SMTP
or authenticated SMTP

Read more
Posted on the from Claudio D.
David  R.
David R.
User
Author

I apologise the oversight.
I am using WebsiteX5 Pro 2021.1.5

Read more
Posted on the from David R.
Claudio D.
Claudio D.
Moderator
Best User of the month ITBest User of the month PT

2021.1 is at most compatible with php 7.1
Maybe it might work with php 7.4 , but I don't assure you, the staff can tell you that
if there is a php 8.0 , 8.1 or higher you will get error 500
If your new host requires php higher than version 7,4 , to use php you will have to buy the new version of the program, I don't think there is any other solution.
wait for the staff.

I recommend, also, that you use the email matched to the domain and not the gmail one

Read more
Posted on the from Claudio D.