[Skip to main content](#vessel-content)

#   USPS 500 error

##

- **[timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile")**
- [![timberlinetom's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29306-timberlinetom "View timberlinetom's Profile")
- [ Offline](/forum/user/29306-timberlinetom)

Less More

- Posts: 16
- Thank you received: 3
-
-

12 years 11 months ago [\#131874](#131874) by [timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile")  Replied by *[timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile")* on topic *[USPS 500 error](/forum/28-shipping-methods/863477-usps-500-error?start=20#131874 "-- url of the page with the problem -- :   gravestonstudies.org  -- HikaShop version -- : Business 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.20 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : error: Call to a member function xpath() on a non-object in /home3/gravest3/public&#95;html/plugins/hikashopshipping/usps/usps.php on line 371 &#91;09-Nov-2013 05:48:27 America/Denver&#93; PHP Fatal  Hi,  I have a weird problem that has suddenly occurred since going live with my new site.When trying to access the USPS shipping plugin I get a 500 error. I have a weight restriction of 3.25 oz under restrictions so anything under that weight will trigger FREE shipping (manual shipping).  As I said, this was working until today so I'm not sure what the problem could be or what might have changed. I went live yesterday afternoon and it was working. Two orders came in overnight (the customers chose Priority Mail) -- so it must have been working then.  I'm stumped -- any help would be greatly appreciated.")*

I have installed a clean Joomla version and clean Hikashop version on my local server where I can guaranteed there is no problem with connecting to the USPS API website. Errors persist.

Apparently USPS had done something to their API which Hikashop will have to change in the plugin.

In the meantime, I have reverted to a more complicated manual shipping setup I used before enabling the USPS plugin.

Hopefully this can be resolved soon.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3NoaXBwaW5nLW1ldGhvZHMvODYzNDc3LXVzcHMtNTAwLWVycm9yP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 11 months ago [\#131878](#131878) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[USPS 500 error](/forum/28-shipping-methods/863477-usps-500-error?start=20#131878 "-- url of the page with the problem -- :   gravestonstudies.org  -- HikaShop version -- : Business 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.20 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : error: Call to a member function xpath() on a non-object in /home3/gravest3/public&#95;html/plugins/hikashopshipping/usps/usps.php on line 371 &#91;09-Nov-2013 05:48:27 America/Denver&#93; PHP Fatal  Hi,  I have a weird problem that has suddenly occurred since going live with my new site.When trying to access the USPS shipping plugin I get a 500 error. I have a weight restriction of 3.25 oz under restrictions so anything under that weight will trigger FREE shipping (manual shipping).  As I said, this was working until today so I'm not sure what the problem could be or what might have changed. I went live yesterday afternoon and it was working. Two orders came in overnight (the customers chose Priority Mail) -- so it must have been working then.  I'm stumped -- any help would be greatly appreciated.")*

Hi,

By giving us useful information for debugging.
Like explain in the post 131863 : [ www.hikashop.com/forum/shipping-methods/...00-error.html#131863](http://www.hikashop.com/forum/shipping-methods/863477-usps-500-error.html#131863)
We do not have USPS account so we can't test. So we are like blind people.

You can also follow the instruction that Nicolas gave you by mails.
And you know, we are also closed today ![:)](/media/kunena/emoticons/8.png ":)")

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3NoaXBwaW5nLW1ldGhvZHMvODYzNDc3LXVzcHMtNTAwLWVycm9yP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[julian56](/forum/user/6608-julian56 "View julian56's Profile")**
- [![julian56's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6608.jpg)](/forum/user/6608-julian56 "View julian56's Profile")
- [ Offline](/forum/user/6608-julian56)

Less More

- Posts: 73
- Thank you received: 1
-
-

12 years 11 months ago [\#131882](#131882) by [julian56](/forum/user/6608-julian56 "View julian56's Profile")  Replied by *[julian56](/forum/user/6608-julian56 "View julian56's Profile")* on topic *[USPS 500 error](/forum/28-shipping-methods/863477-usps-500-error?start=20#131882 "-- url of the page with the problem -- :   gravestonstudies.org  -- HikaShop version -- : Business 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.20 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : error: Call to a member function xpath() on a non-object in /home3/gravest3/public&#95;html/plugins/hikashopshipping/usps/usps.php on line 371 &#91;09-Nov-2013 05:48:27 America/Denver&#93; PHP Fatal  Hi,  I have a weird problem that has suddenly occurred since going live with my new site.When trying to access the USPS shipping plugin I get a 500 error. I have a weight restriction of 3.25 oz under restrictions so anything under that weight will trigger FREE shipping (manual shipping).  As I said, this was working until today so I'm not sure what the problem could be or what might have changed. I went live yesterday afternoon and it was working. Two orders came in overnight (the customers chose Priority Mail) -- so it must have been working then.  I'm stumped -- any help would be greatly appreciated.")*

Hi timerlinetom

I cannot contact usps today, so can you tell me how you managed that:
"In the meantime, I have reverted to a more complicated manual shipping setup I used before enabling the USPS plugin."

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3NoaXBwaW5nLW1ldGhvZHMvODYzNDc3LXVzcHMtNTAwLWVycm9yP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile")**
- [![timberlinetom's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29306-timberlinetom "View timberlinetom's Profile")
- [ Offline](/forum/user/29306-timberlinetom)

Less More

- Posts: 16
- Thank you received: 3
-
-

12 years 11 months ago [\#131889](#131889) by [timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile")  Replied by *[timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile")* on topic *[USPS 500 error](/forum/28-shipping-methods/863477-usps-500-error?start=20#131889 "-- url of the page with the problem -- :   gravestonstudies.org  -- HikaShop version -- : Business 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.20 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : error: Call to a member function xpath() on a non-object in /home3/gravest3/public&#95;html/plugins/hikashopshipping/usps/usps.php on line 371 &#91;09-Nov-2013 05:48:27 America/Denver&#93; PHP Fatal  Hi,  I have a weird problem that has suddenly occurred since going live with my new site.When trying to access the USPS shipping plugin I get a 500 error. I have a weight restriction of 3.25 oz under restrictions so anything under that weight will trigger FREE shipping (manual shipping).  As I said, this was working until today so I'm not sure what the problem could be or what might have changed. I went live yesterday afternoon and it was working. Two orders came in overnight (the customers chose Priority Mail) -- so it must have been working then.  I'm stumped -- any help would be greatly appreciated.")*

I had setup several manual shipping options increasing in price with increases in weight. This was pure guess and not very accurate. You really need to do your own calculations - mine are not correct. But at least I get something for shipping while the plugin in not working. I attached a screenshot, only good for example, you must do your own calculations.

- [ ![h9fdb2d9.jpg](/forum/attachment/13593) ](/forum/attachment/13593 "h9fdb2d9.jpg") [ ](/forum/attachment/13593?download=1 "h9fdb2d9.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3NoaXBwaW5nLW1ldGhvZHMvODYzNDc3LXVzcHMtNTAwLWVycm9yP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[julian56](/forum/user/6608-julian56 "View julian56's Profile")**
- [![julian56's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6608.jpg)](/forum/user/6608-julian56 "View julian56's Profile")
- [ Offline](/forum/user/6608-julian56)

Less More

- Posts: 73
- Thank you received: 1
-
-

12 years 11 months ago [\#131892](#131892) by [julian56](/forum/user/6608-julian56 "View julian56's Profile")  Replied by *[julian56](/forum/user/6608-julian56 "View julian56's Profile")* on topic *[USPS 500 error](/forum/28-shipping-methods/863477-usps-500-error?start=20#131892 "-- url of the page with the problem -- :   gravestonstudies.org  -- HikaShop version -- : Business 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.20 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : error: Call to a member function xpath() on a non-object in /home3/gravest3/public&#95;html/plugins/hikashopshipping/usps/usps.php on line 371 &#91;09-Nov-2013 05:48:27 America/Denver&#93; PHP Fatal  Hi,  I have a weird problem that has suddenly occurred since going live with my new site.When trying to access the USPS shipping plugin I get a 500 error. I have a weight restriction of 3.25 oz under restrictions so anything under that weight will trigger FREE shipping (manual shipping).  As I said, this was working until today so I'm not sure what the problem could be or what might have changed. I went live yesterday afternoon and it was working. Two orders came in overnight (the customers chose Priority Mail) -- so it must have been working then.  I'm stumped -- any help would be greatly appreciated.")*

Thank you ![:-)](/media/kunena/emoticons/9.png ":-)")
I hope that Ikashop will find a solution very soon for this excellent plugin...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3NoaXBwaW5nLW1ldGhvZHMvODYzNDc3LXVzcHMtNTAwLWVycm9yP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile")**
- [![timberlinetom's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29306-timberlinetom "View timberlinetom's Profile")
- [ Offline](/forum/user/29306-timberlinetom)

Less More

- Posts: 16
- Thank you received: 3
-
-

12 years 11 months ago -  12 years 11 months ago [\#131899](#131899) by [timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile")  Replied by *[timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile")* on topic *[USPS 500 error](/forum/28-shipping-methods/863477-usps-500-error?start=20#131899 "-- url of the page with the problem -- :   gravestonstudies.org  -- HikaShop version -- : Business 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.20 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : error: Call to a member function xpath() on a non-object in /home3/gravest3/public&#95;html/plugins/hikashopshipping/usps/usps.php on line 371 &#91;09-Nov-2013 05:48:27 America/Denver&#93; PHP Fatal  Hi,  I have a weird problem that has suddenly occurred since going live with my new site.When trying to access the USPS shipping plugin I get a 500 error. I have a weight restriction of 3.25 oz under restrictions so anything under that weight will trigger FREE shipping (manual shipping).  As I said, this was working until today so I'm not sure what the problem could be or what might have changed. I went live yesterday afternoon and it was working. Two orders came in overnight (the customers chose Priority Mail) -- so it must have been working then.  I'm stumped -- any help would be greatly appreciated.")*

Sorry, inserting the above code is not giving me any more information. Only 4 lines of errors I've already noted.

Edit:::
Sorry, I should have clarified. I was using the code requested in posting:
[ www.hikashop.com/forum/shipping-methods/...rt=0&amp;start=20#131863](http://www.hikashop.com/forum/shipping-methods/863477-usps-500-error.html?limitstart=0&start=20#131863)

I just get a blank screen, no additional information in server logs, php error logs or displayed on the screen.

Last edit: 12 years 11 months ago by [timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile"). Reason: missing information

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3NoaXBwaW5nLW1ldGhvZHMvODYzNDc3LXVzcHMtNTAwLWVycm9yP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 11 months ago [\#131926](#131926) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[USPS 500 error](/forum/28-shipping-methods/863477-usps-500-error?start=20#131926 "-- url of the page with the problem -- :   gravestonstudies.org  -- HikaShop version -- : Business 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.20 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : error: Call to a member function xpath() on a non-object in /home3/gravest3/public&#95;html/plugins/hikashopshipping/usps/usps.php on line 371 &#91;09-Nov-2013 05:48:27 America/Denver&#93; PHP Fatal  Hi,  I have a weird problem that has suddenly occurred since going live with my new site.When trying to access the USPS shipping plugin I get a 500 error. I have a weight restriction of 3.25 oz under restrictions so anything under that weight will trigger FREE shipping (manual shipping).  As I said, this was working until today so I'm not sure what the problem could be or what might have changed. I went live yesterday afternoon and it was working. Two orders came in overnight (the customers chose Priority Mail) -- so it must have been working then.  I'm stumped -- any help would be greatly appreciated.")*

Hi,

Thanks for the information.
Can you just try to use the "view page source code" because it is possible that USPS return some XML which is not understandable for the browser so it does not display it. I should have use the "htmlentities" function in order to transform all the content into a readable HTML text..

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3NoaXBwaW5nLW1ldGhvZHMvODYzNDc3LXVzcHMtNTAwLWVycm9yP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile")**
- [![timberlinetom's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29306-timberlinetom "View timberlinetom's Profile")
- [ Offline](/forum/user/29306-timberlinetom)

Less More

- Posts: 16
- Thank you received: 3
-
-

12 years 11 months ago [\#131931](#131931) by [timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile")  Replied by *[timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile")* on topic *[USPS 500 error](/forum/28-shipping-methods/863477-usps-500-error?start=20#131931 "-- url of the page with the problem -- :   gravestonstudies.org  -- HikaShop version -- : Business 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.20 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : error: Call to a member function xpath() on a non-object in /home3/gravest3/public&#95;html/plugins/hikashopshipping/usps/usps.php on line 371 &#91;09-Nov-2013 05:48:27 America/Denver&#93; PHP Fatal  Hi,  I have a weird problem that has suddenly occurred since going live with my new site.When trying to access the USPS shipping plugin I get a 500 error. I have a weight restriction of 3.25 oz under restrictions so anything under that weight will trigger FREE shipping (manual shipping).  As I said, this was working until today so I'm not sure what the problem could be or what might have changed. I went live yesterday afternoon and it was working. Two orders came in overnight (the customers chose Priority Mail) -- so it must have been working then.  I'm stumped -- any help would be greatly appreciated.")*

What I got is:

HTTP/1.1 500 Error
X-Backside-Transport: FAIL FAIL
Content-Type: text/xml
Connection: close

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3NoaXBwaW5nLW1ldGhvZHMvODYzNDc3LXVzcHMtNTAwLWVycm9yP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 11 months ago [\#131934](#131934) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[USPS 500 error](/forum/28-shipping-methods/863477-usps-500-error?start=20#131934 "-- url of the page with the problem -- :   gravestonstudies.org  -- HikaShop version -- : Business 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.20 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : error: Call to a member function xpath() on a non-object in /home3/gravest3/public&#95;html/plugins/hikashopshipping/usps/usps.php on line 371 &#91;09-Nov-2013 05:48:27 America/Denver&#93; PHP Fatal  Hi,  I have a weird problem that has suddenly occurred since going live with my new site.When trying to access the USPS shipping plugin I get a 500 error. I have a weight restriction of 3.25 oz under restrictions so anything under that weight will trigger FREE shipping (manual shipping).  As I said, this was working until today so I'm not sure what the problem could be or what might have changed. I went live yesterday afternoon and it was working. Two orders came in overnight (the customers chose Priority Mail) -- so it must have been working then.  I'm stumped -- any help would be greatly appreciated.")*

Hi,

Interesting !
Can you modify the plugin and change the $req value by: Code:

$req = "GET /ShippingAPI.dll?API=" . $apiName . "&amp;XML=" . urlencode($XMLRequest) . " HTTP/1.1\r\n". 'Server: '.$_SERVER['SERVER_SOFTWARE']."\r\n". 'Host: production.shippingapis.com'."\r\n". 'Content-Type: text/xml'."\r\n". 'Accept: */'.'*'."\r\n". 'Connection: close'."\r\n\r\n";

Maybe sending more data for the HTTP headers will fix it.
Just an idea like that ![:)](/media/kunena/emoticons/8.png ":)")

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3NoaXBwaW5nLW1ldGhvZHMvODYzNDc3LXVzcHMtNTAwLWVycm9yP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile")**
- [![timberlinetom's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29306-timberlinetom "View timberlinetom's Profile")
- [ Offline](/forum/user/29306-timberlinetom)

Less More

- Posts: 16
- Thank you received: 3
-
-

12 years 11 months ago [\#131938](#131938) by [timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile")  Replied by *[timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile")* on topic *[USPS 500 error](/forum/28-shipping-methods/863477-usps-500-error?start=20#131938 "-- url of the page with the problem -- :   gravestonstudies.org  -- HikaShop version -- : Business 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.20 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : error: Call to a member function xpath() on a non-object in /home3/gravest3/public&#95;html/plugins/hikashopshipping/usps/usps.php on line 371 &#91;09-Nov-2013 05:48:27 America/Denver&#93; PHP Fatal  Hi,  I have a weird problem that has suddenly occurred since going live with my new site.When trying to access the USPS shipping plugin I get a 500 error. I have a weight restriction of 3.25 oz under restrictions so anything under that weight will trigger FREE shipping (manual shipping).  As I said, this was working until today so I'm not sure what the problem could be or what might have changed. I went live yesterday afternoon and it was working. Two orders came in overnight (the customers chose Priority Mail) -- so it must have been working then.  I'm stumped -- any help would be greatly appreciated.")*

Code:

HTTP/1.1 200 OK X-Backside-Transport: OK OK Connection: Keep-Alive Transfer-Encoding: chunked Date: Tue, 12 Nov 2013 03:32:52 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-Client-IP: 56.0.70.6 Content-Type: text/xml 27 &lt;?xml version="1.0" encoding="UTF-8"?&gt; 17c &lt;RateV4Response&gt;&lt;Package ID="1"&gt;&lt;ZipOrigination&gt;80923&lt;/ZipOrigination&gt;&lt;ZipDestination&gt;49426&lt;/ZipDestination&gt;&lt;Pounds&gt;1&lt;/Pounds&gt;&lt;Ounces&gt;0&lt;/Ounces&gt;&lt;Container&gt;VARIABLE&lt;/Container&gt;&lt;Size&gt;REGULAR&lt;/Size&gt;&lt;Zone&gt;6&lt;/Zone&gt;&lt;Postage CLASSID="1"&gt;&lt;MailService&gt;Priority Mail 2-Day&amp;amp;lt;sup&amp;amp;gt;&amp;amp;#8482;&amp;amp;lt;/sup&amp;amp;gt;&lt;/MailService&gt;&lt;Rate&gt;6.20&lt;/Rate&gt;&lt;/Postage&gt;&lt;/Package&gt;&lt;/RateV4Response&gt; 0

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3NoaXBwaW5nLW1ldGhvZHMvODYzNDc3LXVzcHMtNTAwLWVycm9yP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 11 months ago [\#131944](#131944) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[USPS 500 error](/forum/28-shipping-methods/863477-usps-500-error?start=20#131944 "-- url of the page with the problem -- :   gravestonstudies.org  -- HikaShop version -- : Business 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.20 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : error: Call to a member function xpath() on a non-object in /home3/gravest3/public&#95;html/plugins/hikashopshipping/usps/usps.php on line 371 &#91;09-Nov-2013 05:48:27 America/Denver&#93; PHP Fatal  Hi,  I have a weird problem that has suddenly occurred since going live with my new site.When trying to access the USPS shipping plugin I get a 500 error. I have a weight restriction of 3.25 oz under restrictions so anything under that weight will trigger FREE shipping (manual shipping).  As I said, this was working until today so I'm not sure what the problem could be or what might have changed. I went live yesterday afternoon and it was working. Two orders came in overnight (the customers chose Priority Mail) -- so it must have been working then.  I'm stumped -- any help would be greatly appreciated.")*

Hi,

So I think that if you remove the "die", it should work now.. Right ?

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3NoaXBwaW5nLW1ldGhvZHMvODYzNDc3LXVzcHMtNTAwLWVycm9yP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile")**
- [![timberlinetom's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29306-timberlinetom "View timberlinetom's Profile")
- [ Offline](/forum/user/29306-timberlinetom)

Less More

- Posts: 16
- Thank you received: 3
-
-

12 years 11 months ago [\#131948](#131948) by [timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile")  Replied by *[timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile")* on topic *[USPS 500 error](/forum/28-shipping-methods/863477-usps-500-error?start=20#131948 "-- url of the page with the problem -- :   gravestonstudies.org  -- HikaShop version -- : Business 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.20 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : error: Call to a member function xpath() on a non-object in /home3/gravest3/public&#95;html/plugins/hikashopshipping/usps/usps.php on line 371 &#91;09-Nov-2013 05:48:27 America/Denver&#93; PHP Fatal  Hi,  I have a weird problem that has suddenly occurred since going live with my new site.When trying to access the USPS shipping plugin I get a 500 error. I have a weight restriction of 3.25 oz under restrictions so anything under that weight will trigger FREE shipping (manual shipping).  As I said, this was working until today so I'm not sure what the problem could be or what might have changed. I went live yesterday afternoon and it was working. Two orders came in overnight (the customers chose Priority Mail) -- so it must have been working then.  I'm stumped -- any help would be greatly appreciated.")*

You would think. But I still get an absolutely blank page. Using Chrome, if inspect elements, all I see is an empty table. I attached a screenshot.

- [ ![h95ae73a.jpg](/forum/attachment/13594) ](/forum/attachment/13594 "h95ae73a.jpg") [ ](/forum/attachment/13594?download=1 "h95ae73a.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3NoaXBwaW5nLW1ldGhvZHMvODYzNDc3LXVzcHMtNTAwLWVycm9yP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[julian56](/forum/user/6608-julian56 "View julian56's Profile")**
- [![julian56's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6608.jpg)](/forum/user/6608-julian56 "View julian56's Profile")
- [ Offline](/forum/user/6608-julian56)

Less More

- Posts: 73
- Thank you received: 1
-
-

12 years 11 months ago [\#132040](#132040) by [julian56](/forum/user/6608-julian56 "View julian56's Profile")  Replied by *[julian56](/forum/user/6608-julian56 "View julian56's Profile")* on topic *[USPS 500 error](/forum/28-shipping-methods/863477-usps-500-error?start=20#132040 "-- url of the page with the problem -- :   gravestonstudies.org  -- HikaShop version -- : Business 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.20 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : error: Call to a member function xpath() on a non-object in /home3/gravest3/public&#95;html/plugins/hikashopshipping/usps/usps.php on line 371 &#91;09-Nov-2013 05:48:27 America/Denver&#93; PHP Fatal  Hi,  I have a weird problem that has suddenly occurred since going live with my new site.When trying to access the USPS shipping plugin I get a 500 error. I have a weight restriction of 3.25 oz under restrictions so anything under that weight will trigger FREE shipping (manual shipping).  As I said, this was working until today so I'm not sure what the problem could be or what might have changed. I went live yesterday afternoon and it was working. Two orders came in overnight (the customers chose Priority Mail) -- so it must have been working then.  I'm stumped -- any help would be greatly appreciated.")*

Any progress on this important issue?...
Any fix?
I am in the trouble about that...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3NoaXBwaW5nLW1ldGhvZHMvODYzNDc3LXVzcHMtNTAwLWVycm9yP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 11 months ago [\#132076](#132076) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[USPS 500 error](/forum/28-shipping-methods/863477-usps-500-error?start=20#132076 "-- url of the page with the problem -- :   gravestonstudies.org  -- HikaShop version -- : Business 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.20 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : error: Call to a member function xpath() on a non-object in /home3/gravest3/public&#95;html/plugins/hikashopshipping/usps/usps.php on line 371 &#91;09-Nov-2013 05:48:27 America/Denver&#93; PHP Fatal  Hi,  I have a weird problem that has suddenly occurred since going live with my new site.When trying to access the USPS shipping plugin I get a 500 error. I have a weight restriction of 3.25 oz under restrictions so anything under that weight will trigger FREE shipping (manual shipping).  As I said, this was working until today so I'm not sure what the problem could be or what might have changed. I went live yesterday afternoon and it was working. Two orders came in overnight (the customers chose Priority Mail) -- so it must have been working then.  I'm stumped -- any help would be greatly appreciated.")*

Hi timberlinetom,

Mhmm, I guess that the truncated return is not read correctly by the plugin.
I think that USPS changed their servers which now only manage HTTP/1.1
The plugin developed by an external developer/company (who gave us the plugin for free) does not handle the connection like we did generally.
Well, I rewrite the function "doUPS" in order to use cURL and not a raw socket. It is quite better to respect standards and have a right processed result.

Please test this new function, I hope that it will return a better result. Code:

function doUSPS($XMLRequest, $domesticShipment) { $apiName = 'RateV4'; // Change API name if this is an International shipment. // Determined by $domesticShipping boolean value. // if($domesticShipment == false) $apiName = 'IntlRateV2'; $url = 'http://production.shippingapis.com/ShippingAPI.dll?API=' . $apiName . '&amp;XML=' . urlencode($XMLRequest); $session = curl_init(); curl_setopt($session, CURLOPT_FRESH_CONNECT, true); curl_setopt($session, CURLOPT_POST, false); curl_setopt($session, CURLOPT_FOLLOWLOCATION, false); curl_setopt($session, CURLOPT_FAILONERROR, true); curl_setopt($session, CURLOPT_RETURNTRANSFER, true); curl_setopt($session, CURLOPT_COOKIEFILE, ''); curl_setopt($session, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($session, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($session, CURLOPT_ENCODING, 'UTF-8'); curl_setopt($session, CURLOPT_URL, $url); $result = curl_exec($session); $error = curl_error($session); if(empty($result)) { $app = JFactory::getApplication(); $app-&gt;enqueueMessage( 'Cannot connect to USPS web service. You hosting company might be blocking outbound connections.&lt;br/&gt;'.$error); return false; } $responseDoc = simplexml_load_string($result); if($responseDoc === false) { $app = JFactory::getApplication(); $app-&gt;enqueueMessage('Cannot dialog with USPS web service.&lt;br/&gt;'.$result); return false; } return $responseDoc; }

@Julian56 : I said you a high number of time that if you want to help you can make some tests, follow this thread and like the other people, try some things to solve the problem. But asking like you did, will not help anything.
We know that it is a big problem but.. sending us a lot of messages without any useful information does not help.
I prefer to be direct and honest. I hope that I am clear enough and that you understand that we also want to solve this problem as fast as possible.
At the moment that we will have a news, you will know because we concentrated the USPS problem on this single thread.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [julian56](/forum/user/6608-julian56 "View julian56's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3NoaXBwaW5nLW1ldGhvZHMvODYzNDc3LXVzcHMtNTAwLWVycm9yP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[julian56](/forum/user/6608-julian56 "View julian56's Profile")**
- [![julian56's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6608.jpg)](/forum/user/6608-julian56 "View julian56's Profile")
- [ Offline](/forum/user/6608-julian56)

Less More

- Posts: 73
- Thank you received: 1
-
-

12 years 11 months ago [\#132081](#132081) by [julian56](/forum/user/6608-julian56 "View julian56's Profile")  Replied by *[julian56](/forum/user/6608-julian56 "View julian56's Profile")* on topic *[USPS 500 error](/forum/28-shipping-methods/863477-usps-500-error?start=20#132081 "-- url of the page with the problem -- :   gravestonstudies.org  -- HikaShop version -- : Business 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.20 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : error: Call to a member function xpath() on a non-object in /home3/gravest3/public&#95;html/plugins/hikashopshipping/usps/usps.php on line 371 &#91;09-Nov-2013 05:48:27 America/Denver&#93; PHP Fatal  Hi,  I have a weird problem that has suddenly occurred since going live with my new site.When trying to access the USPS shipping plugin I get a 500 error. I have a weight restriction of 3.25 oz under restrictions so anything under that weight will trigger FREE shipping (manual shipping).  As I said, this was working until today so I'm not sure what the problem could be or what might have changed. I went live yesterday afternoon and it was working. Two orders came in overnight (the customers chose Priority Mail) -- so it must have been working then.  I'm stumped -- any help would be greatly appreciated.")*

Sorry about that!!!
I am not familiar with the way to communicate with forums and I didn't find the way to delete few of my posts... I will be more attentive ![:-)](/media/kunena/emoticons/9.png ":-)") Thank you anyway for your work!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3NoaXBwaW5nLW1ldGhvZHMvODYzNDc3LXVzcHMtNTAwLWVycm9yP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[joanne721](/forum/user/14224-joanne721 "View joanne721's Profile")**
- [![joanne721's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar14224.jpg)](/forum/user/14224-joanne721 "View joanne721's Profile") Topic Author
- [ Offline](/forum/user/14224-joanne721)

Less More

- Posts: 100
- Thank you received: 2
-
-

12 years 11 months ago [\#132082](#132082) by [joanne721](/forum/user/14224-joanne721 "View joanne721's Profile")  Replied by *[joanne721](/forum/user/14224-joanne721 "View joanne721's Profile")* on topic *[USPS 500 error](/forum/28-shipping-methods/863477-usps-500-error?start=20#132082 "-- url of the page with the problem -- :   gravestonstudies.org  -- HikaShop version -- : Business 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.20 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : error: Call to a member function xpath() on a non-object in /home3/gravest3/public&#95;html/plugins/hikashopshipping/usps/usps.php on line 371 &#91;09-Nov-2013 05:48:27 America/Denver&#93; PHP Fatal  Hi,  I have a weird problem that has suddenly occurred since going live with my new site.When trying to access the USPS shipping plugin I get a 500 error. I have a weight restriction of 3.25 oz under restrictions so anything under that weight will trigger FREE shipping (manual shipping).  As I said, this was working until today so I'm not sure what the problem could be or what might have changed. I went live yesterday afternoon and it was working. Two orders came in overnight (the customers chose Priority Mail) -- so it must have been working then.  I'm stumped -- any help would be greatly appreciated.")*

I spoke with USPS -- they are aware of the problem. It was an upgrade that went out Saturday morning and was only supposed to affect the USPS internal server but ended up affecting the production servers too.

They are working hard to come up with the coding to give us to fix out plugins but can't give me a timeframe on that. A release note will be available on the USPS.com web tools page once they have the code for us.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3NoaXBwaW5nLW1ldGhvZHMvODYzNDc3LXVzcHMtNTAwLWVycm9yP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile")**
- [![timberlinetom's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29306-timberlinetom "View timberlinetom's Profile")
- [ Offline](/forum/user/29306-timberlinetom)

Less More

- Posts: 16
- Thank you received: 3
-
-

12 years 11 months ago [\#132084](#132084) by [timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile")  Replied by *[timberlinetom](/forum/user/29306-timberlinetom "View timberlinetom's Profile")* on topic *[USPS 500 error](/forum/28-shipping-methods/863477-usps-500-error?start=20#132084 "-- url of the page with the problem -- :   gravestonstudies.org  -- HikaShop version -- : Business 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.20 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : error: Call to a member function xpath() on a non-object in /home3/gravest3/public&#95;html/plugins/hikashopshipping/usps/usps.php on line 371 &#91;09-Nov-2013 05:48:27 America/Denver&#93; PHP Fatal  Hi,  I have a weird problem that has suddenly occurred since going live with my new site.When trying to access the USPS shipping plugin I get a 500 error. I have a weight restriction of 3.25 oz under restrictions so anything under that weight will trigger FREE shipping (manual shipping).  As I said, this was working until today so I'm not sure what the problem could be or what might have changed. I went live yesterday afternoon and it was working. Two orders came in overnight (the customers chose Priority Mail) -- so it must have been working then.  I'm stumped -- any help would be greatly appreciated.")*

Jerome, that did the trick. I've shown results attached. I see "Media Mail" now as an option which did not exist before so I think you are getting better results from the API call.

Might I suggest that until you can make a new release, you upload a revised 'usps.php' file. That will spare uses the concern of which chunk of code to replace.

I'm glad to see Hikashop include the plugin for USPS shipping with the core program now. I did not realize you had no access to developer resources. Since USPS is a significant and critical shipping option for United States customers like myself ( and Julian56 ![;)](/media/kunena/emoticons/11.png ";)") ), you should check out the resources available at [ www.usps.com/business/web-tools-apis/](https://www.usps.com/business/web-tools-apis/). I see that the USPS had a release of their API last July and I'm guessing they left legacy code for transition purposes which was removed last weekend. Perhaps if you get signed up on their website as a developer you can proactively update and support this important plugin. I'm afraid that while I claim a relatively high level of competence, I'm not good enough to be a programmer.

Thanks for your assistance with this.

- [ ![hd2e7630.jpg](/forum/attachment/13623) ](/forum/attachment/13623 "hd2e7630.jpg") [ ](/forum/attachment/13623?download=1 "hd2e7630.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3NoaXBwaW5nLW1ldGhvZHMvODYzNDc3LXVzcHMtNTAwLWVycm9yP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[julian56](/forum/user/6608-julian56 "View julian56's Profile")**
- [![julian56's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6608.jpg)](/forum/user/6608-julian56 "View julian56's Profile")
- [ Offline](/forum/user/6608-julian56)

Less More

- Posts: 73
- Thank you received: 1
-
-

12 years 11 months ago [\#132085](#132085) by [julian56](/forum/user/6608-julian56 "View julian56's Profile")  Replied by *[julian56](/forum/user/6608-julian56 "View julian56's Profile")* on topic *[USPS 500 error](/forum/28-shipping-methods/863477-usps-500-error?start=20#132085 "-- url of the page with the problem -- :   gravestonstudies.org  -- HikaShop version -- : Business 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.20 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : error: Call to a member function xpath() on a non-object in /home3/gravest3/public&#95;html/plugins/hikashopshipping/usps/usps.php on line 371 &#91;09-Nov-2013 05:48:27 America/Denver&#93; PHP Fatal  Hi,  I have a weird problem that has suddenly occurred since going live with my new site.When trying to access the USPS shipping plugin I get a 500 error. I have a weight restriction of 3.25 oz under restrictions so anything under that weight will trigger FREE shipping (manual shipping).  As I said, this was working until today so I'm not sure what the problem could be or what might have changed. I went live yesterday afternoon and it was working. Two orders came in overnight (the customers chose Priority Mail) -- so it must have been working then.  I'm stumped -- any help would be greatly appreciated.")*

I just updated the usps.php with your code and it works very well! ![:-)](/media/kunena/emoticons/9.png ":-)")
Thank you again for your hard work and sorry for the stress!!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3NoaXBwaW5nLW1ldGhvZHMvODYzNDc3LXVzcHMtNTAwLWVycm9yP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[joanne721](/forum/user/14224-joanne721 "View joanne721's Profile")**
- [![joanne721's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar14224.jpg)](/forum/user/14224-joanne721 "View joanne721's Profile") Topic Author
- [ Offline](/forum/user/14224-joanne721)

Less More

- Posts: 100
- Thank you received: 2
-
-

12 years 11 months ago [\#132096](#132096) by [joanne721](/forum/user/14224-joanne721 "View joanne721's Profile")  Replied by *[joanne721](/forum/user/14224-joanne721 "View joanne721's Profile")* on topic *[USPS 500 error](/forum/28-shipping-methods/863477-usps-500-error?start=20#132096 "-- url of the page with the problem -- :   gravestonstudies.org  -- HikaShop version -- : Business 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.20 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : error: Call to a member function xpath() on a non-object in /home3/gravest3/public&#95;html/plugins/hikashopshipping/usps/usps.php on line 371 &#91;09-Nov-2013 05:48:27 America/Denver&#93; PHP Fatal  Hi,  I have a weird problem that has suddenly occurred since going live with my new site.When trying to access the USPS shipping plugin I get a 500 error. I have a weight restriction of 3.25 oz under restrictions so anything under that weight will trigger FREE shipping (manual shipping).  As I said, this was working until today so I'm not sure what the problem could be or what might have changed. I went live yesterday afternoon and it was working. Two orders came in overnight (the customers chose Priority Mail) -- so it must have been working then.  I'm stumped -- any help would be greatly appreciated.")*

I am confused about which code to replace. Can anyone clarify for me? I am not a programmer by any stretch of the imagination!

Thanks!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3NoaXBwaW5nLW1ldGhvZHMvODYzNDc3LXVzcHMtNTAwLWVycm9yP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[cboyd213](/forum/user/28669-cboyd213 "View cboyd213's Profile")**
- [![cboyd213's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28669-cboyd213 "View cboyd213's Profile")
- [ Offline](/forum/user/28669-cboyd213)

Less More

- Posts: 21
- Thank you received: 7
-
-

12 years 11 months ago -  12 years 11 months ago [\#132103](#132103) by [cboyd213](/forum/user/28669-cboyd213 "View cboyd213's Profile")  Replied by *[cboyd213](/forum/user/28669-cboyd213 "View cboyd213's Profile")* on topic *[USPS 500 error](/forum/28-shipping-methods/863477-usps-500-error?start=20#132103 "-- url of the page with the problem -- :   gravestonstudies.org  -- HikaShop version -- : Business 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.20 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : error: Call to a member function xpath() on a non-object in /home3/gravest3/public&#95;html/plugins/hikashopshipping/usps/usps.php on line 371 &#91;09-Nov-2013 05:48:27 America/Denver&#93; PHP Fatal  Hi,  I have a weird problem that has suddenly occurred since going live with my new site.When trying to access the USPS shipping plugin I get a 500 error. I have a weight restriction of 3.25 oz under restrictions so anything under that weight will trigger FREE shipping (manual shipping).  As I said, this was working until today so I'm not sure what the problem could be or what might have changed. I went live yesterday afternoon and it was working. Two orders came in overnight (the customers chose Priority Mail) -- so it must have been working then.  I'm stumped -- any help would be greatly appreciated.")*

That worked for me too.

joanne721
upload the file attached too directory: plugins/hikashopshipping/usps/
*This attachment is hidden for guests.
Please log in or register to see it.*

rename attached file to usps.php

Last edit: 12 years 11 months ago by [cboyd213](/forum/user/28669-cboyd213 "View cboyd213's Profile").

The following user(s) said Thank You: [Bendite](/forum/user/6445-bendite "View Bendite's Profile"), [3by400](/forum/user/6842-3by400 "View 3by400's Profile"), [kd5lcf](/forum/user/28348-kd5lcf "View kd5lcf's Profile"), [sixmaster](/forum/user/29539-sixmaster "View sixmaster's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3NoaXBwaW5nLW1ldGhvZHMvODYzNDc3LXVzcHMtNTAwLWVycm9yP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.163 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
