Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SplFileInfo: stat failed for .../admin/task:logout.md #30

Closed
Sommerregen opened this issue Aug 7, 2015 · 7 comments
Closed

SplFileInfo: stat failed for .../admin/task:logout.md #30

Sommerregen opened this issue Aug 7, 2015 · 7 comments
Assignees

Comments

@Sommerregen
Copy link
Contributor

Everytime when I'm loggin out from the admin panel I get the following message:

error

Maybe this is a Windows related issue (again something with the shlases and backslashes), but I don't know.

@rhukster rhukster added the bug label Aug 7, 2015
@rhukster
Copy link
Member

rhukster commented Aug 7, 2015

Yah probably a windows issue with pathing.. i'll dig into it today if you can test for me :)

@rhukster rhukster assigned rhukster and flaviocopes and unassigned rhukster Aug 7, 2015
@flaviocopes
Copy link
Contributor

@Sommerregen Can you try this for me? Before the line that throws the error, add this test:

if (!file_exists($file->getRealPath())) {
    echo 'uhm';
    var_dump($file->getPathName());
    exit();
}

Do you see the dump of the variable, or just the exception, same as before?

@flaviocopes
Copy link
Contributor

Sommerregen added a commit to Sommerregen/grav-plugin-admin that referenced this issue Aug 7, 2015
@Sommerregen
Copy link
Contributor Author

Actually, I have found the error, see PR. Maybe it needs some refinements.

@flaviocopes
Copy link
Contributor

It would be interesting to catch where that trailing 'task:' was added, I'll try to replicate.

@Sommerregen
Copy link
Contributor Author

Ok:-)

Sommerregen added a commit to Sommerregen/grav-plugin-admin that referenced this issue Aug 8, 2015
@Sommerregen
Copy link
Contributor Author

@flaviocopes See my comment here #36.

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

No branches or pull requests

3 participants