× Requests and support related to jBackend.

Error 500 problem and php version

  • mcevoli
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago - 9 years 5 months ago #4044 by mcevoli
Error 500 problem and php version was created by mcevoli
Hi,

I installed the latest version of jbackend and I got error 500.
Then after debugging it, I discovered that in plugin file user.php you added the following line twice:

$data = [ 'email' => $email ];

This is short syntax for "$data = array('email' => $email);" and is NOT working on php < 5.4.
I have php 5.3.29 yet on my server, so I got error 500.

I don't know if this syntax is present somewhere also on other file.
I think it should be a good idea still preserve the php 5.3 compatibility in the component, because there are lots of installation around.

Thanks.

Marco.
Last edit: 9 years 5 months ago by mcevoli.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #4046 by admin
Replied by admin on topic Error 500 problem and php version
Hi Marco,
thanks for reporting. I will change it in the next version.

Regards,
Luigi

Please Log in or Create an account to join the conversation.

Time to create page: 0.128 seconds