Thanks very much - really appreciative.

Lesson: It helps to calmly work through things, regardless of external 
pressure

On Wednesday, July 18, 2018 at 9:21:36 PM UTC-5, Anthony wrote:
>
> You're view has this line:
>
> if host_name in myconf.take('domain.name'):
>
> But as the traceback indicated, there is no "domain" section in the 
> configuration file.
>
> Anthony
>
> On Wednesday, July 18, 2018 at 6:08:14 PM UTC-4, Valdeck Rowe wrote:
>>
>> Here is the entire user.html file just in case it proves helpful:
>>
>> {{#extend 'layout.html'}}
>> <link rel="stylesheet" href="
>> https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"; 
>> integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
>>  
>> crossorigin="anonymous">
>>
>> <style type="text/css">
>> #web2py_user_form {
>>   margin-top: 15vh;
>> }    
>> #web2py_user_form img{
>>   -webkit-box-shadow: outset 0 1px 1px rgba(0,0,0,.05);
>>   box-shadow: outset 0 1px 1px rgba(0,0,0,.05);
>> }
>> </style>
>>
>> {{
>> host_name = str(request.env.http_host)
>> host_name.replace(request.env.server_port, '')
>> }}
>> {{
>> if host_name in myconf.take('domain.name'):
>>     redirect(URL(
>>                 'set_team', 
>>                 'group'))
>>     pass
>> }}
>>
>> <div class="container">
>>     <div class="row">
>>         <div id="web2py_user_form" class="well col-xs-offset-1 
>> col-sm-offset-2 col-md-offset-3 col-lg-offset-4 col-xs-10 col-sm-8 col-md-6 
>> col-lg-4">
>>         
>>         <p align="center"><img src="{{=URL('static', 
>> 'images/tgg_logo_transparent.png')}}"></img></p>
>>         
>>         {{
>>         if request.args(0)=='login':
>>             if not 'register' in auth.settings.actions_disabled:
>>                 form.add_button(T('Sign Up'),URL(args='register', 
>> vars={'_next': request.vars._next} if request.vars._next else 
>> None),_class='btn btn-default')
>>             pass
>>             if not 'request_reset_password' in 
>> auth.settings.actions_disabled:
>>                 form.add_button(T('Lost 
>> Password'),URL(args='request_reset_password'),_class='btn btn-default')
>>             pass
>>         pass
>>         =form
>>         }}
>>         </div>
>>     </div>
>> </div>
>>
>>
>> {{block page_js}}
>> <script>
>>     jQuery("#web2py_user_form input:visible:enabled:first").focus();
>> {{if request.args(0)=='register':}}
>>     web2py_validate_entropy(jQuery('#auth_user_password'),100);
>> {{elif request.args(0)=='change_password':}}
>>     web2py_validate_entropy(jQuery('#no_table_new_password'),100);
>> {{pass}}
>> </script>
>> {{end page_js}}
>>
>>
>> On Wednesday, July 18, 2018 at 4:31:38 PM UTC-5, Anthony wrote:
>>>
>>> We need to see your appconfig.ini and the line in user.html that is 
>>> presumably trying to access a setting from the config object. The error 
>>> indicates it's not finding what it's looking for.
>>
>>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to