routes.py
routers = dict(
# base router
BASE=dict(
default_application='egasolineras',
applications = 'ALL',
root_static = ['favicon.ico', 'robots.txt', 'sitemap.xml'],
map_hyphen = True,
),
)
El jueves, 3 de abril de 2014 21:30:51 UTC+2, Dave S escribió:
>
>
>
> On Thursday, April 3, 2014 11:46:15 AM UTC-7, puercoespin wrote:
>>
>> I have a similar problem...
>>
>> With the latest web2py_src (2.9.5), in localhost the web editor works as
>> expected, but in my host, when i try to edit any file, i have the blank
>> screen.
>>
>> Looking into javascript console from chrome developers tool, displays a
>> lot of 404:
>> ""
>> GET
>> https://<https://162.249.6.221/admin/static/-2.9.5/codemirror/lib/codemirror.css>
>> (mysite)<https://162.249.6.221/admin/static/-2.9.5/codemirror/addon/hint/show-hint.css>
>> /admin/static/-2.9.5/codemirror/lib/codemirror.css<https://162.249.6.221/admin/static/-2.9.5/codemirror/lib/codemirror.css>404
>> (NOT FOUND)
>> db.py?id=models__db__py:78<https://162.249.6.221/admin/edit/welcome/models/db.py?id=models__db__py>
>> GET
>> https://<https://162.249.6.221/admin/static/-2.9.5/codemirror/theme/web2py.css>
>> (mysite)<https://162.249.6.221/admin/static/-2.9.5/codemirror/addon/hint/show-hint.css>
>> /admin/static/-2.9.5/codemirror/theme/web2py.css<https://162.249.6.221/admin/static/-2.9.5/codemirror/theme/web2py.css>404
>> (NOT FOUND)
>> db.py?id=models__db__py:79<https://162.249.6.221/admin/edit/welcome/models/db.py?id=models__db__py>
>> GET
>> https://<https://162.249.6.221/admin/static/-2.9.5/codemirror/addon/dialog/dialog.css>
>> (mysite)<https://162.249.6.221/admin/static/-2.9.5/codemirror/addon/hint/show-hint.css>/admin/static/-2.9.5/codemirror/addon/dialog/dialog.css
>>
>> 404 (NOT FOUND)
>> db.py?id=models__db__py:96<https://162.249.6.221/admin/edit/welcome/models/db.py?id=models__db__py>
>> GET
>> https://(mysite)/admin/static/-2.9.5/codemirror/addon/hint/show-hint.css<https://162.249.6.221/admin/static/-2.9.5/codemirror/addon/hint/show-hint.css>404
>> (NOT FOUND)
>> etc.
>>
>> I don't understand why the browser is looking for a -2.9.5/ directory
>> that don't exist
>>
>
> I think this is how web2py deals with versioning of static files, in a way
> that updates browser caches reasonably.
> Niphlod described this not long ago, in
> <https://groups.google.com/d/msg/web2py/e9H7renfH7U/C7VI3DFC0Z8J>
> but it has been around for a while.
>
>
>
>
>>
>> How can i fix it? thanks
>>
>>
>>
> What do you have in your routes.py?
>
> /dps
>
>
>
--
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.