Project:
UbercartCategory:
bug reportPriority:
normalStatus:
activeplease, help me, i've always the same error when i make the checkout of the products to my page and it's impossible to calculate shipping (i have Ups onlinetools activated)... http://www.xbass.org
the error is :
* warning: array_search() [function.array-search]: Wrong datatype for first argument in /web/htdocs/www.xbass.org/home/modules/ubercart/shipping/uc_ups/uc_ups.module on line 811.
* warning: array_search() [function.array-search]: Wrong datatype for first argument in /web/htdocs/www.xbass.org/home/modules/ubercart/shipping/uc_ups/uc_ups.module on line 811.
* You must select a shipping option before continuing.



Re: UPS error...
Oh yeah. What's your PHP version?
UPs
php 4.4.7
Re: UPs
I was afraid of that. PHP 4 doesn't allow objects to be the needle in that function. I've added some code that converts them to arrays and back, so hopefully that will fix things.
I recommend upgrading to PHP 5.2 anyway.
Ups
Thank you for your disponibility. I'll contact my provider for upgrading PHP...otherwise, where is the code that you had added ?
Best
LYLE SAID: PHP 4 doesn't
LYLE SAID:
PHP 4 doesn't allow objects to be the needle in that function. I've added some code that converts them to arrays ...
where ? i can't find,
best regards,
Riccardo Valsecchi
Re: LYLE SAID: PHP 4 doesn't
http://www.ubercart.org/bazaar
bazaar
sorry, don't kill me ...but bazaar doesn't work !!!
Bazaar !!!!
ok, kill me...
perhaps there is something wrong in your bazaar dir...
i have this msg
bzr: ERROR: Connection error: while sending GET /drupal5/ubercart/.bzr/branch-format: (54, 'Connection reset by peer')
best
I don't see change in ups.module
dearl Lyle, i don't see any change in ups.module...can uou send me the line of the array that you have insert.
best