How are forms managed internally in websitex5? ![en](https://d33s48lcrmbkow.cloudfront.net/1x1.png)
Auteur : David R.
Visité 234,
Followers 1,
Partagé 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
Posté le
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
Auteur
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?"
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
Auteur
I apologise the oversight.
I am using WebsiteX5 Pro 2021.1.5
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