fusio icon indicating copy to clipboard operation
fusio copied to clipboard

Can't Login - An Unknown Error Occoured

Open davesingh1 opened this issue 3 years ago • 8 comments

I installed the latest fusio. Won't let me login. Instructions followed. .env and index.htm are as per instrucitons. Please help... brave_2022-11-03_23-41-17 brave_2022-11-03_23-29-15

davesingh1 avatar Nov 03 '22 22:11 davesingh1

Will be highly grateful for advise..

davesingh1 avatar Nov 04 '22 08:11 davesingh1

Hi, ok could you show me the network response, it looks like the server returns a 404 error. Maybe the FUSIO_URL is not correct configured at your .env file s. https://github.com/apioo/fusio/blob/master/.env#L4

chriskapp avatar Nov 04 '22 17:11 chriskapp

Hello Chris I double checked several times, the .evn file is absolutely as per instructions. Network and Console outputs were attached in the first message

davesingh1 avatar Nov 04 '22 19:11 davesingh1

There is a bug! Once you install an app its index.html is taking the url from .env but adding /index.php to it, which is causing the issue. Now, all shoots up.

davesingh1 avatar Nov 04 '22 23:11 davesingh1

@davesingh1 ok, so at the configuration.php there is a setting psx_dispatch which includes by default index.php/, if you set this to '' then Fusio will also not append index.php/ to the url.

chriskapp avatar Nov 05 '22 00:11 chriskapp

why 401!!! 屏幕截图 2022-11-11 165724 屏幕截图 2022-11-11 165747

Sxhaooo avatar Nov 11 '22 08:11 Sxhaooo

Same error on https://MYDOMAIN/api/public/apps/fusio/login

This is my .htaccess file on the root folder

Help needed, TIA :)


RewriteEngine On

RewriteCond %{REQUEST_URI} ^/api/ RewriteRule ^(.*)$ api/public/$1 [L]

RewriteCond %{REQUEST_URI} !^/api/ RewriteRule ^(.*)$ build/$1 [L]


Screen Shot 2022-11-20 at 01 12 48

Also tried the psx_dispatch without success Screen Shot 2022-11-20 at 01 15 41

pedroponte avatar Nov 20 '22 01:11 pedroponte

Hello @davesingh1 did you resolved this case? I have the same problem now...

GMKostov avatar Dec 02 '23 16:12 GMKostov