Bug 179255 - Zend Command Run problem
Zend Command Run problem
Status: VERIFIED FIXED
Product: php
Classification: Unclassified
Component: Zend
6.x
PC Linux
: P2 (vote)
: 6.x
Assigned To: Tomas Mysik
issues@php
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-01-06 08:11 UTC by abtris
Modified: 2010-01-07 23:45 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
:


Attachments
Screenshot (65.67 KB, image/png)
2010-01-06 08:12 UTC, abtris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description abtris 2010-01-06 08:11:36 UTC
ZF 1.9.6 and NetBeans-dev-2010-01-06_15-05-08

Zend script is on: /usr/bin/zf

All in attachment.

Problem with soma parsing.

An Error Has Occurred                            
 Action 'zf' is not a valid action.                                     


And in window "Command" is zf.sh before all command.

From command line terminal no problem all operations with zend tool.
Comment 1 abtris 2010-01-06 08:12:13 UTC
Created attachment 93100 [details]
Screenshot
Comment 2 Tomas Mysik 2010-01-06 08:49:39 UTC
Is there "NetBeansZendCommandsProvider.php" in your project underneath "library" directory?

Thanks.
Comment 3 byildirim 2010-01-06 09:00:26 UTC
Same here and yes, NetBeansZendCommandsProvider.php is under the library directory
Comment 4 Tomas Mysik 2010-01-06 09:30:05 UTC
OK, reproduced with ZF 1.9.6, version 1.9.5 works fine... I will try to find out what has changed and fix I hope.
Comment 5 maghiel 2010-01-06 09:37:58 UTC
Having the same problem on
Windows 7, Zender Server 5.0.0Beta3, Zend Framework Version 1.9.5 
So this is NOT only an issue with 1.9.6!

[Monitor UI 06.01.2010 17:33:07 SYSTEM] Zend Monitor UI is disabled in CLI/CGI run... 
                       An Error Has Occurred                            
 Action '[Monitor' is not a valid action.                               


zf.bat An Error Has Occurred 
zf.bat Provider 'nb-commands' is not a valid provider. 
zf.bat Zend Framework Command Line Console Tool v1.9.5
Comment 6 Tomas Mysik 2010-01-06 10:10:05 UTC
(In reply to comment #5)
> So this is NOT only an issue with 1.9.6!

Right, I have found it - if you move NetBeansZendCommandsProvider.php somewhere to the include_path - does it fix this issue? Could anyone confirm?

Thanks a lot.
Comment 7 byildirim 2010-01-06 10:24:14 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > So this is NOT only an issue with 1.9.6!
> 
> Right, I have found it - if you move NetBeansZendCommandsProvider.php somewhere
> to the include_path - does it fix this issue? Could anyone confirm?
> 
> Thanks a lot.

Yep,
I moved the file to /usr/share/php and the command now works fine.
Thanks Tomas
Comment 8 maghiel 2010-01-06 10:35:26 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > So this is NOT only an issue with 1.9.6!
> 
> Right, I have found it - if you move NetBeansZendCommandsProvider.php somewhere
> to the include_path - does it fix this issue? Could anyone confirm?
> 
> Thanks a lot.

Also confirmed on Windows :)

Include path:
C:\Program Files\Zend\ZendServer\share\ZendFramework
Moved NetBeansZendCommandsProvider.php to
C:\Program Files\Zend\ZendServer\share\ZendFramework\library

Thanks Tomas!
Comment 9 Tomas Mysik 2010-01-06 12:34:15 UTC
Fixed.
http://hg.netbeans.org/web-main/rev/82ed613dfc14
Comment 10 Tomas Mysik 2010-01-06 14:38:55 UTC
If possible, please, verify this issue using the latest development build [1].

Thanks a lot for your cooperation.

[1] http://bertram.netbeans.org/hudson/job/PHP-build/ using build #1255 or newer
Comment 11 maghiel 2010-01-06 15:13:29 UTC
(In reply to comment #10)
> If possible, please, verify this issue using the latest development build [1].
> 
> Thanks a lot for your cooperation.
> 
> [1] http://bertram.netbeans.org/hudson/job/PHP-build/ using build #1255 or
> newer

Started with clean project.

Got message:
"NetBeans commands provider was not found.

Copy manually "library/NetBeansZendCommandsProvider.php" somewhere to the PHP include_path (can be foun in php.ini file).

Then refresh commands."

Command screen then shows:
"<There is no command available (perhaps error?)>"

Copied, refreshed, and works!
Comment 12 Tomas Mysik 2010-01-07 01:32:12 UTC
(In reply to comment #11)
> Copied, refreshed, and works!

Thanks a lot for verification!
Comment 13 Quality Engineering 2010-01-07 23:45:35 UTC
Integrated into 'main-golden', will be available in build *201001080200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/82ed613dfc14
User: Tomas Mysik <tmysik@netbeans.org>
Log: #179255: Zend Command Run problem


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo