Forums / Developer / eZ Authorize / Comment44948

Author Topic

Chris G

Tuesday 29 August 2006 1:42:58 am

Comment44948

I just downloaded the Ez-Authorize contribution for the latest version of Exponential which at the time of this posting is 3.8.3 however; I was concerned it didn't work for the latest version, I collaborated with Graham at Brookins Consulting and he discovered that the version of php may effect the install process of the ez-authorize contribution they made. He quickly found the error and now it seems to work fine, so I will post the procedure incase others run into the same problem.

First off, during the install of ezauthorize when youre creating the workflow command in the installation instructions, if you suddenly get several errors like

PHP Warning:  Call-time pass-by-reference has been deprecated - argument passed by value;  If you would like to pass it by reference, modify the declaration of [runtime function name]().  If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file.  However, future versions may not support this any longer.  in /hermes/data11/b2215/ph.d30063181/forum/ips_kernel/class_db_mysql.php on line 171

or during the saving of the site.ini.append.php file (assuming your in the workflow editor at the time) its due to the version of php that is running on your server. The version I was running was PHP Version: 4.4.2 it was the answer in an email Gram sent me below.

<b>"In new versions of PHP there is no need to indicate the variable $this
as passed by reference. This is done in the definition of a function. So
remove the *&* in &$this and the error message disappears."</b>

I will be uploading the new changes in the contribution area, so if you download the latest ezauthorize you should be good to go. If you have any questions concerning this solution you can contact Graham at Brookins Consulting they do a grand job and seem to be right on top of it.

Good Luck
Ez-Authorize IS as good as it seems to be...works great..
Chris..