Sign in to follow this  
iankgrant

Problem with server-side export

Recommended Posts

Hello,

 

 

 

I'm trying to get a server-side export working, without any success. Looking in debug mode, it gets as far as....

 

 

 

Export Transmit Data Start: The chart has finished capture stage of bitmap export and is now initiating transfer of data to the module at 'http://ftp.blinkdm.co.uk/graphs/FusionCharts/ExportHandlers/PHP/FCExporter.php'.

 

 

 

...and then it gets no further. As far as I can see, the path to the ExportHandler script is correct; I believe that it's also set up with references to folders with the correct permissions.

 

 

 

Any help would be gratefully received!

 

 

 

The code looks like this:

 

 

 












Step 4: Download your graphs



FusionCharts loaded here...





 

 

 

Many thanks,

 

 

 

ian.

Share this post


Link to post
Share on other sites

Hello,

 

 

 

Could you please confirm if you are using the updated versions of the charts?

 

 

 

I believe so. The debug info says that it's 3.1.1; is that the latest? It's the trial version, if that makes any difference, as I'm building a prototype system for a client.

 

 

 

Also could you post your code as an attachment instead?

 

 

 

Sure, it's attached as a text file.

 

 

 

Oh, and welcome to the forum! :)

 

 

 

Thank you! :)

 

 

 

ian.

code.txt

Share this post


Link to post
Share on other sites

Hello Ian,

 

 

 

Your code is working.

 

 

 

If the window size is very large then the process is very slow, since the image is large.

 

 

 

But it is working! :)

Share this post


Link to post
Share on other sites
If the window size is very large then the process is very slow, since the image is large.

 

 

 

Thanks for your reply; much appreciated. It's good to know that I'm on the right track.

 

 

 

Is there any way to dictate the image size? (I'll search through the documentation, obviously, so feel free to refer me to the manual....)

Share this post


Link to post
Share on other sites

Hmmm. :ermm:

 

 

 

If it is just slow, then it really is very slow. I've left it running for half an hour, in both Firefox and IE7, without any sign that it might finish. It'll be hard to persuade my client that it's working when it takes more than half an hour!

 

 

 

I've searched through the documentation, but not seen anything that might speed it up in any way. So I'm a bit stuck! Any clues?

Share this post


Link to post
Share on other sites

Another update, and some better news...

 

 

 

Having moved it all onto an entirely different server, it works absolutely fine...with a minimal delay before the graph downloads or is saved. So there must be something in the configuration of the other server which is preventing the Flash from calling the PHP with the graph data.

 

 

 

That's probably something I can get around by hosting it somewhere where it does work...but I'd still be interested in any thoughts on what the problem might be. Whatever it is, the POSTed data doesn't ever seem to get as far as the PHP exporter, since it hangs whatever the value of the 'ExportHandler' parameter is....

 

 

 

Many thanks.

Share this post


Link to post
Share on other sites

Hello,

 

 

 

Yes, only yesterday, we were discussing your situation and we all thought it is probably because of the server. Connection speed could not be an issue since we had tested it on our connection.

 

 

 

But really happy to know your project is making headway.

 

 

 

Of course there still remains scope for dialogue on how to make things work better. And your feedbacks are extremely important for this reason.

 

 

 

Thank you so much. :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this