Invalid Catalog Lines
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 40
- Joined: 12 Jul 2018, 19:57
Invalid Catalog Lines
Hi there;
I'm trying to import categories from magento to aimeos, when i run the command i got this error
my shop.php config
can you help me with that
I'm trying to import categories from magento to aimeos, when i run the command i got this error
Code: Select all
php artisan aimeos:jobs catalog/import/csv
Executing the Aimeos jobs for "default"
Invalid catalog lines in "storage/csv": 132/132#0 /home/vagrant/sync/vendor/aimeos/aimeos-laravel/src/Aimeos/Shop/Command/JobsCommand.php(69): Aimeos\Controller\Jobs\Catalog\Import\Csv\Standard->run()
#1 [internal function]: Aimeos\Shop\Command\JobsCommand->Aimeos\Shop\Command\{closure}(Object(Aimeos\MShop\Context\Item\Standard), Object(Aimeos\Bootstrap), 'catalog/import/...')
Code: Select all
'controller' => [
'jobs' => [
'catalog' => [
'import' => [
'csv' => [
'location' => 'storage/csv',
'skip-lines' => 1
]
]
]
]
],
--
Jorge A Ramirez
System Engineer
PHP Developer
Jorge A Ramirez
System Engineer
PHP Developer
Re: Invalid Catalog Lines
Hi,jramirezgranada wrote:Hi there;
I'm trying to import categories from magento to aimeos, when i run the command i got this error
my shop.php configCode: Select all
php artisan aimeos:jobs catalog/import/csv Executing the Aimeos jobs for "default" Invalid catalog lines in "storage/csv": 132/132#0 /home/vagrant/sync/vendor/aimeos/aimeos-laravel/src/Aimeos/Shop/Command/JobsCommand.php(69): Aimeos\Controller\Jobs\Catalog\Import\Csv\Standard->run() #1 [internal function]: Aimeos\Shop\Command\JobsCommand->Aimeos\Shop\Command\{closure}(Object(Aimeos\MShop\Context\Item\Standard), Object(Aimeos\Bootstrap), 'catalog/import/...')
can you help me with thatCode: Select all
'controller' => [ 'jobs' => [ 'catalog' => [ 'import' => [ 'csv' => [ 'location' => 'storage/csv', 'skip-lines' => 1 ] ] ] ] ],
How about change 'location' key:
Code: Select all
'location' => base_path('storage/tmp/product')
And are you following the correct CSV format?
Thanks!
Re: Invalid Catalog Lines
When errors occur during the import they are logged and you should be able to see them in the log panel.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star