Advertisement
Guest User

Untitled

a guest
Mar 16th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.73 KB | None | 0 0
  1. POST http://www.sindbady.com/v1/api/login?UserToken=4168ba23a5fcb6f2ca1cf01626615cd5c286fd606823535a82&username=mike&password=Mike2016
  2. Content-Type: application/json
  3.  
  4. -- response --
  5. 500 Internal Server Error
  6. Server: nginx/1.8.1
  7. Date: Wed, 16 Mar 2016 18:37:00 GMT
  8. Content-Type: application/json; charset=UTF-8
  9. Transfer-Encoding: chunked
  10.  
  11. {"name":"Database Exception","message":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'sindbady_db.poems_users' doesn't exist\nThe SQL being executed was: SELECT * FROM `poems_users` WHERE (user_email=NULL) AND (password='da39a3ee5e6b4b0d3255bfef95601890afd80709')","code":42,"type":"yii\\db\\Exception","file":"/home/sindbady/public_html/vendor/yiisoft/yii2/db/Schema.php","line":595,"stack-trace":["#0 /home/sindbady/public_html/vendor/yiisoft/yii2/db/Command.php(840): yii\\db\\Schema->convertException(Object(PDOException), 'SELECT * FROM `...')","#1 /home/sindbady/public_html/vendor/yiisoft/yii2/db/Command.php(363): yii\\db\\Command->queryInternal('fetch', NULL)","#2 /home/sindbady/public_html/vendor/yiisoft/yii2/db/Query.php(243): yii\\db\\Command->queryOne()","#3 /home/sindbady/public_html/vendor/yiisoft/yii2/db/ActiveQuery.php(285): yii\\db\\Query->one(NULL)","#4 /home/sindbady/public_html/controllers/v1/ApiController.php(188): yii\\db\\ActiveQuery->one()","#5 [internal function]: app\\controllers\\v1\\ApiController->actionLogin()","#6 /home/sindbady/public_html/vendor/yiisoft/yii2/base/InlineAction.php(55): call_user_func_array(Array, Array)","#7 /home/sindbady/public_html/vendor/yiisoft/yii2/base/Controller.php(151): yii\\base\\InlineAction->runWithParams(Array)","#8 /home/sindbady/public_html/vendor/yiisoft/yii2/base/Module.php(455): yii\\base\\Controller->runAction('login', Array)","#9 /home/sindbady/public_html/vendor/yiisoft/yii2/web/Application.php(84): yii\\base\\Module->runAction('v1/api/login', Array)","#10 /home/sindbady/public_html/vendor/yiisoft/yii2/base/Application.php(375): yii\\web\\Application->handleRequest(Object(yii\\web\\Request))","#11 /home/sindbady/public_html/index.php(12): yii\\base\\Application->run()","#12 {main}"],"error-info":["42S02",1146,"Table 'sindbady_db.poems_users' doesn't exist"],"previous":{"name":"Exception","message":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'sindbady_db.poems_users' doesn't exist","code":"42S02","type":"PDOException","file":"/home/sindbady/public_html/vendor/yiisoft/yii2/db/Command.php","line":825,"stack-trace":["#0 /home/sindbady/public_html/vendor/yiisoft/yii2/db/Command.php(825): PDOStatement->execute()","#1 /home/sindbady/public_html/vendor/yiisoft/yii2/db/Command.php(363): yii\\db\\Command->queryInternal('fetch', NULL)","#2 /home/sindbady/public_html/vendor/yiisoft/yii2/db/Query.php(243): yii\\db\\Command->queryOne()","#3 /home/sindbady/public_html/vendor/yiisoft/yii2/db/ActiveQuery.php(285): yii\\db\\Query->one(NULL)","#4 /home/sindbady/public_html/controllers/v1/ApiController.php(188): yii\\db\\ActiveQuery->one()","#5 [internal function]: app\\controllers\\v1\\ApiController->actionLogin()","#6 /home/sindbady/public_html/vendor/yiisoft/yii2/base/InlineAction.php(55): call_user_func_array(Array, Array)","#7 /home/sindbady/public_html/vendor/yiisoft/yii2/base/Controller.php(151): yii\\base\\InlineAction->runWithParams(Array)","#8 /home/sindbady/public_html/vendor/yiisoft/yii2/base/Module.php(455): yii\\base\\Controller->runAction('login', Array)","#9 /home/sindbady/public_html/vendor/yiisoft/yii2/web/Application.php(84): yii\\base\\Module->runAction('v1/api/login', Array)","#10 /home/sindbady/public_html/vendor/yiisoft/yii2/base/Application.php(375): yii\\web\\Application->handleRequest(Object(yii\\web\\Request))","#11 /home/sindbady/public_html/index.php(12): yii\\base\\Application->run()","#12 {main}"]}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement