WordPress.org

Forums

Easy Pie Maintenance Mode
[resolved] Error after several attemps to install (5 posts)

  1. socializeme
    Member
    Posted 1 year ago #

    Hi, I have installed this plugin successfully on other sites, so I am not sure about this error message that keeps appearing no matter how many times I try to re-install it. Please help.

    Thanks!

    Warning: include(__DIR__/../pages/page-options.php) [function.include]: failed to open stream: No such file or directory in /home/content/XXXXXX/html/wp-content/plugins/easy-pie-maintenance-mode/classes/class-easy-pie-maintenance-mode.php on line 459

    Warning: include() [function.include]: Failed opening '__DIR__/../pages/page-options.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/XXXXXXX/html/wp-content/plugins/easy-pie-maintenance-mode/classes/class-easy-pie-maintenance-mode.php on line 459

    http://wordpress.org/plugins/easy-pie-maintenance-mode/

  2. Bob Riley
    Member
    Plugin Author

    Posted 1 year ago #

    Do you know what version of PHP your server is using? The __DIR__ constant requires PHP 5.3 so that could be the issue. This link shows you how to tell which version of PHP you are running using CPanel.

    That is actually a very minor functionality so I'll see if I can update it in my next release to allow people running PHP 5.2 to utilize the plugin.

    Please let me know if that was the cause. Thanks

    Bob

  3. Bob Riley
    Member
    Plugin Author

    Posted 1 year ago #

    I confirmed that your problem is most likely due to PHP 5.2. It looks like the plugin only has a tiny dependency on 5.3 so I'll fix things up to ensure that the next release is compatible with 5.2. Sorry for the inconvenience.

    Bob

  4. Bob Riley
    Member
    Plugin Author

    Posted 1 year ago #

    Heads up socializeme I just updated the plugin to 0.5.1 - this includes support for PHP 5.2.x.

    Bob

  5. socializeme
    Member
    Posted 1 year ago #

    hi Bob, thank you for the quick reply... so sorry I didn't get back to you, we had something personal come up this week so I was unable to attend to this right away. I appreciate the quick fix and it's running like a pro! Love it! Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.