WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Error after several attemps to install

[Resolved] Error after several attemps to install

  • Stephanie
    Member

    @socializeme

    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/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Bob Riley
    Participant

    @bobriley

    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

    Plugin Author Bob Riley
    Participant

    @bobriley

    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

    Plugin Author Bob Riley
    Participant

    @bobriley

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

    Bob

    Stephanie
    Member

    @socializeme

    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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Error after several attemps to install’ is closed to new replies.