I finally figured out what I was doing wrong. I needed to specify the app
path when trying to run the console command.  Once specified I was able to
create the schema with out any issues.

On Wed, Sep 12, 2012 at 9:49 PM, Jonathan Sundquist <[email protected]>wrote:

> This evening I was trying to set up a site using a plugin and I am
> actually able to get a  majority of the site to load minus a few setup
> items I still need to complete however now when I try to set up the schema
> using the cake console it says it cannot find the plugin at all.  What
> could I be doing wrong? I've done a search with little to no help. Below is
> the error message that I receive.
>
> jsundquist@merlin:/var/www/mwp/lib/Cake/Console$ ./cake schema create -p
> BostonConference
>
> Welcome to CakePHP v2.1.5 Console
> ---------------------------------------------------------------
> App : Console
> Path: /var/www/mwp/lib/Cake/Console/
> ---------------------------------------------------------------
> Cake Schema Shell
> ---------------------------------------------------------------
> Error: Plugin BostonConference could not be found.
> #0 /var/www/mwp/lib/Cake/Model/CakeSchema.php(128):
> CakePlugin::path('BostonConferenc...')
> #1 /var/www/mwp/lib/Cake/Model/CakeSchema.php(98): CakeSchema->build(Array)
> #2 /var/www/mwp/lib/Cake/Console/Command/SchemaShell.php(99):
> CakeSchema->__construct(Array)
> #3 /var/www/mwp/lib/Cake/Console/Shell.php(378): SchemaShell->startup()
> #4 /var/www/mwp/lib/Cake/Console/ShellDispatcher.php(177):
> Shell->runCommand('create', Array)
> #5 /var/www/mwp/lib/Cake/Console/ShellDispatcher.php(69):
> ShellDispatcher->dispatch()
> #6 /var/www/mwp/lib/Cake/Console/cake.php(41): ShellDispatcher::run(Array)
> #7 {main}
>
>
> Again the site loads when I hit the url however I can't seem to get it to
> be found within the cake console.  Any help that you can provide would be
> very much apperciated.
>
> Thanks,
>
> Jon
>

-- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.


Reply via email to