Open alexisfroger opened 3 years ago
Hello @alexisfroger ,
Thank you for your interest in Akeneo Connector. You can just download the sources and put them in your Magento 2 app/code directory ?
Regards,
Hello @alexisfroger ,
Thank you for your interest in Akeneo Connector. You can just download the sources and put them in your Magento 2 app/code directory ?
Regards,
I guess it is not correct. After you download the sources and put them in your magento2 app/code directory, you also need to install akeneo/api-php-client, php-http/guzzle6-adapter, http-interop/http-factory-guzzle these packages as well.
Exactly same issue here. Though I have been able to make a little progress.
report.CRITICAL: Invalid block type: Akeneo\Connector\Block\Adminhtml\System\Config\Form\Field\Metrics {"exception":"[object] (Magento\\Framework\\Exception\\LocalizedException(code: 0): Invalid block type: Akeneo\\Connector\\Block\\Adminhtml\\System\\Config\\Form\\Field\\Metrics at /var/www/html/vendor/magento/framework/View/Layout/Generator/Block.php:278, ReflectionException(code: 0): Impossible to process constructor argument Parameter #1 [ <required> Akeneo\\Pim\\ApiClient\\Search\\SearchBuilderFactory $searchBuilderFactory ] of Akeneo\\Connector\\Helper\\AttributeFilters class at /var/www/html/vendor/magento/framework/Code/Reader/ClassReader.php:47, ReflectionException(code: 0): Class Akeneo\\Pim\\ApiClient\\Search\\SearchBuilderFactory does not exist at /var/www/html/vendor/magento/framework/Code/Reader/ClassReader.php:36)"} []
generally its because the Factory class haven't been generated and it will not be created automatically either
Fatal error: Interface 'Akeneo\Pim\ApiClient\FileSystem\FileSystemInterface' not found in /var/www/html/app/code/Akeneo/Connector/src/FileSystem/LocalFileSystem.php on line 14 PHP Stack trace: PHP 1. {main}() /var/www/html/bin/magento:0 PHP 2. Magento\Framework\Console\Cli->run() /var/www/html/bin/magento:23 ...
So its clear that the composer's PSR-4 autoload is not being read properly from the vendor folder, Maybe magento has its own mechanisms for reading the autoload paths, if I will have enough time will invest time on it.
For now its clear that its not possible to install the extension without composer, or at least not without some black and blood magic which I cannot do (Afraid of my team lead after last time I did that magic)
Environment and configuration
PROBLEM
Is it possible to install magento module magento2-connector-community without composer ? I can't use composer in my host :( https://help.akeneo.com/magento2-connector/v100/articles/download-connector.html
Thanks in advance.
Alexis