Support » Plugin: Buoy » Fatal error when attempt to activate after install.

  • Resolved dmack1952

    (@dmack1952)


    This software seems to be just the thing I was looking for to support the community that I serve. When I go to “add new plugin” it shows a check mark and says Compatible with your version of WordPress, I select install now it will download and install Buoy however when I attempt to make active I get the following error:
    Fatal error: ‘Call to undefined function posix_getpwuid() in C:\Users\HIP\Desktop\Instant WordPress\InstantWP_4.5\iwpserver\htdocs\wordpress\wp-content\plugins\buoy\includes\crontab-manager.php on line 158.’

    Any help will be deeply appreciated.

    https://wordpress.org/plugins/buoy/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Meitar

    (@meitar)

    Thanks for reporting this!

    This issue exists because you’re running Buoy with WordPress hosted on a Windows system, rather than a POSIX-compatible system. (This is a limitation of PHP.) Unfortunately, we do not currently test against Windows systems (because none of us have enough $$ to do so legally, since Windows is non-free software), so we missed this. πŸ™ We would like to make sure Buoy can work on Windows, so I’ll try to write a fix for this ASAP.

    Would you be able to test a patched version before I issue an “official” bugfix release? That would be super helpful. πŸ™‚

    Also unfortunately, this bugfix will have to disable support for Buoy’s “safe call” or “Scheduled alerts” feature on Windows systems, because (for safety and reliability reasons), we need the operating system’s task scheduler for that feature to work well enough to be useful. (Learn more about Buoy’s “Scheduled Alerts” feature in the Buoy Admin Guide.) I don’t currently know of a way to automate scheduling and unscheduling OS-level tasks programmatically with PHP on Windows, so I’m afraid that until I figure that out I don’t want to offer that specific feature of Buoy if Buoy is installed on Windows. πŸ™ Any advice you have on this front would be appreciated!

    I’ve created a ticket thread for this issue in our project tracker, which you’re more than welcome to participate in or monitor for progress if you like.

    Plugin Author Meitar

    (@meitar)

    Here is a patched version with a fix for Windows.

    Can you please remove the Buoy code you have, download and install that patched version, and let me know if you’re able to use Buoy on your Windows server?

    Thanks!

    Hello Meitar,
    Thanks for replying. I will download the fix and let you know the results. I work in behavioral health and I am currently working on developing an online recovery support community here in Philadelphia. I am using a Windows machine to develop and test the site locally before I go live. When I do go live in about three weeks I will purchase a shared hosting plan from a provider that offer Linux as an option. Also, I am making a small donation to help you in your work. Thanks again.

    Plugin Author Meitar

    (@meitar)

    I work in behavioral health and I am currently working on developing an online recovery support community here in Philadelphia.

    That is so awesome! πŸ™‚ Please stay in touch with us about how Buoy fits in with your efforts. You can send us an email anytime. (Our contact information is listed on our homepage.)

    I am using a Windows machine to develop and test the site locally before I go live.

    I’m glad you did, since it helped us find this bug. πŸ™‚ If you’re able an willing to test new versions on your Windows server, that would also help us a lot (since, again, we don’t have a Windows server on which to test). We also have a page describing how to submit bug reports here.

    When I do go live in about three weeks I will purchase a shared hosting plan from a provider that offer Linux as an option.

    Cool! Yes, Buoy is meant to run on low-power, low-cost, Linux-based shared hosting plans. There may still be problems with some providers because not every low-cost shared hosting provider sets up their environment in the same way. If you notice any problems on a given hosting provider, please don’t hesitate to post a new thread here and/or submit a new bug on our issue tracker with those details.

    And thanks so much for the donation! That’s super helpful!

    Looking forward to your feedback about whether the patch fixes the issue on Windows.

    Patch worked like a dream…Thanks again.

    Plugin Author Meitar

    (@meitar)

    Fantastic! πŸ™‚ I’ll mark this issue as resolved and roll the patch into the next bugfix release.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal error when attempt to activate after install.’ is closed to new replies.