fresh install missing core routes
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!
fresh install missing core routes
Laravel: 9.2
Aimeos: 2022.07
php: 8.1
Installing a fresh clean install with composer
composer create-project aimeos/aimeos newshop
The web.php route file contains the below, there are no core routes
$params = [];
$conf = ['prefix' => '', 'where' => []];
if( env( 'SHOP_MULTILOCALE' ) )
{
$conf['prefix'] .= '{locale}';
$conf['where']['locale'] = '[a-z]{2}(\_[A-Z]{2})?';
$params = ['locale' => app()->getLocale()];
Route::get('/admin', function () use ($params) {
return redirect(airoute('aimeos_shop_admin', $params));
});
}
if( env( 'SHOP_MULTISHOP' ) )
{
$conf['prefix'] .= '/{site}';
$conf['where']['site'] = '[A-Za-z0-9\.\-]+';
}
if( $conf['prefix'] )
{
Route::get('/', function () use ($params) {
return redirect(airoute('aimeos_home', $params));
});
}
Route::group($conf ?? [], function() {
require __DIR__.'/auth.php';
});
Aimeos: 2022.07
php: 8.1
Installing a fresh clean install with composer
composer create-project aimeos/aimeos newshop
The web.php route file contains the below, there are no core routes
$params = [];
$conf = ['prefix' => '', 'where' => []];
if( env( 'SHOP_MULTILOCALE' ) )
{
$conf['prefix'] .= '{locale}';
$conf['where']['locale'] = '[a-z]{2}(\_[A-Z]{2})?';
$params = ['locale' => app()->getLocale()];
Route::get('/admin', function () use ($params) {
return redirect(airoute('aimeos_shop_admin', $params));
});
}
if( env( 'SHOP_MULTISHOP' ) )
{
$conf['prefix'] .= '/{site}';
$conf['where']['site'] = '[A-Za-z0-9\.\-]+';
}
if( $conf['prefix'] )
{
Route::get('/', function () use ($params) {
return redirect(airoute('aimeos_home', $params));
});
}
Route::group($conf ?? [], function() {
require __DIR__.'/auth.php';
});
Re: fresh install missing core routes
The core routes are not included in the web/routes.php file because they are loaded by the service provider of the extension. You can find them here:
https://github.com/aimeos/aimeos-larave ... routes.php
https://github.com/aimeos/aimeos-larave ... routes.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: fresh install missing core routes
ok, how can I find what is the service provider for login and admin?
myshop/login is returning 404.
myshop/admin is returning 404.
with previous versions a clean install login and admin would work out of the box.
myshop/login is returning 404.
myshop/admin is returning 404.
with previous versions a clean install login and admin would work out of the box.
- VirtualSpy
- Advanced
- Posts: 122
- Joined: 05 Jul 2022, 07:55