Support » Plugin: File Manager » File not found on double click (wrong path)

  • Resolved henkemail

    (@henkemail)



    I have setup a front end file manager using a short code. Moreover I have set the root directory in settings to a specific folder in order to prevent users from accessing any WordPress files.

    In other words, “Root directory” set to:

    <wordpress base url>/<my files>

    Everything works fine, except for when I click on PDF files in the File manager I get a pop up window with “page not found”.

    If I right click the pdf file instead, and chose to “download” the file is downloaded correctly.

    Also if I double click another type of file, for example a Word document, the file is automatically downloaded.

    In summary, files that try to open inside the browser window gets the wrong path, whereas files that are downloaded to disk turns out fine.

    To be more specific, when double clicking a pdf file, the path becomes:

    <wordpress base url>/<the pdf file>

    whereas correct path should be:

    <my specified root folder>/<the pdf file>

    Any ideas?

    Many thanks,

    • This topic was modified 6 months, 1 week ago by  henkemail.
    • This topic was modified 6 months, 1 week ago by  henkemail.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author mndpsingh287

    (@mndpsingh287)

    Hey @henkemail,

    It’s Pro Support Request,we don’t serve it here on wordpress forums. please contact us here support@webdesi9.com. Will send you solution on your email.

    Thanks,
    Mandeep

    ccaddell

    (@ccaddell)

    I too have this same issue. I have not had a response since I provided support with log in details weeks ago.

    @henkemail Do you know what was done to fix it? I have been looking to edit in the code but need to be pointed in the right direction to find the function/variable to edit.

    henkemail

    (@henkemail)

    Hi, @ccaddell

    The problem seemed to be that I had changed the Root Directory, so I restored it back to default value, and then instead set the path in the short code using access_folder=”mysharedfiles” (where mysharedfiles is the name of the folder containing the files I want the website visitors to see. I have the mysharedfiles folder located in the root folder of my WordPress installation).

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.