WebSite X5Help Center

 
Amir S.
Amir S.
User

HTTP ERROR 500  en

Author: Amir S.
Visited 2202, Followers 1, Shared 0  

hello

This page isn’t working

mrelectrobot.com is currently unable to handle this request.

HTTP ERROR 500

in file error_log show : 

[30-Dec-2019 16:13:37 UTC] PHP Parse error: syntax error, unexpected '?' in /home/robelcom/public_html/res/x5engine.php on line 2426
[30-Dec-2019 16:13:39 UTC] PHP Parse error: syntax error, unexpected '?' in /home/robelcom/public_html/res/x5engine.php on line 2426
[30-Dec-2019 16:13:41 UTC] PHP Parse error: syntax error, unexpected '?' in /home/robelcom/public_html/res/x5engine.php on line 2426

in file x5engine.php show :

in line 2426 is :  $value = $this->orderData['payment']['enc'] ?? $_COOKIE[$cookie_name];

what is problem ?

Posted on the
7 ANSWERS
Andre E
Andre E
Moderator
Best User of the month EN

I don't know.

Do a full upload.

clear cache and cookies from the the browser.

visit page again, refresh with ctrl-F5

Hope this helps!

Read more
Posted on the from Andre E
Amir S.
Amir S.
User
Author

ctrl+F5

Unfortunately the problem was not resolved

Even I have completely erased my Explorer history

This problem has been there for more than twenty days, which is

This problem arises when we click on the product card to move to the product page

Read more
Posted on the from Amir S.
Amir S.
Amir S.
User
Author

I think
This problem is related to the PHP code that the software generates.

Read more
Posted on the from Amir S.
Amir S.
Amir S.
User
Author

I did more than 10 full uploads

Read more
Posted on the from Amir S.
Andre E
Andre E
Moderator
Best User of the month EN

to do it 1 time should be sufficient. 

Does it also happen with an other browser? Is the browser up to date?

Else delete the complete website from your hosting server, then do again a full upload.

Read more
Posted on the from Andre E
Amir S.
Amir S.
User
Author

i find problem for my site

I had to update the PHP version on the server

Method 1: Upgrading Your PHP Version (Recommended)

This method would be the best way to solve the “Parse error: syntax error, unexpected T_FUNCTION” error. Specifically if it really originates from a use of new PHP features while you are running an outdated version. Running an updated PHP version could both solve these errors and upgrade your performance, so it’s a double win for you!

Most hosts would allow you to manually change the PHP version via the cPanel:

  1. Log in to your hosting provider cPanel
  2. Look for the PHP Configuration button
  3. Manually select the a newer PHP version. We recommend PHP7 if available, but otherwise try to make sure it’s 5.4+

My problem was solved with the php update

thanks

Read more
Posted on the from Amir S.
Andre E
Andre E
Moderator
Best User of the month EN

Great,

That's a good solution.

thanks for the feedback.

Read more
Posted on the from Andre E