Created
September 17, 2014 18:38
-
-
Save brookinsconsulting/7a9531b25a324ea2240f to your computer and use it in GitHub Desktop.
eZ Publish 4.4 Kernel Patch to Run Using PHP 5.4 (or greater). Apply patch with these commands: cd /path/to/ez; patch -s -p0 < kernel_patch_for_ezpublish44_lib_ezutils_for_php54.patch; Forum Reference: http://share.ez.no/forums/install-configuration/php-5.4.1-no-call-method-defined-for-function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ruN lib/ezutils/classes/ezmodulefunctioninfo.php lib-for-ezp44-patched-for-php-54/ezutils/classes/ezmodulefunctioninfo.php | |
--- lib/ezutils/classes/ezmodulefunctioninfo.php 2014-09-17 13:31:51.000000000 -0500 | |
+++ lib-for-ezp44-patched-for-php-54/ezutils/classes/ezmodulefunctioninfo.php 2014-09-17 13:27:07.000000000 -0500 | |
@@ -136,13 +136,13 @@ | |
return false; | |
} | |
$functionDefinition = $this->FunctionList[$functionName]; | |
- if ( !isset( $functionName['call_method'] ) ) | |
+ if ( !isset( $functionDefinition['call_method'] ) ) | |
{ | |
eZDebug::writeError( "No call method defined for function '$functionName' in module '$moduleName'", | |
'eZModuleFunctionInfo::execute' ); | |
return false; | |
} | |
- if ( !isset( $functionName['parameters'] ) ) | |
+ if ( !isset( $functionDefinition['parameters'] ) ) | |
{ | |
eZDebug::writeError( "No parameters defined for function '$functionName' in module '$moduleName'", | |
'eZModuleFunctionInfo::execute' ); | |
@@ -181,13 +181,13 @@ | |
return null; | |
} | |
$functionDefinition = $this->FunctionList[$functionName]; | |
- if ( !isset( $functionName['call_method'] ) ) | |
+ if ( !isset( $functionDefinition['call_method'] ) ) | |
{ | |
eZDebug::writeError( "No call method defined for function '$functionName' in module '$moduleName'", | |
'eZModuleFunctionInfo::execute' ); | |
return null; | |
} | |
- if ( !isset( $functionName['parameters'] ) ) | |
+ if ( !isset( $functionDefinition['parameters'] ) ) | |
{ | |
eZDebug::writeError( "No parameters defined for function '$functionName' in module '$moduleName'", | |
'eZModuleFunctionInfo::execute' ); | |
diff -ruN lib/ezutils/classes/ezmoduleoperationinfo.php lib-for-ezp44-patched-for-php-54/ezutils/classes/ezmoduleoperationinfo.php | |
--- lib/ezutils/classes/ezmoduleoperationinfo.php 2014-09-17 13:31:43.000000000 -0500 | |
+++ lib-for-ezp44-patched-for-php-54/ezutils/classes/ezmoduleoperationinfo.php 2014-09-17 13:29:21.000000000 -0500 | |
@@ -153,19 +153,19 @@ | |
return null; | |
} | |
$operationDefinition = $this->OperationList[$operationName]; | |
- if ( !isset( $operationName['default_call_method'] ) ) | |
+ if ( !isset( $operationDefinition['default_call_method'] ) ) | |
{ | |
eZDebug::writeError( "No call method defined for operation '$operationName' in module '$moduleName'", | |
'eZModuleOperationInfo::execute' ); | |
return null; | |
} | |
- if ( !isset( $operationName['body'] ) ) | |
+ if ( !isset( $operationDefinition['body'] ) ) | |
{ | |
eZDebug::writeError( "No body for operation '$operationName' in module '$moduleName'", | |
'eZModuleOperationInfo::execute' ); | |
return null; | |
} | |
- if ( !isset( $operationName['parameters'] ) ) | |
+ if ( !isset( $operationDefinition['parameters'] ) ) | |
{ | |
eZDebug::writeError( "No parameters defined for operation '$operationName' in module '$moduleName'", | |
'eZModuleOperationInfo::execute' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment