Thanks Richard
I fixed it by restarting the Rocket server. 
Sorry, not a rocket science, I should be able to figure it out.

On Monday, August 8, 2016 at 3:47:55 PM UTC+2, Richard wrote:
>
> Can you show the whole code... I suspect you have cached the original 
> myfunc() and cache point to the default controller... It happen once to me 
> in the past and it was really anoying... I guess we can improve error 
> message in order to notice the user to think about look if the function is 
> cached or not so he can avoid waisting a lot of time and a bit of anxiety 
> as he's not becoming crazy...
>
> :)
>
> Richard
>
> On Mon, Aug 8, 2016 at 8:27 AM, icodk <[email protected] <javascript:>> 
> wrote:
>
>> Trying to embrace the multi controller approach, I put the function* 
>> myfunc()* in a new controller: *myctl.py*
>> However, entering in a browser: *http://mydomain/myapp/myctl/myfunc 
>> <http://mydomain/myapp/myctl/myfunc>* results
>> *invalid function (default/myfunc)*
>> Also adding a menu item: 
>> response.menu += [(T('Test menu'), False, URL('myctl', 'myfunc'), [])]
>> Result the same error
>>
>> My routes.py :
>> routers = dict( 
>>     BASE = dict( 
>>         default_application='myapp', 
>>     ) 
>> ) 
>>
>> Web2py version 2.14.6 running on Windows with the Rocket web server on 
>> port 443 with ssl
>>
>> Thanks for more specific multi controller howto
>>
>>
>> -- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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.

Reply via email to