gorcsos Posted December 10, 2004 Share Posted December 10, 2004 Hi all! I still have got some problems with this contribution. I have got Linux Mandrake 10.0 and I've just installed the latest release of this contribution. I created a user and did some shopping (2 items). After I clicked "Check out" I got only a blank white page. (.../checkout_shipping.php?osCsid=3bbeb81bd6aae10f89dbe73ae5215447) I tought that the problem could be the incorrect CURL installation and I tried the next example: <?php $url = "http://www.amazon.com/exec/obidos/search-handle-form/002-5640957-2809605"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_FAILONERROR, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 3); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, "url=index%3Dbooks&field-keywords=PHP+MYSQL"); $result = curl_exec($ch); curl_close($ch); echo $result; ?> It works good. Did I miss anything? I have no idea what is the problem. I set all my service options and I have a valid account with UPS. I have got the UPS Rates account access key too. Basicly I have got 2 ACCESS keys. 1. XML access key 2. HTML access key I tried them all I think it hould be used the XML access key. Any ideas? G. Here is my module configuration: ---------------------------------------- United Parcel Service (XML) Enable UPS Shipping True UPS Rates Access Key ***************** UPS Rates Username ***************** UPS Rates Password ***************** Pickup Method Daily Pickup Packaging Type Customer Package Customer Classification Code 03 Shipping Origin Canada Origin Origin City Calgary Origin State/Province ab Origin Country ca Origin Zip/Postal Code t2e8m5 Test or Production Mode Production Unit Weight LBS Unit Length IN Quote Type Commercial Handling Fee 0 Tax Class --none-- Shipping Zone --none-- Sort order of display. 1 Shipping Methods Standard Shipping Delay 5 Quote Link to comment Share on other sites More sharing options...
gorcsos Posted December 10, 2004 Author Share Posted December 10, 2004 I forgot to mention, I am talking about the UPS XML Rates and Services v1.1.3. G. Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted December 10, 2004 Share Posted December 10, 2004 I got only a blank white pageNever seen that...I'm quite sure though that you need to use capitals for the country, state and zipcode, otherwise UPS will return an error message. However, if you just get a blank white page you won't even see an error of course. I would suggest turning on logging (see the shipping/upsxml.php file: uncomment the particular line in the file, set the correct path and create an empty log file with write permissions) to see what is sent and what UPS responds. Quote Link to comment Share on other sites More sharing options...
gorcsos Posted December 13, 2004 Author Share Posted December 13, 2004 I tried to use capitals but no change. I even installed another version of Linux but ... no change. I even used the unchanged osCommerce and the recent version of UPS XML Rates and Services v1.1.3a Does not work! I checked the log file (see bellow) it maks no sense for me. G. ********************** * Configuration * ********************** United Parcel Service (XML) Enable UPS Shipping True UPS Rates Access Key ************************* UPS Rates Username ********************* UPS Rates Password ********************* Pickup Method Daily Pickup Packaging Type Customer Package Customer Classification Code 01 Shipping Origin Canada Origin Origin City Calgary Origin State/Province AB Origin Country CA Origin Zip/Postal Code T2E8M5 Test or Production Mode Production Unit Weight LBS Unit Length IN Quote Type Commercial Handling Fee 0 Tax Class --none-- Shipping Zone --none-- Sort order of display. 0 Shipping Methods Next Day Air, 2nd Day Air, Ground, Worldwide Express, Standard, 3 Day Select Shipping Delay 1 ************** * Logfile * ************** 13/12/2004 15:30:53 [0.039s] /catalog/admin/configuration.php?gID=10&cID=118 13/12/2004 15:31:15 [0.039s] /catalog/admin/configuration.php?gID=10&cID=118&action=edit 13/12/2004 15:31:16 [0.106s] /catalog/admin/configuration.php?gID=10&cID=118 13/12/2004 15:31:20 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.149s) 13/12/2004 15:31:21 - /catalog/product_info.php?products_id=3&osCsid=bded74bf31942e735b2a28c00804d22c (0.164s) 13/12/2004 15:31:24 - /catalog/product_info.php?products_id=3&osCsid=bded74bf31942e735b2a28c00804d22c (0.110s) 13/12/2004 15:31:26 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.147s) 13/12/2004 15:32:32 [0.141s] /catalog/admin/modules.php?set=payment&selected_box=modules 13/12/2004 15:32:32 [0.125s] /catalog/admin/modules.php?set=payment&selected_box=modules 13/12/2004 15:32:35 [0.065s] /catalog/admin/modules.php?set=shipping 13/12/2004 15:32:38 [0.088s] /catalog/admin/modules.php?set=shipping&module=upsxml 13/12/2004 15:32:38 [0.196s] /catalog/admin/modules.php?set=shipping&module=upsxml 13/12/2004 15:32:39 [0.159s] /catalog/admin/modules.php?set=shipping&module=upsxml&action=edit 13/12/2004 15:32:48 [0.043s] /catalog/admin/modules.php?set=shipping&module=upsxml&action=save 13/12/2004 15:32:48 [0.161s] /catalog/admin/modules.php?set=shipping&module=upsxml 13/12/2004 15:32:54 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.237s) 13/12/2004 15:32:55 - /catalog/product_info.php?products_id=3&osCsid=bded74bf31942e735b2a28c00804d22c (0.112s) 13/12/2004 15:32:57 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.139s) 13/12/2004 15:32:58 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.101s) 13/12/2004 15:32:59 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.113s) 13/12/2004 15:33:00 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.096s) 13/12/2004 15:33:00 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.244s) 13/12/2004 15:35:11 [0.118s] /catalog/admin/modules.php?set=shipping&module=upsxml&action=edit 13/12/2004 15:35:39 [0.045s] /catalog/admin/modules.php?set=shipping&module=upsxml&action=save 13/12/2004 15:35:39 [0.239s] /catalog/admin/modules.php?set=shipping&module=upsxml 13/12/2004 15:35:48 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.234s) 13/12/2004 15:35:50 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.150s) 13/12/2004 15:35:51 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.214s) 13/12/2004 15:36:18 [0.094s] /catalog/admin/modules.php?set=shipping&module=upsxml&action=edit 13/12/2004 15:36:26 [0.086s] /catalog/admin/modules.php?set=shipping&module=upsxml&action=save 13/12/2004 15:36:26 [0.148s] /catalog/admin/modules.php?set=shipping&module=upsxml 13/12/2004 15:36:37 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.127s) 13/12/2004 15:36:40 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.143s) 13/12/2004 15:36:46 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.105s) 13/12/2004 15:37:12 [0.149s] /catalog/admin/modules.php?set=shipping&module=upsxml&action=edit 13/12/2004 15:37:24 [0.044s] /catalog/admin/modules.php?set=shipping&module=upsxml&action=save 13/12/2004 15:37:24 [0.113s] /catalog/admin/modules.php?set=shipping&module=upsxml 13/12/2004 15:37:30 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.126s) 13/12/2004 15:37:30 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.310s) 13/12/2004 15:37:31 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.170s) 13/12/2004 15:37:31 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.271s) 13/12/2004 15:41:11 [0.145s] /catalog/admin/modules.php?set=shipping&module=upsxml&action=edit 13/12/2004 15:41:23 [0.079s] /catalog/admin/categories.php?selected_box=catalog 13/12/2004 15:41:23 [0.112s] /catalog/admin/categories.php?selected_box=catalog 13/12/2004 15:41:24 [0.045s] /catalog/admin/configuration.php?gID=1&selected_box=configuration 13/12/2004 15:41:25 [0.042s] /catalog/admin/configuration.php?gID=1&selected_box=configuration 13/12/2004 15:41:29 [0.040s] /catalog/admin/configuration.php?gID=7 13/12/2004 15:41:31 [0.082s] /catalog/admin/configuration.php?gID=7&cID=98&action=edit 13/12/2004 15:41:33 [0.040s] /catalog/admin/configuration.php?gID=7&cID=98 13/12/2004 15:41:35 [0.041s] /catalog/admin/configuration.php?gID=7&cID=99 13/12/2004 15:41:35 [0.044s] /catalog/admin/configuration.php?gID=7&cID=99 13/12/2004 15:41:36 [0.071s] /catalog/admin/configuration.php?gID=7&cID=99&action=edit 13/12/2004 15:41:43 [0.059s] /catalog/admin/configuration.php?gID=7&cID=99&action=save 13/12/2004 15:41:43 [0.067s] /catalog/admin/configuration.php?gID=7&cID=99 13/12/2004 15:41:50 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.157s) 13/12/2004 15:41:52 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.236s) 13/12/2004 15:41:52 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.119s) 13/12/2004 15:41:53 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.283s) 13/12/2004 15:41:53 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.338s) 13/12/2004 15:46:04 - /catalog/shopping_cart.php?osCsid=bded74bf31942e735b2a28c00804d22c (0.136s) 13/12/2004 15:46:23 [0.070s] /catalog/admin/modules.php?selected_box=modules&set=payment 13/12/2004 15:46:25 [0.065s] /catalog/admin/modules.php?set=shipping 13/12/2004 15:46:28 [0.173s] /catalog/admin/modules.php?set=shipping 13/12/2004 15:46:30 [0.193s] /catalog/admin/modules.php?set=shipping&module=upsxml 13/12/2004 15:46:31 [0.137s] /catalog/admin/modules.php?set=shipping&module=upsxml&action=edit 13/12/2004 15:47:29 [0.214s] /catalog/admin/modules.php?set=shipping&module=upsxml Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.