|
|
2019-11-06 10:20:40 [-][-][-][error][yii\db\Exception] PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'kcbasic.category' doesn't exist in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php:1290 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1290): PDOStatement->execute() #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1091): yii\db\Command->internalExecute('DELETE FROM `ca...') #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(401): yii\db\Command->execute() #3 /home/wwwroot/default/kcbasic/console/controllers/InitController.php(22): yii\db\ActiveRecord::deleteAll() #4 [internal function]: console\controllers\InitController->actionIndex() #5 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #6 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #7 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('', Array) #8 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('', Array) #9 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('init', Array) #10 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('init', Array) #11 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #12 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #13 {main}
Next yii\db\Exception: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'kcbasic.category' doesn't exist The SQL being executed was: DELETE FROM `category` in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Schema.php:674 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1295): yii\db\Schema->convertException(Object(PDOException), 'DELETE FROM `ca...') #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1091): yii\db\Command->internalExecute('DELETE FROM `ca...') #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(401): yii\db\Command->execute() #3 /home/wwwroot/default/kcbasic/console/controllers/InitController.php(22): yii\db\ActiveRecord::deleteAll() #4 [internal function]: console\controllers\InitController->actionIndex() #5 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #6 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #7 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('', Array) #8 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('', Array) #9 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('init', Array) #10 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('init', Array) #11 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #12 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #13 {main} Additional Information: Array ( [0] => 42S02 [1] => 1146 [2] => Table 'kcbasic.category' doesn't exist )
2019-11-06 10:20:40 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [ 'CLUTTER_IM_MODULE' => 'xim' 'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' 'TERMINAL_EMULATOR' => 'JetBrains-JediTerm' 'LESSCLOSE' => '/usr/bin/lesspipe %s %s' 'XDG_MENU_PREFIX' => 'gnome-' 'SNAP_USER_DATA' => '/home/linyao/snap/phpstorm/127' 'LANG' => 'zh_CN.UTF-8' 'DISPLAY' => ':0' 'OLDPWD' => '/snap/phpstorm/127/bin' 'GNOME_SHELL_SESSION_MODE' => 'ubuntu' 'SNAP_REVISION' => '127' 'SNAP_ARCH' => 'amd64' 'SNAP_INSTANCE_KEY' => '' 'USERNAME' => 'linyao' 'XDG_VTNR' => '1' 'GIO_LAUNCHED_DESKTOP_FILE_PID' => '7091' 'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh' 'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path' 'XDG_SESSION_ID' => '1' 'SNAP_USER_COMMON' => '/home/linyao/snap/phpstorm/common' 'USER' => 'linyao' 'DESKTOP_SESSION' => 'ubuntu' 'QT4_IM_MODULE' => 'fcitx' 'TEXTDOMAINDIR' => '/usr/share/locale/' 'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path' 'PWD' => '/home/wwwroot/default/kcbasic' 'HOME' => '/home/linyao' 'TEXTDOMAIN' => 'im-config' 'SNAP' => '/snap/phpstorm/127' 'SSH_AGENT_PID' => '1711' 'QT_ACCESSIBILITY' => '1' 'SNAP_COMMON' => '/var/snap/phpstorm/common' 'XDG_SESSION_TYPE' => 'x11' 'SNAP_NAME' => 'phpstorm' 'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop' 'SNAP_INSTANCE_NAME' => 'phpstorm' 'SNAP_DATA' => '/var/snap/phpstorm/127' 'XDG_SESSION_DESKTOP' => 'ubuntu' 'GJS_DEBUG_OUTPUT' => 'stderr' 'GTK_MODULES' => 'gail:atk-bridge' 'SNAP_COOKIE' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'WINDOWPATH' => '1' 'SHELL' => '/bin/bash' 'TERM' => 'xterm-256color' 'QT_IM_MODULE' => 'fcitx' 'XMODIFIERS' => '@im=fcitx' 'IM_CONFIG_PHASE' => '2' 'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME' 'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1' 'BAMF_DESKTOP_FILE_HINT' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'SNAP_REEXEC' => '' 'GIO_LAUNCHED_DESKTOP_FILE' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'XDG_SEAT' => 'seat0' 'SHLVL' => '1' 'LANGUAGE' => 'zh_CN:zh' 'GDMSESSION' => 'ubuntu' 'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated' 'LOGNAME' => 'linyao' 'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus' 'XDG_RUNTIME_DIR' => '/run/user/1000/snap.phpstorm' 'XAUTHORITY' => '/run/user/1000/gdm/Xauthority' 'SNAP_CONTEXT' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg' 'PATH' => '/home/linyao/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' 'SNAP_VERSION' => '2019.2.4' 'GJS_DEBUG_TOPICS' => 'JS ERROR;JS LOG' 'SNAP_LIBRARY_PATH' => '/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void' 'SESSION_MANAGER' => 'local/linyao-Aspire-E1-572G:@/tmp/.ICE-unix/1564,unix/linyao-Aspire-E1-572G:/tmp/.ICE-unix/1564' 'LESSOPEN' => '| /usr/bin/lesspipe %s' 'GTK_IM_MODULE' => 'fcitx' '_' => './yii' 'PHP_SELF' => './yii' 'SCRIPT_NAME' => './yii' 'SCRIPT_FILENAME' => './yii' 'PATH_TRANSLATED' => './yii' 'DOCUMENT_ROOT' => '' 'REQUEST_TIME_FLOAT' => 1573006840.9225 'REQUEST_TIME' => 1573006840 'argv' => [ 0 => './yii' 1 => 'init' ] 'argc' => 2 ] 2019-11-06 10:23:48 [-][-][-][error][yii\db\Exception] PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'kcbasic.category' doesn't exist in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php:1290 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1290): PDOStatement->execute() #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1091): yii\db\Command->internalExecute('DELETE FROM `ca...') #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(401): yii\db\Command->execute() #3 /home/wwwroot/default/kcbasic/console/controllers/InitController.php(22): yii\db\ActiveRecord::deleteAll() #4 [internal function]: console\controllers\InitController->actionIndex() #5 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #6 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #7 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('', Array) #8 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('', Array) #9 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('init', Array) #10 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('init', Array) #11 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #12 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #13 {main}
Next yii\db\Exception: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'kcbasic.category' doesn't exist The SQL being executed was: DELETE FROM `category` in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Schema.php:674 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1295): yii\db\Schema->convertException(Object(PDOException), 'DELETE FROM `ca...') #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1091): yii\db\Command->internalExecute('DELETE FROM `ca...') #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(401): yii\db\Command->execute() #3 /home/wwwroot/default/kcbasic/console/controllers/InitController.php(22): yii\db\ActiveRecord::deleteAll() #4 [internal function]: console\controllers\InitController->actionIndex() #5 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #6 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #7 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('', Array) #8 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('', Array) #9 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('init', Array) #10 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('init', Array) #11 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #12 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #13 {main} Additional Information: Array ( [0] => 42S02 [1] => 1146 [2] => Table 'kcbasic.category' doesn't exist )
2019-11-06 10:23:48 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [ 'CLUTTER_IM_MODULE' => 'xim' 'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' 'TERMINAL_EMULATOR' => 'JetBrains-JediTerm' 'LESSCLOSE' => '/usr/bin/lesspipe %s %s' 'XDG_MENU_PREFIX' => 'gnome-' 'SNAP_USER_DATA' => '/home/linyao/snap/phpstorm/127' 'LANG' => 'zh_CN.UTF-8' 'DISPLAY' => ':0' 'OLDPWD' => '/snap/phpstorm/127/bin' 'GNOME_SHELL_SESSION_MODE' => 'ubuntu' 'SNAP_REVISION' => '127' 'SNAP_ARCH' => 'amd64' 'SNAP_INSTANCE_KEY' => '' 'USERNAME' => 'linyao' 'XDG_VTNR' => '1' 'GIO_LAUNCHED_DESKTOP_FILE_PID' => '7091' 'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh' 'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path' 'XDG_SESSION_ID' => '1' 'SNAP_USER_COMMON' => '/home/linyao/snap/phpstorm/common' 'USER' => 'linyao' 'DESKTOP_SESSION' => 'ubuntu' 'QT4_IM_MODULE' => 'fcitx' 'TEXTDOMAINDIR' => '/usr/share/locale/' 'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path' 'PWD' => '/home/wwwroot/default/kcbasic' 'HOME' => '/home/linyao' 'TEXTDOMAIN' => 'im-config' 'SNAP' => '/snap/phpstorm/127' 'SSH_AGENT_PID' => '1711' 'QT_ACCESSIBILITY' => '1' 'SNAP_COMMON' => '/var/snap/phpstorm/common' 'XDG_SESSION_TYPE' => 'x11' 'SNAP_NAME' => 'phpstorm' 'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop' 'SNAP_INSTANCE_NAME' => 'phpstorm' 'SNAP_DATA' => '/var/snap/phpstorm/127' 'XDG_SESSION_DESKTOP' => 'ubuntu' 'GJS_DEBUG_OUTPUT' => 'stderr' 'GTK_MODULES' => 'gail:atk-bridge' 'SNAP_COOKIE' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'WINDOWPATH' => '1' 'SHELL' => '/bin/bash' 'TERM' => 'xterm-256color' 'QT_IM_MODULE' => 'fcitx' 'XMODIFIERS' => '@im=fcitx' 'IM_CONFIG_PHASE' => '2' 'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME' 'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1' 'BAMF_DESKTOP_FILE_HINT' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'SNAP_REEXEC' => '' 'GIO_LAUNCHED_DESKTOP_FILE' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'XDG_SEAT' => 'seat0' 'SHLVL' => '1' 'LANGUAGE' => 'zh_CN:zh' 'GDMSESSION' => 'ubuntu' 'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated' 'LOGNAME' => 'linyao' 'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus' 'XDG_RUNTIME_DIR' => '/run/user/1000/snap.phpstorm' 'XAUTHORITY' => '/run/user/1000/gdm/Xauthority' 'SNAP_CONTEXT' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg' 'PATH' => '/home/linyao/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' 'SNAP_VERSION' => '2019.2.4' 'GJS_DEBUG_TOPICS' => 'JS ERROR;JS LOG' 'SNAP_LIBRARY_PATH' => '/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void' 'SESSION_MANAGER' => 'local/linyao-Aspire-E1-572G:@/tmp/.ICE-unix/1564,unix/linyao-Aspire-E1-572G:/tmp/.ICE-unix/1564' 'LESSOPEN' => '| /usr/bin/lesspipe %s' 'GTK_IM_MODULE' => 'fcitx' '_' => './yii' 'PHP_SELF' => './yii' 'SCRIPT_NAME' => './yii' 'SCRIPT_FILENAME' => './yii' 'PATH_TRANSLATED' => './yii' 'DOCUMENT_ROOT' => '' 'REQUEST_TIME_FLOAT' => 1573007028.249 'REQUEST_TIME' => 1573007028 'argv' => [ 0 => './yii' 1 => 'init' ] 'argc' => 2 ] 2019-11-06 10:24:53 [-][-][-][error][yii\db\Exception] PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'kcbasic.category' doesn't exist in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php:1290 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1290): PDOStatement->execute() #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1091): yii\db\Command->internalExecute('DELETE FROM `ca...') #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(401): yii\db\Command->execute() #3 /home/wwwroot/default/kcbasic/console/controllers/InitController.php(22): yii\db\ActiveRecord::deleteAll() #4 [internal function]: console\controllers\InitController->actionIndex() #5 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #6 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #7 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('', Array) #8 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('', Array) #9 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('init', Array) #10 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('init', Array) #11 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #12 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #13 {main}
Next yii\db\Exception: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'kcbasic.category' doesn't exist The SQL being executed was: DELETE FROM `category` in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Schema.php:674 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1295): yii\db\Schema->convertException(Object(PDOException), 'DELETE FROM `ca...') #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1091): yii\db\Command->internalExecute('DELETE FROM `ca...') #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(401): yii\db\Command->execute() #3 /home/wwwroot/default/kcbasic/console/controllers/InitController.php(22): yii\db\ActiveRecord::deleteAll() #4 [internal function]: console\controllers\InitController->actionIndex() #5 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #6 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #7 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('', Array) #8 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('', Array) #9 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('init', Array) #10 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('init', Array) #11 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #12 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #13 {main} Additional Information: Array ( [0] => 42S02 [1] => 1146 [2] => Table 'kcbasic.category' doesn't exist )
2019-11-06 10:24:53 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [ 'CLUTTER_IM_MODULE' => 'xim' 'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' 'TERMINAL_EMULATOR' => 'JetBrains-JediTerm' 'LESSCLOSE' => '/usr/bin/lesspipe %s %s' 'XDG_MENU_PREFIX' => 'gnome-' 'SNAP_USER_DATA' => '/home/linyao/snap/phpstorm/127' 'LANG' => 'zh_CN.UTF-8' 'DISPLAY' => ':0' 'OLDPWD' => '/snap/phpstorm/127/bin' 'GNOME_SHELL_SESSION_MODE' => 'ubuntu' 'SNAP_REVISION' => '127' 'SNAP_ARCH' => 'amd64' 'SNAP_INSTANCE_KEY' => '' 'USERNAME' => 'linyao' 'XDG_VTNR' => '1' 'GIO_LAUNCHED_DESKTOP_FILE_PID' => '7091' 'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh' 'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path' 'XDG_SESSION_ID' => '1' 'SNAP_USER_COMMON' => '/home/linyao/snap/phpstorm/common' 'USER' => 'linyao' 'DESKTOP_SESSION' => 'ubuntu' 'QT4_IM_MODULE' => 'fcitx' 'TEXTDOMAINDIR' => '/usr/share/locale/' 'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path' 'PWD' => '/home/wwwroot/default/kcbasic' 'HOME' => '/home/linyao' 'TEXTDOMAIN' => 'im-config' 'SNAP' => '/snap/phpstorm/127' 'SSH_AGENT_PID' => '1711' 'QT_ACCESSIBILITY' => '1' 'SNAP_COMMON' => '/var/snap/phpstorm/common' 'XDG_SESSION_TYPE' => 'x11' 'SNAP_NAME' => 'phpstorm' 'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop' 'SNAP_INSTANCE_NAME' => 'phpstorm' 'SNAP_DATA' => '/var/snap/phpstorm/127' 'XDG_SESSION_DESKTOP' => 'ubuntu' 'GJS_DEBUG_OUTPUT' => 'stderr' 'GTK_MODULES' => 'gail:atk-bridge' 'SNAP_COOKIE' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'WINDOWPATH' => '1' 'SHELL' => '/bin/bash' 'TERM' => 'xterm-256color' 'QT_IM_MODULE' => 'fcitx' 'XMODIFIERS' => '@im=fcitx' 'IM_CONFIG_PHASE' => '2' 'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME' 'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1' 'BAMF_DESKTOP_FILE_HINT' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'SNAP_REEXEC' => '' 'GIO_LAUNCHED_DESKTOP_FILE' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'XDG_SEAT' => 'seat0' 'SHLVL' => '1' 'LANGUAGE' => 'zh_CN:zh' 'GDMSESSION' => 'ubuntu' 'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated' 'LOGNAME' => 'linyao' 'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus' 'XDG_RUNTIME_DIR' => '/run/user/1000/snap.phpstorm' 'XAUTHORITY' => '/run/user/1000/gdm/Xauthority' 'SNAP_CONTEXT' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg' 'PATH' => '/home/linyao/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' 'SNAP_VERSION' => '2019.2.4' 'GJS_DEBUG_TOPICS' => 'JS ERROR;JS LOG' 'SNAP_LIBRARY_PATH' => '/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void' 'SESSION_MANAGER' => 'local/linyao-Aspire-E1-572G:@/tmp/.ICE-unix/1564,unix/linyao-Aspire-E1-572G:/tmp/.ICE-unix/1564' 'LESSOPEN' => '| /usr/bin/lesspipe %s' 'GTK_IM_MODULE' => 'fcitx' '_' => './yii' 'PHP_SELF' => './yii' 'SCRIPT_NAME' => './yii' 'SCRIPT_FILENAME' => './yii' 'PATH_TRANSLATED' => './yii' 'DOCUMENT_ROOT' => '' 'REQUEST_TIME_FLOAT' => 1573007093.404 'REQUEST_TIME' => 1573007093 'argv' => [ 0 => './yii' 1 => 'init' ] 'argc' => 2 ] 2019-11-06 10:25:31 [-][-][-][error][yii\base\InvalidConfigException] yii\base\InvalidConfigException: The table does not exist: category in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/ActiveRecord.php:438 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(469): yii\db\ActiveRecord::getTableSchema() #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/BaseActiveRecord.php(500): yii\db\ActiveRecord->attributes() #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/BaseActiveRecord.php(315): yii\db\BaseActiveRecord->hasAttribute('attributes') #3 /home/wwwroot/default/kcbasic/console/controllers/InitController.php(25): yii\db\BaseActiveRecord->__set('attributes', Array) #4 [internal function]: console\controllers\InitController->actionIndex() #5 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #6 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #7 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('', Array) #8 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('', Array) #9 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('init', Array) #10 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('init', Array) #11 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #12 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #13 {main} 2019-11-06 10:25:31 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [ 'CLUTTER_IM_MODULE' => 'xim' 'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' 'TERMINAL_EMULATOR' => 'JetBrains-JediTerm' 'LESSCLOSE' => '/usr/bin/lesspipe %s %s' 'XDG_MENU_PREFIX' => 'gnome-' 'SNAP_USER_DATA' => '/home/linyao/snap/phpstorm/127' 'LANG' => 'zh_CN.UTF-8' 'DISPLAY' => ':0' 'OLDPWD' => '/snap/phpstorm/127/bin' 'GNOME_SHELL_SESSION_MODE' => 'ubuntu' 'SNAP_REVISION' => '127' 'SNAP_ARCH' => 'amd64' 'SNAP_INSTANCE_KEY' => '' 'USERNAME' => 'linyao' 'XDG_VTNR' => '1' 'GIO_LAUNCHED_DESKTOP_FILE_PID' => '7091' 'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh' 'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path' 'XDG_SESSION_ID' => '1' 'SNAP_USER_COMMON' => '/home/linyao/snap/phpstorm/common' 'USER' => 'linyao' 'DESKTOP_SESSION' => 'ubuntu' 'QT4_IM_MODULE' => 'fcitx' 'TEXTDOMAINDIR' => '/usr/share/locale/' 'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path' 'PWD' => '/home/wwwroot/default/kcbasic' 'HOME' => '/home/linyao' 'TEXTDOMAIN' => 'im-config' 'SNAP' => '/snap/phpstorm/127' 'SSH_AGENT_PID' => '1711' 'QT_ACCESSIBILITY' => '1' 'SNAP_COMMON' => '/var/snap/phpstorm/common' 'XDG_SESSION_TYPE' => 'x11' 'SNAP_NAME' => 'phpstorm' 'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop' 'SNAP_INSTANCE_NAME' => 'phpstorm' 'SNAP_DATA' => '/var/snap/phpstorm/127' 'XDG_SESSION_DESKTOP' => 'ubuntu' 'GJS_DEBUG_OUTPUT' => 'stderr' 'GTK_MODULES' => 'gail:atk-bridge' 'SNAP_COOKIE' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'WINDOWPATH' => '1' 'SHELL' => '/bin/bash' 'TERM' => 'xterm-256color' 'QT_IM_MODULE' => 'fcitx' 'XMODIFIERS' => '@im=fcitx' 'IM_CONFIG_PHASE' => '2' 'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME' 'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1' 'BAMF_DESKTOP_FILE_HINT' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'SNAP_REEXEC' => '' 'GIO_LAUNCHED_DESKTOP_FILE' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'XDG_SEAT' => 'seat0' 'SHLVL' => '1' 'LANGUAGE' => 'zh_CN:zh' 'GDMSESSION' => 'ubuntu' 'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated' 'LOGNAME' => 'linyao' 'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus' 'XDG_RUNTIME_DIR' => '/run/user/1000/snap.phpstorm' 'XAUTHORITY' => '/run/user/1000/gdm/Xauthority' 'SNAP_CONTEXT' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg' 'PATH' => '/home/linyao/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' 'SNAP_VERSION' => '2019.2.4' 'GJS_DEBUG_TOPICS' => 'JS ERROR;JS LOG' 'SNAP_LIBRARY_PATH' => '/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void' 'SESSION_MANAGER' => 'local/linyao-Aspire-E1-572G:@/tmp/.ICE-unix/1564,unix/linyao-Aspire-E1-572G:/tmp/.ICE-unix/1564' 'LESSOPEN' => '| /usr/bin/lesspipe %s' 'GTK_IM_MODULE' => 'fcitx' '_' => './yii' 'PHP_SELF' => './yii' 'SCRIPT_NAME' => './yii' 'SCRIPT_FILENAME' => './yii' 'PATH_TRANSLATED' => './yii' 'DOCUMENT_ROOT' => '' 'REQUEST_TIME_FLOAT' => 1573007131.1648 'REQUEST_TIME' => 1573007131 'argv' => [ 0 => './yii' 1 => 'init' ] 'argc' => 2 ] 2019-11-08 09:16:11 [-][-][-][error][yii\db\Exception] PDOException: SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Connection.php:698 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Connection.php(698): PDO->__construct('mysql:host=loca...', '', '', NULL) #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Connection.php(624): yii\db\Connection->createPdoInstance() #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Connection.php(1015): yii\db\Connection->open() #3 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Connection.php(1002): yii\db\Connection->getMasterPdo() #4 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(253): yii\db\Connection->getSlavePdo() #5 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1153): yii\db\Command->prepare(true) #6 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(399): yii\db\Command->queryInternal('fetchAll', NULL) #7 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/mysql/Schema.php(319): yii\db\Command->queryAll() #8 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/mysql/Schema.php(125): yii\db\mysql\Schema->findColumns(Object(yii\db\TableSchema)) #9 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Schema.php(754): yii\db\mysql\Schema->loadTableSchema('migration') #10 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Schema.php(193): yii\db\Schema->getTableMetadata('{{%migration}}', 'schema', true) #11 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/MigrateController.php(371): yii\db\Schema->getTableSchema('{{%migration}}', true) #12 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(632): yii\console\controllers\MigrateController->getMigrationNameLimit() #13 [internal function]: yii\console\controllers\BaseMigrateController->actionCreate('create_table_te...') #14 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #15 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #16 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('create', Array) #17 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('create', Array) #18 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('migrate/create', Array) #19 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('migrate/create', Array) #20 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #21 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #22 {main}
Next yii\db\Exception: SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Connection.php:635 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Connection.php(1015): yii\db\Connection->open() #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Connection.php(1002): yii\db\Connection->getMasterPdo() #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(253): yii\db\Connection->getSlavePdo() #3 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1153): yii\db\Command->prepare(true) #4 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(399): yii\db\Command->queryInternal('fetchAll', NULL) #5 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/mysql/Schema.php(319): yii\db\Command->queryAll() #6 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/mysql/Schema.php(125): yii\db\mysql\Schema->findColumns(Object(yii\db\TableSchema)) #7 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Schema.php(754): yii\db\mysql\Schema->loadTableSchema('migration') #8 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Schema.php(193): yii\db\Schema->getTableMetadata('{{%migration}}', 'schema', true) #9 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/MigrateController.php(371): yii\db\Schema->getTableSchema('{{%migration}}', true) #10 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(632): yii\console\controllers\MigrateController->getMigrationNameLimit() #11 [internal function]: yii\console\controllers\BaseMigrateController->actionCreate('create_table_te...') #12 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #13 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #14 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('create', Array) #15 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('create', Array) #16 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('migrate/create', Array) #17 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('migrate/create', Array) #18 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #19 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #20 {main} Additional Information:
2019-11-08 09:16:11 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [ 'CLUTTER_IM_MODULE' => 'xim' 'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' 'TERMINAL_EMULATOR' => 'JetBrains-JediTerm' 'LESSCLOSE' => '/usr/bin/lesspipe %s %s' 'XDG_MENU_PREFIX' => 'gnome-' 'SNAP_USER_DATA' => '/home/linyao/snap/phpstorm/127' 'LANG' => 'zh_CN.UTF-8' 'DISPLAY' => ':0' 'OLDPWD' => '/snap/phpstorm/127/bin' 'GNOME_SHELL_SESSION_MODE' => 'ubuntu' 'SNAP_REVISION' => '127' 'SNAP_ARCH' => 'amd64' 'SNAP_INSTANCE_KEY' => '' 'USERNAME' => 'linyao' 'XDG_VTNR' => '1' 'GIO_LAUNCHED_DESKTOP_FILE_PID' => '7032' 'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh' 'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path' 'XDG_SESSION_ID' => '1' 'SNAP_USER_COMMON' => '/home/linyao/snap/phpstorm/common' 'USER' => 'linyao' 'DESKTOP_SESSION' => 'ubuntu' 'QT4_IM_MODULE' => 'fcitx' 'TEXTDOMAINDIR' => '/usr/share/locale/' 'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path' 'PWD' => '/home/wwwroot/default/kcbasic' 'HOME' => '/home/linyao' 'TEXTDOMAIN' => 'im-config' 'SNAP' => '/snap/phpstorm/127' 'SSH_AGENT_PID' => '1654' 'QT_ACCESSIBILITY' => '1' 'SNAP_COMMON' => '/var/snap/phpstorm/common' 'XDG_SESSION_TYPE' => 'x11' 'SNAP_NAME' => 'phpstorm' 'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop' 'SNAP_INSTANCE_NAME' => 'phpstorm' 'SNAP_DATA' => '/var/snap/phpstorm/127' 'XDG_SESSION_DESKTOP' => 'ubuntu' 'GJS_DEBUG_OUTPUT' => 'stderr' 'GTK_MODULES' => 'gail:atk-bridge' 'SNAP_COOKIE' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'WINDOWPATH' => '1' 'SHELL' => '/bin/bash' 'TERM' => 'xterm-256color' 'QT_IM_MODULE' => 'fcitx' 'XMODIFIERS' => '@im=fcitx' 'IM_CONFIG_PHASE' => '2' 'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME' 'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1' 'BAMF_DESKTOP_FILE_HINT' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'SNAP_REEXEC' => '' 'GIO_LAUNCHED_DESKTOP_FILE' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'XDG_SEAT' => 'seat0' 'SHLVL' => '1' 'LANGUAGE' => 'zh_CN:zh' 'GDMSESSION' => 'ubuntu' 'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated' 'LOGNAME' => 'linyao' 'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus' 'XDG_RUNTIME_DIR' => '/run/user/1000/snap.phpstorm' 'XAUTHORITY' => '/run/user/1000/gdm/Xauthority' 'SNAP_CONTEXT' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg' 'PATH' => '/home/linyao/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' 'SNAP_VERSION' => '2019.2.4' 'GJS_DEBUG_TOPICS' => 'JS ERROR;JS LOG' 'SNAP_LIBRARY_PATH' => '/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void' 'SESSION_MANAGER' => 'local/linyao-Aspire-E1-572G:@/tmp/.ICE-unix/1553,unix/linyao-Aspire-E1-572G:/tmp/.ICE-unix/1553' 'LESSOPEN' => '| /usr/bin/lesspipe %s' 'GTK_IM_MODULE' => 'fcitx' '_' => './yii' 'PHP_SELF' => './yii' 'SCRIPT_NAME' => './yii' 'SCRIPT_FILENAME' => './yii' 'PATH_TRANSLATED' => './yii' 'DOCUMENT_ROOT' => '' 'REQUEST_TIME_FLOAT' => 1573175771.0294 'REQUEST_TIME' => 1573175771 'argv' => [ 0 => './yii' 1 => 'migrate/create' 2 => 'create_table_test' ] 'argc' => 3 ] 2019-11-09 09:01:17 [-][-][-][error][yii\base\InvalidConfigException] ReflectionException: Class m191108_011704_create_table_test does not exist in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/di/Container.php:447 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/di/Container.php(447): ReflectionClass->__construct('m191108_011704_...') #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/di/Container.php(374): yii\di\Container->getDependencies('m191108_011704_...') #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/di/Container.php(159): yii\di\Container->build('m191108_011704_...', Array, Array) #3 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/BaseYii.php(351): yii\di\Container->get('m191108_011704_...', Array, Array) #4 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/MigrateController.php(202): yii\BaseYii::createObject(Array) #5 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(751): yii\console\controllers\MigrateController->createMigration('m191108_011704_...') #6 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(262): yii\console\controllers\BaseMigrateController->migrateDown('m191108_011704_...') #7 [internal function]: yii\console\controllers\BaseMigrateController->actionDown(1) #8 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #9 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #10 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('down', Array) #11 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('down', Array) #12 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('migrate/down', Array) #13 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('migrate/down', Array) #14 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #15 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #16 {main}
Next yii\base\InvalidConfigException: Failed to instantiate component or class "m191108_011704_create_table_test". in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/di/Container.php:449 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/di/Container.php(374): yii\di\Container->getDependencies('m191108_011704_...') #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/di/Container.php(159): yii\di\Container->build('m191108_011704_...', Array, Array) #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/BaseYii.php(351): yii\di\Container->get('m191108_011704_...', Array, Array) #3 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/MigrateController.php(202): yii\BaseYii::createObject(Array) #4 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(751): yii\console\controllers\MigrateController->createMigration('m191108_011704_...') #5 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(262): yii\console\controllers\BaseMigrateController->migrateDown('m191108_011704_...') #6 [internal function]: yii\console\controllers\BaseMigrateController->actionDown(1) #7 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #8 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #9 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('down', Array) #10 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('down', Array) #11 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('migrate/down', Array) #12 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('migrate/down', Array) #13 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #14 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #15 {main} 2019-11-09 09:01:14 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [ 'CLUTTER_IM_MODULE' => 'xim' 'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' 'TERMINAL_EMULATOR' => 'JetBrains-JediTerm' 'LESSCLOSE' => '/usr/bin/lesspipe %s %s' 'XDG_MENU_PREFIX' => 'gnome-' 'SNAP_USER_DATA' => '/home/linyao/snap/phpstorm/127' 'LANG' => 'zh_CN.UTF-8' 'DISPLAY' => ':0' 'OLDPWD' => '/snap/phpstorm/127/bin' 'GNOME_SHELL_SESSION_MODE' => 'ubuntu' 'SNAP_REVISION' => '127' 'SNAP_ARCH' => 'amd64' 'SNAP_INSTANCE_KEY' => '' 'USERNAME' => 'linyao' 'XDG_VTNR' => '1' 'GIO_LAUNCHED_DESKTOP_FILE_PID' => '4281' 'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh' 'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path' 'XDG_SESSION_ID' => '1' 'SNAP_USER_COMMON' => '/home/linyao/snap/phpstorm/common' 'USER' => 'linyao' 'DESKTOP_SESSION' => 'ubuntu' 'QT4_IM_MODULE' => 'fcitx' 'TEXTDOMAINDIR' => '/usr/share/locale/' 'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path' 'PWD' => '/home/wwwroot/default/kcbasic' 'HOME' => '/home/linyao' 'TEXTDOMAIN' => 'im-config' 'SNAP' => '/snap/phpstorm/127' 'SSH_AGENT_PID' => '1605' 'QT_ACCESSIBILITY' => '1' 'SNAP_COMMON' => '/var/snap/phpstorm/common' 'XDG_SESSION_TYPE' => 'x11' 'SNAP_NAME' => 'phpstorm' 'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop' 'SNAP_INSTANCE_NAME' => 'phpstorm' 'SNAP_DATA' => '/var/snap/phpstorm/127' 'XDG_SESSION_DESKTOP' => 'ubuntu' 'GJS_DEBUG_OUTPUT' => 'stderr' 'GTK_MODULES' => 'gail:atk-bridge' 'SNAP_COOKIE' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'WINDOWPATH' => '1' 'SHELL' => '/bin/bash' 'TERM' => 'xterm-256color' 'QT_IM_MODULE' => 'fcitx' 'XMODIFIERS' => '@im=fcitx' 'IM_CONFIG_PHASE' => '2' 'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME' 'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1' 'BAMF_DESKTOP_FILE_HINT' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'SNAP_REEXEC' => '' 'GIO_LAUNCHED_DESKTOP_FILE' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'XDG_SEAT' => 'seat0' 'SHLVL' => '1' 'LANGUAGE' => 'zh_CN:zh' 'GDMSESSION' => 'ubuntu' 'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated' 'LOGNAME' => 'linyao' 'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus' 'XDG_RUNTIME_DIR' => '/run/user/1000/snap.phpstorm' 'XAUTHORITY' => '/run/user/1000/gdm/Xauthority' 'SNAP_CONTEXT' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg' 'PATH' => '/home/linyao/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' 'SNAP_VERSION' => '2019.2.4' 'GJS_DEBUG_TOPICS' => 'JS ERROR;JS LOG' 'SNAP_LIBRARY_PATH' => '/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void' 'SESSION_MANAGER' => 'local/linyao-Aspire-E1-572G:@/tmp/.ICE-unix/1510,unix/linyao-Aspire-E1-572G:/tmp/.ICE-unix/1510' 'LESSOPEN' => '| /usr/bin/lesspipe %s' 'GTK_IM_MODULE' => 'fcitx' '_' => './yii' 'PHP_SELF' => './yii' 'SCRIPT_NAME' => './yii' 'SCRIPT_FILENAME' => './yii' 'PATH_TRANSLATED' => './yii' 'DOCUMENT_ROOT' => '' 'REQUEST_TIME_FLOAT' => 1573261274.6177 'REQUEST_TIME' => 1573261274 'argv' => [ 0 => './yii' 1 => 'migrate/down' ] 'argc' => 2 ] 2019-11-09 09:07:47 [-][-][-][error][yii\db\Exception] PDOException: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'test' already exists in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php:1290 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1290): PDOStatement->execute() #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1091): yii\db\Command->internalExecute('CREATE TABLE `t...') #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Migration.php(323): yii\db\Command->execute() #3 /home/wwwroot/default/kcbasic/console/migrations/m191109_010257_create_table_test.php(23): yii\db\Migration->createTable('test', Array, 'CHARACTER SET u...') #4 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(724): m191109_010257_create_table_test->up() #5 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(200): yii\console\controllers\BaseMigrateController->migrateUp('m191109_010257_...') #6 [internal function]: yii\console\controllers\BaseMigrateController->actionUp(0) #7 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #8 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #9 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('', Array) #10 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('', Array) #11 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('migrate', Array) #12 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('migrate', Array) #13 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #14 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #15 {main}
Next yii\db\Exception: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'test' already exists The SQL being executed was: CREATE TABLE `test` ( `id` int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, `share_title` varchar(50) NULL DEFAULT NULL COMMENT '分享标题', `share_abstract` varchar(50) NULL DEFAULT NULL COMMENT '分享简介', `share_picture` varchar(255) NULL DEFAULT NULL COMMENT '分享图片', `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间', `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间' ) CHARACTER SET utf8 COLLATE utf8_general_ci ENGINE=InnoDB COMMENT="测试表" in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Schema.php:674 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1295): yii\db\Schema->convertException(Object(PDOException), 'CREATE TABLE `t...') #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1091): yii\db\Command->internalExecute('CREATE TABLE `t...') #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Migration.php(323): yii\db\Command->execute() #3 /home/wwwroot/default/kcbasic/console/migrations/m191109_010257_create_table_test.php(23): yii\db\Migration->createTable('test', Array, 'CHARACTER SET u...') #4 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(724): m191109_010257_create_table_test->up() #5 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(200): yii\console\controllers\BaseMigrateController->migrateUp('m191109_010257_...') #6 [internal function]: yii\console\controllers\BaseMigrateController->actionUp(0) #7 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #8 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #9 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('', Array) #10 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('', Array) #11 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('migrate', Array) #12 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('migrate', Array) #13 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #14 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #15 {main} Additional Information: Array ( [0] => 42S01 [1] => 1050 [2] => Table 'test' already exists )
2019-11-09 09:07:45 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [ 'CLUTTER_IM_MODULE' => 'xim' 'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' 'TERMINAL_EMULATOR' => 'JetBrains-JediTerm' 'LESSCLOSE' => '/usr/bin/lesspipe %s %s' 'XDG_MENU_PREFIX' => 'gnome-' 'SNAP_USER_DATA' => '/home/linyao/snap/phpstorm/127' 'LANG' => 'zh_CN.UTF-8' 'DISPLAY' => ':0' 'OLDPWD' => '/snap/phpstorm/127/bin' 'GNOME_SHELL_SESSION_MODE' => 'ubuntu' 'SNAP_REVISION' => '127' 'SNAP_ARCH' => 'amd64' 'SNAP_INSTANCE_KEY' => '' 'USERNAME' => 'linyao' 'XDG_VTNR' => '1' 'GIO_LAUNCHED_DESKTOP_FILE_PID' => '4281' 'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh' 'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path' 'XDG_SESSION_ID' => '1' 'SNAP_USER_COMMON' => '/home/linyao/snap/phpstorm/common' 'USER' => 'linyao' 'DESKTOP_SESSION' => 'ubuntu' 'QT4_IM_MODULE' => 'fcitx' 'TEXTDOMAINDIR' => '/usr/share/locale/' 'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path' 'PWD' => '/home/wwwroot/default/kcbasic' 'HOME' => '/home/linyao' 'TEXTDOMAIN' => 'im-config' 'SNAP' => '/snap/phpstorm/127' 'SSH_AGENT_PID' => '1605' 'QT_ACCESSIBILITY' => '1' 'SNAP_COMMON' => '/var/snap/phpstorm/common' 'XDG_SESSION_TYPE' => 'x11' 'SNAP_NAME' => 'phpstorm' 'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop' 'SNAP_INSTANCE_NAME' => 'phpstorm' 'SNAP_DATA' => '/var/snap/phpstorm/127' 'XDG_SESSION_DESKTOP' => 'ubuntu' 'GJS_DEBUG_OUTPUT' => 'stderr' 'GTK_MODULES' => 'gail:atk-bridge' 'SNAP_COOKIE' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'WINDOWPATH' => '1' 'SHELL' => '/bin/bash' 'TERM' => 'xterm-256color' 'QT_IM_MODULE' => 'fcitx' 'XMODIFIERS' => '@im=fcitx' 'IM_CONFIG_PHASE' => '2' 'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME' 'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1' 'BAMF_DESKTOP_FILE_HINT' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'SNAP_REEXEC' => '' 'GIO_LAUNCHED_DESKTOP_FILE' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'XDG_SEAT' => 'seat0' 'SHLVL' => '1' 'LANGUAGE' => 'zh_CN:zh' 'GDMSESSION' => 'ubuntu' 'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated' 'LOGNAME' => 'linyao' 'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus' 'XDG_RUNTIME_DIR' => '/run/user/1000/snap.phpstorm' 'XAUTHORITY' => '/run/user/1000/gdm/Xauthority' 'SNAP_CONTEXT' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg' 'PATH' => '/home/linyao/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' 'SNAP_VERSION' => '2019.2.4' 'GJS_DEBUG_TOPICS' => 'JS ERROR;JS LOG' 'SNAP_LIBRARY_PATH' => '/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void' 'SESSION_MANAGER' => 'local/linyao-Aspire-E1-572G:@/tmp/.ICE-unix/1510,unix/linyao-Aspire-E1-572G:/tmp/.ICE-unix/1510' 'LESSOPEN' => '| /usr/bin/lesspipe %s' 'GTK_IM_MODULE' => 'fcitx' '_' => './yii' 'PHP_SELF' => './yii' 'SCRIPT_NAME' => './yii' 'SCRIPT_FILENAME' => './yii' 'PATH_TRANSLATED' => './yii' 'DOCUMENT_ROOT' => '' 'REQUEST_TIME_FLOAT' => 1573261665.411 'REQUEST_TIME' => 1573261665 'argv' => [ 0 => './yii' 1 => 'migrate' ] 'argc' => 2 ] 2019-11-09 09:08:15 [-][-][-][error][yii\console\UnknownCommandException] yii\base\InvalidRouteException: Unable to resolve the request: init/clear-db in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php:128 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('clear-db', Array) #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('clear-db', Array) #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('init/clear-db', Array) #3 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('init/clear-db', Array) #4 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #5 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #6 {main}
Next yii\console\UnknownCommandException: Unknown command "init/clear-db". in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php:183 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('init/clear-db', Array) #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #2 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #3 {main} 2019-11-09 09:08:15 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [ 'CLUTTER_IM_MODULE' => 'xim' 'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' 'TERMINAL_EMULATOR' => 'JetBrains-JediTerm' 'LESSCLOSE' => '/usr/bin/lesspipe %s %s' 'XDG_MENU_PREFIX' => 'gnome-' 'SNAP_USER_DATA' => '/home/linyao/snap/phpstorm/127' 'LANG' => 'zh_CN.UTF-8' 'DISPLAY' => ':0' 'OLDPWD' => '/snap/phpstorm/127/bin' 'GNOME_SHELL_SESSION_MODE' => 'ubuntu' 'SNAP_REVISION' => '127' 'SNAP_ARCH' => 'amd64' 'SNAP_INSTANCE_KEY' => '' 'USERNAME' => 'linyao' 'XDG_VTNR' => '1' 'GIO_LAUNCHED_DESKTOP_FILE_PID' => '4281' 'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh' 'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path' 'XDG_SESSION_ID' => '1' 'SNAP_USER_COMMON' => '/home/linyao/snap/phpstorm/common' 'USER' => 'linyao' 'DESKTOP_SESSION' => 'ubuntu' 'QT4_IM_MODULE' => 'fcitx' 'TEXTDOMAINDIR' => '/usr/share/locale/' 'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path' 'PWD' => '/home/wwwroot/default/kcbasic' 'HOME' => '/home/linyao' 'TEXTDOMAIN' => 'im-config' 'SNAP' => '/snap/phpstorm/127' 'SSH_AGENT_PID' => '1605' 'QT_ACCESSIBILITY' => '1' 'SNAP_COMMON' => '/var/snap/phpstorm/common' 'XDG_SESSION_TYPE' => 'x11' 'SNAP_NAME' => 'phpstorm' 'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop' 'SNAP_INSTANCE_NAME' => 'phpstorm' 'SNAP_DATA' => '/var/snap/phpstorm/127' 'XDG_SESSION_DESKTOP' => 'ubuntu' 'GJS_DEBUG_OUTPUT' => 'stderr' 'GTK_MODULES' => 'gail:atk-bridge' 'SNAP_COOKIE' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'WINDOWPATH' => '1' 'SHELL' => '/bin/bash' 'TERM' => 'xterm-256color' 'QT_IM_MODULE' => 'fcitx' 'XMODIFIERS' => '@im=fcitx' 'IM_CONFIG_PHASE' => '2' 'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME' 'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1' 'BAMF_DESKTOP_FILE_HINT' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'SNAP_REEXEC' => '' 'GIO_LAUNCHED_DESKTOP_FILE' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'XDG_SEAT' => 'seat0' 'SHLVL' => '1' 'LANGUAGE' => 'zh_CN:zh' 'GDMSESSION' => 'ubuntu' 'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated' 'LOGNAME' => 'linyao' 'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus' 'XDG_RUNTIME_DIR' => '/run/user/1000/snap.phpstorm' 'XAUTHORITY' => '/run/user/1000/gdm/Xauthority' 'SNAP_CONTEXT' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg' 'PATH' => '/home/linyao/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' 'SNAP_VERSION' => '2019.2.4' 'GJS_DEBUG_TOPICS' => 'JS ERROR;JS LOG' 'SNAP_LIBRARY_PATH' => '/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void' 'SESSION_MANAGER' => 'local/linyao-Aspire-E1-572G:@/tmp/.ICE-unix/1510,unix/linyao-Aspire-E1-572G:/tmp/.ICE-unix/1510' 'LESSOPEN' => '| /usr/bin/lesspipe %s' 'GTK_IM_MODULE' => 'fcitx' '_' => './yii' 'PHP_SELF' => './yii' 'SCRIPT_NAME' => './yii' 'SCRIPT_FILENAME' => './yii' 'PATH_TRANSLATED' => './yii' 'DOCUMENT_ROOT' => '' 'REQUEST_TIME_FLOAT' => 1573261695.1649 'REQUEST_TIME' => 1573261695 'argv' => [ 0 => './yii' 1 => 'init/clear-db' ] 'argc' => 2 ] 2019-11-09 09:08:19 [-][-][-][error][yii\console\UnknownCommandException] yii\base\InvalidRouteException: Unable to resolve the request: init/clear_db in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php:128 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('clear_db', Array) #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('clear_db', Array) #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('init/clear_db', Array) #3 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('init/clear_db', Array) #4 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #5 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #6 {main}
Next yii\console\UnknownCommandException: Unknown command "init/clear_db". in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php:183 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('init/clear_db', Array) #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #2 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #3 {main} 2019-11-09 09:08:19 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [ 'CLUTTER_IM_MODULE' => 'xim' 'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' 'TERMINAL_EMULATOR' => 'JetBrains-JediTerm' 'LESSCLOSE' => '/usr/bin/lesspipe %s %s' 'XDG_MENU_PREFIX' => 'gnome-' 'SNAP_USER_DATA' => '/home/linyao/snap/phpstorm/127' 'LANG' => 'zh_CN.UTF-8' 'DISPLAY' => ':0' 'OLDPWD' => '/snap/phpstorm/127/bin' 'GNOME_SHELL_SESSION_MODE' => 'ubuntu' 'SNAP_REVISION' => '127' 'SNAP_ARCH' => 'amd64' 'SNAP_INSTANCE_KEY' => '' 'USERNAME' => 'linyao' 'XDG_VTNR' => '1' 'GIO_LAUNCHED_DESKTOP_FILE_PID' => '4281' 'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh' 'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path' 'XDG_SESSION_ID' => '1' 'SNAP_USER_COMMON' => '/home/linyao/snap/phpstorm/common' 'USER' => 'linyao' 'DESKTOP_SESSION' => 'ubuntu' 'QT4_IM_MODULE' => 'fcitx' 'TEXTDOMAINDIR' => '/usr/share/locale/' 'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path' 'PWD' => '/home/wwwroot/default/kcbasic' 'HOME' => '/home/linyao' 'TEXTDOMAIN' => 'im-config' 'SNAP' => '/snap/phpstorm/127' 'SSH_AGENT_PID' => '1605' 'QT_ACCESSIBILITY' => '1' 'SNAP_COMMON' => '/var/snap/phpstorm/common' 'XDG_SESSION_TYPE' => 'x11' 'SNAP_NAME' => 'phpstorm' 'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop' 'SNAP_INSTANCE_NAME' => 'phpstorm' 'SNAP_DATA' => '/var/snap/phpstorm/127' 'XDG_SESSION_DESKTOP' => 'ubuntu' 'GJS_DEBUG_OUTPUT' => 'stderr' 'GTK_MODULES' => 'gail:atk-bridge' 'SNAP_COOKIE' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'WINDOWPATH' => '1' 'SHELL' => '/bin/bash' 'TERM' => 'xterm-256color' 'QT_IM_MODULE' => 'fcitx' 'XMODIFIERS' => '@im=fcitx' 'IM_CONFIG_PHASE' => '2' 'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME' 'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1' 'BAMF_DESKTOP_FILE_HINT' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'SNAP_REEXEC' => '' 'GIO_LAUNCHED_DESKTOP_FILE' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'XDG_SEAT' => 'seat0' 'SHLVL' => '1' 'LANGUAGE' => 'zh_CN:zh' 'GDMSESSION' => 'ubuntu' 'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated' 'LOGNAME' => 'linyao' 'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus' 'XDG_RUNTIME_DIR' => '/run/user/1000/snap.phpstorm' 'XAUTHORITY' => '/run/user/1000/gdm/Xauthority' 'SNAP_CONTEXT' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg' 'PATH' => '/home/linyao/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' 'SNAP_VERSION' => '2019.2.4' 'GJS_DEBUG_TOPICS' => 'JS ERROR;JS LOG' 'SNAP_LIBRARY_PATH' => '/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void' 'SESSION_MANAGER' => 'local/linyao-Aspire-E1-572G:@/tmp/.ICE-unix/1510,unix/linyao-Aspire-E1-572G:/tmp/.ICE-unix/1510' 'LESSOPEN' => '| /usr/bin/lesspipe %s' 'GTK_IM_MODULE' => 'fcitx' '_' => './yii' 'PHP_SELF' => './yii' 'SCRIPT_NAME' => './yii' 'SCRIPT_FILENAME' => './yii' 'PATH_TRANSLATED' => './yii' 'DOCUMENT_ROOT' => '' 'REQUEST_TIME_FLOAT' => 1573261699.6399 'REQUEST_TIME' => 1573261699 'argv' => [ 0 => './yii' 1 => 'init/clear_db' ] 'argc' => 2 ] 2019-11-09 09:08:22 [-][-][-][error][yii\console\UnknownCommandException] yii\base\InvalidRouteException: Unable to resolve the request: init/clearDb in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php:128 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('clearDb', Array) #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('clearDb', Array) #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('init/clearDb', Array) #3 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('init/clearDb', Array) #4 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #5 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #6 {main}
Next yii\console\UnknownCommandException: Unknown command "init/clearDb". in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php:183 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('init/clearDb', Array) #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #2 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #3 {main} 2019-11-09 09:08:22 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [ 'CLUTTER_IM_MODULE' => 'xim' 'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' 'TERMINAL_EMULATOR' => 'JetBrains-JediTerm' 'LESSCLOSE' => '/usr/bin/lesspipe %s %s' 'XDG_MENU_PREFIX' => 'gnome-' 'SNAP_USER_DATA' => '/home/linyao/snap/phpstorm/127' 'LANG' => 'zh_CN.UTF-8' 'DISPLAY' => ':0' 'OLDPWD' => '/snap/phpstorm/127/bin' 'GNOME_SHELL_SESSION_MODE' => 'ubuntu' 'SNAP_REVISION' => '127' 'SNAP_ARCH' => 'amd64' 'SNAP_INSTANCE_KEY' => '' 'USERNAME' => 'linyao' 'XDG_VTNR' => '1' 'GIO_LAUNCHED_DESKTOP_FILE_PID' => '4281' 'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh' 'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path' 'XDG_SESSION_ID' => '1' 'SNAP_USER_COMMON' => '/home/linyao/snap/phpstorm/common' 'USER' => 'linyao' 'DESKTOP_SESSION' => 'ubuntu' 'QT4_IM_MODULE' => 'fcitx' 'TEXTDOMAINDIR' => '/usr/share/locale/' 'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path' 'PWD' => '/home/wwwroot/default/kcbasic' 'HOME' => '/home/linyao' 'TEXTDOMAIN' => 'im-config' 'SNAP' => '/snap/phpstorm/127' 'SSH_AGENT_PID' => '1605' 'QT_ACCESSIBILITY' => '1' 'SNAP_COMMON' => '/var/snap/phpstorm/common' 'XDG_SESSION_TYPE' => 'x11' 'SNAP_NAME' => 'phpstorm' 'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop' 'SNAP_INSTANCE_NAME' => 'phpstorm' 'SNAP_DATA' => '/var/snap/phpstorm/127' 'XDG_SESSION_DESKTOP' => 'ubuntu' 'GJS_DEBUG_OUTPUT' => 'stderr' 'GTK_MODULES' => 'gail:atk-bridge' 'SNAP_COOKIE' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'WINDOWPATH' => '1' 'SHELL' => '/bin/bash' 'TERM' => 'xterm-256color' 'QT_IM_MODULE' => 'fcitx' 'XMODIFIERS' => '@im=fcitx' 'IM_CONFIG_PHASE' => '2' 'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME' 'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1' 'BAMF_DESKTOP_FILE_HINT' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'SNAP_REEXEC' => '' 'GIO_LAUNCHED_DESKTOP_FILE' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'XDG_SEAT' => 'seat0' 'SHLVL' => '1' 'LANGUAGE' => 'zh_CN:zh' 'GDMSESSION' => 'ubuntu' 'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated' 'LOGNAME' => 'linyao' 'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus' 'XDG_RUNTIME_DIR' => '/run/user/1000/snap.phpstorm' 'XAUTHORITY' => '/run/user/1000/gdm/Xauthority' 'SNAP_CONTEXT' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg' 'PATH' => '/home/linyao/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' 'SNAP_VERSION' => '2019.2.4' 'GJS_DEBUG_TOPICS' => 'JS ERROR;JS LOG' 'SNAP_LIBRARY_PATH' => '/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void' 'SESSION_MANAGER' => 'local/linyao-Aspire-E1-572G:@/tmp/.ICE-unix/1510,unix/linyao-Aspire-E1-572G:/tmp/.ICE-unix/1510' 'LESSOPEN' => '| /usr/bin/lesspipe %s' 'GTK_IM_MODULE' => 'fcitx' '_' => './yii' 'PHP_SELF' => './yii' 'SCRIPT_NAME' => './yii' 'SCRIPT_FILENAME' => './yii' 'PATH_TRANSLATED' => './yii' 'DOCUMENT_ROOT' => '' 'REQUEST_TIME_FLOAT' => 1573261702.8561 'REQUEST_TIME' => 1573261702 'argv' => [ 0 => './yii' 1 => 'init/clearDb' ] 'argc' => 2 ] 2019-11-11 17:03:53 [-][-][-][error][yii\base\UnknownMethodException] yii\base\UnknownMethodException: Calling unknown method: m191111_084603_create_table_goods::mediumInteger() in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Component.php:300 Stack trace: #0 /home/wwwroot/default/kcbasic/console/migrations/m191111_084603_create_table_goods.php(26): yii\base\Component->__call('mediumInteger', Array) #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(724): m191111_084603_create_table_goods->up() #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(200): yii\console\controllers\BaseMigrateController->migrateUp('m191111_084603_...') #3 [internal function]: yii\console\controllers\BaseMigrateController->actionUp(0) #4 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #5 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #6 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('', Array) #7 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('', Array) #8 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('migrate', Array) #9 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('migrate', Array) #10 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #11 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #12 {main} 2019-11-11 17:03:52 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [ 'CLUTTER_IM_MODULE' => 'xim' 'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' 'TERMINAL_EMULATOR' => 'JetBrains-JediTerm' 'LESSCLOSE' => '/usr/bin/lesspipe %s %s' 'XDG_MENU_PREFIX' => 'gnome-' 'SNAP_USER_DATA' => '/home/linyao/snap/phpstorm/127' 'LANG' => 'zh_CN.UTF-8' 'DISPLAY' => ':0' 'OLDPWD' => '/snap/phpstorm/127/bin' 'GNOME_SHELL_SESSION_MODE' => 'ubuntu' 'SNAP_REVISION' => '127' 'SNAP_ARCH' => 'amd64' 'SNAP_INSTANCE_KEY' => '' 'USERNAME' => 'linyao' 'XDG_VTNR' => '1' 'GIO_LAUNCHED_DESKTOP_FILE_PID' => '10421' 'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh' 'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path' 'XDG_SESSION_ID' => '1' 'SNAP_USER_COMMON' => '/home/linyao/snap/phpstorm/common' 'USER' => 'linyao' 'DESKTOP_SESSION' => 'ubuntu' 'QT4_IM_MODULE' => 'fcitx' 'TEXTDOMAINDIR' => '/usr/share/locale/' 'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path' 'PWD' => '/home/wwwroot/default/kcbasic' 'HOME' => '/home/linyao' 'TEXTDOMAIN' => 'im-config' 'SNAP' => '/snap/phpstorm/127' 'SSH_AGENT_PID' => '1625' 'QT_ACCESSIBILITY' => '1' 'SNAP_COMMON' => '/var/snap/phpstorm/common' 'XDG_SESSION_TYPE' => 'x11' 'SNAP_NAME' => 'phpstorm' 'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop' 'SNAP_INSTANCE_NAME' => 'phpstorm' 'SNAP_DATA' => '/var/snap/phpstorm/127' 'XDG_SESSION_DESKTOP' => 'ubuntu' 'GJS_DEBUG_OUTPUT' => 'stderr' 'GTK_MODULES' => 'gail:atk-bridge' 'SNAP_COOKIE' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'WINDOWPATH' => '1' 'SHELL' => '/bin/bash' 'TERM' => 'xterm-256color' 'QT_IM_MODULE' => 'fcitx' 'XMODIFIERS' => '@im=fcitx' 'IM_CONFIG_PHASE' => '2' 'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME' 'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1' 'BAMF_DESKTOP_FILE_HINT' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'SNAP_REEXEC' => '' 'GIO_LAUNCHED_DESKTOP_FILE' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'XDG_SEAT' => 'seat0' 'SHLVL' => '1' 'LANGUAGE' => 'zh_CN:zh' 'GDMSESSION' => 'ubuntu' 'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated' 'LOGNAME' => 'linyao' 'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus' 'XDG_RUNTIME_DIR' => '/run/user/1000/snap.phpstorm' 'XAUTHORITY' => '/run/user/1000/gdm/Xauthority' 'SNAP_CONTEXT' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg' 'PATH' => '/home/linyao/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' 'SNAP_VERSION' => '2019.2.4' 'GJS_DEBUG_TOPICS' => 'JS ERROR;JS LOG' 'SNAP_LIBRARY_PATH' => '/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void' 'SESSION_MANAGER' => 'local/linyao-Aspire-E1-572G:@/tmp/.ICE-unix/1532,unix/linyao-Aspire-E1-572G:/tmp/.ICE-unix/1532' 'LESSOPEN' => '| /usr/bin/lesspipe %s' 'GTK_IM_MODULE' => 'fcitx' '_' => './yii' 'PHP_SELF' => './yii' 'SCRIPT_NAME' => './yii' 'SCRIPT_FILENAME' => './yii' 'PATH_TRANSLATED' => './yii' 'DOCUMENT_ROOT' => '' 'REQUEST_TIME_FLOAT' => 1573463032.364 'REQUEST_TIME' => 1573463032 'argv' => [ 0 => './yii' 1 => 'migrate' ] 'argc' => 2 ] 2019-11-11 17:53:44 [-][-][-][error][yii\db\Exception] PDOException: SQLSTATE[42S02]: Base table or view not found: 1051 Unknown table 'ats_goods' in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php:1290 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1290): PDOStatement->execute() #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1091): yii\db\Command->internalExecute('DROP TABLE `ats...') #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Migration.php(351): yii\db\Command->execute() #3 /home/wwwroot/default/kcbasic/console/migrations/m191111_095158_create_table_goods.php(24): yii\db\Migration->dropTable('ats_goods') #4 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(752): m191111_095158_create_table_goods->down() #5 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(262): yii\console\controllers\BaseMigrateController->migrateDown('m191111_095158_...') #6 [internal function]: yii\console\controllers\BaseMigrateController->actionDown(1) #7 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #8 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #9 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('down', Array) #10 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('down', Array) #11 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('migrate/down', Array) #12 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('migrate/down', Array) #13 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #14 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #15 {main}
Next yii\db\Exception: SQLSTATE[42S02]: Base table or view not found: 1051 Unknown table 'ats_goods' The SQL being executed was: DROP TABLE `ats_goods` in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Schema.php:674 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1295): yii\db\Schema->convertException(Object(PDOException), 'DROP TABLE `ats...') #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1091): yii\db\Command->internalExecute('DROP TABLE `ats...') #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Migration.php(351): yii\db\Command->execute() #3 /home/wwwroot/default/kcbasic/console/migrations/m191111_095158_create_table_goods.php(24): yii\db\Migration->dropTable('ats_goods') #4 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(752): m191111_095158_create_table_goods->down() #5 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(262): yii\console\controllers\BaseMigrateController->migrateDown('m191111_095158_...') #6 [internal function]: yii\console\controllers\BaseMigrateController->actionDown(1) #7 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #8 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #9 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('down', Array) #10 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('down', Array) #11 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('migrate/down', Array) #12 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('migrate/down', Array) #13 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #14 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #15 {main} Additional Information: Array ( [0] => 42S02 [1] => 1051 [2] => Unknown table 'ats_goods' )
2019-11-11 17:53:42 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [ 'CLUTTER_IM_MODULE' => 'xim' 'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' 'TERMINAL_EMULATOR' => 'JetBrains-JediTerm' 'LESSCLOSE' => '/usr/bin/lesspipe %s %s' 'XDG_MENU_PREFIX' => 'gnome-' 'SNAP_USER_DATA' => '/home/linyao/snap/phpstorm/127' 'LANG' => 'zh_CN.UTF-8' 'DISPLAY' => ':0' 'OLDPWD' => '/snap/phpstorm/127/bin' 'GNOME_SHELL_SESSION_MODE' => 'ubuntu' 'SNAP_REVISION' => '127' 'SNAP_ARCH' => 'amd64' 'SNAP_INSTANCE_KEY' => '' 'USERNAME' => 'linyao' 'XDG_VTNR' => '1' 'GIO_LAUNCHED_DESKTOP_FILE_PID' => '10421' 'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh' 'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path' 'XDG_SESSION_ID' => '1' 'SNAP_USER_COMMON' => '/home/linyao/snap/phpstorm/common' 'USER' => 'linyao' 'DESKTOP_SESSION' => 'ubuntu' 'QT4_IM_MODULE' => 'fcitx' 'TEXTDOMAINDIR' => '/usr/share/locale/' 'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path' 'PWD' => '/home/wwwroot/default/kcbasic' 'HOME' => '/home/linyao' 'TEXTDOMAIN' => 'im-config' 'SNAP' => '/snap/phpstorm/127' 'SSH_AGENT_PID' => '1625' 'QT_ACCESSIBILITY' => '1' 'SNAP_COMMON' => '/var/snap/phpstorm/common' 'XDG_SESSION_TYPE' => 'x11' 'SNAP_NAME' => 'phpstorm' 'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop' 'SNAP_INSTANCE_NAME' => 'phpstorm' 'SNAP_DATA' => '/var/snap/phpstorm/127' 'XDG_SESSION_DESKTOP' => 'ubuntu' 'GJS_DEBUG_OUTPUT' => 'stderr' 'GTK_MODULES' => 'gail:atk-bridge' 'SNAP_COOKIE' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'WINDOWPATH' => '1' 'SHELL' => '/bin/bash' 'TERM' => 'xterm-256color' 'QT_IM_MODULE' => 'fcitx' 'XMODIFIERS' => '@im=fcitx' 'IM_CONFIG_PHASE' => '2' 'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME' 'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1' 'BAMF_DESKTOP_FILE_HINT' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'SNAP_REEXEC' => '' 'GIO_LAUNCHED_DESKTOP_FILE' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'XDG_SEAT' => 'seat0' 'SHLVL' => '1' 'LANGUAGE' => 'zh_CN:zh' 'GDMSESSION' => 'ubuntu' 'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated' 'LOGNAME' => 'linyao' 'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus' 'XDG_RUNTIME_DIR' => '/run/user/1000/snap.phpstorm' 'XAUTHORITY' => '/run/user/1000/gdm/Xauthority' 'SNAP_CONTEXT' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg' 'PATH' => '/home/linyao/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' 'SNAP_VERSION' => '2019.2.4' 'GJS_DEBUG_TOPICS' => 'JS ERROR;JS LOG' 'SNAP_LIBRARY_PATH' => '/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void' 'SESSION_MANAGER' => 'local/linyao-Aspire-E1-572G:@/tmp/.ICE-unix/1532,unix/linyao-Aspire-E1-572G:/tmp/.ICE-unix/1532' 'LESSOPEN' => '| /usr/bin/lesspipe %s' 'GTK_IM_MODULE' => 'fcitx' '_' => './yii' 'PHP_SELF' => './yii' 'SCRIPT_NAME' => './yii' 'SCRIPT_FILENAME' => './yii' 'PATH_TRANSLATED' => './yii' 'DOCUMENT_ROOT' => '' 'REQUEST_TIME_FLOAT' => 1573466022.9587 'REQUEST_TIME' => 1573466022 'argv' => [ 0 => './yii' 1 => 'migrate/down' ] 'argc' => 2 ] 2019-11-11 17:54:20 [-][-][-][error][yii\db\Exception] PDOException: SQLSTATE[42S02]: Base table or view not found: 1051 Unknown table 'ats_goods' in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php:1290 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1290): PDOStatement->execute() #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1091): yii\db\Command->internalExecute('DROP TABLE `ats...') #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Migration.php(351): yii\db\Command->execute() #3 /home/wwwroot/default/kcbasic/console/migrations/m191111_095158_create_table_goods.php(24): yii\db\Migration->dropTable('ats_goods') #4 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(752): m191111_095158_create_table_goods->down() #5 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(262): yii\console\controllers\BaseMigrateController->migrateDown('m191111_095158_...') #6 [internal function]: yii\console\controllers\BaseMigrateController->actionDown(1) #7 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #8 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #9 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('down', Array) #10 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('down', Array) #11 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('migrate/down', Array) #12 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('migrate/down', Array) #13 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #14 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #15 {main}
Next yii\db\Exception: SQLSTATE[42S02]: Base table or view not found: 1051 Unknown table 'ats_goods' The SQL being executed was: DROP TABLE `ats_goods` in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Schema.php:674 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1295): yii\db\Schema->convertException(Object(PDOException), 'DROP TABLE `ats...') #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1091): yii\db\Command->internalExecute('DROP TABLE `ats...') #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Migration.php(351): yii\db\Command->execute() #3 /home/wwwroot/default/kcbasic/console/migrations/m191111_095158_create_table_goods.php(24): yii\db\Migration->dropTable('ats_goods') #4 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(752): m191111_095158_create_table_goods->down() #5 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(262): yii\console\controllers\BaseMigrateController->migrateDown('m191111_095158_...') #6 [internal function]: yii\console\controllers\BaseMigrateController->actionDown(1) #7 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #8 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #9 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('down', Array) #10 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('down', Array) #11 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('migrate/down', Array) #12 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('migrate/down', Array) #13 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #14 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #15 {main} Additional Information: Array ( [0] => 42S02 [1] => 1051 [2] => Unknown table 'ats_goods' )
2019-11-11 17:54:18 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [ 'CLUTTER_IM_MODULE' => 'xim' 'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' 'TERMINAL_EMULATOR' => 'JetBrains-JediTerm' 'LESSCLOSE' => '/usr/bin/lesspipe %s %s' 'XDG_MENU_PREFIX' => 'gnome-' 'SNAP_USER_DATA' => '/home/linyao/snap/phpstorm/127' 'LANG' => 'zh_CN.UTF-8' 'DISPLAY' => ':0' 'OLDPWD' => '/snap/phpstorm/127/bin' 'GNOME_SHELL_SESSION_MODE' => 'ubuntu' 'SNAP_REVISION' => '127' 'SNAP_ARCH' => 'amd64' 'SNAP_INSTANCE_KEY' => '' 'USERNAME' => 'linyao' 'XDG_VTNR' => '1' 'GIO_LAUNCHED_DESKTOP_FILE_PID' => '10421' 'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh' 'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path' 'XDG_SESSION_ID' => '1' 'SNAP_USER_COMMON' => '/home/linyao/snap/phpstorm/common' 'USER' => 'linyao' 'DESKTOP_SESSION' => 'ubuntu' 'QT4_IM_MODULE' => 'fcitx' 'TEXTDOMAINDIR' => '/usr/share/locale/' 'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path' 'PWD' => '/home/wwwroot/default/kcbasic' 'HOME' => '/home/linyao' 'TEXTDOMAIN' => 'im-config' 'SNAP' => '/snap/phpstorm/127' 'SSH_AGENT_PID' => '1625' 'QT_ACCESSIBILITY' => '1' 'SNAP_COMMON' => '/var/snap/phpstorm/common' 'XDG_SESSION_TYPE' => 'x11' 'SNAP_NAME' => 'phpstorm' 'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop' 'SNAP_INSTANCE_NAME' => 'phpstorm' 'SNAP_DATA' => '/var/snap/phpstorm/127' 'XDG_SESSION_DESKTOP' => 'ubuntu' 'GJS_DEBUG_OUTPUT' => 'stderr' 'GTK_MODULES' => 'gail:atk-bridge' 'SNAP_COOKIE' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'WINDOWPATH' => '1' 'SHELL' => '/bin/bash' 'TERM' => 'xterm-256color' 'QT_IM_MODULE' => 'fcitx' 'XMODIFIERS' => '@im=fcitx' 'IM_CONFIG_PHASE' => '2' 'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME' 'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1' 'BAMF_DESKTOP_FILE_HINT' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'SNAP_REEXEC' => '' 'GIO_LAUNCHED_DESKTOP_FILE' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'XDG_SEAT' => 'seat0' 'SHLVL' => '1' 'LANGUAGE' => 'zh_CN:zh' 'GDMSESSION' => 'ubuntu' 'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated' 'LOGNAME' => 'linyao' 'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus' 'XDG_RUNTIME_DIR' => '/run/user/1000/snap.phpstorm' 'XAUTHORITY' => '/run/user/1000/gdm/Xauthority' 'SNAP_CONTEXT' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg' 'PATH' => '/home/linyao/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' 'SNAP_VERSION' => '2019.2.4' 'GJS_DEBUG_TOPICS' => 'JS ERROR;JS LOG' 'SNAP_LIBRARY_PATH' => '/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void' 'SESSION_MANAGER' => 'local/linyao-Aspire-E1-572G:@/tmp/.ICE-unix/1532,unix/linyao-Aspire-E1-572G:/tmp/.ICE-unix/1532' 'LESSOPEN' => '| /usr/bin/lesspipe %s' 'GTK_IM_MODULE' => 'fcitx' '_' => './yii' 'PHP_SELF' => './yii' 'SCRIPT_NAME' => './yii' 'SCRIPT_FILENAME' => './yii' 'PATH_TRANSLATED' => './yii' 'DOCUMENT_ROOT' => '' 'REQUEST_TIME_FLOAT' => 1573466058.7333 'REQUEST_TIME' => 1573466058 'argv' => [ 0 => './yii' 1 => 'migrate/down' ] 'argc' => 2 ] 2019-11-11 17:56:01 [-][-][-][error][yii\db\Exception] PDOException: SQLSTATE[42S02]: Base table or view not found: 1051 Unknown table 'ats_goods' in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php:1290 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1290): PDOStatement->execute() #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1091): yii\db\Command->internalExecute('DROP TABLE `ats...') #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Migration.php(351): yii\db\Command->execute() #3 /home/wwwroot/default/kcbasic/console/migrations/m191111_095158_create_table_goods.php(24): yii\db\Migration->dropTable('ats_goods') #4 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(752): m191111_095158_create_table_goods->down() #5 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(262): yii\console\controllers\BaseMigrateController->migrateDown('m191111_095158_...') #6 [internal function]: yii\console\controllers\BaseMigrateController->actionDown(1) #7 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #8 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #9 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('down', Array) #10 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('down', Array) #11 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('migrate/down', Array) #12 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('migrate/down', Array) #13 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #14 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #15 {main}
Next yii\db\Exception: SQLSTATE[42S02]: Base table or view not found: 1051 Unknown table 'ats_goods' The SQL being executed was: DROP TABLE `ats_goods` in /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Schema.php:674 Stack trace: #0 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1295): yii\db\Schema->convertException(Object(PDOException), 'DROP TABLE `ats...') #1 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Command.php(1091): yii\db\Command->internalExecute('DROP TABLE `ats...') #2 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/db/Migration.php(351): yii\db\Command->execute() #3 /home/wwwroot/default/kcbasic/console/migrations/m191111_095158_create_table_goods.php(24): yii\db\Migration->dropTable('ats_goods') #4 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(752): m191111_095158_create_table_goods->down() #5 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(262): yii\console\controllers\BaseMigrateController->migrateDown('m191111_095158_...') #6 [internal function]: yii\console\controllers\BaseMigrateController->actionDown(1) #7 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #8 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #9 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('down', Array) #10 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('down', Array) #11 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('migrate/down', Array) #12 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('migrate/down', Array) #13 /home/wwwroot/default/kcbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #14 /home/wwwroot/default/kcbasic/yii(23): yii\base\Application->run() #15 {main} Additional Information: Array ( [0] => 42S02 [1] => 1051 [2] => Unknown table 'ats_goods' )
2019-11-11 17:56:00 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [ 'CLUTTER_IM_MODULE' => 'xim' 'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' 'TERMINAL_EMULATOR' => 'JetBrains-JediTerm' 'LESSCLOSE' => '/usr/bin/lesspipe %s %s' 'XDG_MENU_PREFIX' => 'gnome-' 'SNAP_USER_DATA' => '/home/linyao/snap/phpstorm/127' 'LANG' => 'zh_CN.UTF-8' 'DISPLAY' => ':0' 'OLDPWD' => '/snap/phpstorm/127/bin' 'GNOME_SHELL_SESSION_MODE' => 'ubuntu' 'SNAP_REVISION' => '127' 'SNAP_ARCH' => 'amd64' 'SNAP_INSTANCE_KEY' => '' 'USERNAME' => 'linyao' 'XDG_VTNR' => '1' 'GIO_LAUNCHED_DESKTOP_FILE_PID' => '10421' 'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh' 'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path' 'XDG_SESSION_ID' => '1' 'SNAP_USER_COMMON' => '/home/linyao/snap/phpstorm/common' 'USER' => 'linyao' 'DESKTOP_SESSION' => 'ubuntu' 'QT4_IM_MODULE' => 'fcitx' 'TEXTDOMAINDIR' => '/usr/share/locale/' 'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path' 'PWD' => '/home/wwwroot/default/kcbasic' 'HOME' => '/home/linyao' 'TEXTDOMAIN' => 'im-config' 'SNAP' => '/snap/phpstorm/127' 'SSH_AGENT_PID' => '1625' 'QT_ACCESSIBILITY' => '1' 'SNAP_COMMON' => '/var/snap/phpstorm/common' 'XDG_SESSION_TYPE' => 'x11' 'SNAP_NAME' => 'phpstorm' 'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop' 'SNAP_INSTANCE_NAME' => 'phpstorm' 'SNAP_DATA' => '/var/snap/phpstorm/127' 'XDG_SESSION_DESKTOP' => 'ubuntu' 'GJS_DEBUG_OUTPUT' => 'stderr' 'GTK_MODULES' => 'gail:atk-bridge' 'SNAP_COOKIE' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'WINDOWPATH' => '1' 'SHELL' => '/bin/bash' 'TERM' => 'xterm-256color' 'QT_IM_MODULE' => 'fcitx' 'XMODIFIERS' => '@im=fcitx' 'IM_CONFIG_PHASE' => '2' 'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME' 'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1' 'BAMF_DESKTOP_FILE_HINT' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'SNAP_REEXEC' => '' 'GIO_LAUNCHED_DESKTOP_FILE' => '/var/lib/snapd/desktop/applications/phpstorm_phpstorm.desktop' 'XDG_SEAT' => 'seat0' 'SHLVL' => '1' 'LANGUAGE' => 'zh_CN:zh' 'GDMSESSION' => 'ubuntu' 'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated' 'LOGNAME' => 'linyao' 'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus' 'XDG_RUNTIME_DIR' => '/run/user/1000/snap.phpstorm' 'XAUTHORITY' => '/run/user/1000/gdm/Xauthority' 'SNAP_CONTEXT' => 'gxQG7P1hHywM6xF4P5RHYnLpdNPLW3Bbhl18DyvxpJCs' 'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg' 'PATH' => '/home/linyao/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' 'SNAP_VERSION' => '2019.2.4' 'GJS_DEBUG_TOPICS' => 'JS ERROR;JS LOG' 'SNAP_LIBRARY_PATH' => '/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void' 'SESSION_MANAGER' => 'local/linyao-Aspire-E1-572G:@/tmp/.ICE-unix/1532,unix/linyao-Aspire-E1-572G:/tmp/.ICE-unix/1532' 'LESSOPEN' => '| /usr/bin/lesspipe %s' 'GTK_IM_MODULE' => 'fcitx' '_' => './yii' 'PHP_SELF' => './yii' 'SCRIPT_NAME' => './yii' 'SCRIPT_FILENAME' => './yii' 'PATH_TRANSLATED' => './yii' 'DOCUMENT_ROOT' => '' 'REQUEST_TIME_FLOAT' => 1573466160.7726 'REQUEST_TIME' => 1573466160 'argv' => [ 0 => './yii' 1 => 'migrate/down' ] 'argc' => 2 ] 2019-12-05 14:04:52 [-][-][-][error][yii\base\ErrorException:2] yii\base\ErrorException: file_get_contents(/home/wwwroot/default/antshop/console/migrations/sql/add_category.sql): failed to open stream: No such file or directory in /home/wwwroot/default/antshop/console/migrations/m190802_072830_add_category.php:14 Stack trace: #0 [internal function]: yii\base\ErrorHandler->handleError(2, 'file_get_conten...', '/home/wwwroot/d...', 14, Array) #1 /home/wwwroot/default/antshop/console/migrations/m190802_072830_add_category.php(14): file_get_contents('/home/wwwroot/d...') #2 /home/wwwroot/default/antshop/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(724): m190802_072830_add_category->up() #3 /home/wwwroot/default/antshop/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(200): yii\console\controllers\BaseMigrateController->migrateUp('m190802_072830_...') #4 [internal function]: yii\console\controllers\BaseMigrateController->actionUp(0) #5 /home/wwwroot/default/antshop/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #6 /home/wwwroot/default/antshop/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #7 /home/wwwroot/default/antshop/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('', Array) #8 /home/wwwroot/default/antshop/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('', Array) #9 /home/wwwroot/default/antshop/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('migrate', Array) #10 /home/wwwroot/default/antshop/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('migrate', Array) #11 /home/wwwroot/default/antshop/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #12 /home/wwwroot/default/antshop/yii(23): yii\base\Application->run() #13 {main} 2019-12-05 14:04:51 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [ 'CLUTTER_IM_MODULE' => 'xim' 'LS_COLORS' => 'bd=38;5;68;1:ca=38;5;17:cd=38;5;132;1:di=38;5;105:do=38;5;127:ex=38;5;80:pi=38;5;126:fi=38;5;167:ln=38;5;63:mh=38;5;99;1:or=48;5;197;38;5;228;1:ow=38;5;220;1:sg=48;5;234;38;5;100;1:su=38;5;9;1:so=38;5;197:st=38;5;86;48;5;234:tw=48;5;235;38;5;139;3:*LS_COLORS=48;5;89;38;5;197;1;3;4;7:*.BAT=38;5;108:*.exe=38;5;196:*.PL=38;5;160:*.asm=38;5;240;1:*.awk=38;5;148;1:*.bash=38;5;173:*.bat=38;5;108:*.c=38;5;110:*.cc=38;5;24;1:*.ii=38;5;24;1:*.cfg=1:*.cl=38;5;204;1:*.coffee=38;5;100;1:*.conf=38;5;221:*.C=38;5;24;1:*.cp=38;5;24;1:*.cpp=38;5;24;1:*.cxx=38;5;24;1:*.c++=38;5;24;1:*.ii=38;5;24;1:*.cs=38;5;74;1:*.css=38;5;91:*.csv=38;5;78:*.ctp=38;5;95:*.diff=48;5;197;38;5;232:*.enc=38;5;192;3:*.eps=38;5;33;1:*.etx=38;5;172:*.ex=38;5;148;1:*.example=38;5;225;1:*.git=38;5;197:*.gitignore=38;5;240:*.go=38;5;111:*.h=38;5;81:*.H=38;5;81:*.hpp=38;5;81:*.hxx=38;5;81:*.h++=38;5;81:*.tcc=38;5;81:*.f=38;5;81:*.for=38;5;81:*.ftn=38;5;81:*.s=38;5;81:*.S=38;5;81:*.sx=38;5;81:*.hi=38;5;240:*.hs=38;5;199;1:*.htm=38;5;125;1:*.html=38;5;9;1:*.info=38;5;101:*.ini=38;5;123:*.java=38;5;142;1:*.jhtm=38;5;125;1:*.js=38;5;42:*.jsm=38;5;42:*.jsm=38;5;42:*.json=38;5;213:*.jsp=38;5;45:*.lisp=38;5;204;1:*.log=38;5;190:*.lua=38;5;34;1:*.m=38;5;130;3:*.mht=38;5;129:*.mm=38;5;130;3:*.M=38;5;130;3:*.map=38;5;58;3:*.markdown=38;5;184:*.md=38;5;184:*.mf=38;5;220;3:*.mfasl=38;5;73:*.mi=38;5;124:*.mkd=38;5;184:*.mtx=38;5;36;3:*.nfo=38;5;220:*.o=38;5;240:*.pacnew=38;5;33:*.patch=48;5;197;38;5;232;1:*.pc=38;5;100:*.pfa=38;5;43:*.pgsql=38;5;222:*.php=38;5;99:*.pl=38;5;214:*.po=38;5;176:*.pot=38;5;206;1:*.plt=38;5;204;1:*.pm=38;5;197;1:*.pod=38;5;172;1:*.py=38;5;41:*.pyc=38;5;245:*.rb=38;5;192:*.rdf=38;5;144:*.rst=38;5;67:*.ru=38;5;142:*.scm=38;5;204;1:*.sed=38;5;130;1:*.sfv=38;5;197:*.sh=38;5;113:*.signature=38;5;206:*.sql=38;5;222:*.srt=38;5;116:*.sty=38;5;58:*.sug=38;5;44:*.t=38;5;28;1:*.tcl=38;5;64;1:*.tdy=38;5;214:*.tex=38;5;172:*.textile=38;5;106:*.tfm=38;5;64:*.tfnt=38;5;140:*.theme=38;5;109:*.txt=38;5;192:*.list=38;5;44:*.save=38;5;240:*.urlview=38;5;85:*.vim=38;5;14:*.vimrc=38;5;13:*.viminfo=38;5;240;1:*.xml=38;5;199:*.yml=38;5;208:*.zsh=38;5;173:*.bashrc=38;5;5:*README=38;5;220;1:*Makefile=38;5;196:*MANIFEST=38;5;243:*pm_to_blib=38;5;240:*.1=38;5;240;1:*.2=38;5;220;1:*.3=38;5;196;1:*.7=38;5;196;1:*.1p=38;5;160:*.3p=38;5;160:*.am=38;5;242:*.in=38;5;242:*.old=38;5;242:*.out=38;5;44;1:*.bmp=38;5;33:*.cdr=38;5;33:*.gif=38;5;33:*.ico=38;5;33:*.jpeg=38;5;33:*.jpg=38;5;33:*.JPG=38;5;33:*.png=38;5;33:*.svg=38;5;33;1:*.xpm=38;5;33:*.32x=38;5;137:*.A64=38;5;82:*.a00=38;5;11:*.a52=38;5;112:*.a64=38;5;82:*.a78=38;5;112:*.adf=38;5;35:*.atr=38;5;213:*.cdi=38;5;124:*.fm2=38;5;35:*.gb=38;5;203:*.gba=38;5;205:*.gbc=38;5;204:*.gel=38;5;83:*.gg=38;5;138:*.ggl=38;5;83:*.j64=38;5;102:*.nds=38;5;199:*.nes=38;5;160:*.rom=38;5;59;1:*.sav=38;5;220:*.sms=38;5;33:*.st=38;5;208;1:*.iso=38;5;9;1:*.nrg=38;5;124:*.qcow=38;5;141:*.VOB=38;5;99:*.IFO=38;5;99:*.BUP=38;5;99:*.MOV=38;5;99:*.3gp=38;5;99:*.3g2=38;5;99:*.asf=38;5;99:*.avi=38;5;99:*.divx=38;5;99:*.f4v=38;5;99:*.flv=38;5;99:*.m2v=38;5;99:*.mkv=38;5;99:*.mov=38;5;99:*.mp4=38;5;99:*.mpg=38;5;99:*.mpeg=38;5;99:*.ogm=38;5;99:*.ogv=38;5;99:*.rmvb=38;5;99:*.sample=38;5;99;1:*.ts=38;5;99:*.vob=38;5;99:*.webm=38;5;99:*.wmv=38;5;99:*.S3M=38;5;69;1:*.aac=38;5;69:*.cue=38;5;69:*.dat=38;5;69:*.dts=38;5;69;1:*.fcm=38;5;69:*.flac=38;5;69;1:*.m3u=38;5;69:*.m3u8=38;5;69:*.m4=38;5;69;3:*.m4a=38;5;69;1:*.mid=38;5;69:*.midi=38;5;69:*.mod=38;5;69:*.mp3=38;5;69:*.oga=38;5;69:*.ogg=38;5;69:*.s3m=38;5;69;1:*.sid=38;5;69;1:*.spl=38;5;69:*.wv=38;5;69:*.wvc=38;5;69:*.ape=38;5;69:*.afm=38;5;58:*.pfb=38;5;58:*.pfm=38;5;58:*.ttf=38;5;66:*.ttc=38;5;66:*.pcf=38;5;65:*.psf=38;5;64:*.bak=38;5;222;1:*.bin=38;5;228:*.pid=38;5;228:*.state=38;5;228:*.swo=38;5;228:*.swp=38;5;228:*.tmp=38;5;228:*.un~=38;5;228:*.zcompdump=38;5;228:*.zwc=38;5;228:*.db=38;5;147:*.dump=38;5;147:*.sqlite=38;5;147:*.typelib=38;5;147:*.7z=38;5;140:*.a=38;5;220:*.apk=38;5;148;3:*.arj=38;5;220:*.bz2=38;5;220:*.deb=38;5;215;1:*.ipk=38;5;220:*.jad=38;5;220:*.jar=38;5;220:*.nth=38;5;2 'TERMINAL_EMULATOR' => 'JetBrains-JediTerm' 'SOCKS_SERVER' => 'socks5://127.0.0.1:7891' 'LANG' => 'zh_CN.UTF-8' 'DISPLAY' => ':0' 'OLDPWD' => '/opt/phpstorm/bin' 'XDG_VTNR' => '1' 'GIO_LAUNCHED_DESKTOP_FILE_PID' => '3930' 'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh' 'XDG_SESSION_ID' => '2' 'XDG_GREETER_DATA_DIR' => '/var/lib/lightdm/data/linyao' 'USER' => 'linyao' 'DESKTOP_SESSION' => 'deepin' 'QT4_IM_MODULE' => 'fcitx' 'PWD' => '/home/wwwroot/default/antshop' 'HOME' => '/home/linyao' 'QT_DBL_CLICK_DIST' => '18' 'XDG_SESSION_TYPE' => 'x11' 'http_proxy' => 'http://127.0.0.1:7890' 'XDG_SESSION_DESKTOP' => 'deepin' 'no_proxy' => 'localhost,127.0.0.0/8,::1,b.antshop.com,b.kcshop.com,f.antbasic.com,b.antbasic.com,' 'DEEPIN_WINE_SCALE' => '1.25' 'DESKTOP_STARTUP_ID' => 'startdde-2941-linyao-PC-phpstorm-0_TIME97043' 'TERM' => 'xterm-256color' 'SHELL' => '/bin/bash' 'XDG_SEAT_PATH' => '/org/freedesktop/DisplayManager/Seat0' 'QT_IM_MODULE' => 'fcitx' 'XMODIFIERS' => '@im=fcitx' 'XDG_CURRENT_DESKTOP' => 'Deepin' 'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1' 'GIO_LAUNCHED_DESKTOP_FILE' => '/usr/share/applications/phpstorm.desktop' 'SHLVL' => '1' 'XDG_SEAT' => 'seat0' 'LANGUAGE' => 'zh_CN' 'GDMSESSION' => 'deepin' 'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated' 'LOGNAME' => 'linyao' 'DBUS_SESSION_BUS_ADDRESS' => 'unix:abstract=/tmp/dbus-oBqp2j0vhj,guid=d7e1b9485b6f0be71733773e5de85060' 'XDG_RUNTIME_DIR' => '/run/user/1000' 'XAUTHORITY' => '/home/linyao/.Xauthority' 'XDG_SESSION_PATH' => '/org/freedesktop/DisplayManager/Session0' 'PATH' => '/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games' 'GTK_IM_MODULE' => 'fcitx' '_' => './yii' 'PHP_SELF' => './yii' 'SCRIPT_NAME' => './yii' 'SCRIPT_FILENAME' => './yii' 'PATH_TRANSLATED' => './yii' 'DOCUMENT_ROOT' => '' 'REQUEST_TIME_FLOAT' => 1575525891.5635 'REQUEST_TIME' => 1575525891 'argv' => [ 0 => './yii' 1 => 'migrate' ] 'argc' => 2 ] 2019-12-14 09:41:31 [-][-][-][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Getting unknown property: yii\console\Application::user in /home/www/Antbasic/vendor/yiisoft/yii2/base/Component.php:154 Stack trace: #0 /home/www/Antbasic/vendor/yiisoft/yii2/di/ServiceLocator.php(77): yii\base\Component->__get('user') #1 /home/www/Antbasic/api/logic/AddressLogic.php(149): yii\di\ServiceLocator->__get('user') #2 /home/www/Antbasic/api/logic/AddressLogic.php(30): api\logic\AddressLogic->findDefault() #3 /home/www/Antbasic/backend/modules/shop/models/ars/Order.php(134): api\logic\AddressLogic->getDefault() #4 /home/www/Antbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(596): backend\modules\shop\models\ars\Order->beforeSave(true) #5 /home/www/Antbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(566): yii\db\ActiveRecord->insertInternal(NULL) #6 /home/www/Antbasic/vendor/yiisoft/yii2/db/BaseActiveRecord.php(678): yii\db\ActiveRecord->insert(true, NULL) #7 /home/www/Antbasic/console/controllers/TestController.php(56): yii\db\BaseActiveRecord->save() #8 [internal function]: console\controllers\TestController->actionOrderGoods() #9 /home/www/Antbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #10 /home/www/Antbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #11 /home/www/Antbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('order-goods', Array) #12 /home/www/Antbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('order-goods', Array) #13 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('test/order-good...', Array) #14 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('test/order-good...', Array) #15 /home/www/Antbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #16 /home/www/Antbasic/yii(23): yii\base\Application->run() #17 {main} 2019-12-14 09:41:31 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [ 'CLUTTER_IM_MODULE' => 'xim' 'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' 'LC_MEASUREMENT' => 'zh_CN.UTF-8' 'LESSCLOSE' => '/usr/bin/lesspipe %s %s' 'LC_PAPER' => 'zh_CN.UTF-8' 'LC_MONETARY' => 'zh_CN.UTF-8' 'XDG_MENU_PREFIX' => 'gnome-' 'LANG' => 'en_US.UTF-8' 'DISPLAY' => ':0' 'GNOME_SHELL_SESSION_MODE' => 'ubuntu' 'COLORTERM' => 'truecolor' 'DESKTOP_AUTOSTART_ID' => '1046463cbd9c6ed29157628375735641200000034850007' 'USERNAME' => 'travis' 'XDG_VTNR' => '2' 'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh' 'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path' 'LC_NAME' => 'zh_CN.UTF-8' 'XDG_SESSION_ID' => '4' 'USER' => 'travis' 'DESKTOP_SESSION' => 'ubuntu' 'QT4_IM_MODULE' => 'fcitx' 'TEXTDOMAINDIR' => '/usr/share/locale/' 'GNOME_TERMINAL_SCREEN' => '/org/gnome/Terminal/screen/2adc74e2_a423_4ce2_9e91_9efc3b61698e' 'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path' 'PWD' => '/home/www/Antbasic' 'HOME' => '/home/travis' 'TEXTDOMAIN' => 'im-config' 'SSH_AGENT_PID' => '1920' 'QT_ACCESSIBILITY' => '1' 'XDG_SESSION_TYPE' => 'x11' 'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop' 'XDG_SESSION_DESKTOP' => 'ubuntu' 'LC_ADDRESS' => 'zh_CN.UTF-8' 'LC_NUMERIC' => 'zh_CN.UTF-8' 'GTK_MODULES' => 'gail:atk-bridge' 'PAPERSIZE' => 'a4' 'WINDOWPATH' => '2' 'VTE_VERSION' => '5202' 'TERM' => 'xterm-256color' 'SHELL' => '/bin/bash' 'QT_IM_MODULE' => 'fcitx' 'XMODIFIERS' => '@im=fcitx' 'IM_CONFIG_PHASE' => '2' 'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME' 'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1' 'GNOME_TERMINAL_SERVICE' => ':1.84' 'XDG_SEAT' => 'seat0' 'SHLVL' => '1' 'LANGUAGE' => 'en_US:en' 'LC_TELEPHONE' => 'zh_CN.UTF-8' 'GDMSESSION' => 'ubuntu' 'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated' 'LOGNAME' => 'travis' 'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus' 'XDG_RUNTIME_DIR' => '/run/user/1000' 'XAUTHORITY' => '/run/user/1000/gdm/Xauthority' 'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg' 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' 'LC_IDENTIFICATION' => 'zh_CN.UTF-8' 'SESSION_MANAGER' => 'local/travis-TM1703:@/tmp/.ICE-unix/3485,unix/travis-TM1703:/tmp/.ICE-unix/3485' 'LESSOPEN' => '| /usr/bin/lesspipe %s' 'GTK_IM_MODULE' => 'fcitx' 'LC_TIME' => 'zh_CN.UTF-8' 'OLDPWD' => '/home/www' '_' => './yii' 'PHP_SELF' => './yii' 'SCRIPT_NAME' => './yii' 'SCRIPT_FILENAME' => './yii' 'PATH_TRANSLATED' => './yii' 'DOCUMENT_ROOT' => '' 'REQUEST_TIME_FLOAT' => 1576287691.9244 'REQUEST_TIME' => 1576287691 'argv' => [ 0 => './yii' 1 => 'test/order-goods' ] 'argc' => 2 ] 2019-12-14 09:58:21 [-][-][-][error][Error] Error: Call to undefined function console\controllers\printError() in /home/www/Antbasic/console/controllers/TestController.php:94 Stack trace: #0 [internal function]: console\controllers\TestController->actionUser() #1 /home/www/Antbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #2 /home/www/Antbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #3 /home/www/Antbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('user', Array) #4 /home/www/Antbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('user', Array) #5 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('test/user', Array) #6 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('test/user', Array) #7 /home/www/Antbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #8 /home/www/Antbasic/yii(23): yii\base\Application->run() #9 {main} 2019-12-14 09:58:21 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [ 'CLUTTER_IM_MODULE' => 'xim' 'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' 'LC_MEASUREMENT' => 'zh_CN.UTF-8' 'LESSCLOSE' => '/usr/bin/lesspipe %s %s' 'LC_PAPER' => 'zh_CN.UTF-8' 'LC_MONETARY' => 'zh_CN.UTF-8' 'XDG_MENU_PREFIX' => 'gnome-' 'LANG' => 'en_US.UTF-8' 'DISPLAY' => ':0' 'GNOME_SHELL_SESSION_MODE' => 'ubuntu' 'COLORTERM' => 'truecolor' 'DESKTOP_AUTOSTART_ID' => '1046463cbd9c6ed29157628375735641200000034850007' 'USERNAME' => 'travis' 'XDG_VTNR' => '2' 'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh' 'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path' 'LC_NAME' => 'zh_CN.UTF-8' 'XDG_SESSION_ID' => '4' 'USER' => 'travis' 'DESKTOP_SESSION' => 'ubuntu' 'QT4_IM_MODULE' => 'fcitx' 'TEXTDOMAINDIR' => '/usr/share/locale/' 'GNOME_TERMINAL_SCREEN' => '/org/gnome/Terminal/screen/2adc74e2_a423_4ce2_9e91_9efc3b61698e' 'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path' 'PWD' => '/home/www/Antbasic' 'HOME' => '/home/travis' 'TEXTDOMAIN' => 'im-config' 'SSH_AGENT_PID' => '1920' 'QT_ACCESSIBILITY' => '1' 'XDG_SESSION_TYPE' => 'x11' 'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop' 'XDG_SESSION_DESKTOP' => 'ubuntu' 'LC_ADDRESS' => 'zh_CN.UTF-8' 'LC_NUMERIC' => 'zh_CN.UTF-8' 'GTK_MODULES' => 'gail:atk-bridge' 'PAPERSIZE' => 'a4' 'WINDOWPATH' => '2' 'VTE_VERSION' => '5202' 'TERM' => 'xterm-256color' 'SHELL' => '/bin/bash' 'QT_IM_MODULE' => 'fcitx' 'XMODIFIERS' => '@im=fcitx' 'IM_CONFIG_PHASE' => '2' 'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME' 'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1' 'GNOME_TERMINAL_SERVICE' => ':1.84' 'XDG_SEAT' => 'seat0' 'SHLVL' => '1' 'LANGUAGE' => 'en_US:en' 'LC_TELEPHONE' => 'zh_CN.UTF-8' 'GDMSESSION' => 'ubuntu' 'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated' 'LOGNAME' => 'travis' 'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus' 'XDG_RUNTIME_DIR' => '/run/user/1000' 'XAUTHORITY' => '/run/user/1000/gdm/Xauthority' 'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg' 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' 'LC_IDENTIFICATION' => 'zh_CN.UTF-8' 'SESSION_MANAGER' => 'local/travis-TM1703:@/tmp/.ICE-unix/3485,unix/travis-TM1703:/tmp/.ICE-unix/3485' 'LESSOPEN' => '| /usr/bin/lesspipe %s' 'GTK_IM_MODULE' => 'fcitx' 'LC_TIME' => 'zh_CN.UTF-8' 'OLDPWD' => '/home/www' '_' => './yii' 'PHP_SELF' => './yii' 'SCRIPT_NAME' => './yii' 'SCRIPT_FILENAME' => './yii' 'PATH_TRANSLATED' => './yii' 'DOCUMENT_ROOT' => '' 'REQUEST_TIME_FLOAT' => 1576288701.6889 'REQUEST_TIME' => 1576288701 'argv' => [ 0 => './yii' 1 => 'test/user' ] 'argc' => 2 ] 2019-12-14 11:15:14 [-][-][-][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Getting unknown property: yii\console\Application::user in /home/www/Antbasic/vendor/yiisoft/yii2/base/Component.php:154 Stack trace: #0 /home/www/Antbasic/vendor/yiisoft/yii2/di/ServiceLocator.php(77): yii\base\Component->__get('user') #1 /home/www/Antbasic/api/logic/AddressLogic.php(149): yii\di\ServiceLocator->__get('user') #2 /home/www/Antbasic/api/logic/AddressLogic.php(30): api\logic\AddressLogic->findDefault() #3 /home/www/Antbasic/backend/modules/shop/models/ars/Order.php(134): api\logic\AddressLogic->getDefault() #4 /home/www/Antbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(596): backend\modules\shop\models\ars\Order->beforeSave(true) #5 /home/www/Antbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(566): yii\db\ActiveRecord->insertInternal(NULL) #6 /home/www/Antbasic/vendor/yiisoft/yii2/db/BaseActiveRecord.php(678): yii\db\ActiveRecord->insert(true, NULL) #7 /home/www/Antbasic/console/controllers/TestController.php(60): yii\db\BaseActiveRecord->save() #8 [internal function]: console\controllers\TestController->actionOrderGoods() #9 /home/www/Antbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #10 /home/www/Antbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #11 /home/www/Antbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('order-goods', Array) #12 /home/www/Antbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('order-goods', Array) #13 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('test/order-good...', Array) #14 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('test/order-good...', Array) #15 /home/www/Antbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #16 /home/www/Antbasic/yii(23): yii\base\Application->run() #17 {main} 2019-12-14 11:15:14 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [ 'CLUTTER_IM_MODULE' => 'xim' 'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' 'LC_MEASUREMENT' => 'zh_CN.UTF-8' 'LESSCLOSE' => '/usr/bin/lesspipe %s %s' 'LC_PAPER' => 'zh_CN.UTF-8' 'LC_MONETARY' => 'zh_CN.UTF-8' 'XDG_MENU_PREFIX' => 'gnome-' 'LANG' => 'en_US.UTF-8' 'DISPLAY' => ':0' 'GNOME_SHELL_SESSION_MODE' => 'ubuntu' 'COLORTERM' => 'truecolor' 'DESKTOP_AUTOSTART_ID' => '1046463cbd9c6ed29157628375735641200000034850007' 'USERNAME' => 'travis' 'XDG_VTNR' => '2' 'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh' 'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path' 'LC_NAME' => 'zh_CN.UTF-8' 'XDG_SESSION_ID' => '4' 'USER' => 'travis' 'DESKTOP_SESSION' => 'ubuntu' 'QT4_IM_MODULE' => 'fcitx' 'TEXTDOMAINDIR' => '/usr/share/locale/' 'GNOME_TERMINAL_SCREEN' => '/org/gnome/Terminal/screen/2adc74e2_a423_4ce2_9e91_9efc3b61698e' 'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path' 'PWD' => '/home/www/Antbasic' 'HOME' => '/home/travis' 'TEXTDOMAIN' => 'im-config' 'SSH_AGENT_PID' => '1920' 'QT_ACCESSIBILITY' => '1' 'XDG_SESSION_TYPE' => 'x11' 'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop' 'XDG_SESSION_DESKTOP' => 'ubuntu' 'LC_ADDRESS' => 'zh_CN.UTF-8' 'LC_NUMERIC' => 'zh_CN.UTF-8' 'GTK_MODULES' => 'gail:atk-bridge' 'PAPERSIZE' => 'a4' 'WINDOWPATH' => '2' 'VTE_VERSION' => '5202' 'TERM' => 'xterm-256color' 'SHELL' => '/bin/bash' 'QT_IM_MODULE' => 'fcitx' 'XMODIFIERS' => '@im=fcitx' 'IM_CONFIG_PHASE' => '2' 'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME' 'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1' 'GNOME_TERMINAL_SERVICE' => ':1.84' 'XDG_SEAT' => 'seat0' 'SHLVL' => '1' 'LANGUAGE' => 'en_US:en' 'LC_TELEPHONE' => 'zh_CN.UTF-8' 'GDMSESSION' => 'ubuntu' 'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated' 'LOGNAME' => 'travis' 'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus' 'XDG_RUNTIME_DIR' => '/run/user/1000' 'XAUTHORITY' => '/run/user/1000/gdm/Xauthority' 'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg' 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' 'LC_IDENTIFICATION' => 'zh_CN.UTF-8' 'SESSION_MANAGER' => 'local/travis-TM1703:@/tmp/.ICE-unix/3485,unix/travis-TM1703:/tmp/.ICE-unix/3485' 'LESSOPEN' => '| /usr/bin/lesspipe %s' 'GTK_IM_MODULE' => 'fcitx' 'LC_TIME' => 'zh_CN.UTF-8' 'OLDPWD' => '/home/www' '_' => './yii' 'PHP_SELF' => './yii' 'SCRIPT_NAME' => './yii' 'SCRIPT_FILENAME' => './yii' 'PATH_TRANSLATED' => './yii' 'DOCUMENT_ROOT' => '' 'REQUEST_TIME_FLOAT' => 1576293314.3808 'REQUEST_TIME' => 1576293314 'argv' => [ 0 => './yii' 1 => 'test/order-goods' ] 'argc' => 2 ] 2019-12-14 11:19:53 [-][-][-][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Getting unknown property: yii\console\Application::user in /home/www/Antbasic/vendor/yiisoft/yii2/base/Component.php:154 Stack trace: #0 /home/www/Antbasic/vendor/yiisoft/yii2/di/ServiceLocator.php(77): yii\base\Component->__get('user') #1 /home/www/Antbasic/api/logic/AddressLogic.php(149): yii\di\ServiceLocator->__get('user') #2 /home/www/Antbasic/api/logic/AddressLogic.php(30): api\logic\AddressLogic->findDefault() #3 /home/www/Antbasic/backend/modules/shop/models/ars/Order.php(134): api\logic\AddressLogic->getDefault() #4 /home/www/Antbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(596): backend\modules\shop\models\ars\Order->beforeSave(true) #5 /home/www/Antbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(566): yii\db\ActiveRecord->insertInternal(NULL) #6 /home/www/Antbasic/vendor/yiisoft/yii2/db/BaseActiveRecord.php(678): yii\db\ActiveRecord->insert(true, NULL) #7 /home/www/Antbasic/console/controllers/TestController.php(60): yii\db\BaseActiveRecord->save() #8 [internal function]: console\controllers\TestController->actionOrderGoods() #9 /home/www/Antbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #10 /home/www/Antbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #11 /home/www/Antbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('order-goods', Array) #12 /home/www/Antbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('order-goods', Array) #13 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('test/order-good...', Array) #14 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('test/order-good...', Array) #15 /home/www/Antbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #16 /home/www/Antbasic/yii(23): yii\base\Application->run() #17 {main} 2019-12-14 11:19:53 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [ 'CLUTTER_IM_MODULE' => 'xim' 'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' 'LC_MEASUREMENT' => 'zh_CN.UTF-8' 'LESSCLOSE' => '/usr/bin/lesspipe %s %s' 'LC_PAPER' => 'zh_CN.UTF-8' 'LC_MONETARY' => 'zh_CN.UTF-8' 'XDG_MENU_PREFIX' => 'gnome-' 'LANG' => 'en_US.UTF-8' 'DISPLAY' => ':0' 'GNOME_SHELL_SESSION_MODE' => 'ubuntu' 'COLORTERM' => 'truecolor' 'DESKTOP_AUTOSTART_ID' => '1046463cbd9c6ed29157628375735641200000034850007' 'USERNAME' => 'travis' 'XDG_VTNR' => '2' 'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh' 'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path' 'LC_NAME' => 'zh_CN.UTF-8' 'XDG_SESSION_ID' => '4' 'USER' => 'travis' 'DESKTOP_SESSION' => 'ubuntu' 'QT4_IM_MODULE' => 'fcitx' 'TEXTDOMAINDIR' => '/usr/share/locale/' 'GNOME_TERMINAL_SCREEN' => '/org/gnome/Terminal/screen/2adc74e2_a423_4ce2_9e91_9efc3b61698e' 'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path' 'PWD' => '/home/www/Antbasic' 'HOME' => '/home/travis' 'TEXTDOMAIN' => 'im-config' 'SSH_AGENT_PID' => '1920' 'QT_ACCESSIBILITY' => '1' 'XDG_SESSION_TYPE' => 'x11' 'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop' 'XDG_SESSION_DESKTOP' => 'ubuntu' 'LC_ADDRESS' => 'zh_CN.UTF-8' 'LC_NUMERIC' => 'zh_CN.UTF-8' 'GTK_MODULES' => 'gail:atk-bridge' 'PAPERSIZE' => 'a4' 'WINDOWPATH' => '2' 'VTE_VERSION' => '5202' 'TERM' => 'xterm-256color' 'SHELL' => '/bin/bash' 'QT_IM_MODULE' => 'fcitx' 'XMODIFIERS' => '@im=fcitx' 'IM_CONFIG_PHASE' => '2' 'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME' 'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1' 'GNOME_TERMINAL_SERVICE' => ':1.84' 'XDG_SEAT' => 'seat0' 'SHLVL' => '1' 'LANGUAGE' => 'en_US:en' 'LC_TELEPHONE' => 'zh_CN.UTF-8' 'GDMSESSION' => 'ubuntu' 'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated' 'LOGNAME' => 'travis' 'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus' 'XDG_RUNTIME_DIR' => '/run/user/1000' 'XAUTHORITY' => '/run/user/1000/gdm/Xauthority' 'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg' 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' 'LC_IDENTIFICATION' => 'zh_CN.UTF-8' 'SESSION_MANAGER' => 'local/travis-TM1703:@/tmp/.ICE-unix/3485,unix/travis-TM1703:/tmp/.ICE-unix/3485' 'LESSOPEN' => '| /usr/bin/lesspipe %s' 'GTK_IM_MODULE' => 'fcitx' 'LC_TIME' => 'zh_CN.UTF-8' 'OLDPWD' => '/home/www' '_' => './yii' 'PHP_SELF' => './yii' 'SCRIPT_NAME' => './yii' 'SCRIPT_FILENAME' => './yii' 'PATH_TRANSLATED' => './yii' 'DOCUMENT_ROOT' => '' 'REQUEST_TIME_FLOAT' => 1576293593.417 'REQUEST_TIME' => 1576293593 'argv' => [ 0 => './yii' 1 => 'test/order-goods' ] 'argc' => 2 ] 2019-12-14 11:21:12 [-][-][-][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Getting unknown property: yii\console\Application::user in /home/www/Antbasic/vendor/yiisoft/yii2/base/Component.php:154 Stack trace: #0 /home/www/Antbasic/vendor/yiisoft/yii2/di/ServiceLocator.php(77): yii\base\Component->__get('user') #1 /home/www/Antbasic/api/logic/AddressLogic.php(149): yii\di\ServiceLocator->__get('user') #2 /home/www/Antbasic/api/logic/AddressLogic.php(30): api\logic\AddressLogic->findDefault() #3 /home/www/Antbasic/backend/modules/shop/models/ars/Order.php(134): api\logic\AddressLogic->getDefault() #4 /home/www/Antbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(596): backend\modules\shop\models\ars\Order->beforeSave(true) #5 /home/www/Antbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(566): yii\db\ActiveRecord->insertInternal(NULL) #6 /home/www/Antbasic/vendor/yiisoft/yii2/db/BaseActiveRecord.php(678): yii\db\ActiveRecord->insert(true, NULL) #7 /home/www/Antbasic/console/controllers/TestController.php(60): yii\db\BaseActiveRecord->save() #8 [internal function]: console\controllers\TestController->actionOrderGoods() #9 /home/www/Antbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #10 /home/www/Antbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #11 /home/www/Antbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('order-goods', Array) #12 /home/www/Antbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('order-goods', Array) #13 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('test/order-good...', Array) #14 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('test/order-good...', Array) #15 /home/www/Antbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #16 /home/www/Antbasic/yii(23): yii\base\Application->run() #17 {main} 2019-12-14 11:21:12 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [ 'CLUTTER_IM_MODULE' => 'xim' 'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' 'LC_MEASUREMENT' => 'zh_CN.UTF-8' 'LESSCLOSE' => '/usr/bin/lesspipe %s %s' 'LC_PAPER' => 'zh_CN.UTF-8' 'LC_MONETARY' => 'zh_CN.UTF-8' 'XDG_MENU_PREFIX' => 'gnome-' 'LANG' => 'en_US.UTF-8' 'DISPLAY' => ':0' 'GNOME_SHELL_SESSION_MODE' => 'ubuntu' 'COLORTERM' => 'truecolor' 'DESKTOP_AUTOSTART_ID' => '1046463cbd9c6ed29157628375735641200000034850007' 'USERNAME' => 'travis' 'XDG_VTNR' => '2' 'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh' 'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path' 'LC_NAME' => 'zh_CN.UTF-8' 'XDG_SESSION_ID' => '4' 'USER' => 'travis' 'DESKTOP_SESSION' => 'ubuntu' 'QT4_IM_MODULE' => 'fcitx' 'TEXTDOMAINDIR' => '/usr/share/locale/' 'GNOME_TERMINAL_SCREEN' => '/org/gnome/Terminal/screen/2adc74e2_a423_4ce2_9e91_9efc3b61698e' 'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path' 'PWD' => '/home/www/Antbasic' 'HOME' => '/home/travis' 'TEXTDOMAIN' => 'im-config' 'SSH_AGENT_PID' => '1920' 'QT_ACCESSIBILITY' => '1' 'XDG_SESSION_TYPE' => 'x11' 'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop' 'XDG_SESSION_DESKTOP' => 'ubuntu' 'LC_ADDRESS' => 'zh_CN.UTF-8' 'LC_NUMERIC' => 'zh_CN.UTF-8' 'GTK_MODULES' => 'gail:atk-bridge' 'PAPERSIZE' => 'a4' 'WINDOWPATH' => '2' 'VTE_VERSION' => '5202' 'TERM' => 'xterm-256color' 'SHELL' => '/bin/bash' 'QT_IM_MODULE' => 'fcitx' 'XMODIFIERS' => '@im=fcitx' 'IM_CONFIG_PHASE' => '2' 'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME' 'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1' 'GNOME_TERMINAL_SERVICE' => ':1.84' 'XDG_SEAT' => 'seat0' 'SHLVL' => '1' 'LANGUAGE' => 'en_US:en' 'LC_TELEPHONE' => 'zh_CN.UTF-8' 'GDMSESSION' => 'ubuntu' 'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated' 'LOGNAME' => 'travis' 'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus' 'XDG_RUNTIME_DIR' => '/run/user/1000' 'XAUTHORITY' => '/run/user/1000/gdm/Xauthority' 'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg' 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' 'LC_IDENTIFICATION' => 'zh_CN.UTF-8' 'SESSION_MANAGER' => 'local/travis-TM1703:@/tmp/.ICE-unix/3485,unix/travis-TM1703:/tmp/.ICE-unix/3485' 'LESSOPEN' => '| /usr/bin/lesspipe %s' 'GTK_IM_MODULE' => 'fcitx' 'LC_TIME' => 'zh_CN.UTF-8' 'OLDPWD' => '/home/www' '_' => './yii' 'PHP_SELF' => './yii' 'SCRIPT_NAME' => './yii' 'SCRIPT_FILENAME' => './yii' 'PATH_TRANSLATED' => './yii' 'DOCUMENT_ROOT' => '' 'REQUEST_TIME_FLOAT' => 1576293672.3767 'REQUEST_TIME' => 1576293672 'argv' => [ 0 => './yii' 1 => 'test/order-goods' ] 'argc' => 2 ] 2019-12-14 11:22:27 [-][-][-][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Getting unknown property: yii\console\Application::user in /home/www/Antbasic/vendor/yiisoft/yii2/base/Component.php:154 Stack trace: #0 /home/www/Antbasic/vendor/yiisoft/yii2/di/ServiceLocator.php(77): yii\base\Component->__get('user') #1 /home/www/Antbasic/api/logic/AddressLogic.php(149): yii\di\ServiceLocator->__get('user') #2 /home/www/Antbasic/api/logic/AddressLogic.php(30): api\logic\AddressLogic->findDefault() #3 /home/www/Antbasic/backend/modules/shop/models/ars/Order.php(134): api\logic\AddressLogic->getDefault() #4 /home/www/Antbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(596): backend\modules\shop\models\ars\Order->beforeSave(true) #5 /home/www/Antbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(566): yii\db\ActiveRecord->insertInternal(NULL) #6 /home/www/Antbasic/vendor/yiisoft/yii2/db/BaseActiveRecord.php(678): yii\db\ActiveRecord->insert(true, NULL) #7 /home/www/Antbasic/console/controllers/TestController.php(60): yii\db\BaseActiveRecord->save() #8 [internal function]: console\controllers\TestController->actionOrderGoods() #9 /home/www/Antbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #10 /home/www/Antbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #11 /home/www/Antbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('order-goods', Array) #12 /home/www/Antbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('order-goods', Array) #13 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('test/order-good...', Array) #14 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('test/order-good...', Array) #15 /home/www/Antbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) #16 /home/www/Antbasic/yii(23): yii\base\Application->run() #17 {main} 2019-12-14 11:22:27 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [ 'CLUTTER_IM_MODULE' => 'xim' 'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' 'LC_MEASUREMENT' => 'zh_CN.UTF-8' 'LESSCLOSE' => '/usr/bin/lesspipe %s %s' 'LC_PAPER' => 'zh_CN.UTF-8' 'LC_MONETARY' => 'zh_CN.UTF-8' 'XDG_MENU_PREFIX' => 'gnome-' 'LANG' => 'en_US.UTF-8' 'DISPLAY' => ':0' 'GNOME_SHELL_SESSION_MODE' => 'ubuntu' 'COLORTERM' => 'truecolor' 'DESKTOP_AUTOSTART_ID' => '1046463cbd9c6ed29157628375735641200000034850007' 'USERNAME' => 'travis' 'XDG_VTNR' => '2' 'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh' 'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path' 'LC_NAME' => 'zh_CN.UTF-8' 'XDG_SESSION_ID' => '4' 'USER' => 'travis' 'DESKTOP_SESSION' => 'ubuntu' 'QT4_IM_MODULE' => 'fcitx' 'TEXTDOMAINDIR' => '/usr/share/locale/' 'GNOME_TERMINAL_SCREEN' => '/org/gnome/Terminal/screen/2adc74e2_a423_4ce2_9e91_9efc3b61698e' 'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path' 'PWD' => '/home/www/Antbasic' 'HOME' => '/home/travis' 'TEXTDOMAIN' => 'im-config' 'SSH_AGENT_PID' => '1920' 'QT_ACCESSIBILITY' => '1' 'XDG_SESSION_TYPE' => 'x11' 'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop' 'XDG_SESSION_DESKTOP' => 'ubuntu' 'LC_ADDRESS' => 'zh_CN.UTF-8' 'LC_NUMERIC' => 'zh_CN.UTF-8' 'GTK_MODULES' => 'gail:atk-bridge' 'PAPERSIZE' => 'a4' 'WINDOWPATH' => '2' 'VTE_VERSION' => '5202' 'TERM' => 'xterm-256color' 'SHELL' => '/bin/bash' 'QT_IM_MODULE' => 'fcitx' 'XMODIFIERS' => '@im=fcitx' 'IM_CONFIG_PHASE' => '2' 'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME' 'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1' 'GNOME_TERMINAL_SERVICE' => ':1.84' 'XDG_SEAT' => 'seat0' 'SHLVL' => '1' 'LANGUAGE' => 'en_US:en' 'LC_TELEPHONE' => 'zh_CN.UTF-8' 'GDMSESSION' => 'ubuntu' 'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated' 'LOGNAME' => 'travis' 'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus' 'XDG_RUNTIME_DIR' => '/run/user/1000' 'XAUTHORITY' => '/run/user/1000/gdm/Xauthority' 'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg' 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' 'LC_IDENTIFICATION' => 'zh_CN.UTF-8' 'SESSION_MANAGER' => 'local/travis-TM1703:@/tmp/.ICE-unix/3485,unix/travis-TM1703:/tmp/.ICE-unix/3485' 'LESSOPEN' => '| /usr/bin/lesspipe %s' 'GTK_IM_MODULE' => 'fcitx' 'LC_TIME' => 'zh_CN.UTF-8' 'OLDPWD' => '/home/www' '_' => './yii' 'PHP_SELF' => './yii' 'SCRIPT_NAME' => './yii' 'SCRIPT_FILENAME' => './yii' 'PATH_TRANSLATED' => './yii' 'DOCUMENT_ROOT' => '' 'REQUEST_TIME_FLOAT' => 1576293747.3289 'REQUEST_TIME' => 1576293747 'argv' => [ 0 => './yii' 1 => 'test/order-goods' ] 'argc' => 2 ]
|