csv import on staging environment

Help for integrating the Laravel package
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!
User avatar
VirtualSpy
Advanced
Posts: 122
Joined: 05 Jul 2022, 07:55

csv import on staging environment

Post by VirtualSpy » 29 Aug 2022, 13:12

Laravel version 9.22.1 , Aimeos version 2022.07.2 and PHP version 8.1.3 (Win)

everything is working on my local but, i am getting this error on staging environment when i am trying to import from csv
Attachments
e.PNG
e.PNG (13.59 KiB) Viewed 939 times

User avatar
aimeos
Administrator
Posts: 7909
Joined: 01 Jan 1970, 00:00

Re: csv import on staging environment

Post by aimeos » 30 Aug 2022, 17:39

Seems like your ./config/shop.php configuration isn't the same as on you local machine because the "catalog-count" section is missing or invalid:
https://github.com/aimeos/aimeos-larave ... er.php#L35

It must look like this:
https://github.com/aimeos/aimeos-larave ... op.php#L29
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
VirtualSpy
Advanced
Posts: 122
Joined: 05 Jul 2022, 07:55

Re: csv import on staging environment

Post by VirtualSpy » 31 Aug 2022, 05:18

aimeos wrote: 30 Aug 2022, 17:39 Seems like your ./config/shop.php configuration isn't the same as on you local machine because the "catalog-count" section is missing or invalid:
https://github.com/aimeos/aimeos-larave ... er.php#L35

It must look like this:
https://github.com/aimeos/aimeos-larave ... op.php#L29
everything is same as my local in ./config/shop.php configuration & this error is coming while i am running cmd of category , product or supplier import

User avatar
VirtualSpy
Advanced
Posts: 122
Joined: 05 Jul 2022, 07:55

Re: csv import on staging environment

Post by VirtualSpy » 31 Aug 2022, 16:57


User avatar
VirtualSpy
Advanced
Posts: 122
Joined: 05 Jul 2022, 07:55

Re: csv import on staging environment

Post by VirtualSpy » 02 Sep 2022, 07:58

VirtualSpy wrote: 31 Aug 2022, 16:57 now my problem has solved .
https://laravel.com/docs/9.x/configurat ... on-caching
it is temporary solution by generate cache on server and change path there.
permanent solution is don't generate cache file and change path on config/shop.php......... our staging is on linux server and there forward slash does work on the path so csv import was not working .

Post Reply