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

  1. Colin
    Posted 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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."

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Subscribe
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.