[web2py] Re: Issue with web2py load component

2017-01-16 Thread Gaurav Vichare
Got it! Thank You so much Anthony. On Sunday, January 15, 2017 at 11:34:39 PM UTC+5:30, Anthony wrote: > > 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 someth

[web2py] Re: Issue with web2py load component

2017-01-15 Thread Anthony
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( defaul

[web2py] Re: Issue with web2py load component

2017-01-14 Thread Gaurav Vichare
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 . ERR_TOO_MANY

[web2py] Re: Issue with web2py load component

2017-01-14 Thread Anthony
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 (

[web2py] Re: Issue with web2py load component

2017-01-14 Thread Gaurav Vichare
Now my app is working without any issues, but i am still not able to access admin (http://127.0.0.1:8000/admin/). On Saturday, January 14, 2017 at 2:42:27 AM UTC+5:30, Anthony wrote: > > I consider this a router bug. The problem is that the list of functions > must include the function.extensio

[web2py] Re: Issue with web2py load component

2017-01-13 Thread Gaurav Vichare
Thank You so much Anthony, It worked :) - Gaurav On Saturday, January 14, 2017 at 2:42:27 AM UTC+5:30, Anthony wrote: > > I consider this a router bug. The problem is that the list of functions > must include the function.extension combination in cases where URLs might > include extensions. So

[web2py] Re: Issue with web2py load component

2017-01-13 Thread Anthony
I consider this a router bug. The problem is that the list of functions must include the function.extension combination in cases where URLs might include extensions. So, in the router, change: functions = ['index', 'user', 'download', 'call', 'test_load'] to: functions = ['inde

[web2py] Re: Issue with web2py load component

2017-01-13 Thread Anthony
Please attach a minimal app that reproduces the problem (along with routes.py). On Thursday, January 12, 2017 at 12:35:41 PM UTC-5, Gaurav Vichare wrote: > > I have LOAD component in my application. I made changes in > web2py/routes.py file and made my application default application, > 'defaul

[web2py] Re: Issue with web2py load component

2017-01-13 Thread Gaurav Vichare
There is no {{extend 'index.html'}} in test_load.load. I faced similar issue once, when I added {{extend 'layout.html'}} inside load view. But this time, I have {{extend 'layout.html'}} only in index.html Thanks for the reply! On Friday, January 13, 2017 at 6:54:53 PM UTC+5:30, Leonel Câmar

[web2py] Re: Issue with web2py load component

2017-01-13 Thread Leonel Câmara
Are you sure test_load.load doesn't have an {{extend 'index.html'}} there? -- 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 becau