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

Questions around the TYPO3 integration and plugins as well as Flow and NeosCMS
Forum rules
Always add your TYPO3/Flow, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
kimholberg
Posts: 29
Joined: 21 Aug 2017, 09:42

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

Post by kimholberg » 21 Aug 2017, 14:46

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
Last edited by kimholberg on 22 Aug 2017, 06:58, edited 1 time in total.
Neos 3.2.0 - Bitnami AWS C2 - Aimeos 2017-10.1

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

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

Post by aimeos » 21 Aug 2017, 15:47

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'
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

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

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

Post by aimeos » 21 Aug 2017, 21:20

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'
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

kimholberg
Posts: 29
Joined: 21 Aug 2017, 09:42

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

Post by kimholberg » 22 Aug 2017, 06:59

After 'composer update' i can now access the shop list - thanks.
Neos 3.2.0 - Bitnami AWS C2 - Aimeos 2017-10.1

Post Reply