So with PHP5.5 some of old Amfphp designs became deprecated/not supported. I have created a patch that makes it work again.
1) Save the gist contents located at my Github: https://gist.github.com/mattPiratt/35b8a7d139887d0e5049
into amfphp1.x-patch-to-work-with-php5.5.diff file . Best way to do this is by selectung "RAW view" on Github page, and than "Save page as" in the internet browser.
You must not edit the file contents. Especially white signs must be untouched, and also line endings must be CRLF.
For lazy people, I've added attachment here.
2) locate the file in your project, next to "amfphp" directory
3) patch the amfphp by command:
patch -p0 -i amfphp1.x-patch-to-work-with-php5.5.diff
...if all goes well you will get such response:
patching file amfphp/core/amf/util/DateWrapper.php
patching file amfphp/core/shared/app/php5Executive.php
patching file amfphp/core/shared/exception/MessageException.php
patching file amfphp/core/shared/util/CharsetHandler.php
patching file amfphp/core/shared/util/Headers.php
patching file amfphp/core/shared/util/MethodTable.php
patching file amfphp/core/shared/util/NetDebug.php
4) find Your config/config_db.php file, and add this line on top of Your file:
$mysqlData= new stdClass();
That's it. That is what did the trick for me.
Gretings.
So with PHP5.5 some of old Amfphp designs became deprecated/not supported. I have created a patch that makes it work again.
1) Save the gist contents located at my Github:
https://gist.github.com/mattPiratt/35b8a7d139887d0e5049
into amfphp1.x-patch-to-work-with-php5.5.diff file . Best way to do this is by selectung "RAW view" on Github page, and than "Save page as" in the internet browser.
You must not edit the file contents. Especially white signs must be untouched, and also line endings must be CRLF.
For lazy people, I've added attachment here.
2) locate the file in your project, next to "amfphp" directory
3) patch the amfphp by command:
patch -p0 -i amfphp1.x-patch-to-work-with-php5.5.diff
...if all goes well you will get such response:
patching file amfphp/core/amf/util/DateWrapper.php
patching file amfphp/core/shared/app/php5Executive.php
patching file amfphp/core/shared/exception/MessageException.php
patching file amfphp/core/shared/util/CharsetHandler.php
patching file amfphp/core/shared/util/Headers.php
patching file amfphp/core/shared/util/MethodTable.php
patching file amfphp/core/shared/util/NetDebug.php
4) find Your config/config_db.php file, and add this line on top of Your file:
$mysqlData= new stdClass();
That's it. That is what did the trick for me.
Gretings.
Last edit: Kubek Bartosz 2014-04-29