after latest update, cms is not working for multi sites
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!
- VirtualSpy
- Advanced
- Posts: 122
- Joined: 05 Jul 2022, 07:55
after latest update, cms is not working for multi sites
Laravel version 9.34.0 , Aimeos version 2022.10.1 and PHP version 8.1.3 (Win)
in latest version of Aimeos , CMS is not working for multi sites....please fix this
in latest version of Aimeos , CMS is not working for multi sites....please fix this
Re: after latest update, cms is not working for multi sites
"Does not work" is no valid bug report. Please post as much details about the error as possible.
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
- VirtualSpy
- Advanced
- Posts: 122
- Joined: 05 Jul 2022, 07:55
Re: after latest update, cms is not working for multi sites
please check for multisite cms is not showing ....i have checked ....it is working in "aimeos/aimeos-laravel": "2022.07.4"
- Attachments
-
- report.PNG (197.02 KiB) Viewed 1513 times
Re: after latest update, cms is not working for multi sites
The CMS routes have been prefixed with "/p" by default to avoid problems with the Laravel auth routes.
What's the output of "php artisan route:list"?
What's the output of "php artisan route:list"?
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
Re: after latest update, cms is not working for multi sites
Can you install and test this version?
Code: Select all
composer req aimeos/aimeos-laravel:2022.10.x-dev
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
- VirtualSpy
- Advanced
- Posts: 122
- Joined: 05 Jul 2022, 07:55
Re: after latest update, cms is not working for multi sites
Code: Select all
GET|HEAD / ................................................................................................................................
POST _ignition/execute-solution ......................... ignition.executeSolution › Spatie\LaravelIgnition › ExecuteSolutionController
GET|HEAD _ignition/health-check ..................................... ignition.healthCheck › Spatie\LaravelIgnition › HealthCheckController
POST _ignition/update-config .................................. ignition.updateConfig › Spatie\LaravelIgnition › UpdateConfigController
GET|HEAD admin .............................................................. aimeos_shop_admin › Aimeos\Shop › AdminController@indexAction
POST admin/{site}/graphql ...................................... aimeos_shop_graphql_post › Aimeos\Shop › GraphqlController@indexAction
POST admin/{site}/jqadm/batch/{resource} .......................... aimeos_shop_jqadm_batch › Aimeos\Shop › JqadmController@batchAction
GET|HEAD admin/{site}/jqadm/copy/{resource}/{id} ........................ aimeos_shop_jqadm_copy › Aimeos\Shop › JqadmController@copyAction
GET|HEAD admin/{site}/jqadm/create/{resource} ....................... aimeos_shop_jqadm_create › Aimeos\Shop › JqadmController@createAction
POST admin/{site}/jqadm/delete/{resource}/{id?} ................. aimeos_shop_jqadm_delete › Aimeos\Shop › JqadmController@deleteAction
GET|POST|HEAD admin/{site}/jqadm/export/{resource} ................... aimeos_shop_jqadm_export › Aimeos\Shop › JqadmController@exportAction
GET|HEAD admin/{site}/jqadm/file/{type} ................................. aimeos_shop_jqadm_file › Aimeos\Shop › JqadmController@fileAction
GET|HEAD admin/{site}/jqadm/get/{resource}/{id} ........................... aimeos_shop_jqadm_get › Aimeos\Shop › JqadmController@getAction
POST admin/{site}/jqadm/save/{resource} ............................. aimeos_shop_jqadm_save › Aimeos\Shop › JqadmController@saveAction
GET|POST|HEAD admin/{site}/jqadm/search/{resource} ................... aimeos_shop_jqadm_search › Aimeos\Shop › JqadmController@searchAction
OPTIONS admin/{site}/jsonadm/{resource?} ..................... aimeos_shop_jsonadm_options › Aimeos\Shop › JsonadmController@optionsAction
DELETE admin/{site}/jsonadm/{resource}/{id?} .................. aimeos_shop_jsonadm_delete › Aimeos\Shop › JsonadmController@deleteAction
GET|HEAD admin/{site}/jsonadm/{resource}/{id?} ........................ aimeos_shop_jsonadm_get › Aimeos\Shop › JsonadmController@getAction
PATCH admin/{site}/jsonadm/{resource}/{id?} .................... aimeos_shop_jsonadm_patch › Aimeos\Shop › JsonadmController@patchAction
POST admin/{site}/jsonadm/{resource}/{id?} ...................... aimeos_shop_jsonadm_post › Aimeos\Shop › JsonadmController@postAction
PUT admin/{site}/jsonadm/{resource}/{id?} ........................ aimeos_shop_jsonadm_put › Aimeos\Shop › JsonadmController@putAction
GET|HEAD api/user .........................................................................................................................
GET|HEAD sanctum/csrf-cookie .................................................................. Laravel\Sanctum › CsrfCookieController@show
GET|POST|HEAD {site} .............................................................. aimeos_home › Aimeos\Shop › CatalogController@homeAction
GET|HEAD {site}/confirm-password ............................................... password.confirm › Auth\ConfirmablePasswordController@show
POST {site}/confirm-password ................................................................. Auth\ConfirmablePasswordController@store
POST {site}/email/verification-notification .................... verification.send › Auth\EmailVerificationNotificationController@store
GET|HEAD {site}/forgot-password ................................................ password.request › Auth\PasswordResetLinkController@create
POST {site}/forgot-password ................................................... password.email › Auth\PasswordResetLinkController@store
GET|OPTIONS|HEAD {site}/jsonapi/{resource?} .................... aimeos_shop_jsonapi_options › Aimeos\Shop › JsonapiController@optionsAction
DELETE {site}/jsonapi/{resource} .............................. aimeos_shop_jsonapi_delete › Aimeos\Shop › JsonapiController@deleteAction
GET|HEAD {site}/jsonapi/{resource} .................................... aimeos_shop_jsonapi_get › Aimeos\Shop › JsonapiController@getAction
PATCH {site}/jsonapi/{resource} ................................ aimeos_shop_jsonapi_patch › Aimeos\Shop › JsonapiController@patchAction
POST {site}/jsonapi/{resource} .................................. aimeos_shop_jsonapi_post › Aimeos\Shop › JsonapiController@postAction
PUT {site}/jsonapi/{resource} .................................... aimeos_shop_jsonapi_put › Aimeos\Shop › JsonapiController@putAction
GET|HEAD {site}/login .................................................................. login › Auth\AuthenticatedSessionController@create
POST {site}/login ........................................................................... Auth\AuthenticatedSessionController@store
POST {site}/logout ............................................................... logout › Auth\AuthenticatedSessionController@destroy
GET|POST|HEAD {site}/p/{path?} ...................................................... aimeos_page › Aimeos\Shop › PageController@indexAction
GET|POST|HEAD {site}/profile ............................................. aimeos_shop_account › Aimeos\Shop › AccountController@indexAction
GET|POST|HEAD {site}/profile/download/{dl_id} ................ aimeos_shop_account_download › Aimeos\Shop › AccountController@downloadAction
GET|POST|HEAD {site}/profile/favorite/{fav_action?}/{fav_id?}/{d_name?}/{d_pos?} aimeos_shop_account_favorite › Aimeos\Shop › AccountContro…
GET|POST|HEAD {site}/profile/watch/{wat_action?}/{wat_id?}/{d_name?}/{d_pos?} aimeos_shop_account_watch › Aimeos\Shop › AccountController@i…
GET|HEAD {site}/register .................................................................. register › Auth\RegisteredUserController@create
POST {site}/register .............................................................................. Auth\RegisteredUserController@store
POST {site}/reset-password ......................................................... password.update › Auth\NewPasswordController@store
GET|HEAD {site}/reset-password/{token} ................................................. password.reset › Auth\NewPasswordController@create
GET|POST|HEAD {site}/s/{s_name}/{f_supid} ............................. aimeos_shop_supplier › Aimeos\Shop › SupplierController@detailAction
GET|POST|HEAD {site}/shop .................................................... aimeos_shop_list › Aimeos\Shop › CatalogController@listAction
GET|POST|HEAD {site}/shop/basket ........................................... aimeos_shop_basket › Aimeos\Shop › BasketController@indexAction
GET|POST|HEAD {site}/shop/checkout/{c_step?} ........................... aimeos_shop_checkout › Aimeos\Shop › CheckoutController@indexAction
GET|POST|HEAD {site}/shop/confirm/{code?} ............................. aimeos_shop_confirm › Aimeos\Shop › CheckoutController@confirmAction
GET|POST|HEAD {site}/shop/count ............................................ aimeos_shop_count › Aimeos\Shop › CatalogController@countAction
GET|POST|HEAD {site}/shop/pin ................................... aimeos_shop_session_pinned › Aimeos\Shop › CatalogController@sessionAction
GET|POST|HEAD {site}/shop/stock ............................................ aimeos_shop_stock › Aimeos\Shop › CatalogController@stockAction
GET|POST|HEAD {site}/shop/suggest ...................................... aimeos_shop_suggest › Aimeos\Shop › CatalogController@suggestAction
GET|POST|HEAD {site}/shop/{d_name}/{d_pos?}/{d_prodid?} .................. aimeos_shop_detail › Aimeos\Shop › CatalogController@detailAction
GET|POST|HEAD {site}/shop/{f_name}~{f_catid}/{l_page?} ....................... aimeos_shop_tree › Aimeos\Shop › CatalogController@treeAction
GET|POST|HEAD {site}/update ............................................. aimeos_shop_update › Aimeos\Shop › CheckoutController@updateAction
GET|HEAD {site}/verify-email ........................................ verification.notice › Auth\EmailVerificationPromptController@__invoke
GET|HEAD {site}/verify-email/{id}/{hash} ........................................ verification.verify › Auth\VerifyEmailController@__invoke
Showing [61] routes
- VirtualSpy
- Advanced
- Posts: 122
- Joined: 05 Jul 2022, 07:55
Re: after latest update, cms is not working for multi sites
I have tested......cms content is not showing for multisite in this version too.aimeos wrote: ↑18 Oct 2022, 08:37 Can you install and test this version?Code: Select all
composer req aimeos/aimeos-laravel:2022.10.x-dev
Re: after latest update, cms is not working for multi sites
Your CMS pages are now available at {site}/p/{path?} (with "/p" prefix).
To get {site}/{path?} again, you have to remove the "p" prefix here:
https://github.com/aimeos/aimeos-larave ... op.php#L21
To get {site}/{path?} again, you have to remove the "p" prefix here:
https://github.com/aimeos/aimeos-larave ... op.php#L21
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
- VirtualSpy
- Advanced
- Posts: 122
- Joined: 05 Jul 2022, 07:55
Re: after latest update, cms is not working for multi sites
i removed this line but still cms content is not showing on multisiteaimeos wrote: ↑18 Oct 2022, 09:53 Your CMS pages are now available at {site}/p/{path?} (with "/p" prefix).
To get {site}/{path?} again, you have to remove the "p" prefix here:
https://github.com/aimeos/aimeos-larave ... op.php#L21
Re: after latest update, cms is not working for multi sites
OK, the "/p" prefix isn't the problem in your case because it's only for pages created by the page controller.
If you use a multi-sites and/or multi-locale setup and want to add CMS content to any URL (and "cms/page" output is used in the Blade templates), you have to use the full URL for that pages in the URL field of the CMS module, e.g. for the home page:
If you use a multi-sites and/or multi-locale setup and want to add CMS content to any URL (and "cms/page" output is used in the Blade templates), you have to use the full URL for that pages in the URL field of the CMS module, e.g. for the home page:
Code: Select all
/en/default (locale and site)
/default (site only)
/en (locale only)
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