Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to find the XML file for DHL?


naijaguy

Recommended Posts

Posted

I'm with DHL and we have a customer who is trying to use osCommerce with our API, and I know it's certified and all, but I don't know much more than that. He's experiencing an error, but he took over from the programmer who was originally working with osCommerce, so I don't think he knows as much about it. In order to determine what the problem is, I need him to send me the XML file that osCommerce is trying to send to our servers. How do I tell him where to find that shipment request XML, or is it only generated in memory and never written to file? Thanks...

Posted

In the Admin section have them go to Modules, Shipping, Select the DHL module, click on Edit. All the way at the bottom they can turn on debug mode.

 

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

Module Debugging

Do you want to debug the domestic DHL/Airborne shipping module (will save the XML request and response to a file in the directory specified below)?

 

True <-- Set this to true

False

 

Debug Method

Method of debugging

 

Print to screen <-- Set to this

Save to file

while (!succeed) {try()};

 

GMT -6:00

Posted

This question was originaly posted for me, from a DHL rep. But when I put in de-bug mode, it give me the following error;

 

"Warning: fopen(http://www.drlocks.net/test/request.txt): failed to open stream: HTTP wrapper does not support writeable connections. in /home/drlocks/public_html/cart/includes/modules/shipping/dhlairborne.php on line 438

Failed opening file http://www.drlocks.net/test/request.txt"

 

.... I have made sure the folder is set to chmod 777 and that it is the apsolute path.

 

Can Anyone help?

 

Thanks in advanced!

 

-James

James Scheller

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...