AsgardCms / Platform

A modular multilingual CMS built with Laravel 5.
https://asgardcms.com/
MIT License
779 stars 240 forks source link

Cannot login on fresh install of AsgardCMS #674

Open leonom opened 5 years ago

leonom commented 5 years ago

Summary of issue

Hello! Today after fresh install asgardcms via composer i try to login and see error: "Undefined variable: alternate (View: /sites/personal/laravel/asgard/Themes/Flatly/views/layouts/master.blade.php) (View: /sites/personal/laravel/asgard/Themes/Flatly/views/layouts/master.blade.php)".

Steps to reproduce

composer create-project asgardcms/platform asgard php artisan asgard:install

System Details

jmazurpl commented 5 years ago

I think is more or less the same issue as #676. Delete the two letters indicating the language from the link:

http://your_address/**en**/backend

KieranGreenwood commented 5 years ago

@jmazurpl For me the problem was the reverse of your suggestion. I had to add /en/ for the error to subside.

jmazurpl commented 5 years ago

@Kiee Probably it depends on configuration. You can set it to hide or show the default language version from the URL. When it is set to show it then it would be just like you wrote.

djokodonev commented 4 years ago

I ended up adding the /en/ before backend, that fixed the issue for me.

michapixel commented 3 years ago

Wow, this bug exists for more than a year. now this bug exists, if you install blank and then switch language ...

imagina commented 3 years ago

Is it failing with the latest version?

Installing with:

composer create-project asgardcms/platform=4.0.x-dev your-project-name

?

michapixel commented 3 years ago

i installed it like it's described in the manual. resulting in Version Version 3.6.1

imagina commented 3 years ago

No, that's a very old version of the system @michapixel . Please install with:

composer create-project asgardcms/platform=4.0.x-dev your-project-name

@nWidart , I think you should tag 4.0x. It's stable enough to have a final tag. What do you think?