#1
Hi,
Here is my config file

Eventhough I have default controller dashboard,my webiste is redirecting to https://mybaseurl/trongate_administrators/login
I am not able to figure it out. Please help me out.
Best Regards,
Siri K
#2
Hi Siri,

Please post your index method of Dashboard.php
#3
Hi Simon,
Here is my index method
#4
I have had this problem caused by trongate security and a method calling on _make_sure_allowed(), redirecting to admin login. Perhaps try using trongate token method to get user info instead? This video may help
#5
Hi,
But I am not using the security check. I already commented those two lines.
#6
Hello, Are you using a public template?

It looks like your calling on another module as well- 'Conversations', could that index be causing the redirect? Try plugging your Dashboard module into a fresh Trongate apps 'Welcome' module / re-name it to welcome and what not and see if the problem persists without the dependency. Many of my issues are caused my something very small being overlooked or added and most I never figured out just started over and never saw the problem again. Your issue is one of them.
#7
Hi,
No, I am not using public template. I am using some other bootstrap template. But this is working fine on my localhost. I am getting issue on live.
Best Regards,
Siri K
#8
Hi Siri,

Please insert die('check1'); statements to track down the redirect

It looks very obvious the redirect issue you are having is going on in here. Also, search your app for checks on "(ENV" as looks to me your user is not logged in and being redirected when the app is not in 'dev' mode.
#9
Hi Simon,
Issue has been resolved.
Thank you.
Siri K