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

    2.4.0.beta1 - GetGALSearchResults picture & ownership of policies.ini ???

    General usage of Z-Push
    3
    3
    872
    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.
    • liverpoolfcfan
      liverpoolfcfan last edited by fbartels

      Hi guys,

      I updated to 2.4.0beta1 today and immediately started to experience issues. I quickly tracked them down to errors in the HTTPD error log file.

      [Thu Jan 04 14:36:40.620521 2018] [:error] [pid 27643] [client 85.255.234.1:25065] PHP Fatal error:  Declaration of BackendSearchZimbra::GetGALSearchResults() must be compatible with ISearchProvider::GetGALSearchResults($searchquery, $searchrange, $searchpicture) in /usr/share/z-push/backend/zimbra/zimbra.php on line 12846
      

      If I am not in a position to pass back a picture at this time, can I assume that it is OK to just add a third parameter to the function definition in the zimbra backend and to set it with a default of “= false”?

      [Thu Jan 04 14:38:22.124245 2018] [:error] [pid 27365] [client 213.233.132.179:34186] PHP Warning:  parse_ini_file(/etc/z-push/policies.ini): failed to open stream: Permission denied in /usr/share/z-push/lib/core/zpush.php on line 283
      

      For some reason this file’s ownership went to root/z-push instead of root/apache - so apache was unable to open it.

      Thanks

      fbartels Manfred 2 Replies Last reply Reply Quote 0
      • fbartels
        fbartels Kopano @liverpoolfcfan last edited by

        Hi @liverpoolfcfan ,

        z-push as a group has recently been introduced for the rpm packaging to streamline the configuration of apache and nginx (which both use different users on groups on the different platforms using rpm). The ticket for this is https://jira.z-hub.io/browse/ZP-1331

        The question here is the more: why was you apache not added to the z-push group?

        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
        • Manfred
          Manfred Kopano @liverpoolfcfan last edited by

          Hi liverpoolfcfan,

          I updated to 2.4.0beta1 today and immediately started to experience issues. I quickly tracked them down to errors in the HTTPD error log file.

          [Thu Jan 04 14:36:40.620521 2018] [:error] [pid 27643] [client 85.255.234.1:25065] PHP Fatal error:  Declaration of BackendSearchZimbra::GetGALSearchResults() must be compatible with ISearchProvider::GetGALSearchResults($searchquery, $searchrange, $searchpicture) in /usr/share/z-push/backend/zimbra/zimbra.php on line 12846
          

          If I am not in a position to pass back a picture at this time, can I assume that it is OK to just add a third parameter to the function definition in the zimbra backend and to set it with a default of “= false”?

          Yes, adding a third parameter to the function definition will resolve it. You don’t have to do anything with $searchpicture in GetGALSearchResults.

          Manfred

          1 Reply Last reply Reply Quote 0
          • First post
            Last post