WebSite X5Help Center

 
David  R.
David R.
User

How are forms managed internally in websitex5?  en

Autor: David R.
Visitado 238, Followers 1, Compartido 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

Publicado en
5 RESPUESTAS - 1 ÚTIL
Claudio D.
Claudio D.
Moderator
Usuario del mes ITUsuario del mes 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

Leer más
Publicado en de Claudio D.
David  R.
David R.
User
Autor
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?"

Leer más
Publicado en de David R.
Claudio D.
Claudio D.
Moderator
Usuario del mes ITUsuario del mes 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

Leer más
Publicado en de Claudio D.
David  R.
David R.
User
Autor

I apologise the oversight.
I am using WebsiteX5 Pro 2021.1.5

Leer más
Publicado en de David R.
Claudio D.
Claudio D.
Moderator
Usuario del mes ITUsuario del mes 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

Leer más
Publicado en de Claudio D.