zend-patterns / ZendServerSDK

Pure ZF2 CLI for zpk creation and webapi client.
BSD 3-Clause "New" or "Revised" License
22 stars 17 forks source link

ERROR When run php zs-client.phar --help #17

Closed minkbear closed 10 years ago

minkbear commented 10 years ago

Update After update composer, the problem is gone. Please close this issues. Thanks.

run command: php zs-client.phar --help

error:

SCREAM: Error suppression ignored for Fatal error: Class 'Zend\Stdlib\ArrayObject' not found in C:\wamp\www\ZendServerSDK\vendor\zenddevops\webapi\Module.php on line 89

Call Stack: 0.0179 691640 1. {main}() C:\wamp\www\ZendServerSDK\bin\zs-client.phar:0 0.0184 695864 2. require('phar://C:/wamp/www/ZendServerSDK/bin/zs-client.phar/index.php') C:\wamp\www\ZendServerSDK\bin\zs-client.phar:14 0.0255 916608 3. Zend\Mvc\Application::init() phar://C:/wamp/www/ZendServerSDK/bin/zs-client.phar/index.php:2 0.1154 3646656 4. Zend\Mvc\Application->bootstrap() C:\wamp\www\ZendServerSDK\vendor\zendframework\zendframework\library\Zend\Mvc\Application.php:242 0.2226 5256984 5. Zend\EventManager\EventManager->trigger() C:\wamp\www\ZendServerSDK\vendor\zendframework\zendframework\library\Zend\Mvc\Application.php:145 0.2227 5257160 6. Zend\EventManager\EventManager->triggerListeners() C:\wamp\www\ZendServerSDK\vendor\zendframework\zendframework\library\Zend\EventManager\EventManager.php:208 0.2332 5522744 7. call_user_func() C:\wamp\www\ZendServerSDK\vendor\zendframework\zendframework\library\Zend\EventManager\EventManager.php:464 0.2332 5522760 8. ZendServerWebApi\Module->onBootstrap() C:\wamp\www\ZendServerSDK\vendor\zendframework\zendframework\library\Zend\EventManager\EventManager.php:464

minkbear commented 10 years ago

After update composer, the problem is gone.

slaff commented 10 years ago

There is some problem with the copiled phar file on Windows. Have to check why it is not working right away.

minkbear commented 10 years ago

Testing with latest code. The result is the same error.

minkbear commented 10 years ago

Testing with latest phar. work as expected.

Thanks.