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

    Z-push-top z-push-admin php error

    Synchronising (mobile) devices via Z-Push
    2
    7
    955
    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.
    • deisenlord
      deisenlord last edited by

      Upgraded z-push now seeing this php error in top and admin

      PHP Fatal error: Can’t use function return value in write context in /usr/share/z-push/lib/core/zpush.php on line 660

      CentOS 6.1
      rh-httpd24
      rh-php56
      kopano 8.6.7
      z-push 2.4.4+0-112.1

      Thanks,
      David

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

        Hi David,

        does the error appear for z-push-top and z-push-admin only? Is PHP CLI version also 5.6?

        Manfred

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

          btw, not using any additional shared folders.

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

            Yes, only in those two programs. Its using the rh software collections thingy, so just running plain old #php -v gives 5.3.3

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

              Aha, I need to run the 5.6 version, go it. Sorry.

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

                Hi David,

                the minimal PHP version for Z-Push (and also admin and top) is 5.4 and there’s a check for it, so that it should actually fail even earlier.

                Manfred

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

                  Humm.

                  When I run it with the right version via the scl mojo it works fine.

                  #scl enable rh_php56 rh_php56 /usr/share/z-push/z-push-top.

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