PHP Notice: Use of undefined constant
-
Dear Kopano Forum,
I receive the following
PHP Notice: Use of undefined constant GAB_SYNC_HIDE_EVERYONE - assumed 'GAB_SYNC_HIDE_EVERYONE' in /usr/share/z-push/tools/gab-sync/lib/kopano.php on line 396
I edited the line in kopano.php and put ’ around the constant, no notice anymore - is this ok to leave it like this?
ii kopano-server-packages 8.7.16.0-0+40.1 all Metapackage to install the entire Kopano Core stack ii kopano-webapp 4.6.3.0+155.1 all New and improved WebApp for Kopano rc kopano-webapp-plugin-desktopnotifications 2.0.3.26+32.3 all Kopano WebApp Desktop notifications plugin rc kopano-webapp-plugin-filepreviewer 2.2.0.26+24.3 all Kopano File previewer plugin ii kopano-webapp-plugin-files 3.0.0.60+123.1 all Adds Files functionality to Kopano enabling access to WebDAV and other files backends. ii kopano-webapp-plugin-filesbackend-owncloud 3.0.0.0+56.1 all Adds Owncloud specific functionality to Kopano Files plugin. ii kopano-webapp-plugin-filesbackend-smb 3.0.0.0+37.1 all Adds Samba specific functionality to Kopano Files plugin. ii kopano-webapp-plugin-mdm 3.2.0+49.1 all Kopano WebApp MDM plugin ii kopano-webapp-plugin-smime 2.2.2.240+24.3 all Kopano WebApp S/MIME plugin ii kopano-webapp-plugin-spell 2.0.1.26+42.1 all Kopano WebApp Spellchecker plugin ii kopano-webapp-plugin-spell-de-de 2.0.1.3+39.1 all Kopano WebApp Spellchecker German dictionary plugin ii kopano-webapp-plugin-spell-en 2.0.1.1+39.1 all Kopano WebApp Spellchecker English dictionary plugin ii kopano-webapp-plugin-spell-nl 2.0.1.1+40.1 all Kopano WebApp Spellchecker Dutch dictionary plugin rc kopano-webapp-plugin-titlecounter 4.2.2878+128.1 all Kopano WebApp Titlecounter plugin rc kopano-webapp-plugin-webappmanual 4.1.2835+114.1 all Kopano WebApp Manual plugin ii kopano4ucs 1.6.2 all Kopano4ucs integration package for Univention Corporate Server ii kopano4ucs-app 1.6.6 all Package for UCS app specific logic ii kopano4ucs-lib 1.6.6 all Library package for common Kopano4ucs functions ii kopano4ucs-schema 1.6.2 all LDAP schema for the Kopano4ucs integration ii kopano4ucs-udm 1.6.2 all UDM extensions for the Kopano4ucs integration ii kopano4ucs-webapp 1.6.6 all Kopano4ucs kopano-webapp integration package for Univention Corporate Server ii kopano4ucs-z-push 1.5.33 all Meta package for Z-Push installation ii z-push-kopano 2.6.0+0-0 all Z-Push for Kopano ii z-push-kopano-gabsync 2.6.0+0-0 all GAB sync for Kopano
-
Hi @KaBi,
@KaBi said in PHP Notice: Use of undefined constant:
I edited the line in kopano.php and put ’ around the constant, no notice anymore - is this ok to leave it like this?
No, not really.
Apparently /etc/gabsync.conf.php was not updated during Z-Push upgrade. Make sure that the upgrades also update the Z-Push config files.
Otherwise you may manually add the following files to /etc/gabsync.conf.php
// Whether to hide the group Everyone in the synced GAB. define('GAB_SYNC_HIDE_EVERYONE', false);
Then remove the changes you made to kopano.php.
Manfred