Bug 511344
| Summary: | Zend_Tool zf.sh fails due to improper inclusion. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | doug |
| Component: | php-ZendFramework | Assignee: | Alexander Kahl <fedora> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 11 | CC: | fedora, felix, walovaton |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-09-21 08:21:24 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Let's see whether this is fixed in 1.8.4PL1 first. This bug seems to be fixed now. It should be closed accordingly. Thanks for the feedback, closing. |
Description of problem: zf (/usr/bin/zf or /usr/share/php/Zend/zf.sh) script does not properly function. Multiple includes break functionality. If includes are manually added via set_include_path in the zf.php script, the tool hangs once Zend/Servers/Reflection/Class.php is resolved. Version-Release number of selected component (if applicable): php-ZendFramework.noarch 1.7.7-2.fc11 How reproducible: very Steps to Reproduce: 1.yum install php-ZendFramework* 2.from any directory type 'zf show version' Actual results: zf show version PHP Warning: require_once(Zend/Tool/Framework/CliClient.php): failed to open stream: No such file or directory in /usr/share/php/Zend/zf.php on line 40 PHP Stack trace: PHP 1. {main}() /usr/share/php/Zend/zf.php:0 PHP Fatal error: require_once(): Failed opening required 'Zend/Tool/Framework/CliClient.php' (include_path='.:/php/includes') in /usr/share/php/Zend/zf.php on line 40 PHP Stack trace: PHP 1. {main}() /usr/share/php/Zend/zf.php:0 Expected results: Zend Framework Version 1.7.7 Additional info: attempts to alter zf.php with: $path = "/usr/share/php"; set_include_path(get_include_path() . PATH_SEPARATOR . $path); corrects some inclusion failures. A sym link from Zend/Servers/Reflection to Zend/Reflection resolves the last one, but then the script hangs.