Flash Player #2032
Posted: Fri Nov 15, 2013 1:07 pm
Hello,
Suddenly one of our client start facing issue of Flash Player #2032 error, all things are working well before couple of days. Following is the information
Client is using : Mac OS 10.7.5
Safari : 6.5.0
Flash Player : 11.9.900 for Macintosh
Please note that we are using, FlexAdapterXmlData for every report so we have patched database_xml.php , sti_xml_get_data method to get a dynamically generated XML file name and path.
Suddenly, when we run report on that client machine, flash player has started giving error #2032 and when we investigate issue, we found that flash player has started requesting static path of xml which is configured in XML data source. Screen shots will give more idea.
following is, database_xml.php file
<?php
function sti_xml_get_columns($data_path, $schema_path)
{
return "";
}
function sti_xml_get_data($data_path, $schema_path)
{
$data_path=ereg_replace(".xml","_".$_SESSION['loginuser']."_".$_SESSION['loginhotel'].".xml",$data_path); // this will give us new path unique to all accounts at runtime
$data = file_get_contents($data_path);
return $data;
}
?>
RIght now I am clueless what happens suddenly, nothing is updated from our side, but ofcourse client machine is on auto update mode so may have changed anytime unknowingly.
Suddenly one of our client start facing issue of Flash Player #2032 error, all things are working well before couple of days. Following is the information
Client is using : Mac OS 10.7.5
Safari : 6.5.0
Flash Player : 11.9.900 for Macintosh
Please note that we are using, FlexAdapterXmlData for every report so we have patched database_xml.php , sti_xml_get_data method to get a dynamically generated XML file name and path.
Suddenly, when we run report on that client machine, flash player has started giving error #2032 and when we investigate issue, we found that flash player has started requesting static path of xml which is configured in XML data source. Screen shots will give more idea.
following is, database_xml.php file
<?php
function sti_xml_get_columns($data_path, $schema_path)
{
return "";
}
function sti_xml_get_data($data_path, $schema_path)
{
$data_path=ereg_replace(".xml","_".$_SESSION['loginuser']."_".$_SESSION['loginhotel'].".xml",$data_path); // this will give us new path unique to all accounts at runtime
$data = file_get_contents($data_path);
return $data;
}
?>
RIght now I am clueless what happens suddenly, nothing is updated from our side, but ofcourse client machine is on auto update mode so may have changed anytime unknowingly.