You're router specifies only a BASE element, which will apply to *all
*applications,
including admin -- but it should only apply to your specific application.
So, change it to something like:
routers = dict(
BASE=dict(
default_application='test')
),
test=dict(
default_controller = 'default',
default_function = 'index',
functions = ['index', 'user', 'download', 'call', 'test_load.load']
)
)
Anthony
On Saturday, January 14, 2017 at 11:49:37 PM UTC-5, Gaurav Vichare wrote:
>
> Page for login to administrative interface opens without issue, but when I
> login, chrome give me following error
>
> The 127.0.0.1 page isn’t working
>
> *127.0.0.1* redirected you too many times.
>
>
> - Try clearing your cookies
> <https://support.google.com/chrome?p=rl_error&hl=en-GB>.
>
> ERR_TOO_MANY_REDIRECTS1
>
> Clearing cookies doesn't work.
> And on firefox, I am redirected to same admin login page.
>
> Thank You
>
> On Sunday, January 15, 2017 at 1:31:39 AM UTC+5:30, Anthony wrote:
>>
>> On Saturday, January 14, 2017 at 12:43:43 PM UTC-5, Gaurav Vichare wrote:
>>>
>>> Now my app is working without any issues, but i am still not able to
>>> access admin (http://127.0.0.1:8000/admin/).
>>>
>>
>> What happens when you go to that URL?
>>
>>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.