austgl / phppi

Automatically exported from code.google.com/p/phppi
GNU General Public License v3.0
0 stars 0 forks source link

@ea folder #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download latest version
2. Extract on nas (Synology DS212J) webroot
3. Visit public ip and run setup (only insert admin password)

What is the expected output? What do you see instead?
Expected: Hide folder @eadir
I see instead the folder @eadir when going in the sample folder. The folder is 
not on my nas. 

What version of PHPPI are you using? On what operating system?
phppi-1.2.0
DSM 4.2 (Synology firmware most recent)

Please provide any additional information below.
I've added the folder @eadir to the "folder_blacklist.txt" file without success.

Ps. The tool itself is great and user friendly!

Original issue reported on code.google.com by almerepr...@gmail.com on 3 May 2013 at 8:53

Attachments:

GoogleCodeExporter commented 9 years ago
Interesting, it sounds like the @eadir folder is a hidden folder created by the 
NAS. Adding it to folder blacklist is the right way to go. What may've happened 
is the folder is cached because you viewed the site before adding it to the 
blacklist. Try clearing all the folders and files from the phppi cache folder 
or turning off file cache in the settings and see if that fixes the problem.

Original comment by gorounreal on 3 May 2013 at 11:38

GoogleCodeExporter commented 9 years ago
I've found the solution.
When enabling another media server then the original media server (I used 
MyMedia server to try enabling subtitles via DLNA)on the Synology nas, there 
are hidden folders created with thumbnails.
The hidden folders are called "@eadir".
Your script also shows the hidden folders.

A good thing becuase then I realized my nas with full with these folders (even 
after removing MyMedia server).
I've removed the hidden folders and disabled cache.
Now the website is working great.

Tip: Maybe it's possible to exclude hidden folders from your dirlisting?
I've found smething which could help you but I think your smart enough:
http://stackoverflow.com/questions/2416137/php-list-directories-and-remove-and

Case closed and thanks for your support and awesome tool!

Original comment by almerepr...@gmail.com on 8 May 2013 at 7:24

GoogleCodeExporter commented 9 years ago
Great, thanks for letting me know, i'll definitely check out adding an option 
to disable showing of hidden folders.

Original comment by gorounreal on 8 May 2013 at 9:40