Blog Kategori:
Drupal 9: CSV Serialization requires the League\Csv library Hatası Çözümü
Drupal 9: CSV Serialization requires the League\Csv library Bug Fix
Drupal 9 ile birlikte kurulum ve modül (eklenti) kurulumları için genellikle composer öneriliyor. Ancak çoğu hosting firması composer'i paylaşımlı hostinglerde açmıyor. Ya sanal sunucu ya da kiralık sunucu ile çalışmanız gerekiyor. Bu da maaliyetli bir iş olduğu için işler zorlaşıyor haliyle. Drupal 9'da "Ludwig" eklentisi kısmen de olsa modüllerdeki composer ihtiyacınızı karşılamaya yönelik. Ancak bazı noktalarda el ile kuruluma devam etmeniz gerekebilir.
Composer is generally recommended for installation and module (plugin) installations with Drupal 9. However, most hosting companies do not open composer on shared hosting. You have to work with either a virtual server or a leased server. Since this is a costly job, things get harder. In Drupal 9, the "Ludwig" plugin is partially aimed at meeting your composer needs in modules. However, at some points you may need to continue with the manual installation.
Drupal 9'u otomatik yükleyici (installer) ile cPanel üzerinden kurdum. Quiz eklentisini kurmak istedim. Ancak Quiz eklentisini etkinleştirebilmek için birçok eklentiyi de kurmanız ve etkinleştirmeniz gerekiyor. Hangi eklentiler bunlar;
Datetime, Field, Datetime Range, Entity, Numeric Range, Rules, Configuration Manager, Typed Data, Text, Filter, User, System, Paragraphs, Entity Reference Revisions, File, Views, Views Bulk Operations, Views Data Export, RESTful Web Services, Serialization,
Serialization (CSV), Options ve bunlara bağlı olan eklentiler.
I installed Drupal 9 via cPanel with automatic installer. I wanted to install the Quiz plugin. However, in order to activate the Quiz plugin, you also need to install and activate many plugins. Which plugins are these?
Datetime, Field, Datetime Range, Entity, Numeric Range, Rules, Configuration Manager, Typed Data, Text, Filter, User, System, Paragraphs, Entity Reference Revisions, File, Views, Views Bulk Operations, Views Data Export, RESTful Web Services, serialization,
Serialization (CSV), Options and their dependent plugins.
Bunları yüklerken şöyle bir sorunla karşılaştım: CSV Serialization requires the League\Csv library. Bu hatayı ludwig eklentisi ise şöyle açıklıyordu: Warning! The FILES type libraries are not supported by Ludwig automatically. Yani Ludwig bu kütüphaneyi otomatik olarak yükleyemeyeceğini ve elle yüklenmesi gerektiğini söylüyordu.
I ran into a problem installing these: CSV Serialization requires the League\Csv library. The ludwig plugin was explaining this error as follows: Warning! The FILES type libraries are not supported by Ludwig automatically. So Ludwig was saying that he couldn't load this library automatically and it had to be installed manually.
Uzunca bir denemeden sonra şöyle bir çözüm buldum:
1. Adım: Github sitesinden "https://codeload.github.com/thephpleague/csv/zip/9.6.2" ilgili sürümü indirdim.
2. Adım: Dosyaları modules/csv_serialization/lib/league/csv/v9.6.2 dizinine çıkardığımda problem çözüldü.
After a long try, I found a solution like this:
Step 1: I downloaded the relevant version from Github site "https://codeload.github.com/thephpleague/csv/zip/9.6.2".
Step 2: Once I extracted the files to modules/csv_serialization/lib/league/csv/v9.6.2 the problem was solved.
Umarım aynı problemle karşılaşanların da işine yarar...
I hope it will be useful for those who encounter the same problem...