You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to get grocy working on IIS, have require modules (from all documentation I've seen), and getting the following errors... Seems to be an issue in Slim.
And maybe include your config.php, if you install grocy in a subdirectory, and the complete error message (check also the webserver / PHP logs) - the stacktrace alone is useless...
When it's the there mentioned "404 HttpNotFoundException" problem, triple check the BASE_PATH setting, also mentioned more than a lot of times in the links of https://grocy.info/links.
Basically, BASE_PATH needs to be set to the part (of the URL) after the document root, if URL rewriting is disabled, including index.php.
So according to that, when you don't have URL rewriting enabled and access grocy via https://grocy.mydomain.com/public/index.php/stockoverview, BASE_PATH needs to be /public/index.php...
Trying to get grocy working on IIS, have require modules (from all documentation I've seen), and getting the following errors... Seems to be an issue in Slim.
#0 C:\inetpub\wwwroot\grocy\vendor\slim\slim\Slim\Middleware\RoutingMiddleware.php(59): Slim\Middleware\RoutingMiddleware->performRouting(Object(Slim\Http\ServerRequest))
#1 C:\inetpub\wwwroot\grocy\vendor\slim\slim\Slim\MiddlewareDispatcher.php(140): Slim\Middleware\RoutingMiddleware->process(Object(Slim\Http\ServerRequest), Object(Slim\Routing\RouteRunner))
#2 C:\inetpub\wwwroot\grocy\vendor\slim\slim\Slim\Middleware\ErrorMiddleware.php(107): class@anonymous->handle(Object(Slim\Http\ServerRequest))
#3 C:\inetpub\wwwroot\grocy\vendor\slim\slim\Slim\MiddlewareDispatcher.php(140): Slim\Middleware\ErrorMiddleware->process(Object(Slim\Http\ServerRequest), Object(class@anonymous))
#4 C:\inetpub\wwwroot\grocy\vendor\slim\slim\Slim\MiddlewareDispatcher.php(81): class@anonymous->handle(Object(Slim\Http\ServerRequest))
#5 C:\inetpub\wwwroot\grocy\vendor\slim\slim\Slim\App.php(215): Slim\MiddlewareDispatcher->handle(Object(Slim\Http\ServerRequest))
#6 C:\inetpub\wwwroot\grocy\vendor\slim\slim\Slim\App.php(199): Slim\App->handle(Object(Slim\Http\ServerRequest))
#7 C:\inetpub\wwwroot\grocy\app.php(68): Slim\App->run()
#8 C:\inetpub\wwwroot\grocy\public\index.php(27): require_once('C:\inetpub\wwwr...')
The text was updated successfully, but these errors were encountered: