andrewasem
(usa Outra)
Enviado em 17/08/2012 - 20:51h
Galera, seguinte sou usuário a um bom tempo do linux, mas estou apanhando para configurar o zend-framework no netbeans.
Fiz todo o processo de configuração do zend-framework, segui este tutorial, mas não sei como configurar o zend-framework para desenvolver no netbeans.
Quando eu clico no botão direito do meu projeto php "já com zend inlcuso" e vo em run command para poder começar a usar deste poderoso framework ocorre o seguinte erro.
Pessoal, resolvi recorrer a comunidade por que realmente não encontrei uma solução que atendesse a este meu problema, espero que vcs consigam me auxiliar neste problema.
An Error Has Occurred
Provider 'nb-commands' is not a valid provider.
Zend Framework Command Line Console Tool v1.11.11
Usage:
zf [--global-opts] action-name [--action-opts] provider-name [--provider-opts] [provider parameters ...]
Note: You may use "?" in any place of the above usage string to ask for more specific help information.
Example: "zf ? version" will list all available actions for the version provider.
Providers and their actions:
Version
zf show version mode[=mini] name-included[=1]
Note: There are specialties, use zf show version.? to get specific help on them.
Config
zf create config
zf show config
zf enable config
Note: There are specialties, use zf enable config.? to get specific help on them.
zf disable config
Note: There are specialties, use zf disable config.? to get specific help on them.
Phpinfo
zf show phpinfo
Manifest
zf show manifest
Profile
zf show profile
Project
zf create project path name-of-profile file-of-profile
zf show project
Note: There are specialties, use zf show project.? to get specific help on them.
Application
zf change application.class-name-prefix class-name-prefix
Model
zf create model name module
View
zf create view controller-name action-name-or-simple-name module
Controller
zf create controller name index-action-included[=1] module
Action
zf create action name controller-name[=Index] view-included[=1] module
Module
zf create module name
Form
zf enable form module
zf create form name module
Layout
zf enable layout
zf disable layout
DbAdapter
zf configure db-adapter dsn section-name[=production]
DbTable
zf create db-table name actual-table-name module force-overwrite
Note: There are specialties, use zf create db-table.? to get specific help on them.
ProjectProvider
zf create project-provider name actions
----------------------------------------------------------------------------------------------------------
-- o erro abaixo é referente ao pront do netbeans
Warning: include_once(NetBeansCommandsProvider.php): failed to open stream: No such file or directory in /usr/share/php/libzend-framework-php/Zend/Loader.php on line 146
Warning: include_once(): Failed opening 'NetBeansCommandsProvider.php' for inclusion (include_path='/usr/share/php/libzend-framework-php:/usr/share/php/libzend-framework-php::/usr/share/php/libzend-framework-php') in /usr/share/php/libzend-framework-php/Zend/Loader.php on line 146
An Error Has Occurred
File "NetBeansCommandsProvider.php" does not exist or class
"NetBeansCommandsProvider" was not found in the file
Zend Framework Command Line Console Tool v1.11.11
Details for action "Enable" and provider "Config"
Config
zf enable config
zf enable config.manifest class-name
zf enable config.provider class-name
PHP Warning: include_once(NetBeansCommandsProvider.php): failed to open stream: No such file or directory in /usr/share/php/libzend-framework-php/Zend/Loader.php on line 146
PHP Warning: include_once(): Failed opening 'NetBeansCommandsProvider.php' for inclusion (include_path='/usr/share/php/libzend-framework-php:/usr/share/php/libzend-framework-php::/usr/share/php/libzend-framework-php') in /usr/share/php/libzend-framework-php/Zend/Loader.php on line 146