It looks like somewhere you have overwritten the web2py "request" object
with a Row object from you db.request table. Do you have any code in that
does that?
Anthony
On Sunday, July 12, 2015 at 5:20:47 PM UTC-4, philip wrote:
>
> response.write(request.now.year) is called in layout.html, as extended from
> the view (line 96).
>
> response.write(' <!-- this is default footer --> \n <footer
> class="footer">\n <div class="container-fluid">\n <div
> class="copyright pull-left">', escape=False)
> response.write(T('Copyright'))
> response.write(' © ', escape=False)
>
> *response.write(request.now.year)*
>
> response.write('</div>\n <div id="poweredBy" class="pull-right">\n
> <!-- ', escape=False)
> response.write(T('Powered by'))
> response.write('\n <a href="http://www.web2py.com/">web2py</a>
> -->\n </div>\n </div>\n </footer>\n ', escape=False)
>
>
>
> On Sunday, July 12, 2015 at 7:35:50 AM UTC-5, Anthony wrote:
>>
>> Where in your code is request.now.year?
>
>
--
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.