Problems with resources in admin dashboard
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Problems with resources in admin dashboard
Hi!
I'm new in Aimeos and I added this package to my website written in SlimPHP.
Everything was ok until that in the admin dashboard don't charged some resources.
Specifically when I go to the /admin route, there are a call with the OPTIONS method to /admin/default/jsonadm with the 404 code.
I don't know how to fix this. Please anyone can help me?
Slim ^3.0, aimeos-slim ~2017.07, Windows 10
https://imgur.com/a/HOHXWp2
I'm new in Aimeos and I added this package to my website written in SlimPHP.
Everything was ok until that in the admin dashboard don't charged some resources.
Specifically when I go to the /admin route, there are a call with the OPTIONS method to /admin/default/jsonadm with the 404 code.
I don't know how to fix this. Please anyone can help me?
Slim ^3.0, aimeos-slim ~2017.07, Windows 10
https://imgur.com/a/HOHXWp2
Last edited by FAlberto on 14 Mar 2019, 13:30, edited 1 time in total.
Re: Problems with resources in admin dashboard
Which version of Slim and Aimeos do you use?
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: Problems with resources in admin dashboard
From composer.json:
"slim/slim": "^3.0" ,
"aimeos/aimeos-slim": "~2017.07"
I update the aimeos-slim version to 2018.10 and the same issue is ocurring.
I followed the instructions on the https://github.com/aimeos/aimeos-slim
Thanks in advance.
"slim/slim": "^3.0" ,
"aimeos/aimeos-slim": "~2017.07"
I update the aimeos-slim version to 2018.10 and the same issue is ocurring.
I followed the instructions on the https://github.com/aimeos/aimeos-slim
Thanks in advance.
Re: Problems with resources in admin dashboard
Does one of your routes collide with the Aimeos ones? We've checked and in a blank Slim installation the OPTIONS request to the JsonAdm API works without problems. Another problem could be that your web server doesn't allow OPTIONS requests for some reason (e.g. configuration).
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: Problems with resources in admin dashboard
Very thanks, the problem is with one middleware that I use in my routes.php, the TrailingSlash middleware, but i don't know exactly why, I commented this middleware and the problem is solved...
Really thanks .
Really thanks .