PDA

View Full Version : Woocommerce Intergration Error : header("Pragma: public");



sjolie
04-24-2015, 02:11 PM
Hello Guys,

I'm trying to get this system up and going, and shows that we have an error on line 1197 in the ShippingZClasses.php.

this is the code for this area:

############################### It will be used to display XML with header ###################
function Display_XML_Output($output)
{
$output = $output."\r\n\r\n\r\n\r\n\r\n\r\n\r\n";
header("Pragma: public");
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Content-type: text/xml");
header("Content-Disposition: inline; filename=xml_order.xml");
header("Content-Length: ".$this->GetResponseLength($output));
echo $output;

exit;

}
###############################


The line is actually set at 1197 directly to: header("Pragma: public");


How do I fix this or what does this pertain to for me to move to the next step of fixing this?

SYSOPS
04-26-2015, 04:37 PM
This is under investigation, Case 45764. We will post back when we have an update.

Thank you,
SYSOPS

SYSOPS
04-27-2015, 04:12 AM
Please update the set of php files that you have uploaded to your site for ShipRush.

Here is the current set: https://my.shiprush.com/assets/ShipRush_ShoppingCart_Integration_Kit__See_README_ file.zip

Be sure to modify ShippingZSettings.php to match your current file (access token and Woo keys).

Thank you,
SYSOPS