kurraglen Posted February 28, 2021 Share Posted February 28, 2021 For some reason where an item is added to the cart, is returns and error: The following errors were detected: Unfortunately there are no suitable shipping methods available for your order. This may be because the total weight of your order is too high or we cannot ship to your country. I have changed anything (and the item selected is only light), apart from the fact that Cubecart was inaccessible and returned an error. I had our hosting provider look at it and he said that it was an incorrect PHP version which is strange because we hadn't changed it. I also have a problem with the Ebay Orders module which is showing a couple of blank pages. I have sent a message to Alec who developed the Ebay module and am waiting to hear back from him regarding the Ebay module. My concern now is the Australia Post module showing that incorrect message. Thanks Bruce. Link to comment Share on other sites More sharing options...
bsmither Posted February 28, 2021 Share Posted February 28, 2021 Depending how the AusPost module communicates with their rate calculator, there should be a log entry in admin, Request Log. Please let us know if there is anything in that log to be concerned about. Link to comment Share on other sites More sharing options...
kurraglen Posted February 28, 2021 Author Share Posted February 28, 2021 Hi, The last Request Log shows: Request Sent (fsock) - http://digitalapi.auspost.com.au/postage/parcel/domestic/service.json from_postcode=2852&to_postcode=2852&length=5&width=5&height=1&weight=1.31 Response received <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <TITLE>ERROR: The request could not be satisfied</TITLE> </HEAD><BODY> <H1>400 ERROR</H1> <H2>The request could not be satisfied.</H2> <HR noshade size="1px"> Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner. <BR clear="all"> If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation. <BR clear="all"> <HR noshade size="1px"> <PRE> Generated by cloudfront (CloudFront) Request ID: PGcOKdv7uuEH5jYJwWgUHxZPEiNuF0pwygPYauOB8g7AZoA53aVYkA== </PRE> <ADDRESS> </ADDRESS> </BODY></HTML> I just noticed that there should be a box where the customer can enter there post code to get a delivery cost. That isn't on the page. Link to comment Share on other sites More sharing options...
kurraglen Posted February 28, 2021 Author Share Posted February 28, 2021 Hi, Also, I noticed that I placed Cubecart into debug mode, there's a heap of red text that appear to be errors. Link to comment Share on other sites More sharing options...
bsmither Posted February 28, 2021 Share Posted February 28, 2021 In debug mode, there will be a lot more errors than normal, but these new log entries shouldn't all be red. (The legend above the log table has color-coded explanations.) I would think AusPost could be out of commission at the moment, based on what the response is saying. Link to comment Share on other sites More sharing options...
kurraglen Posted February 28, 2021 Author Share Posted February 28, 2021 I just checked the Auspost API page here: https://status.developers.auspost.com.au and it indicates all is OK. I would have thought even if the API was the problem that the Refine Estimate calculator should still show but it doesn't. I borrowed this image from one of the other posts, but this is the thing that is not showing either which makes me think that it is more than an API issue. Link to comment Share on other sites More sharing options...
Tony Posted February 28, 2021 Share Posted February 28, 2021 The error message shows "Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner. " Have you tried again now? Link to comment Share on other sites More sharing options...
kurraglen Posted March 1, 2021 Author Share Posted March 1, 2021 Hi Tony, I just tried again now. Same issue. I have checked the settings and all is the same as it was when it was working. @bsmither I am wondering if for some reason there is a PHP extension not enabled that should be. Link to comment Share on other sites More sharing options...
bsmither Posted March 1, 2021 Share Posted March 1, 2021 You would see that in the System Error Log. The error posted above seems to come from CloudFront, not AusPost. As far as AudPost is concerned, they may not see anything amiss on their servers. On the other hand, I am sure they would be announcing something if there was a problem with CloudFront communicating with AusPost. Link to comment Share on other sites More sharing options...
kurraglen Posted March 1, 2021 Author Share Posted March 1, 2021 In debug mode, it is showing an error. Not sure if this is causing the issue, @bsmither 1 Hack: 1614585575.50860 --- Duration: 943 µs [ERROR - NOT CACHED] INSERT INTO `cc2h_CubeCart_system_error_log` (`message`,`url`,`backtrace`,`time`) VALUES ('[<strong>Notice</strong>] /home/kur49073/public_html/shop/classes/session.class.php:608 - Undefined index: samesite','https://www.kurraglenindustries.com.au/shop/index.php?','set_cookie() (session.class.php:721)\n_start() (session.class.php:165)\n__construct() (session.class.php:184)\ngetInstance() (controller.index.inc.php:37)\ninclude() (index.php:20)\n','1614585575'); Link to comment Share on other sites More sharing options...
bsmither Posted March 1, 2021 Share Posted March 1, 2021 Sorry, no. That particular error is irrelevant to the AusPost issue. Link to comment Share on other sites More sharing options...
kurraglen Posted March 1, 2021 Author Share Posted March 1, 2021 Hmmmm. Bother. What now? Any other suggestions where to look? Not sure if related but from the system error logs: [<strong>Exception</strong>] /home/kur49073/public_html/shop/modules/plugins/ebay_orders/admin/eBaySession.php:0 - Call to undefined function curl_init() Link to comment Share on other sites More sharing options...
bsmither Posted March 1, 2021 Share Posted March 1, 2021 That needs to get fixed. Have a conversation with your hosting provider that CURL is a required extension for your PHP. The above mentions an eBay module - so whether this fixes the AusPost issue, I have hope. The AusPost uses CubeCart's Request functions, and they use CURL. Request Sent (fsock) This says that the Request functions had to use the alternate means of asking for information (fsock) instead of the usual means (curl). Link to comment Share on other sites More sharing options...
kurraglen Posted March 2, 2021 Author Share Posted March 2, 2021 Thanks @bsmither, All appears to be working again with both the Aust Post and Ebay Orders module. I'm not sure why but, cURL had been disabled. They now have enabled it again. Thanks and appreciate your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.