Hi all,

owncloud 4.0.4
I couldn't see preview of picture, pdf, .., picture app was breaked, ...

All mimetype from mimetypes.list.php aren't writing in db->oc_fscache.

In lib/helper.php line 460, strncmp function is used.

If i replace : |

1.
   if (!strncmp(PHP_OS, "WIN", 3)) {

| by : |

1.
   if (strncmp(PHP_OS, "WIN", 3)!=0) {

| and then delete all db->oc_fscache entries
this solves my problem.

I'm not sure, but i think that a lot of people are concerned by this little bug. I opened a bug report : http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-1253

Sorry for the noise if it's already set.

Yoh
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to