Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    PHP Fatal error:

    Kopano Groupware Core
    2
    4
    829
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • yythoss
      yythoss last edited by yythoss

      After I installed the update kopano 8.5.5.0, I see the following error message and PHP warnings in /var/log/messages:

      Mar 16 07:30:05 server php: PHP Warning:  include(mapi/mapi.util.php): failed to open stream: No such file or directory in /usr/sbin/kopano-mr-process on line 21
      Mar 16 07:30:05 server php: PHP Warning:  include(): Failed opening 'mapi/mapi.util.php' for inclusion (include_path='.:/usr/share/pear-addons:/usr/share/pear') in /usr/sbin/kopano-mr-process on line 21
      Mar 16 07:30:05 server php: PHP Warning:  include(mapi/mapidefs.php): failed to open stream: No such file or directory in /usr/sbin/kopano-mr-process on line 22
      Mar 16 07:30:05 server php: PHP Warning:  include(): Failed opening 'mapi/mapidefs.php' for inclusion (include_path='.:/usr/share/pear-addons:/usr/share/pear') in /usr/sbin/kopano-mr-process on line 22
      Mar 16 07:30:05 server php: PHP Warning:  include(mapi/mapicode.php): failed to open stream: No such file or directory in /usr/sbin/kopano-mr-process on line 23
      Mar 16 07:30:05 server php: PHP Warning:  include(): Failed opening 'mapi/mapicode.php' for inclusion (include_path='.:/usr/share/pear-addons:/usr/share/pear') in /usr/sbin/kopano-mr-process on line 23
      Mar 16 07:30:05 server php: PHP Warning:  include(mapi/mapitags.php): failed to open stream: No such file or directory in /usr/sbin/kopano-mr-process on line 24
      Mar 16 07:30:05 server php: PHP Warning:  include(): Failed opening 'mapi/mapitags.php' for inclusion (include_path='.:/usr/share/pear-addons:/usr/share/pear') in /usr/sbin/kopano-mr-process on line 24
      Mar 16 07:30:05 server php: PHP Warning:  include(mapi/mapiguid.php): failed to open stream: No such file or directory in /usr/sbin/kopano-mr-process on line 25
      Mar 16 07:30:05 server php: PHP Warning:  include(): Failed opening 'mapi/mapiguid.php' for inclusion (include_path='.:/usr/share/pear-addons:/usr/share/pear') in /usr/sbin/kopano-mr-process on line 25
      Mar 16 07:30:05 server php: PHP Warning:  include(mapi/class.meetingrequest.php): failed to open stream: No such file or directory in /usr/sbin/kopano-mr-process on line 27
      Mar 16 07:30:05 server php: PHP Warning:  include(): Failed opening 'mapi/class.meetingrequest.php' for inclusion (include_path='.:/usr/share/pear-addons:/usr/share/pear') in /usr/sbin/kopano-mr-process on line 27
      Mar 16 07:30:05 server php: PHP Warning:  include(mapi/class.baserecurrence.php): failed to open stream: No such file or directory in /usr/sbin/kopano-mr-process on line 28
      Mar 16 07:30:05 server php: PHP Warning:  include(): Failed opening 'mapi/class.baserecurrence.php' for inclusion (include_path='.:/usr/share/pear-addons:/usr/share/pear') in /usr/sbin/kopano-mr-process on line 28
      Mar 16 07:30:05 server php: PHP Warning:  include(mapi/class.recurrence.php): failed to open stream: No such file or directory in /usr/sbin/kopano-mr-process on line 29
      Mar 16 07:30:05 server php: PHP Warning:  include(): Failed opening 'mapi/class.recurrence.php' for inclusion (include_path='.:/usr/share/pear-addons:/usr/share/pear') in /usr/sbin/kopano-mr-process on line 29
      Mar 16 07:30:05 server php: PHP Warning:  include(mapi/class.freebusypublish.php): failed to open stream: No such file or directory in /usr/sbin/kopano-mr-process on line 30
      Mar 16 07:30:05 server php: PHP Warning:  include(): Failed opening 'mapi/class.freebusypublish.php' for inclusion (include_path='.:/usr/share/pear-addons:/usr/share/pear') in /usr/sbin/kopano-mr-process on line 30
      Mar 16 07:30:05 server php: PHP Fatal error:  Call to undefined function forceUTF8() in /usr/sbin/kopano-mr-process on line 113
      

      The php files are all there. In these two places:

      [root@server ~]# ls -l /usr/share/kopano/php/mapi/
      insgesamt 464
      -rw-r--r-- 1 root root   4029 12. Mär 12:32 class.baseexception.php
      -rw-r--r-- 1 root root  62686 12. Mär 12:32 class.baserecurrence.php
      -rw-r--r-- 1 root root   9748 12. Mär 12:32 class.freebusypublish.php
      -rw-r--r-- 1 root root   2687 12. Mär 12:32 class.mapiexception.php
      -rw-r--r-- 1 root root 130528 12. Mär 12:32 class.meetingrequest.php
      -rw-r--r-- 1 root root  63569 12. Mär 12:32 class.recurrence.php
      -rw-r--r-- 1 root root  17029 12. Mär 12:32 class.taskrecurrence.php
      -rw-r--r-- 1 root root  39877 12. Mär 12:32 class.taskrequest.php
      -rw-r--r-- 1 root root  10360 12. Mär 12:32 mapicode.php
      -rw-r--r-- 1 root root  35690 12. Mär 12:32 mapidefs.php
      -rw-r--r-- 1 root root   2679 12. Mär 12:32 mapiguid.php
      -rw-r--r-- 1 root root  62103 12. Mär 12:32 mapitags.php
      -rw-r--r-- 1 root root  11515 12. Mär 12:32 mapi.util.php
      

      and here:

      [root@server ~]# ls -l /usr/share/z-push/backend/kopano/mapi/
      insgesamt 580
      -rw-r--r-- 1 root root   3591  8. Mär 20:53 class.baseexception.php
      -rw-r--r-- 1 root root  86702  8. Mär 20:53 class.baserecurrence.php
      -rw-r--r-- 1 root root  17455  8. Mär 20:53 class.freebusypublish.php
      -rw-r--r-- 1 root root   3180  8. Mär 20:53 class.mapiexception.php
      -rw-r--r-- 1 root root 180792  8. Mär 20:53 class.meetingrequest.php
      -rw-r--r-- 1 root root  73983  8. Mär 20:53 class.recurrence.php
      -rw-r--r-- 1 root root  20209  8. Mär 20:53 class.taskrecurrence.php
      -rw-r--r-- 1 root root  56210  8. Mär 20:53 class.taskrequest.php
      -rw-r--r-- 1 root root  10452  8. Mär 20:53 mapicode.php
      -rw-r--r-- 1 root root  38802  8. Mär 20:53 mapidefs.php
      -rw-r--r-- 1 root root   2796  8. Mär 20:53 mapiguid.php
      -rw-r--r-- 1 root root  61886  8. Mär 20:53 mapitags.php
      -rw-r--r-- 1 root root  11493  8. Mär 20:53 mapi.util.php
      

      CentOS 6
      PHP 56
      Kopano 8.5.5.0
      Apache 2.4

      1 Reply Last reply Reply Quote 0
      • fbartels
        fbartels Kopano last edited by

        This is an english speaking forum. please only create posts in english so the rest of the community can benefit from them as well.

        Regards Felix

        Resources:
        https://kopano.com/blog/how-to-get-kopano/
        https://documentation.kopano.io/
        https://kb.kopano.io/

        Support overview:
        https://kopano.com/support/

        1 Reply Last reply Reply Quote 0
        • yythoss
          yythoss last edited by

          I have change the language, sorry.

          yythoss 1 Reply Last reply Reply Quote 0
          • yythoss
            yythoss @yythoss last edited by

            I find this Problem.

            There is a wrong path in /etc/opt/rh/rh-php56/php.d/mapi.ini

            ; Enable MAPI extension module
            extension=mapi.so
            ; Adding path with php mapi classes to include dir
            include_path="${include_path}:/usr/share/kopano/php
            
            

            must

            ; Enable MAPI extension module
            extension=mapi.so
            ; Adding path with php mapi classes to include dir
            include_path="${include_path}:/usr/share/kopano/php/
            
            1 Reply Last reply Reply Quote 0
            • First post
              Last post