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

Message ListMessage List     Post MessagePost Message

  Error after uploading chart director to the server
Posted by techsoft on Jun-01-2015 19:49
hi Peter,

I have uploaded all chart director files to my shared host server, but is seems to be
not working. I have fixed the same for localhost but i don't know how to fix it from
the server. Godaddy is the hosting company. Below shown is the error i got


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.

Error Log

The version and type of PHP in this system does not support dynmaic loading of PHP
extensions. All PHP extensions must be loaded by using extension statements in the
PHP configuration file.

System Information
Operating System : Windows NT IIS1021 5.2 build 3790 (Windows Server 2003 R2
Standard Edition Service Pack 2) i586
PHP version : 5.3.20
PHP / Web Server interface : cgi-fcgi
PHP configuration file location : "C:\\Program
Files\\HSphere\\3rdparty\\PHP\\PHP53\\php.ini"
PHP extension directory : "c:\\Program Files\\HSphere\\3rdparty\\PHP\\PHP53\\ext"


Thanks Techsoft

  Re: Error after uploading chart director to the server
Posted by Peter Kwan on Jun-02-2015 00:08
Hi techsoft,

To use ChartDirector on a server, you must be able to install it on the server. If you are the server administration, of course it is possible. If you are on a shared server, this is usually possible if your server supports custom "php.ini". From experience, I think around 70% of the PHP shared host nowadays supports custom "php.ini" these features. If the host does not support custom "php.ini", but supports .htaccess and CGI (most Linux host supports these features), it can also be worked around by using CGI to launch a private instance of PHP.

By using Google, I does find a page that seems to suggest Godaddy hosting supports custom "php.ini", although I am not sure if it applies to your hosting account:,

https://support.godaddy.com/help/article/5647/why-isnt-my-php-initialization-file-taking-effect

You can try some simple configuration to check if the custom "php.ini" does work (such as to change the error reporting level and check using "phpinfo" to see if it is really changed). Please also be aware that according to the above link, it may take some effort for the PHP to pick up the modified "php.ini". If it works, you can install ChartDirector using the following method:

extension_dir=/directory/under/your/control
extension=phpchartdir???.dll

First, please determine what is your own directory (phpinfo can help), then configure the PHP extension directory to be in a directory under your control. Now you can upload ChartDirector to that directory. Then in the extension statement, please choose a PHP extension that matches your PHP version and thread-safety type (see the Installation section of the ChartDirector documentation for details).

Regards
Peter Kwan

  Re: Error after uploading chart director to the server
Posted by techsoft on Jun-02-2015 20:38
Hi peter,

Thanks for your reply. I have sent an email to your mail id pkwan@advsofteng.net.
Please check it.

Thanks,

Techsoft

  Re: Error after uploading chart director to the server
Posted by Peter Kwan on Jun-03-2015 00:29
Hi Techsoft,

Thanks for the email. I have just installed ChartDirector on your web site. Please kindly
check to see if it is working now.

Regards
Peter Kwan

  Re: Error after uploading chart director to the server
Posted by techsoft on Jun-09-2015 18:18
Hi Peter,

Thank you so much for your help. Surely I will contact you if I need any further
information.


Thanks & Regards
Techsoft