Jump to content

Blank page when checking out


Recommended Posts

New installation of CC6 with latest upgrade installed. I've added Categories and Products and am now trying to test system.  When I select a product, add to basket, and then try to checkout or view my basket, my system hangs on a blank screen looking for "http://pvcsports.com/index.php?_a=basket" or "http://pvcsports.com/index.php?_a=checkout".

I have used more than one computer and have also used different browsers with same results.

The only way out is to restart CC6. Then, I am able to see from the top cart icon that the items are in my basket but clicking on the basked (view or checkout) results in the same hanging...

Link to comment
Share on other sites

Good Morning bsmither!!!  So glad to see you are here.

Basic PayPal, Fed ex and UPS.  In "Manage Plugins", the Status of UPS is unchecked.

 

Now, I will go read the link.

Removing the Fed Ex plugin seems to eliminate my blank page issue...

 

But, This customer only ships via Fed Ex...(It's always sumpin!)

 

Is there an alternative way to add a Fed Ex plugin?

Link to comment
Share on other sites

Let's see if we can determine the error that is being caused by the FEDEX module. Please read: https://github.com/cubecart/v6/issues/606

Make sure you have the latest version of the FEDEX module.

The module reports any errors to PHP's trigger_error() function, and CubeCart has set itself up to be an error catcher. So, if you have the latest version of the module, there should be entries in the admin, Error Log, System Error Log tab.

But these errors should not crash CubeCart or PHP. There may be other causes.

Look for a file, error_log, in the root folder of your CubeCart installation. What, if anything, is logged in that file?

Link to comment
Share on other sites

There are 2 versions of the Fed Ex module. I'm 99% sure i used the latest (FedEx-1.0.1.zip) and created the token for auto-install.

Below is the error_log. One can see several attempts to access the cart.  Question: Can  i delete the error_lg and have the system create a fresh new one?

 

error_log from root of CC6 server:

[02-Jun-2015 00:54:08 Europe/London] PHP Warning:  unlink(/home/pvcsports/public_html/setup) [<a href='http://docs.php.net/manual/en/function.unlink.php'>function.unlink.php</a>]: No such file or directory in /home/pvcsports/public_html/admin/sources/dashboard.index.inc.php on line 38
[03-Jun-2015 02:26:26 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 370
[03-Jun-2015 02:33:55 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 370
[03-Jun-2015 01:51:11 UTC] PHP Warning:  Invalid Security Token in /home/pvcsports/public_html/classes/sanitize.class.php on line 113
[03-Jun-2015 02:51:28 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 370
[03-Jun-2015 02:52:17 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/classes/ajax.class.php on line 133
[03-Jun-2015 02:54:11 Europe/London] PHP Warning:  in_array() expects parameter 2 to be array, null given in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 371
[03-Jun-2015 02:58:24 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/classes/ajax.class.php on line 133
[03-Jun-2015 03:04:35 Europe/London] PHP Warning:  in_array() expects parameter 2 to be array, null given in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 371
[03-Jun-2015 03:07:32 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 370
[03-Jun-2015 15:51:42 UTC] PHP Warning:  Invalid Security Token in /home/pvcsports/public_html/classes/sanitize.class.php on line 113
[03-Jun-2015 17:20:25 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 370
[03-Jun-2015 17:27:39 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 370
[03-Jun-2015 17:31:28 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 370
[03-Jun-2015 17:35:32 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 370
[03-Jun-2015 22:48:35 UTC] PHP Fatal error:  No valid language found! in /home/pvcsports/public_html/classes/language.class.php on line 95
[03-Jun-2015 22:49:44 UTC] PHP Fatal error:  No valid language found! in /home/pvcsports/public_html/classes/language.class.php on line 95
[03-Jun-2015 22:50:13 UTC] PHP Fatal error:  No valid language found! in /home/pvcsports/public_html/classes/language.class.php on line 95
[03-Jun-2015 22:51:32 UTC] PHP Fatal error:  No valid language found! in /home/pvcsports/public_html/classes/language.class.php on line 95
[03-Jun-2015 22:53:15 UTC] PHP Fatal error:  No valid language found! in /home/pvcsports/public_html/classes/language.class.php on line 95
[03-Jun-2015 22:53:16 UTC] PHP Fatal error:  No valid language found! in /home/pvcsports/public_html/classes/language.class.php on line 95
[03-Jun-2015 22:53:17 UTC] PHP Fatal error:  No valid language found! in /home/pvcsports/public_html/classes/language.class.php on line 95
[03-Jun-2015 23:12:21 UTC] PHP Warning:  Stored session data did not match DB record. Session aborted as possible session hijack. Old IP Address: '108.238.110.101' New IP Address: '108.238.110.101' Old User Agent: 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36' New User Agent: 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36' in /home/pvcsports/public_html/classes/session.class.php on line 650
[03-Jun-2015 23:12:21 UTC] PHP Fatal error:  No valid language found! in /home/pvcsports/public_html/classes/language.class.php on line 95
[03-Jun-2015 23:18:58 UTC] PHP Fatal error:  No valid language found! in /home/pvcsports/public_html/classes/language.class.php on line 95
[03-Jun-2015 23:20:34 UTC] PHP Fatal error:  No valid language found! in /home/pvcsports/public_html/classes/language.class.php on line 95
[04-Jun-2015 00:00:19 UTC] PHP Fatal error:  No valid language found! in /home/pvcsports/public_html/classes/language.class.php on line 95
[04-Jun-2015 00:04:48 UTC] PHP Fatal error:  No valid language found! in /home/pvcsports/public_html/classes/language.class.php on line 95
[04-Jun-2015 00:10:36 UTC] PHP Fatal error:  No valid language found! in /home/pvcsports/public_html/classes/language.class.php on line 95
[04-Jun-2015 01:05:50 UTC] PHP Warning:  Stored session data did not match DB record. Session aborted as possible session hijack. Old IP Address: '108.238.110.101' New IP Address: '108.238.110.101' Old User Agent: 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36' New User Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36 OPR/29.0.1795.60' in /home/pvcsports/public_html/classes/session.class.php on line 650
[05-Jun-2015 22:46:00 Europe/London] PHP Warning:  in_array() expects parameter 2 to be array, null given in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 371
[06-Jun-2015 15:34:43 Europe/London] PHP Warning:  in_array() expects parameter 2 to be array, null given in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 371
[06-Jun-2015 15:34:43 Europe/London] PHP Warning:  in_array() expects parameter 2 to be array, null given in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 371
[06-Jun-2015 18:53:23 Europe/London] PHP Warning:  Shipping not setup or allow no shipping not enabled in /home/pvcsports/public_html/classes/cubecart.class.php on line 1596
[06-Jun-2015 19:10:53 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 370
[06-Jun-2015 19:14:18 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 370
[06-Jun-2015 19:24:34 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 370
[06-Jun-2015 19:25:06 Europe/London] PHP Warning:  in_array() expects parameter 2 to be array, null given in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 371
[06-Jun-2015 19:31:27 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 370
[06-Jun-2015 19:31:50 Europe/London] PHP Warning:  in_array() expects parameter 2 to be array, null given in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 371
[06-Jun-2015 19:39:16 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 370
[06-Jun-2015 19:39:36 Europe/London] PHP Warning:  in_array() expects parameter 2 to be array, null given in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 371
[06-Jun-2015 19:42:57 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 370
[06-Jun-2015 19:43:09 Europe/London] PHP Warning:  in_array() expects parameter 2 to be array, null given in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 371
[06-Jun-2015 20:03:18 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 370
[06-Jun-2015 20:03:31 Europe/London] PHP Warning:  in_array() expects parameter 2 to be array, null given in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 371
[06-Jun-2015 20:07:43 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 370
[06-Jun-2015 20:08:29 Europe/London] PHP Warning:  in_array() expects parameter 2 to be array, null given in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 371
[06-Jun-2015 20:21:19 Europe/London] PHP Warning:  in_array() expects parameter 2 to be array, null given in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 371
[06-Jun-2015 20:21:19 Europe/London] PHP Warning:  in_array() expects parameter 2 to be array, null given in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 371
[06-Jun-2015 20:21:37 Europe/London] PHP Warning:  in_array() expects parameter 2 to be array, null given in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 371
[06-Jun-2015 20:26:58 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 370
[06-Jun-2015 23:28:57 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 370
[06-Jun-2015 23:35:35 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 370
[06-Jun-2015 23:42:55 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 370
[06-Jun-2015 23:44:32 Europe/London] PHP Warning:  Shipping not setup or allow no shipping not enabled in /home/pvcsports/public_html/classes/cubecart.class.php on line 1596
[06-Jun-2015 23:57:50 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 370
[09-Jun-2015 00:41:39 UTC] PHP Warning:  Invalid Security Token in /home/pvcsports/public_html/classes/sanitize.class.php on line 113
[10-Jun-2015 03:07:44 UTC] PHP Warning:  Stored session data did not match DB record. Session aborted as possible session hijack. Old IP Address: '108.238.110.101' New IP Address: '108.238.110.101' Old User Agent: 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36' New User Agent: 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36' in /home/pvcsports/public_html/classes/session.class.php on line 650
[10-Jun-2015 13:34:22 UTC] PHP Warning:  Stored session data did not match DB record. Session aborted as possible session hijack. Old IP Address: '108.238.110.101' New IP Address: '108.238.110.101' Old User Agent: 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36' New User Agent: 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36' in /home/pvcsports/public_html/classes/session.class.php on line 650
[09-Aug-2015 18:01:09 America/Chicago] PHP Warning:  fread() [<a href='http://docs.php.net/manual/en/function.fread.php'>function.fread.php</a>]: Length parameter must be greater than 0 in /home/pvcsports/public_html/admin/sources/maintenance.index.inc.php on line 237
[10-Aug-2015 12:10:33 America/Chicago] PHP Warning:  Shipping not setup or allow no shipping not enabled in /home/pvcsports/public_html/classes/cubecart.class.php on line 1600
[11-Aug-2015 07:25:16 America/Chicago] PHP Warning:  in_array() expects parameter 2 to be array, null given in /home/pvcsports/public_html/admin/sources/products.index.inc.php on line 372
[11-Aug-2015 08:32:12 America/Chicago] PHP Warning:  Shipping not setup or allow no shipping not enabled in /home/pvcsports/public_html/classes/cubecart.class.php on line 1600
[11-Aug-2015 08:32:24 America/Chicago] PHP Warning:  Shipping not setup or allow no shipping not enabled in /home/pvcsports/public_html/classes/cubecart.class.php on line 1600
[11-Aug-2015 08:33:03 America/Chicago] PHP Warning:  Shipping not setup or allow no shipping not enabled in /home/pvcsports/public_html/classes/cubecart.class.php on line 1600
[11-Aug-2015 08:36:39 America/Chicago] PHP Warning:  Shipping not setup or allow no shipping not enabled in /home/pvcsports/public_html/classes/cubecart.class.php on line 1600
[11-Aug-2015 08:36:39 America/Chicago] PHP Warning:  Shipping not setup or allow no shipping not enabled in /home/pvcsports/public_html/classes/cubecart.class.php on line 1600
[11-Aug-2015 13:42:37 UTC] PHP Warning:  Invalid Security Token in /home/pvcsports/public_html/classes/sanitize.class.php on line 113
[11-Aug-2015 08:46:34 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 08:47:07 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 08:48:32 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 09:12:32 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 09:17:14 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 09:30:15 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 09:31:29 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 09:38:28 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 09:41:38 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 09:46:22 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 09:47:10 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 09:47:18 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 09:48:29 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 09:53:24 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 09:54:03 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 09:54:39 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 09:55:04 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 09:55:17 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 09:55:27 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 10:04:43 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 10:06:31 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 10:06:40 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 10:36:21 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 10:36:55 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
[11-Aug-2015 10:38:18 America/Chicago] PHP Warning:  Shipping not setup or allow no shipping not enabled in /home/pvcsports/public_html/classes/cubecart.class.php on line 1600
[11-Aug-2015 10:46:24 America/Chicago] PHP Warning:  Shipping not setup or allow no shipping not enabled in /home/pvcsports/public_html/classes/cubecart.class.php on line 1600
[11-Aug-2015 10:50:42 America/Chicago] PHP Warning:  Shipping not setup or allow no shipping not enabled in /home/pvcsports/public_html/classes/cubecart.class.php on line 1600

//end of my post entry//

 

Link to comment
Share on other sites

Thanks Dirty Butter.

New error_log:
------------Only Paypal module installed:
[11-Aug-2015 13:41:38 America/Chicago] PHP Warning:  Shipping not setup or allow no shipping not enabled in /home/pvcsports/public_html/classes/cubecart.class.php on line 1600

------------Installed FedEx but not enabled (check mark unchecked):
[11-Aug-2015 13:55:01 America/Chicago] PHP Warning:  Shipping not setup or allow no shipping not enabled in /home/pvcsports/public_html/classes/cubecart.class.php on line 1600
[11-Aug-2015 13:55:21 America/Chicago] PHP Warning:  Shipping not setup or allow no shipping not enabled in /home/pvcsports/public_html/classes/cubecart.class.php on line 1600

---------------Checked the "enable" checkmark:
[11-Aug-2015 14:00:30 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129
Here is where i now get the hanging blank page...

I have not yet entered any of the detailed Fed Ex account data...

Link to comment
Share on other sites

Well, for some reason, your installation of PHP has not enabled SOAP capabilities.

Checking my installations, it seems SOAP is not enabled on mine, but then, I do not ever recall testing any of my installations with FedEx.

You will need to consult with your hosting provider to get SOAP enabled in your PHP installation.

Link to comment
Share on other sites

Unlike UPS, where you can make anonymous rate requests (if I recall), USPS and FedEx do require a web services account before making rate requests. So, once the SOAP issue is dealt with (you may be able to solve that with some configure option in your hosting account control panel), you still need to have a valid FedEx account and FedEx meter number.

Link to comment
Share on other sites

Customer chasing FedEx account data now.

Hosting provider instructed me thru cPanel to enable "soap" -did so.

What next coach? - Still getting blank page - see latest error_log:

[11-Aug-2015 13:41:38 America/Chicago] PHP Warning:  Shipping not setup or allow no shipping not enabled in /home/pvcsports/public_html/classes/cubecart.class.php on line 1600

------------
[11-Aug-2015 13:55:01 America/Chicago] PHP Warning:  Shipping not setup or allow no shipping not enabled in /home/pvcsports/public_html/classes/cubecart.class.php on line 1600
[11-Aug-2015 13:55:21 America/Chicago] PHP Warning:  Shipping not setup or allow no shipping not enabled in /home/pvcsports/public_html/classes/cubecart.class.php on line 1600

---------------
[11-Aug-2015 14:00:30 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129

---------------Latest entry - no soap issues, but still getting blank page.
[11-Aug-2015 15:50:50 America/Chicago] PHP Fatal error:  FedEx Error: Authentication Failed in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 221

Link to comment
Share on other sites

Update:

Hosting provider guided me thru initializing "soap".
Customer added unique FedEx account data.

Now it looks like i am talking to Fed Ex but they are rejecting a request for rates...(35209 is the customer's zip code.)

[11-Aug-2015 13:41:38 America/Chicago] PHP Warning:  Shipping not setup or allow no shipping not enabled in /home/pvcsports/public_html/classes/cubecart.class.php on line 1600

------------
[11-Aug-2015 13:55:01 America/Chicago] PHP Warning:  Shipping not setup or allow no shipping not enabled in /home/pvcsports/public_html/classes/cubecart.class.php on line 1600
[11-Aug-2015 13:55:21 America/Chicago] PHP Warning:  Shipping not setup or allow no shipping not enabled in /home/pvcsports/public_html/classes/cubecart.class.php on line 1600

---------------
[11-Aug-2015 14:00:30 America/Chicago] PHP Fatal error:  Class 'SoapClient' not found in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 129

---------------
[11-Aug-2015 15:50:50 America/Chicago] PHP Fatal error:  FedEx Error: Authentication Failed in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 221

---------------Latest attempt: (Tried twice)
[11-Aug-2015 18:09:59 America/Chicago] PHP Fatal error:  FedEx Error: No shipping quotes could be obtained for 35209, US in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 217

[11-Aug-2015 18:10:35 America/Chicago] PHP Fatal error:  FedEx Error: No shipping quotes could be obtained for 35209, US in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 217

---------------

Link to comment
Share on other sites

Let's just see exactly what FedEx's response is. I hope this works.

In the module's shipping.class.php file:

Find near line 188:
$response = $this->_client->getRates($request);

Add AFTER:
$print_r = print_r($response,true); trigger_error($print_r, E_USER_ERROR);

 

Link to comment
Share on other sites

Seemed to be effective in trapping some info:

error_log: (just the latest 2 entries) (I attached the file)

 

---------------
[11-Aug-2015 18:09:59 America/Chicago] PHP Fatal error:  FedEx Error: No shipping quotes could be obtained for 35209, US in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 217
[11-Aug-2015 18:10:35 America/Chicago] PHP Fatal error:  FedEx Error: No shipping quotes could be obtained for 35209, US in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 217

---------------[11-Aug-2015 19:52:54 America/Chicago] PHP Fatal error:  stdClass Object
(
    [HighestSeverity] => WARNING
    [Notifications] => stdClass Object
        (
            [Severity] => WARNING
            [Source] => crs
           

 => 556
            [Message] => There are no valid services available. 
            [LocalizedMessage] => There are no valid services available. 
        )

    [TransactionDetail] => stdClass Object
        (
            [CustomerTransactionId] =>  *** Rate Available Services Request v13 using PHP ***
        )

    [Version] => stdClass Object
        (
            [ServiceId] => crs
            [Major] => 13
            [Intermediate] => 0
            [Minor] => 0
        )

)
 in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 189
[11-Aug-2015 19:53:13 America/Chicago] PHP Fatal error:  stdClass Object
(
    [HighestSeverity] => WARNING
    [Notifications] => stdClass Object
        (
            [Severity] => WARNING
            [Source] => crs
            [Code] => 556
            [Message] => There are no valid services available. 
            [LocalizedMessage] => There are no valid services available. 
        )

    [TransactionDetail] => stdClass Object
        (
            [CustomerTransactionId] =>  *** Rate Available Services Request v13 using PHP ***
        )

    [Version] => stdClass Object
        (
            [ServiceId] => crs
            [Major] => 13
            [Intermediate] => 0
            [Minor] => 0
        )

)
 in /home/pvcsports/public_html/modules/shipping/FedEx/shipping.class.php on line 189

error_log

Link to comment
Share on other sites

Very informative. I trust that you have enabled some of the shipping options for FedEx?

Also, be very, very, very sure that you have a valid State, Country, and Zip Code (for US, 5 digits only) in the FedEx control panel for Parcel Origin Information. (See the examples to the right of the text fields.)

If delivery is to the US or CA, be sure to know that the delivery State/Province is the two-letter abbreviation.

You can see this by enabling debug mode (admin, Store Settings, Advanced tab, and enter your IP address in the adjacent field - www.whatismyip.com).

 

Link to comment
Share on other sites

Corrected language to US.

Corrected Alabama to AL

Corrected United States to US.

Still have blank screen problem - error_log attached.

error_log

Looking at the error_log in a formatted editor seems to tell me that the FedEx portion is talking to FedEx.  But, still blank screen issue.

Link to comment
Share on other sites

Let's try this. We can see that the error_log is showing the $response, but it's not showing the complete response. There is a PHP.INI setting that sets how many characters each error_log entry can be. But not to worry -- I am confident that we are getting a good response from FedEx now. You can remove the diagnostic line I had you add earlier.

Now, we will add another diagnostic line.

Find near line 201:

$package[] = array(

Add BEFORE:
$print_r = print_r($rateReply->RatedShipmentDetails,true); trigger_error($print_r, E_USER_ERROR);

Also, as an experiment because this should also have caused an error to be logged (if it an actual error):

Near line 203:
Change:
'name' => (string)"FedEx ".$this->friendlyServiceName($rateReply->ServiceType),

To:
'name' => "FedEx ".$this->friendlyServiceName((string)$rateReply->ServiceType),

 

Looking in admin, Error Log, System Error Log tab, I see a lot more of the response. So, no need to add the diagnostic line just yet.

 

Link to comment
Share on other sites

I'm really wondering if the blank screen is caused by the following, but I have never seen the code do this, so I'm not sure:

Try shipping an item that weighs just 9.0lbs. Not 999lbs. Honestly, does FedEx really ship half-ton packages?

Although, it really should have worked.

Link to comment
Share on other sites

Thanks Dirty Butter-

Yes. I have entered reasonable data in all of the FedEx fields, from actual live account data to a package size of 12"x4"x12" and a low weight of 1.5lbs...

I have also adjusted a specific product weight to a low value.

But, still getting the same blank screen and hanging there...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...