The admin app now uses response.static_version so your solution is not the 
most optimal one. If you need a quick fix, I suggest deleting or commenting 
out the line 48 from current applications/admin/models/0.py, rather than 
moving the files:

https://github.com/web2py/web2py/blob/master/applications/admin/models/0.py#L48

But a proper fix would be to configure your web server to allow this kind 
of static files versioning. You can read about this feature here:

http://web2py.com/books/default/chapter/29/04/the-core#Static-asset-management

Regards


On Friday, November 1, 2013 10:45:23 PM UTC+1, REM wrote:
>
> Well, it's surprising that there's no other report of this, but here goes:
>
> I just upgraded to 2.7.4 in the same way I always do:
>
> * Tarball the old web2py dir
> * download the new web2py_src.zip & unzip elsewhere
> * Copy the new web2py dir straight over the old one
> * chown it as www-data & check permissions
> * serve and enjoy
>
> However, this most recent cycle left the administrative interface 
> rendering as if there were no available CSS. So, I had a look at the source 
> of the admin interface page and saw this:
>
> <script src="/admin/static/_2.7.3/js/jquery.js" 
> type="text/javascript"></script><link 
> href="/admin/static/_2.7.3/css/calendar.css" rel="stylesheet" type="text/css" 
> /><script src="/admin/static/_2.7.3/js/calendar.js" 
> type="text/javascript"></script><script 
> src="/admin/static/_2.7.3/js/web2py.js" 
> type="text/javascript"></script><script 
> src="/admin/static/_2.7.3/plugin_multiselect/jquery.multi-select.js" 
> type="text/javascript"></script><link 
> href="/admin/static/_2.7.3/plugin_multiselect/multi-select.css" 
> rel="stylesheet" type="text/css" /><script 
> src="/admin/static/_2.7.3/plugin_multiselect/start.js" 
> type="text/javascript"></script><link 
> href="/admin/static/_2.7.3/css/bootstrap.min.css" rel="stylesheet" 
> type="text/css" /><link 
> href="/admin/static/_2.7.3/css/bootstrap_essentials.css" rel="stylesheet" 
> type="text/css" /><link 
> href="/admin/static/_2.7.3/css/bootstrap-responsive.min.css" rel="stylesheet" 
> type="text/css" />
>
>
> "Well, that looks peculiar", I thought. There's no such _2.7.3 dir under 
> the admin/static one, and this is supposed to be 2.7.4 anyway. So, I 
> created the _2.7.3 dir, copied everything into it (+chmod+chown, etc), and 
> *viola*, everything was normal again, at it was in the before times, in 
> the long long ago.
>
> So, um...... how is it that I am the only one for whom this has apparently 
> happened thus far? I assure I did nothing to the source but download it as 
> always via wget at about 4PM:
>
> sudo wget http://web2py.com/examples/static/web2py_src.zip
>
>
>
>
>
>

-- 
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/groups/opt_out.

Reply via email to