WebSite X5Help Center

 
Khalid Ahmad Termizi
Khalid Ahmad Termizi
User

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

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

Размещено
10 Ответы - 1 Полезно - 1 Корректно
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.

Читать больше
Размещено От Aleksej H.
Khalid Ahmad Termizi
Khalid Ahmad Termizi
User
Автор

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.

Читать больше
Размещено От Khalid Ahmad Termizi
Khalid Ahmad Termizi
Khalid Ahmad Termizi
User
Автор

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 "

Читать больше
Размещено От Khalid Ahmad Termizi
Khalid Ahmad Termizi
Khalid Ahmad Termizi
User
Автор

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. 

Читать больше
Размещено От Khalid Ahmad Termizi
Aleksej H.
Aleksej H.
Moderator

I recommend using the stable version.

Читать больше
Размещено От Aleksej H.
Khalid Ahmad Termizi
Khalid Ahmad Termizi
User
Автор

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. 

Читать больше
Размещено От 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.

Читать больше
Размещено От 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

Читать больше
Размещено От Stefano G.
Khalid Ahmad Termizi
Khalid Ahmad Termizi
User
Автор

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

Читать больше
Размещено От 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.

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