Page 1 of 1

Error after install when going to /shop/list - SOLVED!

Posted: 21 Aug 2017, 14:46
by kimholberg
Neos 3.1.0
"aimeos/aimeos-flow": "~2017.07"
Mac local instal (Bitnami)

Installed ok, demo via ./flow aimeos:setup --option=setup/default/demo:1

I can access /shop/admin and see the admin dashboard, but when using /shop/list i get following error:

Page Not Found
Sorry, the page you requested was not found.
#1303209195: No controller could be resolved which would match your request. Package key: "shop", controller name: "list". (GET http://localhost:8080/shop/list)

Any ideas what i shall do to correct this?

Regards,

Kim

Re: Error after install when going to /shop/list

Posted: 21 Aug 2017, 15:47
by aimeos
There was a minor mistake in the readme. There must not be a slash between the route prefix and the Aimeos route group in Configuration/Routes.yaml:

Code: Select all

-
  name: 'Aimeos'
  uriPattern: 'shop<AimeosShopRoutes>'
  subRoutes:
    AimeosShopRoutes:
      package: 'Aimeos.Shop'

Re: Error after install when going to /shop/list

Posted: 21 Aug 2017, 21:20
by aimeos
Removing the slash was not the solution for the problem. Instead, the route definition needed a change and we've released a new version (2017.07.4). So the Configuration/Routes.yaml still needs:

Code: Select all

-
  name: 'Aimeos'
  uriPattern: 'shop/<AimeosShopRoutes>'
  subRoutes:
    AimeosShopRoutes:
      package: 'Aimeos.Shop'

Re: Error after install when going to /shop/list - SOLVED!

Posted: 22 Aug 2017, 06:59
by kimholberg
After 'composer update' i can now access the shop list - thanks.