• Resolved ambradesign

    (@ambradesign)


    Hi Thom,
    being also a Formidable fan, I really would like to test your plugin and integrating it with my forms.

    I always get a

    Warning: scandir(wp-content/uploads/server33/) [function.scandir]: failed to open dir: No such file or directory in /home/**deleted_url****/public_html/cms/wp-content/plugins/file-away/includes/file-away.php on line 58

    Tried to hardcode the directory in line 58, but still having the same problem.
    Changing to different folders doesn’t makes any difference.
    Disabling all plugins didn’t helped either.

    Of course the url pasted in a browser have access to the directory without problem.

    Any idea?

    Thanks

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

    (@thomstark)

    Yeah, don’t try to hardcode the directory in line 58. That won’t work.

    3 Questions:

    1. Have you tried turning on the debug feature in your shortcode using debug=on to see where it’s pointing?

    2. Are you using a Formidable shortcode in your File Away shortcode? If so, can you post the complete File Away shortcode here?

    3. Where are you seeing this Warning appear? On the page? Or in your error log? Or what?

    Thread Starter ambradesign

    (@ambradesign)

    Thanks for the prompt answer!

    1. debug shows the right url. If I copy it and paste it directly in a browser it show all files contained in the directory.

    2. Now I am using the basic functions of File Away, without Formidable.

    3. The error appear in the browser when I call the page containing the shortcode.

    Please notice that my wordpress is installed in a /cms folder but the index.php is in the domain’s root. Could that be the problem?

    Plugin Author thomstark

    (@thomstark)

    Would you mind shooting me an email? [email protected]

    Plugin Author thomstark

    (@thomstark)

    OK. I’ve found the problem. It’s because your Site Address and WordPress Address are different in your setup. I’ve given you a temporary solution, and will upload an update as soon as I can with an option for those who have a setup like yours. Will let you know when it’s available.

    Plugin Author thomstark

    (@thomstark)

    This was fixed for all in version 1.3.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘scandir error’ is closed to new replies.