/remote.php/core.css outputs gibberish
(Was http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-2039 )
It seems to happen, when the server has (zlib?) compression activated. Thus, the data will be compressed twice before sending, but – of course – only decompressed once by the browser.
To fix: detect if server side compression is activated. If so, do not compress.
Compression is turned off. (Verified with: http://www.whatsmyip.org/http-compression-test/)
gzip off; (in nginx.conf) zlib.output_compression = Off (in php.ini)
But still you get a screen like this:
ownCloud Abmelden
Dateien
Musik
Kalender
Kontakte
Bilder
Einstellungen Einstellungen
Neu
Alles leer. Lade etwas hoch!
where you have icons over and under with the text.
Please delete the cache (without xcache or apc the files should usually be somewhere in /tmp/ afaik)
Did the same like @hboecher, deleted the caches, restarted nginx and php-fpm and still no go.
Remove all the empty lines in remote.php : 13,15,20,22
from http://forum.owncloud.org/viewtopic.php?p=11441#p11441
@nozof tried that deleted all cachech, restarted PHP5-FPM a Nginx and still no go...
After adding a new line in config/config.php to enable DEBUG mode [DEFINE("DEBUG", true);]
Everything works fine except the upload button looks a little wired under Chrome: http://puu.sh/1n49L
I don't think that using owncloud with DEBUG mode on is a good idea, but I think this may help you to resolve the bug.
DEBUG on = fine. DEBUG off = mess.
@LukasReschke
not much unfortunately, because in DEBUG mode, css and js are not being requested via remote.php.
Debug mode on helped, now it is working :-)
That is exactly the solution. ./owncloud/config/config.php looks like:
well, temporary workaround, not a solution
So, enable debugging just fixed the web version, but any other services remote.php/carddav remote.php/webdav are giving away now such file or directory errors.
@myazaki It's probably related to Nginx configuration in your case. Do you have try_files directive like it is specified here http://owncloud.org/support/webserver-notes/ ?
I am having the exact same problem, however I'm running owncloud on Apache (php 5.3). Removing spaces doesn't help, zlib compression is off. Debug mode helps temporarly however I cannot establish a Sync (Mac OS X Client).
@Clindbergh Is mod_rewrite enabled in Apache? Do you have owncloud insalled in the domain root or in subdirectory? What is the server response if you browse to http://oC/remote.php/webdav/ in Firefox?
I was using nginx with the configuration provided by owncloud. Now I have switched to Apache and it is working somehow. There is only one minor problem, I cant login through webdav it just do not accept the credentials and keeps asking again. I think it is related to the FastCGI a lot of people reported this as well.
-
- 2012 v 20:27, blizzz [email protected]:
@myazaki which webserver do you use?
— Reply to this email directly or view it on GitHub.
I cant login through webdav it just do not accept the credentials and keeps asking again.
Does your password contains special characters like äöü?
no it contains just lowercase letters and numbers
-
- 2012 v 8:41, Lukas Reschke [email protected]:
I cant login through webdav it just do not accept the credentials and keeps asking again.
Does your password contains special characters like äöü?
— Reply to this email directly or view it on GitHub.
I suppose @myazaki's issue is a different one than files here (broken css output), more a server config with nginx, now something else with apache.
I have the same problem running owncloud 4.5 on a Ubuntu Server with Apache 2 and PHP5. When i activate debug, the webinterface is running , but when I turn it off, there´s a terrible mess on the page. When I surf to http://www.polarisfamily.com/polcustcloud/remote.php/webdav then a 404 Not found error appears.
The apache errorlog is showing this messages:
[Fri Nov 09 15:22:16 2012] [error] [client xxx] File does not exist: /var/www/polcustcloud/remote.php/core.css, referer: http://www.xxx.xxx/polcustcloud/?app=files [Fri Nov 09 15:22:16 2012] [error] [client xxx] File does not exist: /var/www/polcustcloud/remote.php/core.js, referer: http://www.xxx.xxx/polcustcloud/?app=files
What is the problem?
Best regards
Martin
@POLARISFAMILY it's a different issue.
http://www.polarisfamily.com/polcustcloud/remote.php/core.css returns 404. Probably server config issue, is mod_rewrite enabled?
The problem describe here is when remote.php/core.css returns garbish.