[FX.php List] RE: FX using PHP 5.5?

Robert Fox rfox at innerfile.com
Fri Jul 4 16:40:55 MDT 2014


I've updated MAMP so that I can work with PHP 5.5 a little more easily. Now that I'm using the patched FX from Andrew, I am getting a new error from line 216 of '/datasource_classes/RetrieveFMXML.class.php':

"preg_replace_callback(): Requires argument 2, 'utf8HTMLEntities', to be a valid callback"


________________________________________
From: fx.php_list-bounces at mail.iviking.org [fx.php_list-bounces at mail.iviking.org] On Behalf Of Andrew Denman [adenman at tmea.org]
Sent: Wednesday, July 02, 2014 3:31 PM
To: FX.php Discussion List
Subject: [FX.php List] RE: FX using PHP 5.5?

Just to be clear (as I now see it may not have been), yodarunamok's version is the official. The pull request I submitted hasn't yet been included in that one.

The link I included is a fork that includes the patch to run on PHP 5.5 without errors.

Andrew Denman

-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Robert Fox
Sent: Wednesday, July 02, 2014 8:03 AM
To: FX.php Discussion List
Subject: [FX.php List] RE: FX using PHP 5.5?

I had been using the latest version from yodarunamok's repo (linked to from iviking.org), I will try the patch today.
________________________________________
From: fx.php_list-bounces at mail.iviking.org [fx.php_list-bounces at mail.iviking.org] On Behalf Of Andrew Denman [adenman at tmea.org]
Sent: Tuesday, July 01, 2014 12:17 PM
To: FX.php Discussion List
Subject: [FX.php List] RE: FX using PHP 5.5?

I submitted a patch to github for this. Try using this one:

https://github.com/APD183/fxphp


Andrew Denman

-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Robert Fox
Sent: Monday, June 30, 2014 3:55 PM
To: FX.php Discussion List
Subject: [FX.php List] FX using PHP 5.5?

Is it possible to use FX.php with PHP 5.5? I just tried doing that today, and received the error:
"preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead"

Sure enough, it's deprecated in PHP 5.5, and the DigitalOcean droplet I just fired up is using PHP 5.5.14. I'm willing to contribute to refactoring if somebody else hasn't already figured out a workaround for this!

Thanks,
Rob_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list
_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list
_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list
_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list


More information about the FX.php_List mailing list