Hi Christian,<div><br></div><div>I've got a similar issue recently and hope it will be fixed soon. As a temporary solution you can add to your config.php</div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
define('DEBUG', true);</blockquote><div><br></div></div><div><br></div><div>While writing the CSS cache for another platform I didn't used file content to validate the cache. </div><div>Instead I concatenated all input file names sorted in alphabetical order with their sizes and used md5 on this string to produce the output filename.</div>
<div>If it is missed in the cache dir this means that it's time to refresh. </div><div><br></div><div>---</div><div>Victor<br><br><div class="gmail_quote">On Fri, Sep 7, 2012 at 11:50 AM, Christian Reiner <span dir="ltr"><<a href="mailto:foss@christian-reiner.info" target="_blank">foss@christian-reiner.info</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br>
when upgrading OC I ran into an issue with corrupted styles a few times.<br>
<br>
Since I had that problem more than once and others reported the same issue I<br>
would like to point out a workaround to solve that issue.<br>
I am talking about corrupted views inside the web interface after login. Bug<br>
1640 shows a screenshot:<br>
<a href="http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-1640" target="_blank">http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-1640</a><br>
<br>
In my cases it was cached css files that were outdated. Server side cached<br>
files, so no deep reload in the browser helped. I did not work through the<br>
strategy how OC caches the styles. But apparently the files are combined after<br>
being processed, most likely for speed improvements. Apparently these cached<br>
style definitions are outdated after some upgrades. and they won't get rebuilt<br>
automatically.<br>
For me this workaround fixed the issue: I simply made a trivial modification<br>
to one of the core css files (whitespace only) using a plain text editor on<br>
the server side. This is aparently enough for OC to recreate the cached<br>
versions (which makes sense in a way).<br>
<br>
I would like to make two suggestions, maybe someone familiar with the style<br>
caching wants to give this a short look:<br>
1.) always explicitly recreate all cached styles in case of an upgrade.<br>
2.) check the cached style timestamp (mtimes?) on a regular base against the<br>
timestamps of the processed files. Safest would be to do this during login,<br>
but obviously this slows down the login process which is bad.<br>
<br>
Just my suggestion, since I myself am not familliar with OCs caching strategy.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Christian Reiner (arkascha)<br>
[ <a href="mailto:foss@christian-reiner.info">foss@christian-reiner.info</a> ]<br>
_______________________________________________<br>
Owncloud mailing list<br>
<a href="mailto:Owncloud@kde.org">Owncloud@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/owncloud" target="_blank">https://mail.kde.org/mailman/listinfo/owncloud</a><br>
</font></span></blockquote></div><br></div>