0
Answered

Doesn't access some folders in folders list

Artiom 3 years ago updated by Vlad R 3 years ago 5

Hi guys,

I have Filerun running on my Windows 10 x64 OS in xampp with PHP 7.0.21 in one HDD partition (WEBSERVER) and all files that are repository in another partition (DATA). In Filerun my user has a path like D:\, which is DATA partition. Inside of Filerun some files/folders has access and reading on DATA, but, I don't know why, some doesn't. When I click a folder, e.g MUSIC, popup shows up with error "Failed to load file list. The data recevied from the server contains errors." But when I click e.g. MOVIES folder, it's all good. I can see movies.

Any suggestion?





Answer

Answer
Answered

PHP version 7.1 is the first PHP version for Windows which supports Unicode filenames.


The solution is to:

  1. Update FileRun to the latest version (released after January 2018)
  2. Upgrade PHP to version 7.1+ (check the latest PHP version supported by FileRun!)


Workarounds:

  • Upload the files, again, though FileRun. FileRun will convert the filenames to something the older PHP versions can work with. The names will look fine while accessing via FileRun, but they won't look so nice when looking at them from the server's file explorer, with the non-latin characters being replaced by UTF-8 encoded versions.
  • Rename files which use anything but Latin characters. (I know, it's not great...)
  • Switch to another operating system.
Under review

A good start would be to check the PHP error log for the related entries. Make sure the PHP configuration directive "error_log" is set.

Thank you Vlad,

the issue I found why was happening that was because of names of files and folders in these directories. E.g. if any folder has a name like "Documentación", Filerun can't read this name because of accent, and if I change that name to "Documentacion" (without accent) - it's all good.

Is there any manner to support special characters? Or use any codification? Like UTF-8 or any?

Thank you!

Answer
Answered

PHP version 7.1 is the first PHP version for Windows which supports Unicode filenames.


The solution is to:

  1. Update FileRun to the latest version (released after January 2018)
  2. Upgrade PHP to version 7.1+ (check the latest PHP version supported by FileRun!)


Workarounds:

  • Upload the files, again, though FileRun. FileRun will convert the filenames to something the older PHP versions can work with. The names will look fine while accessing via FileRun, but they won't look so nice when looking at them from the server's file explorer, with the non-latin characters being replaced by UTF-8 encoded versions.
  • Rename files which use anything but Latin characters. (I know, it's not great...)
  • Switch to another operating system.

Is there any manner to support special characters? Or use any codification? Like UTF-8 or any?

The only solutions are:

  1. Wait for the upcoming FileRun version, use that, then upgrade PHP to 7.1 (which is the first PHP version to support Unicode filenames on Windows)
  2. Re-upload the files through FileRun.
  3. Replace Windows with a different operating system.

Closing this topic as further information is not necessary.

Commenting disabled