Bug 511344

Summary: Zend_Tool zf.sh fails due to improper inclusion.
Product: [Fedora] Fedora Reporter: doug
Component: php-ZendFrameworkAssignee: Alexander Kahl <fedora>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: 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:

Description doug 2009-07-14 19:16:53 UTC
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.

Comment 1 Alexander Kahl 2009-07-17 07:39:36 UTC
Let's see whether this is fixed in 1.8.4PL1 first.

Comment 2 William Lovaton 2009-09-10 18:22:03 UTC
This bug seems to be fixed now.  It should be closed accordingly.

Comment 3 Alexander Kahl 2009-09-21 08:21:24 UTC
Thanks for the feedback, closing.