WebSite X5Help Center

 
Khalid Ahmad Termizi
Khalid Ahmad Termizi
User

Unable to send email via webpage: Parse error: syntax error, unexpected '?'  en

Autor: Khalid Ahmad Termizi
Visitado 2265, Seguidores 1, Compartilhado 0  

I was not able to send email from the webpage. When clicking send email appended is the respond:

Parse error: syntax error, unexpected '?' in /home/hidangtraimmy1/public_html/res/x5engine.php on line 2426

Appreciate help. website link for the email form https://www.hidang.com.my/feedback.html

Publicado em
10 RESPOSTAS - 1 ÚTIL - 1 CORRIGIR
Aleksej H.
Aleksej H.
Moderator

Hello.Check out Hoats, I recommend PHP 7.2. Check the server logs, if there are errors or request blocking, then this may be the cause of the problem. Try different ways to send letters (SMTP etc).
Contact the hosting technical support service, maybe they will be able to give you a solution.

Ler mais
Publicado em de Aleksej H.
Khalid Ahmad Termizi
Khalid Ahmad Termizi
User
Autor

It works fine previously, only until the recent upload this had failed. Will check with my hosting provider and revert soonest on their findings and feedback.

Ler mais
Publicado em de Khalid Ahmad Termizi
Khalid Ahmad Termizi
Khalid Ahmad Termizi
User
Autor

Dear Aleksej;

Below is respond received from the hosting provider. Just to let you know this start to occur only when I start using the Beta Program. 

"Hi

Thanks for contacting us

Upon checking, it seem the error logs showing related with your script environment.

Parse error: syntax error, unexpected '?' in /home/hidangtraimmy1/public_html/res/x5engine.php on line 2426 "

Ler mais
Publicado em de Khalid Ahmad Termizi
Khalid Ahmad Termizi
Khalid Ahmad Termizi
User
Autor

Hi, i try to replace the x5engine.php file with the script generated from non beta version and it works fine. The failure only starts when generated/using the beta version. Please refer the attached files for both version. 

Ler mais
Publicado em de Khalid Ahmad Termizi
Aleksej H.
Aleksej H.
Moderator

I recommend using the stable version.

Ler mais
Publicado em de Aleksej H.
Khalid Ahmad Termizi
Khalid Ahmad Termizi
User
Autor

As the project has been upgraded/created to using beta version, is there a way for me to revert to the stable version. Thanks.. really need to resolve this issue. 

Ler mais
Publicado em de Khalid Ahmad Termizi
Milenko Vojnović
Milenko Vojnović
User

Hi, Khalid Ahmad

I had the same problem after upgrading to BETA. I solved it in such a way that I deleted the mailing module and recreated it. I remembered this because in the past, I used to be similar to what happened with some other modules, and when switching from the old version to the new stable version.

Ler mais
Publicado em de Milenko Vojnović
Incomedia
Stefano G.
Incomedia

Hello Khalid 

I can confirm that this issue was due to the BETA update which recently came out. 

I can also confirm that a new BETA update has fixed the issue, if you're willing to update again.

If you do, please give me feedback here on the result

Thank you

Stefano

Ler mais
Publicado em de Stefano G.
Khalid Ahmad Termizi
Khalid Ahmad Termizi
User
Autor

I recently received beta update 2019.3.13 in which the error message has no longer shown. However the email still failed to be send with respond below. Java script is enable/activated, the email still not able to deliver. Attached screenshot for your reference. The said page https://www.hidang.com.my/feedback.html

Ler mais
Publicado em de Khalid Ahmad Termizi
Aleksej H.
Aleksej H.
Moderator

"However the email still failed to be send with respond below." - try to clear your browser’s cache and hosting cache (if any).Try to delete one of the form fields, re-create it and upload the site to the hosting.Try to delete all site files from the hosting and re-upload it.

Ler mais
Publicado em de Aleksej H.