Checkout times out with error

  • Posts: 26
  • Thank you received: 0
11 years 6 months ago #131755

-- url of the page with the problem -- : emotorwerks.com/products/online-store
-- HikaShop version -- : 2.1.0
-- Joomla version -- : 2.5,11
-- PHP version -- : where do I find that?
-- Browser(s) name and version -- : Opera 16.0.1196.73 Windows 7 64-bit
-- Error-message(debug-mod must be tuned on) -- : (in browser) Server error
The website encountered an error while retrieving emotorwerks.com/products/online-store/checkout . It may be down for maintenance or configured incorrectly.

Hi, this appeared in the last couple of days, the site was working fine before. The only thing changed on the server in this period was expansion of the partition on which our site resides (hosted on a 1and1 Cloud Server) from 4 GB to 14GB. This did not have effect on any other aspect of our site operation. I do not know if this has caused the issue in the subject but this was the only change in server config so I thought I'd report it here.

Our store is down until this is fixed - please help.

Thanks,
Valery

Please Log in or Create an account to join the conversation.

  • Posts: 83933
  • Thank you received: 13588
  • MODERATOR
11 years 6 months ago #131804

Hi,

The best is to look in the PHP error log of your hosting for the fatal error message which led to that problem.
That will tell us what the problem is and we'll be able to tell you exactly what to do.
It's probably a memory limitation of the hosting company that would need to be increased or something like that.

Please Log in or Create an account to join the conversation.

  • Posts: 26
  • Thank you received: 0
11 years 6 months ago #131838

Thanks nicolas - here's what I see in the log file:

[Mon Nov 11 13:04:55 2013] [error] [client 72.28.152.198] PHP Notice: Trying to get property of non-object in /var/www/vhosts/default/htdocs/plugins/hikashopshipping/usps/usps.php on line 224, referer: emotorwerks.com/products/online-store
[Mon Nov 11 13:04:55 2013] [error] [client 72.28.152.198] PHP Notice: Trying to get property of non-object in /var/www/vhosts/default/htdocs/plugins/hikashopshipping/usps/usps.php on line 231, referer: emotorwerks.com/products/online-store
[Mon Nov 11 13:04:55 2013] [error] [client 72.28.152.198] PHP Notice: Trying to get property of non-object in /var/www/vhosts/default/htdocs/plugins/hikashopshipping/usps/usps.php on line 231, referer: emotorwerks.com/products/online-store
[Mon Nov 11 13:04:55 2013] [error] [client 72.28.152.198] PHP Fatal error: Call to a member function xpath() on a non-object in /var/www/vhosts/default/htdocs/plugins/hikashopshipping/usps/usps.php on line 239, referer: emotorwerks.com/products/online-store

Please Log in or Create an account to join the conversation.

  • Posts: 83933
  • Thank you received: 13588
  • MODERATOR
11 years 6 months ago #131844

You have that issue:
www.hikashop.com/forum/shipping-methods/...-usps-500-error.html
Please follow the instructions on that thread.

Please Log in or Create an account to join the conversation.

  • Posts: 26
  • Thank you received: 0
11 years 6 months ago #131851

so disabling usps plugin eliminates the error. unfortunately, along with our ability to ship with USPS (critical for international customers). Could there be a problem on USPS side changing some return data resulting in this error? We have not changed anything on the site to result in this error...

This is what we have in usps.php:


//Parse Domestic Response
$rateResult = $response_xml->xpath('Package/Postage'); <
THIS IS LINE 249 FROM THE LOGS ABOVE
$usps_rate_arr = xml2array($rateResult);
foreach($usps_rate_arr as $k=>$v) {
$usps_rates = array("Service" => html_entity_decode($v), "Rate" => $v['Ra\
te']);

looks like USPS request 20 lines prior fails:
$response_xml = $this->doUSPS($request, true);

??

What to do?

Please Log in or Create an account to join the conversation.

  • Posts: 26251
  • Thank you received: 4040
  • MODERATOR
11 years 6 months ago #131855

Hi,

Please follow and participate in the other thread.
www.hikashop.com/forum/shipping-methods/...-usps-500-error.html
We think that USPS changed some things in their API but we have to determine what and why.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 26
  • Thank you received: 0
11 years 6 months ago #131856

ok thanks, will monitor that thread. as far as I could tell, it's still not resolved, correct?

Please Log in or Create an account to join the conversation.

  • Posts: 26251
  • Thank you received: 4040
  • MODERATOR
11 years 6 months ago #131860

Please follow and participate in the other thread.
www.hikashop.com/forum/shipping-methods/...-usps-500-error.html
We think that USPS changed some things in their API but we have to determine what and why.


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.062 seconds
Powered by Kunena Forum