Quantcast
Channel: ShipRush Support Forums
Viewing all articles
Browse latest Browse all 1680

Woocommerce Intergration Error : header("Pragma: public");

$
0
0
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?

Viewing all articles
Browse latest Browse all 1680

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>