ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  All my Charts using php ChartDirector have stopped working again
Posted by Paul Huffman on Apr-08-2017 05:43
My charts on my website have all stopped working again.  http://ykfp.org/php/BOR/prodbflowtempcharturl.php?year=2017  Error messages like: " Error Loading ChartDirector for PHP Extension

It appears this PHP system has not loaded the ChartDirector extension by using an extension statement in the PHP configuration file (typically called "php.ini"). An attempt has been made to dynamically load ChartDirector on the fly, but it was not successful. Please refer to the Installation section of the ChartDirector for PHP documentation on how to resolve this problem. "

I am trying to remember what I had to do a couple of years ago.  All I have found was that I had to change from the 32 bit version to the 64 bit linux version of CD.  What is it this time?  I think I have the PHP5.6 CD libraries and my host is using PHP 5.6.   http://ykfp.org/php/phpinfo.php

  Re: All my Charts using php ChartDirector have stopped working again
Posted by Paul Huffman on Apr-08-2017 06:34
I guess I figured it out.  My hosting company notified me that they had finished upgrading to PHP 5.6.28 on 3/22/2017, I thought I was OK because I had a ChartDirector/lib dll for both PHP 5.5 and 5.6, and a both a ~.php/5.5/phprc and a ~.php/5.6/phprc with mod times of 20160618.  But as I snooped around, I noticed there was no extension line in the 5.6/phprc.  Added  extension=/home/ykfpdata/ykfp.org/php/ChartDirector/lib/phpchartdir560.dll  to the 5.6 phprc and everything was fixed.