Closed (fixed)
Project:
Sage Pay Server Integration for Ubercart
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
10 Aug 2010 at 18:19 UTC
Updated:
17 Aug 2010 at 11:58 UTC
Hi,
Thanks for creating a project for this module.
However, the one i've been using here: http://drupal.org/node/684378#comment-3180266 (comment #49) works fine but not this module?
These are the errors in my log entries:
Sagepay Server sent a not OK response. <pre>Array ( [VPSProtocol] => 2.23 [Status] => INVALID [StatusDetail] => 3139 : The DeliveryState format is invalid. ) </p>
3139 : The DeliveryState format is invalid.
Also, install seems to fail as well. It works if you remove lines 117, 119 and 155
So i've revert back to the previous version that worked, which is http://drupal.org/node/684378#comment-3180266
Thanks,
Comments
Comment #1
leo pitt commentedComment #2
leo pitt commentedI have just commited a fix for this issue to HEAD. When the dev snapshot appears after the nightly build, please try it out and let me know if the issue is resolved using it.
Comment #3
leo pitt commentedActually, the install error is sufficiently major to warrant a new release outside of HEAD - this should be fixed in 6.x-1.2
Comment #4
onejam commentedExcellent, this version 6.x-1.2 works fine, thanks.
However, install script still has same issue on lines 117 and 119
error msg:
Comment #5
marcus178 commentedI get the same error when running update.php
Comment #6
leo pitt commentedI have corrected the faulty pass-by reference calls.
The calls to db_change_field in uc_sagepayserver.install should not be passing $ret by reference, because it is already explicitly passed by reference in the function definition.
On servers where the PHP configuration has allow_call_time_pass_reference set to off, this results in the warning you've reported.
I have added this fix to HEAD, and it should be available in the 6.x-1.x-dev development snapshot, after that has rebuilt tonight.
Please try that out tomorrow and let me know if the issue has been resolved.
Comment #7
leo pitt commentedFixed in 6.x-1.3
Comment #8
onejam commentedThanks for the new update. I can confirm version 6.x-1.3 is working as well.
Comment #9
leo pitt commented