WebSite X5Help Center

 
David  R.
David R.
User

How are forms managed internally in websitex5?  en

Автор: David R.
Просмотрено 335, Подписчики 1, Размещенный 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

Размещено
5 Ответы - 1 Полезно
Claudio D.
Claudio D.
Moderator
Лучший пользователь месяца IT

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

Читать больше
Размещено От Claudio D.
David  R.
David R.
User
Автор
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?"

Читать больше
Размещено От David R.
Claudio D.
Claudio D.
Moderator
Лучший пользователь месяца IT

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

Читать больше
Размещено От Claudio D.
David  R.
David R.
User
Автор

I apologise the oversight.
I am using WebsiteX5 Pro 2021.1.5

Читать больше
Размещено От David R.
Claudio D.
Claudio D.
Moderator
Лучший пользователь месяца IT

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

Читать больше
Размещено От Claudio D.