PDA

View Full Version : UPS Shipping Rates not working.


robrewski
March 23rd, 2004, 01:14 PM
I am using Squirrelcart ver 1.3.1 and UPS Online Rates for my website http://www.wildernessoutpost.com. I can add an item to my shopping cart, but when I try to checkout, I get a blank page or Page Cannot Be Displayed error page. I can go to the Admin area Tools, Rates and Schedules, enter in a weight along with my zipcode and it returns an Undescribed Error. I just moved the cart over to a dedicated server and made all of the necessary changes to the config.php
<?ini_set('display_errors', 1);
#dl("xml.so");
#dl("mcrypt.so");

// --------------------------------------------------------------------------------------------
// Configuration Variables
//---------------------------------------------------------------------------------------------
// Installer of cart needs to change these variables to their appropriate values
// note: do not add trailing slashes
// site_www_root is the web address to the root of your site
$site_www_root = "http://www.wildernessoutpost.com";

// site_isp_root is the path to your root, from the server's directory structure
$site_isp_root = "/home/brewski/public_html";


// site_secure_root is the path to your web root using HTTPS or (SSL). This is for secure transactions.
// if your server does not support SSL, then make this variable the same as site_www_root
$site_secure_root = "https://wildernessoutpost.com";

// cart page. this is the default path, from the root of your site that will be used to display your store
// it is usually set to "/index.php". when first installed, it defaults to the page for the demo store.
$cart_page = "/index.php";

// img_path is the path to the folder you keep your images in. this is the folder that you upload the products, categories, and other folders into
$img_path = "/images";

// sql_host is the name or IP address of the server that is running MySQL. localhost is the default
$sql_host = "localhost";

// sql_username is the name of the user you created and added to your squirrelcart database
$sql_username = "xxxxxxx";
$sql_password = "xxxxxxx";

// db should be set to the name of the database squirrelcart is using
$db = "brewski_Outpost";
// ------------------------------ end of configuration section ----------------------------

// do not modify anything below this line!!!!!!!
include "$site_isp_root/squirrelcart/cart.php";
?>

The Server Information tool is reporting everything to be O.K. except the OpenSSL is posted in red. I know that the PHPInfo shows that OpenSSL is installed and enabled. I'm still working on that issue.

Any help is appreciated.

robrewski
March 25th, 2004, 10:42 AM
I found that I had to recompile CURL with OpenSSL. Once that was done everything works fine.