Loren

Running FusionCharts_Evaluation PHPClass Samples render only the word "Chart."

Recommended Posts

Greetings,

I have two websites with the following configurations:

Apache 2.2.10/PHP 5.2.6 on a windows XP on box 1.

Apache 2.2.3/PHP 5.1.6 on a CentOS 5 on box 2.

 

I have copied the entire FusionCharts_Evaluation directory (to avoid ANY path issues) to the web directories on each box.

All samples work fine on BOTH boxes EXCEPT PHPClass Samples does not work on box 1

I have used both FireFox and IE and both produce the same results on BOTH boxes:

Where the chart should be, all that displays is the word "Chart."

Thanks for any assistance you may be able to provide!!!

ljb

Share this post


Link to post
Share on other sites

I discovered the issue.

The code FusionCharts has written includes "non-standard" PHP short open tags.

The default installation of PHP 5.2.6 has short open tags support turned off.

In the php.ini file:

short_open_tag = Off

Change this to:

short_open_tag = On

Restart Apache...

... and that will resolve the rendering issue.

ljb

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