WordPress.org

Ready to get started?Download WordPress

Forums

Postie
Mail server error since last update (18 posts)

  1. tradeasy
    Member
    Posted 1 year ago #

    Hello,

    since last update postie can't get to connect to my mail server.
    Error_log says:

    [21-Jun-2013 07:47:13] Postie: Connecting to mail.xxxx:993 (imap-ssl)
    [21-Jun-2013 07:47:13] PHP Warning: Wrong parameter count for imap_open() in /home1/xxx/public_html/wp-content/plugins/postie/postieIMAP.php on line 83
    [21-Jun-2013 07:47:13] Postie: imap_open failed:
    [21-Jun-2013 07:47:13] Postie: Mail Connection Time Out
    [21-Jun-2013 07:47:13] Postie: Common Reasons: Server Down, Network Issue, Port/Protocol MisMatch
    [21-Jun-2013 07:47:13] Postie: The Server said:
    [21-Jun-2013 07:47:13] PHP Warning: imap_close(): supplied argument is not a valid imap resource in /home1/xxx/public_html/wp-content/plugins/postie/postieIMAP.php on line 150
    [21-Jun-2013 07:47:13] Postie: There are 0 messages to process

    http://wordpress.org/extend/plugins/postie/

  2. Wayne Allen
    Member
    Plugin Author

    Posted 1 year ago #

    What version of PHP are you using?

  3. qbtpl1
    Member
    Posted 1 year ago #

    Hi Wayne,

    I am having the exactly same problem .... and it started when I updated the PHP from version 5.2 to 5.3.2.

    Is the plugin not compatible

    Thanks

  4. Wayne Allen
    Member
    Plugin Author

    Posted 1 year ago #

    Looks like the new feature I added for MS Exchange mail servers is only available after PHP 5.3.2. I'll add a check and get a fix out.

  5. tradeasy
    Member
    Posted 1 year ago #

    How can I see what PHP version I have?

  6. Wayne Allen
    Member
    Plugin Author

    Posted 1 year ago #

    This will be fixed in 1.5.14

  7. tradeasy
    Member
    Posted 1 year ago #

    Hi,

    after updating to 1.5.14 I get these errors:

    [Wed Jun 26 04:42:37 2013] [error] [client xxxxx] PHP Warning: require_once(/usr/share/pear/PEAR.php) [function.require-once]: failed to open stream: Permission denied in /nas/wp/www/cluster-1493/xxx/wp-content/plugins/postie/mimedecode.php on line 66, referer: http://xxx/wp-admin/options-general.php?page=postie/postie.php
    [Wed Jun 26 04:42:37 2013] [error] [client xxxxxx] PHP Fatal error: require_once() [function.require]: Failed opening required 'PEAR.php' (include_path='.:/usr/share/php:/usr/share/pear') in /nas/wp/www/cluster-1493/xxxx/wp-content/plugins/postie/mimedecode.php on line 66, referer: http://xxxxx/wp-admin/options-general.php?page=postie/postie.php

  8. Wayne Allen
    Member
    Plugin Author

    Posted 1 year ago #

    That is an odd error. Please try
    1) reinstalling Postie
    2) verify file permissions
    3) verify file exists

    Let me know what you find.

  9. tradeasy
    Member
    Posted 1 year ago #

    Is there a way to save all my config before delete and reinstall the plugin?

  10. Wayne Allen
    Member
    Plugin Author

    Posted 1 year ago #

    Deleting the plugin will not delete your settings.

  11. tradeasy
    Member
    Posted 1 year ago #

    Deleting and reinstalling the plugin didn't help.

    Can you be more specific with
    2) verify file permissions
    3) verify file exists
    ?

    Thank you

  12. Wayne Allen
    Member
    Plugin Author

    Posted 1 year ago #

    If you'd like me to take a look at your system please contact me at postie-help@devzing.com

  13. tradeasy
    Member
    Posted 1 year ago #

    Hi,

    after I talked with my hosting (wpengine) support team, this is what I have been told:

    Hi tradeasy --

    I've just discussed this with one of our systems administrators who was able to confirm that we do not have PHP pear installed on our infrastructure. We are currently looking into the possibility of doing so, however, it would be more of a long term project and not something that we are able to do immediately.

    Presently, it doesn't appear that any functionality that uses pear would be able to function on our platform.

    We apologize for the inconvenience.

  14. Wayne Allen
    Member
    Plugin Author

    Posted 1 year ago #

    I don't think you need PHP pear installed, the error was about a missing file that is included in the plugin.

  15. forsaken.tear
    Member
    Posted 2 months ago #

    Hey, i am having very similar problem with Postie, just upgraded to Postie from PostByEmail and Postie is much better.

    this is the error i get:

    Warning: require_once() [function.require-once]: SAFE MODE Restriction in effect. The script whose uid is 5056 is not allowed to access /usr/lib/php/PEAR.php owned by uid 0 in /home/fdonscom/public_html/wp-content/plugins/postie/mimedecode.php on line 66

    Warning: require_once(/usr/lib/php/PEAR.php) [function.require-once]: failed to open stream: No such file or directory in /home/fdonscom/public_html/wp-content/plugins/postie/mimedecode.php on line 66

    Fatal error: require_once() [function.require]: Failed opening required 'PEAR.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fdonscom/public_html/wp-content/plugins/postie/mimedecode.php on line 66

    The Pear.php file exists and permissions are correct on it.

    is there a fix for it?

  16. Wayne Allen
    Member
    Plugin Author

    Posted 2 months ago #

    It looks like you have 2 copies of PEAR.php. One in /home/fdonscom/public_html/wp-content/plugins/postie/ and one in /usr/lib/php/

    It is the second one that is causing the problem. Please check the permissions on /usr/lib/php/PEAR.php

  17. ccbit
    Member
    Posted 2 months ago #

    Same problem like tradeasy here:

    Error appears after checking postie mail manually.

    Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/usr/share/pear/PEAR.php) is not within the allowed path(s): (... ... /:/tmp/) in ... .../httpdocs/wp-content/plugins/postie/mimedecode.php on line 66
    
    Warning: require_once(/usr/share/pear/PEAR.php) [function.require-once]: failed to open stream: Operation not permitted in /.. .../httpdocs/wp-content/plugins/postie/mimedecode.php on line 66
    
    Fatal error: require_once() [function.require]: Failed opening required 'PEAR.php' (include_path='.:/usr/share/pear:/usr/share/php') in /... ... /httpdocs/wp-content/plugins/postie/mimedecode.php on line 66

    PHP Version 5.3.27
    WordPress-Version: 3.9.1
    Postie-Version: 1.5.22

    Any idea?
    thank you...

  18. Wayne Allen
    Member
    Plugin Author

    Posted 2 months ago #

    The PEAR dependency will be removed in a future version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.