• Resolved stevestaso

    (@stevestaso)


    I created a base directory called mc in the settings
    [fileaway] shortcode is working.
    But when I use the basic [fileup] shortcode, I get this pop up:
    Please build the path to your destination directory.
    There is an option to select the Destination directory – I choose mc, same error.
    Are their any settings or permissions I missed?

    https://wordpress.org/plugins/file-away/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author thomstark

    (@thomstark)

    Can you provide a link to the page?

    Thread Starter stevestaso

    (@stevestaso)

    http://afcea-la.org/afceala-wp/milsatcom-shared-files/

    Seems to work better from my mobile.
    Maybe need to use a different template or css for the page?

    Plugin Author thomstark

    (@thomstark)

    It works perfectly fine for me on desktop. As you can see I just uploaded a png, sb-tickets47

    Thread Starter stevestaso

    (@stevestaso)

    Hi. Still no joy for my page. But I am able to re-produce the problem.

    I created a new page with simple shortcodes.
    http://afcea-la.org/afceala-wp/fileup/
    [fileup base=”3″]
    [fileaway type=”table” base=”3″ manager=”on” directories=”on” makedir=”true” ]

    It seems that when I’m NOT logged in, it works great.
    But if I’m logged in as any user (even administrator), it will not work correctly.
    in Fileup, I cannot build the directory structure. After selecting from the pulldown, a small spinner appears, then goes away, but the directory structure is not built; and the pulldown no longer has any choices.
    in Fileaway, with manager mode one, I cannot create directories, rename files, or delete files.

    I created a test account so you can see.
    http://afcea-la.org/afceala-wp/login
    (test/test)

    Can you please try it a few times to see how it works for you?

    Thank you.

    Plugin Author thomstark

    (@thomstark)

    I will need administrator access to troubleshoot this.

    Thread Starter stevestaso

    (@stevestaso)

    OK. Sure.
    How should I provide you the info for an admin account – not this public forum?
    I can upgrade the test account if you change the password quickly.

    Plugin Author thomstark

    (@thomstark)

    It’s because you have mixed SSL, as I thought might be the case. You cannot perform ajax requests in WordPress across a mixed SSL environment. You have to make the front-end page in question HTTPS, or remove HTTPS from the backend.

    Thread Starter stevestaso

    (@stevestaso)

    Yep – that was it.
    Thank You!
    Thank You!

    Plugin Author thomstark

    (@thomstark)

    Not a problem.

    omid82

    (@omid82)

    Hi Thom,
    Thank you for the great plug-in!
    I have been using it for a short while, but just noticed that I cannot upload anymore all of a sudden. I also get “Please build the path to your destination directory.” error message. I checked my settings and I don’t think I’m mixing http with https. The URL of my upload page starts with http and so does my File Away Base URL. I’ve checked it with two versions of WordPress (4.1 on my local machine and 4.2 on our website). Can you please point me to the right direction to fix this issue?

    Here’s my short code:
    [fileup base=”2″ overwrite=”true” maxsize=”128″ makedir=”true”]

    Thanks,
    Omid

    omid82

    (@omid82)

    I just figured it out. Somehow the folder I was uploading to (under /uploads/) got the wrong permissions, perhaps after the last automatic WP site update. I had to change folder permissions from 744 to 755.

    One more observation is that, I can only upload if “Javascript Placement” is set to “Header all the time”. If I switch it to “Footer when necessary”, I’ll still get the error message from my earlier post. However, with this option, the Search box doesn’t work anymore. I had changed this to footer when necessary as suggested here:
    https://wordpress.org/support/topic/paginate-search?replies=22

    Any workarounds for having both the search and upload working simultaneously?

    Plugin Author thomstark

    (@thomstark)

    Um, you shouldn’t have to choose javascript header all the time to get uploads to work. The upload script actually is in the header all the time regardless of your choice. πŸ˜‰

    I just tested it on three of my sites and uploads all work with Javascript set to Footer When Necessary.

    Did you check your console for any errors that might be clues?

    Plugin Author thomstark

    (@thomstark)

    By, the way, my search always works regardless of the javascript setting as well. So you have another plugin that’s not playing nice with File Away. I’d recommend you try to isolate that.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘fileup config’ is closed to new replies.