Peda Posted September 6, 2011 Share Posted September 6, 2011 Hi, I am using 1.4.4 version of prestashop. In the Import tab, when I choose Turkish, I cannot import any .csv files. It gives the following error: Fatal error: Call to undefined method ReflectionClass::isInterface() in /var/www/vhosts/orijinalotoyedekparca.com/httpdocs/config/autoload.php on line 53 The field is: Select language of the file (the locale must be installed): Turkish If I choose it English, everything goes right. But after choosing Turkish and click the "Import CSV data", error occures. Several weeks after still I could not solve this error. Please anyone can help me about this problem. Note: I tryed everything I know. - Change the default backoffice and frontoffice languages, - Save as the CSV file in UTF-8, in Turkish (Windows-1234), in Turkish (ISO-8859-9), in Europe (ISO-8859-1) etc. Nothing. - select the "iso-8859-1 encoded file" section, - talked with the host firm. they said that everything is ok in their server. no language problem. Link to comment Share on other sites More sharing options...
Peda Posted September 7, 2011 Author Share Posted September 7, 2011 please look at the attached image... Link to comment Share on other sites More sharing options...
Peda Posted September 9, 2011 Author Share Posted September 9, 2011 My host configuration: Server information Prestashop Version: 1.4.4.1 Server information: Linux #1 SMP Thu Nov 18 16:04:02 MSK 2010 x86_64 Server software Version: LiteSpeed PHP Version: 5.2.13 MySQL Version: 5.0.77 Link to comment Share on other sites More sharing options...
MahmutGulerce Posted September 21, 2011 Share Posted September 21, 2011 Hi there; fixed ! Turkish: http://www.prestashop-tr.com/forum/cvc-import-sorunu-t19.html English: Open /admin/tabs/AdminImport.php and delete line 1684 or type // comment start of the line. Eg: // setlocale(LC_CTYPE, strtolower($iso_lang).'_'.strtoupper($iso_lang).'.UTF-8'); Thats all . Link to comment Share on other sites More sharing options...
Peda Posted September 21, 2011 Author Share Posted September 21, 2011 Thats it, thank you very much. In my categories fiel, if a category starts with a Turkish character (Ş,Ğ,Ü,ÜÇ,Ö...) it is not showing the Turkish character in the page. For instance, category name is: Şanzıman It shows this: anzıman Is possible to solve this problem? Regards Link to comment Share on other sites More sharing options...
Peda Posted September 21, 2011 Author Share Posted September 21, 2011 Image: Link to comment Share on other sites More sharing options...
efxtr Posted January 5, 2012 Share Posted January 5, 2012 Thanks for the solution, now I can import CSV files but there is a problem with special Turkish characters (like İ, ğ etc). I can manually modify Categories names in Admin panel -> Catalog section, but there should be an easier way to solve this issue? Link to comment Share on other sites More sharing options...
efxtr Posted January 5, 2012 Share Posted January 5, 2012 I solved this issue by re-opening CSV file with notepad and then saving with UTF-8. Link to comment Share on other sites More sharing options...
Recommended Posts