kc2519

Members
  • Content count

    3
  • Joined

  • Last visited

Everything posted by kc2519

  1. FCTime variable

    Hello - I have read other posts on this topic, but I am still having difficulty with the FCTime variable being appended to my $strDataURL that is being passed from a chart display page to an underlying data page. Here is a typical error message from the debugger: INFO: XML Data provided using dataURL method. dataURL provided: data.php?Year=1932 dataURL invoked: data.php?Year=1932&FCTime=129 INFO: XML Data provided using dataURL method. ERROR: Invalid XML encountered. An XML element is malformed. Click the above "dataURL Invoked" link to see the XML in browser. I have even removed the appropriate function from the DataFunctions.as file in the FC source code, yet I continue to receive this error, and even re-installed FusionCharts, yet I continue to receive this type of error. In my case, I want the results to be cached - they are not based on real time data, and thus do not need any sort of timestamp for the latest version. I have been able to successfully create charts using other methods, but this approach of using separate pages for data and display would provide me far greater value if it can be made to work. Thanks in advance for any solutions.
  2. FCTime variable

    Pallav - Is there any way to get around this? My data is not time sensitive, so I would like to be able to use $_POST and $_GET to pass the value without FCTime being used. I have modified the source code, but nothing changes. If this is no longer a feasible way to pass a value, can you recommend another alternative? I would rather not hard code these values, as it will require producing many more files. Thanks for any help you can provide.
  3. FCTime variable

    Arindam - Thank you for the reply, but I believe I am already using the urlencode method, as shown below. The FCTime variable continues to be appended to my $strDataURL, forcing an XML error. //Define dataURL $strDataURL = "data.php?Year=" . $intYear; //URL Encode the dataURL - Important Step $strDataURL = urlencode($strDataURL); In the data.php file, I have the following: //strQuery - String variable to contain the SQL query $strQuery="SELECT name, HR FROM BattingPlus WHERE yearID=" . $_GET['Year'] . " ORDER BY HR DESC LIMIT 20"; And the result is always like this: INFO: XML Data provided using dataURL method. dataURL provided: data.php?Year=1946 dataURL invoked: data.php?Year=1946&FCTime=143 INFO: XML Data provided using dataURL method. ERROR: Invalid XML encountered. An end-tag is encountered without a matching start-tag. Click the above "dataURL Invoked" link to see the XML in browser. FusionCharts appears to be adding the FCTime variable, causing a difference between the provided and invoked dataURL. Thanks for the help. Ken Cherven