Uploaded image for project: 'Z-Push'
  1. Z-Push
  2. ZP-1374

Include path in imap backend lacks pear folders

    Details

    • Type: Bug
    • Status: QA
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.4.1 beta1, 2.4.1
    • Component/s: imap
    • Labels:
      None
    • Environment:

      Ubuntu 16.04, Apache 2.4.18, PHP 7.0.25, IMAP Backend, Z-Push 2.4.0 from repo

      Description

      15/03/2018 15:56:33 [11035] [WARN] [simon@xxx.org] /usr/share/z-push/backend/imap/imap.php:209 Undefined index: cc (8)
      15/03/2018 15:56:33 [11035] [WARN] [simon@xxx.org] /usr/share/z-push/backend/imap/Mail/smtp.php:382 include_once(Net/SMTP.php): failed to open stream: No such file or directory (2)
      15/03/2018 15:56:33 [11035] [WARN] [simon@xxx.org] /usr/share/z-push/backend/imap/Mail/smtp.php:382 include_once(): Failed opening 'Net/SMTP.php' for inclusion (include_path='.:/usr/share/php:/usr/share/awl/inc') (2)
      15/03/2018 15:56:33 [11035] [WARN] [simon@xxx.org] /usr/share/z-push/backend/imap/Auth/SASL.php:128 require_once(include/Auth/SASL/CramMD5.php): failed to open stream: No such file or directory (2)
      15/03/2018 15:56:33 [11035] [FATAL] [simon@xxx.org] Fatal error: /usr/share/z-push/backend/imap/Auth/SASL.php:128 - require_once(): Failed opening required 'include/Auth/SASL/CramMD5.php' (include_path='.:/usr/share/php:/usr/share/awl/inc') (64)

       i have set inside imap.inc.php to allow use of our smtp server on the imap server
      define('IMAP_SMTP_METHOD', 'smtp');
      $imap_smtp_params = array('host' => '192.168.68.253', 'port' => 25, 'auth' => true, 'username' => 'imap_username', 'password' => 'imap_password');

      Update Manfred: There's already set_include_path in imap backend. Adding the imap backend location to it should make the underlying PEAR classes' includes work properly.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Manfred Manfred Kutas
                  Reporter:
                  si458 Simon Smith
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: