-
Notifications
You must be signed in to change notification settings - Fork 35
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
Unable to login from subfolder #1096
Comments
Nog sure if this is still aan issue, I'll test again this week and update the ticket. |
Sorry I didn't fixed that yet. So I think it still exists. I think for using ICMS in subfolders probably I will fix it later. And for security reasons I think I will investigate running icms as phar - if this would work it could hide some files from accessing from public folders. |
I'm not sure if running as a phar is a viable option, one of the essential points of ImpressCMS is that it can be run from a shared hosting account . I'm not sure they support phar files. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or assign sombody or this will be closed in 5 days. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or assign sombody or this will be closed in 5 days. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or assign sombody or this will be closed in 5 days. |
Describe the bug
I installed alpha 12 in a subfolder under my XAMPP, the installation goes ok, but when I want to login, I get a Guzzle error:
C:\xampp74\htdocs\2a12\htdocs\index.php:61:
Call Stack #Ti'... (length=4099)object(GuzzleHttp\Psr7\Exception\MalformedUriException)[362]
protected 'message' => string 'The path of a URI with an authority must start with a slash "/" or be empty' (length=75)
private 'string' (Exception) => string '' (length=0)
protected 'code' => int 0
protected 'file' => string 'C:\xampp74\htdocs\2a12\vendor\guzzlehttp\psr7\src\Uri.php' (length=57)
protected 'line' => int 730
private 'trace' (Exception) =>
array (size=8)
0 =>
array (size=6)
'file' => string 'C:\xampp74\htdocs\2a12\vendor\guzzlehttp\psr7\src\Uri.php' (length=57)
'line' => int 493
'function' => string 'validateState' (length=13)
'class' => string 'GuzzleHttp\Psr7\Uri' (length=19)
'type' => string '->' (length=2)
'args' =>
array (size=0)
...
1 =>
array (size=6)
'file' => string 'C:\xampp74\htdocs\2a12\core\Providers\RouterServiceProvider.php' (length=63)
'line' => int 109
'function' => string 'withPath' (length=8)
'class' => string 'GuzzleHttp\Psr7\Uri' (length=19)
'type' => string '->' (length=2)
'args' =>
array (size=1)
...
2 =>
array (size=4)
'function' => string 'ImpressCMS\Core\Providers{closure}' (length=35)
'class' => string 'ImpressCMS\Core\Providers\RouterServiceProvider' (length=47)
'type' => string '->' (length=2)
'args' =>
array (size=0)
...
3 =>
array (size=4)
'file' => string 'C:\xampp74\htdocs\2a12\vendor\league\container\src\Definition\Definition.php' (length=76)
'line' => int 239
'function' => string 'call_user_func_array' (length=20)
'args' =>
array (size=2)
...
4 =>
array (size=6)
'file' => string 'C:\xampp74\htdocs\2a12\vendor\league\container\src\Definition\Definition.php' (length=76)
'line' => int 198
'function' => string 'resolveCallable' (length=15)
'class' => string 'League\Container\Definition\Definition' (length=38)
'type' => string '->' (length=2)
'args' =>
array (size=1)
...
5 =>
array (size=6)
'file' => string 'C:\xampp74\htdocs\2a12\vendor\league\container\src\Definition\DefinitionAggregate.php' (length=85)
'line' => int 94
'function' => string 'resolve' (length=7)
'class' => string 'League\Container\Definition\Definition' (length=38)
'type' => string '->' (length=2)
'args' =>
array (size=1)
...
6 =>
array (size=6)
'file' => string 'C:\xampp74\htdocs\2a12\vendor\league\container\src\Container.php' (length=64)
'line' => int 157
'function' => string 'resolve' (length=7)
'class' => string 'League\Container\Definition\DefinitionAggregate' (length=47)
'type' => string '->' (length=2)
'args' =>
array (size=2)
...
7 =>
array (size=6)
'file' => string 'C:\xampp74\htdocs\2a12\htdocs\index.php' (length=39)
'line' => int 40
'function' => string 'get' (length=3)
'class' => string 'League\Container\Container' (length=26)
'type' => string '->' (length=2)
'args' =>
array (size=1)
...
private 'previous' (Exception) => null
public 'xdebug_message' => string '( ! ) GuzzleHttp\Psr7\Exception\MalformedUriException: The path of a URI with an authority must start with a slash "/" or be empty in C:\xampp74\htdocs\2a12\vendor\guzzlehttp\psr7\src\Uri.php on line 730
The text was updated successfully, but these errors were encountered: