Platform icon indicating copy to clipboard operation
Platform copied to clipboard

Backend link not working

Open justnajm opened this issue 5 years ago • 3 comments

Summary of issue

I have installed fresh copy and my url is: http://localhost/asgardcms/public/ the url is working fine, saying: Home page, you made it

but "administration area" points to http://localhost/en/backend, which is wrong, but backend url is not working none of them: http://localhost/asgardcms/public/backend/ http://localhost/asgardcms/public/en/backend/ page says: Not Found

The requested URL /asgardcms/backend/ was not found on this server.

Steps to reproduce

  1. Install the copy using composer method.
  2. artisan install
  3. visit the url

System Details

  • Windows
  • PHP Version: 7.1
  • Laravel Version: 5.5 (which comes with asgardcms)
  • Asgardcms/Platform version : 3.0

justnajm avatar May 20 '19 01:05 justnajm

hi, you shouldn't have public in your urls. having 'backend' in there will probably cause issues too.

nWidart avatar May 20 '19 07:05 nWidart

Thanks friend,

yes I tried that before, but I figure out that issue is laravel itself, laravel do not have index.php skip in htaccess, because of this I always have to use index.php before any route. It worked like this: http://localhost/asgardcms/public/index.php/backend/

Now I am having error with theme, after I login into backend, it throws following error:

"Undefined variable: alternate (View: web\asgardcms\Themes\Flatly\views\layouts\master.blade.php)"

justnajm avatar May 20 '19 09:05 justnajm

"Undefined variable: alternate (View: web\asgardcms\Themes\Flatly\views\layouts\master.blade.php)"

@justnajm Yes there is a bug also for me, remove the section with alternate loop in master layout

arturmamedov avatar Jul 02 '19 08:07 arturmamedov