core icon indicating copy to clipboard operation
core copied to clipboard

Cannot browse folders containing files and folders with special characters in Windows

Open tommyms opened this issue 13 years ago • 5 comments

Using Windows 7, IIS 7.5, OC 5.0.3, I can't use local mount via the External Storage App on any folders with actual content, because any of them breaks the whole loading process, just displays a blank page.

It doesn't work via WebDAV mount in Windows 7, either.

Mounting via FTP also gives HTTP 500 server error, and empty folders via WebDAV when browsing the FTP-folder.

Here're a sample of the log lines that are repeating when I try to open one of these kinds of folders (seems like the same as here: https://github.com/owncloud/core/issues/94 ):

Fatal PHP SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xC5r.Med...' for column 'logic_path' at row 1 at C:\inetpub\wwwroot\owncloud\lib\db.php#965

Maybe this can be of help for debugging? There's someone experiencing something similar on Drupal, maybe not exactly the same though: http://drupal.org/node/1140194

Seems that the issue happens as soon as some file with a special character is found, OwnCloud just cuts out. I shared a directory with only English name files and folders, and it was the only folder on my server that worked, all others contained some Norwegian or other special characters, and those just came up as empty in Windows Explorer or blank page in web.

tommyms avatar Apr 26 '13 06:04 tommyms

could you provide your php-version and how you installed it?

i had exactly the same problem with php5.3 installed with the msi, and i think i "solved" it by installing php 5.4 via PHP Manager for IIS.

Now i don't get blank pages, but all files except the ones with special characters are shown. thats better than nothing :)

karyon avatar May 01 '13 11:05 karyon

Hi karyon, I installed the latest MSI version 5.3.23 at the time.

Now I've followed your tips and upgraded PHP to 5.4.14 (nts) and used PHP Manager for IIS.

It now seems to work exactly as you described - showing folders and files with English characters. Better than nothing indeed!

EDIT: Opening subfolders took a long while just after adding them, but I think that was due to OwnCloud doing some kind of indexing since I just added tons of folders. Five minutes later it was opening subfolders quickly again :)

Thanks for the tip. Still need support for Norwegian æ/Æ ø/Ø å/Å and other special letters.

tommyms avatar May 02 '13 08:05 tommyms

generally speaking: files_external is not yet tested enough to work on windows

DeepDiver1975 avatar Jun 01 '13 12:06 DeepDiver1975

I’m closing this issue because it has been inactive for a few months. This probably means that the issue is not reproducible or it has been fixed in a newer version.

Please reopen if you still encounter this issue with the latest stable version (currently ownCloud 5.0.10) and then please use the issue template. You an also contribute directly by providing a patch – see the developer manual. :)

Thank you!

jancborchardt avatar Aug 16 '13 22:08 jancborchardt

For reference: from the 5.0.10 changelog: 'Fix problems with german “Umlauts” in folder name'

but i cant test it now as i don't have the stuff set up

karyon avatar Aug 16 '13 22:08 karyon