Ready to get started?Download WordPress


Simple Subscribe
[resolved] Why do you need mkdir() access? (5 posts)

  1. Colin
    Posted 4 months ago #

    I'm interested in using your plugin, but it looks like you require write access to the server with your use of mkdir(). That's not somehting we're willing to allow on our production servers, so I was wondering if you could tell me what your code is actually doing, I might be able to work around it. For instance, if it's a one time setup, I can load the needed directories from our repo on deployment and then the plugin can work without needing write access.


  2. latorante
    Posted 3 months ago #

    Hi there mate,

    does it really require mkkdir? I don't use that anywhere in the plugin :)
    Could you let me know where do you see that?

    kind regards,

  3. Colin
    Posted 3 months ago #

    Sorry for the delay, I've been out of the country for a few weeks. The Nette library you use has it all over the place. Check out this file, /libs/Nette/Nette.min.php

  4. latorante
    Posted 3 months ago #


    but we don't use the whole library now do we, just few bits, so the code never gets excecuted.

    Kind regards,

  5. Colin
    Posted 3 months ago #

    It does actually. On my server, WordPress doesn't have write permissions to disk. When you try and use your plugin, it fails and says mkdir() was unable to create a directory. I'm trying to get you the exact error message, but I'm having trouble. Now whenever I try and submit an email, it says "Unable to send email: Undefined index: first_name."


You must log in to post.

About this Plugin

About this Topic


No tags yet.