Configure /ext extension to be recognized by Aimeos
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!
- IvanIgniter
- Posts: 58
- Joined: 01 Dec 2021, 07:41
Configure /ext extension to be recognized by Aimeos
I am using laravel 6.x, PHP 7.4, Docker desktop/Ubuntu and the Aimeos 2021
I would like to ask how to configure the aimeos not to cause issue like this if I already have a modified aimeos codes in /ext?
Everything in composer install aimeos to php artisan vendor:publish --all works fine. But after running php artisan aimeos:setup encounter the same issue the same like checking the page.
But if I removed the /ext folder our aimeos modified codes the php artisan aimeos:setup works fine.
Please help how to configure aimeos to recognized the /ext folder in the project.
I would like to ask how to configure the aimeos not to cause issue like this if I already have a modified aimeos codes in /ext?
Everything in composer install aimeos to php artisan vendor:publish --all works fine. But after running php artisan aimeos:setup encounter the same issue the same like checking the page.
But if I removed the /ext folder our aimeos modified codes the php artisan aimeos:setup works fine.
Please help how to configure aimeos to recognized the /ext folder in the project.
Re: Configure /ext extension to be recognized by Aimeos
When you upgrade from a version before 2021.07, you need to remove the ./ext/ai-* folders because they are now installed in ./vendor/aimeos/. Your own extension can still be in ./ext/
https://aimeos.org/docs/latest/laravel/ ... -to-202107
https://aimeos.org/docs/latest/laravel/ ... -to-202107
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
- IvanIgniter
- Posts: 58
- Joined: 01 Dec 2021, 07:41
Re: Configure /ext extension to be recognized by Aimeos
I am not upgrading. I just want to know what to do or configuration to recognized the modification we made in /ext once we install a theme because it is overwriting the existing /ext. Please help what should I need to know or configure to avoid it.
Thank you.
Thank you.
Re: Configure /ext extension to be recognized by Aimeos
The best solution is to merge your code from your extension located in ./ext/ into the theme extension you've created. Both have the same structure and this prevents you from having to look at two different places.
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
- IvanIgniter
- Posts: 58
- Joined: 01 Dec 2021, 07:41
Re: Configure /ext extension to be recognized by Aimeos
Yes that's what I did but why am I seeing that error after installing the extension?
Re: Configure /ext extension to be recognized by Aimeos
No extensions with ai- prefix must be in the ./ext/ folder after 2021.07.
Please remove them using:
Please remove them using:
Code: Select all
rm -rf ext/ai-*
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
- IvanIgniter
- Posts: 58
- Joined: 01 Dec 2021, 07:41
Re: Configure /ext extension to be recognized by Aimeos
If I do the remove the prefix ai- inside ext folder then this will happen?
But if I removed this created file after composer update then I won't get any issues of Extension exists twice?
Does it need to be like this that we need to remove that file or I did something wrong?
But if I removed this created file after composer update then I won't get any issues of Extension exists twice?
Does it need to be like this that we need to remove that file or I did something wrong?
Re: Configure /ext extension to be recognized by Aimeos
Execute this after you've removed the "ai-*" extensions from the ./ext/ folder:
Furthermore, install your theme using composer too like described here:
https://aimeos.org/docs/latest/laravel/ ... stallation
Code: Select all
composer up
https://aimeos.org/docs/latest/laravel/ ... stallation
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