Open ubellavance opened 7 years ago
I'm encountering this also on a Linus system when I bootstrapSingleServer.
` Notice: Undefined index: HOMEDRIVE in phar:///usr/local/zend/share/sdk/zs-client.phar/module/Client/config/module.config.php on line 2
Notice: Undefined index: HOMEPATH in phar:///usr/local/zend/share/sdk/zs-client.phar/module/Client/config/module.config.php on line 2
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in phar:///usr/local/zend/share/sdk/zs-client.phar/vendor/zendframework/zend-stdlib/src/ArrayObject.php on line 2 `
@elmic11111 try to replace this file /usr/local/zend/share/sdk/zs-client.phar
with the latest version of the tool. The latest version can be downloaded from here: https://github.com/zend-patterns/ZendServerSDK/raw/master/bin/zs-client.phar
When run by puppet as a daemon, a call to the phar sends a PHP Notice:
It caused problems when I was trying to create facts using the API, but that's behind me. However, these Notices show in /var/log/messsages(syslog on debian/ubuntu I guess). Would it be possible to set HOMEDRIVE to / if not defined and HOMEDRIVE to something that makes sense?