Jump to content



Photo
- - - - -

New UPS XML Shipping Module available


  • Please log in to reply
2424 replies to this topic

#2421   zoomnbyu

zoomnbyu

    Laundryguy

  • Members
  • 44 posts
  • Real Name:Todd Santoro
  • Gender:Male
  • Location:Omaha, NE

Posted 18 January 2016 - 22:03

Understand that this seems to be the issue that won't die but looking for some help to come from a slightly different direction.  We have shipments that are over 150lb.  All I want to do is edit the error to have the customer call us.  I've looked through several of the php files focusing on those in the english folder and searching through the forum without luck.  Any suggestions on where to find the error text?



#2422   zpupster

zpupster
  • Members
  • 304 posts
  • Real Name:craig

Posted 20 January 2016 - 23:55

hello,

 

I am using osc234 bootstrap and UPSXML_v1_5 on our website.

 

everything has been working great.

 

today i received errors when 3 customers ordered.

UPSXML Rates Error: : experienced by customer with id 784 on 2016-01-20 16:11:24

Error from cURL: Error [35]: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version experienced by customer with id 784 on 2016-01-20 16:11:24

 i received an email from ups 

Security Upgrade Required for UPS® Developer Kit APIs

Action is Required

UPS is in the process of upgrading communication security protocols for all web-based applications, including UPS Developer Kit Application Programming Interfaces (APIs), which are used to integrate UPS functionality into your website and applications.

Effective January 26, 2016, the UPS test environment will require the TLS 1.2 security protocol, and will be available for your system testing.

Effective May 31, 2016, UPS will require the TLS 1.2 security protocol in production. After that date, any communication requests submitted to UPS using older protocols (TLS 1.1 or earlier) will fail.

NOTE: From January 19 through May 31, 2016, you may see intermittent failures for any non-compliant transactions.

Please contact your company's IT department or your development team to ensure that any security protocols currently used meet the TLS 1.2 requirement. If you have Java enabled, you must be using version 1.7 or higher to use TLS 1.2. 

as for my troubleshooting i double checked my ssl certificate and everything is fine.

 

i need some suggestions,

 

thanks



#2423   Irin

Irin
  • Members
  • 870 posts
  • Real Name:Irina
  • Gender:Female
  • Location:Texas

Posted 29 January 2016 - 16:27

Hello,

 

I'm using UPS XML v1.5 with dimensional support on osc v2.3.4, php v5.6.15. The problem is that package dimensions are not saved in the database, shipping_boxes_used table is empty. I checked the installation steps, and they seem to be correct.

 

Any help is appreciated.

Thanks.

I still can't get package dimensions to save in the database. The table is empty. Please help! Thanks.



#2424   Lary_an

Lary_an
  • Members
  • 82 posts
  • Real Name:LARRY
  • Gender:Male

Posted 28 February 2016 - 18:45

I posted the following in the wrong place, but got the right answers from @MrPhil and @Jack_msc, so just wanted to share in case someone else has same issue.

_________

 

I am migrating to OsCommerce 2.3.4BS PHP 5.6 and trying to install UPSXML_V1_5. I am getting the following error

 

Fatal error: Call-time pass-by-reference has been removed in /home/..../..._html/admin/includes/classes/xml.php on line 139

 

I have no idea what to do and am stuck,

if i am using the wrong module please let me know, as i only saw 1 comment that it woks for someone with 2.3.4 Bootstrap.

 

Any help would be greatly appreciated.

Thanks

____________

 

Answers:

MrPhil

The error message tells you that PHP doesn't like something in the code syntax. The add-on's documentation says that it's been tested up throught PHP 5.3.3, which is now fairly old. PHP has outlawed pass by reference. Google the error message you got.

 

The code contains a number of lines similar to

xml_parser_set_option(&$this->parser, XML_OPTION_CASE_FOLDING, false);

and I don't think PHP allows

&$this->parser

style code any more. Try just removing the ampersand (&) and see if that works. You'll need to do this on multiple lines.

 

Jack_mcs

The error is due to code no longer allowed in php. If you look at that line, you will the & symbol. Remove it  and that should fix the problem. if you are not sure, post the link here and someone will show the proper change.

 

Thanks to both of them.



#2425   John W

John W
  • Community Sponsor
  • 395 posts
  • Real Name:John Wisdom
  • Gender:Male
  • Location:Orlando, Fl

Posted 28 February 2016 - 19:33

@Lary_an

You can also find a lot of answers by using Google for php errors.  Simply Google "Call-time pass-by-reference has been removed" and you'll find where this has been discussed such as Stackoverflow where you can learn more about the solution and why it needs to be changed. 


I'm not really a dog.