cakephp / api_generator

[Unmaintained] Official CakePHP API Generator Git Repository
113 stars 31 forks source link

Plugin ApiGenerator could not be found. #26

Open ghost opened 11 years ago

ghost commented 11 years ago

Created by Kim Escobar, 20th May 2013. (originally Lighthouse ticket #131):


Below is the error I'm getting... The directory of api generator (api_generator) is the plugins that is in the same directory as the lib...and I have another copy in the directory Plugin inside the app directory. I already read many tickets and try every thing...I just don't know what else to do. If some one could help I would be very pleased.

C:\wamp\www\pesquisaVibe\app>cake api_generator.api_index initdb
Error: Plugin ApiGenerator could not be found.
#0 C:\wamp\www\cake\lib\Cake\Core\App.php(365): CakePlugin::path('ApiGenerator')

#1 C:\wamp\www\cake\lib\Cake\Core\App.php(226): App::pluginPath('ApiGenerator')
#2 C:\wamp\www\cake\lib\Cake\Core\App.php(543): App::path('Console/Command', 'Ap
iGenerator')
#3 [internal function]: App::load('ApiIndexShell')
#4 [internal function]: spl_autoload_call('ApiIndexShell')
#5 C:\wamp\www\cake\lib\Cake\Console\ShellDispatcher.php(240): class_exists('Api
IndexShell')
#6 C:\wamp\www\cake\lib\Cake\Console\ShellDispatcher.php(190): ShellDispatcher->
_getShell('api_generator.a...')
#7 C:\wamp\www\cake\lib\Cake\Console\ShellDispatcher.php(68): ShellDispatcher->d
ispatch()
#8 C:\wamp\www\cake\app\Console\cake.php(37): ShellDispatcher::run(Array)
#9 {main} 
ghost commented 11 years ago

20th May 2013, Kim Escobar said:


I already solve the problem, seems it was a problem with the path that I set up in the environment variables. So you can delet this ticket, I think I can't finish by my self.