Skip to content

Error when $_SERVER['PATH_INFO'] is not set #1

Description

@adnoh

I get the
error code: 1000 message: Route '' not found
after debuging I found that the error happens when $_SERVER['PATH_INFO'] is not set.
On my shared hoster (1und1) it's that case. I have a $_SERVER['ORIG_PATH_INFO'] instead.
So I can only fix it if I set the config option 'basePath' => '/admin.php'
I have the feeling this is a bug - or at least it should be mentioned in blinking red in the documentation that you should set the basePath

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions