Latest News: (loading..)

feralamour

Members
  • Content count

    2
  • Joined

  • Last visited

1 Follower

About feralamour

  • Birthday 02/16/1983

Profile Information

  • Real Name
    Susan
  • Gender
    Female
  • Location
    Louisiana, US
  1. Thought I'd post my success in fixing the blank page issue I was having. Hopefully, it can help others. After much hair pulling, I realized that the modules/fedexwebservices.php file was looking for both the catalog location and the includes location (lines 60 - 74): //Class Methods function quote($method = '') { /* FedEx integration starts */ global $shipping_weight, $shipping_num_boxes, $cart, $order; require_once(DIR_FS_CATALOG . DIR_WS_INCLUDES . 'library/fedex-common.php5'); //if (MODULE_SHIPPING_FEDEX_WEB_SERVICES_SERVER == 'test') { //$request['Version'] = array('ServiceId' =&--#62; 'crs', 'Major' =&--#62; '7', 'Intermediate' =&--#62; '0', 'Minor' =&--#62; '0'); //$path_to_wsdl = DIR_WS_INCLUDES . "wsdl/RateService_v7_test.wsdl"; //} else { $path_to_wsdl = DIR_FS_CATALOG . DIR_WS_INCLUDES . "wsdl/RateService_v9.wsdl"; //} ini_set("soap.wsdl_cache_enabled", "0"); $client = new SoapClient($path_to_wsdl, array('trace' =&--#62; 1)); It wasn't throwing any errors within the server error logs and was extremely frustrating to snoop out. The following update to the code finally resolved the issue. //Class Methods function quote($method = '') { /* FedEx integration starts */ global $shipping_weight, $shipping_num_boxes, $cart, $order; require_once(DIR_WS_INCLUDES . 'library/fedex-common.php5'); $path_to_wsdl = DIR_WS_INCLUDES . 'wsdl/RateService_v9.wsdl'; ini_set("soap.wsdl_cache_enabled", "0"); $client = new SoapClient($path_to_wsdl, array('trace' =&--#62; 1));
  2. Hi all. I'm having a strange, albeit common, common issue. We have two servers: one is a localhost testing server, the other is a hosted live server. Everything is virtually identical - same files, same keys, et al. The only real difference is that the dev server is a windows Apache handler server and the live is a Linux Apache CGI server. I called FedEx support on this and that was a waste of time. I spent a majority of the call explaining that both servers were using the same credentials (e.g. production key) however the dev server successfully calls and receives rate quotes (works fine) while the live server never gets through (errors out). Firefox and IE both give blank pages while Chrome gave me a 500 error. Other modules associated with the site include MVS Shipping Cost Estimator V2.0, USPS, Free Shipping Specials, and discount coupons. Any clue why two servers (with the same information) would give different results? Thanks for any insight given. Edit: Forgot to mention: soap_test shows PHP Soap is loaded, files have proper permissions, triple checked keys/acct & meter numbers, triple checked wsdl file to ensure same https URL (ws.fedex.com:443/web-services).