-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend Console Conroller #242
Comments
You need to configure applications |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I'm trying to make my "own" console controller to run yiic with it - I created a new folder structure in my base project folder named "console"... It's working with the "standard" console commands like migrate...
But my "seed" doesn't like to work:( Pls. see log:
2013/05/11 22:45:51 [127.0.0.1] [error] [yii\base\UnknownClassException] exception 'yii\base\UnknownClassException' with message 'Unable to find 'SeedController' in file: /Users/philippfrenzel/Sites/pliq/frenzelgmbh/console/controllers/SeedController.php' in /Users/philippfrenzel/Sites/pliq/frenzelgmbh/vendor/yiisoft/yii2/yii/YiiBase.php:377
Stack trace:
#0 [internal function]: yii\YiiBase::autoload('SeedController')
#1 [internal function]: spl_autoload_call('SeedController')
#2 /Users/philippfrenzel/Sites/pliq/frenzelgmbh/vendor/yiisoft/yii2/yii/base/Module.php(618): is_subclass_of('SeedController', 'yii\base\Contro...')
#3 /Users/philippfrenzel/Sites/pliq/frenzelgmbh/vendor/yiisoft/yii2/yii/base/Module.php(563): yii\base\Module->createController('seed')
#4 /Users/philippfrenzel/Sites/pliq/frenzelgmbh/vendor/yiisoft/yii2/yii/console/Application.php(114): yii\base\Module->runAction('seed', Array)
#5 /Users/philippfrenzel/Sites/pliq/frenzelgmbh/vendor/yiisoft/yii2/yii/console/Application.php(95): yii\console\Application->runAction('seed', Array)
#6 /Users/philippfrenzel/Sites/pliq/frenzelgmbh/vendor/yiisoft/yii2/yii/base/Application.php(146): yii\console\Application->processRequest()
#7 /Users/philippfrenzel/Sites/pliq/frenzelgmbh/console/yiic.php(22): yii\base\Application->run()
#8 {main}
2013/05/11 22:45:51 [127.0.0.1] [info] [application] $SERVER = array (
'TERM_PROGRAM' => 'Apple_Terminal',
'SHELL' => '/bin/bash',
'TERM' => 'xterm-256color',
'TMPDIR' => '/var/folders/0n/pltm268d44zdxv6jgfh4zsdr0000gn/T/',
'Apple_PubSub_Socket_Render' => '/tmp/launch-J0yW3k/Render',
'TERM_PROGRAM_VERSION' => '309',
'OLDPWD' => '/Users/philippfrenzel/Sites/pliq/frenzelgmbh/app',
'TERM_SESSION_ID' => '41BD3673-D2E2-4F84-9747-359980CE777B',
'USER' => 'philippfrenzel',
'COMMAND_MODE' => 'unix2003',
'SSH_AUTH_SOCK' => '/tmp/launch-nsT45a/Listeners',
'Apple_Ubiquity_Message' => '/tmp/launch-0oi87z/Apple_Ubiquity_Message',
'__CF_USER_TEXT_ENCODING' => '0x1F5:0:3',
'PATH' => '/usr/local/php5/bin:/usr/local/php5-5.5.0beta4-20130501-171728/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin',
'PWD' => '/Users/philippfrenzel/Sites/pliq/frenzelgmbh',
'DBUS_LAUNCHD_SESSION_BUS_SOCKET' => '/tmp/launch-NQZJ2H/session',
'LANG' => 'de_DE.UTF-8',
'HOME' => '/Users/philippfrenzel',
'SHLVL' => '1',
'LOGNAME' => 'philippfrenzel',
'' => '/Applications/XAMPP/bin/php',
'PHP_SELF' => 'console/yiic.php',
'SCRIPT_NAME' => 'console/yiic.php',
'SCRIPT_FILENAME' => 'console/yiic.php',
'PATH_TRANSLATED' => 'console/yiic.php',
'DOCUMENT_ROOT' => '',
'REQUEST_TIME_FLOAT' => 1368305151.63,
'REQUEST_TIME' => 1368305151,
'argv' =>
array (
0 => 'console/yiic.php',
1 => 'seed',
),
'argc' => 2,
)
The text was updated successfully, but these errors were encountered: