jcampbell1 / simple-file-manager

A Simple PHP file manager. The code is a single php file.
MIT License
914 stars 502 forks source link

Can not change directory in the web root. #119

Closed johnwmail closed 3 years ago

johnwmail commented 3 years ago

php 7.4-fpm e21741a51bc5 3 days ago 405MB nginx latest 4cdc5dd7eaad 2 weeks ago 133MB Hi, I build the "simple-file-manager" web server with docker image as above. everything seems to work fine, I can create directory, upload file, download file, delete. but I cannot go to the any directory in the server. when I click the directory, I can see the url is changed (go to that directory), but actually did not. any idea , what wrong there? thanks.

image

I noticed, I can delete file , but cannot delete directory (even just created by simple-file-manager)

jcampbell1 commented 3 years ago

Can you use the network tab, in the chrome Dev tools and see what the output of the ajax request is? Should be more clear with that.

On Sun, Jul 25, 2021 at 03:57 John Wong @.***> wrote:

php 7.4-fpm e21741a51bc5 3 days ago 405MB nginx latest 4cdc5dd7eaad 2 weeks ago 133MB Hi, I build the "simple-file-manager" web server with docker image as above. everything seems to work fine, I can create directory, upload file, download file, delete. but I cannot go to the any directory in the server. when I click the directory, I can see the url is changed (go to that directory), but actually did not. any idea , what wrong there? thanks.

[image: image] https://user-images.githubusercontent.com/1752235/126895095-61dd0f67-586c-4aea-a7a3-d9303d8ccc0b.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jcampbell1/simple-file-manager/issues/119, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAGGG2GWHCPSK2WSU4VR6TTZPNXXANCNFSM5A6ME3UA .

-- Sent from my Commodore 64

johnwmail commented 3 years ago

Hi, it said "Not a directory" (code 412). But I am sure it has directory, and this directory (ee) was created by "simple-php-manager" also. image

johnwmail commented 3 years ago

Not sure, if "locale" matter image

ikwyl6 commented 3 years ago

can you do a 'ls -al' within that directory in your linux/docker that lists 'ee'

johnwmail commented 3 years ago

can you do a 'ls -al' within that directory in your linux/docker that lists 'ee'

yes image

johnwmail commented 3 years ago

image

johnwmail commented 3 years ago

What is the mean "Precondition Failed"?

johnwmail commented 3 years ago

Did anyone setup "simple-file-manager" with docker before? Would you please share your config to us? Thanks.

johnwmail commented 3 years ago

Sorry, I found out it was my mistake. (not simple-file-manger issue)