Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

[Solved] CSV Import Error
(1 viewing) (1) Guest
Support forum for users using free edition of this product. These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: [Solved] CSV Import Error

[Solved] CSV Import Error 13 years, 5 months ago #19321

Hi there,
I keep getting this error when trying to import a .csv data file. i have tried selecting different types of charts, and always get similar errors (the line number simply changes).


Fatal error: Call to undefined function mime_content_type() in /home/syedchou/public_html/demo/PRC/administrator/components/com_artiofusioncharts/helpers/helper.php on line 989


I bought a user license, and but am currently using this on a development site (which is on a different domain). Is that the problem?

Or is it something else? Maybe my .csv file is too complex?

Also, is there a user guide for the advance functionality in the paid version? i.e. for the database manager and csv import? I can just find the free version's user guide, which is quote pointless!
Last Edit: 13 years, 5 months ago by syedchoudhury.
The topic has been locked.

Re: CSV Import Error 13 years, 5 months ago #19322

PHP.net says that the function "mime_content_type()" is deprecated, and we should use the PECL extension Fileinfo. (php.net/manual/en/function.mime-content-type.php)

Is that the correct solution for this issue? And if so, is there a patch that I can apply to my installation to fix this problem? or do I need to go through all the coding and replace the function on by one? (or am i barking up the wrong tree?)
The topic has been locked.

Re: CSV Import Error 13 years, 5 months ago #19337

Emailed Support and they sent over a fix. You just need to replace the following file:
[root]/administrator/components/com_artiofusioncharts/helpers/helper.php

I have attached the zip file that support sent over, in case anyone else encounters the same problem
The topic has been locked.
  • Page:
  • 1
User Login Empty