2021121512_fetchPageData.log 5.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. 12:12:52 [error]: 通用分页查询排序接口异常:数据库执行异常:Unknown column 'bt0.company_name' in 'field list'
  2. sql语句: select ita.* ,wk.true_name as wk_truename,wkbu.mobile as wkbu_mobile ,bt0.company_name as bt0_truename,btbu0.mobile as btbu0_mobile ,bt.company_name as bt_truename,btbu.mobile as btbu_mobile ,btr.title as btr_title ,(select content from biz_interaction_talk where parentid=ita.id and catalog=0 order by id asc limit 1) as ask_content ,(select picurls from biz_interaction_talk where parentid=ita.id and catalog=0 order by id asc limit 1) as ask_picurls ,(select content from biz_interaction_talk where parentid=ita.id and catalog=1 order by id asc limit 1) as answer_content ,(select picurls from biz_interaction_talk where parentid=ita.id and catalog=1 order by id asc limit 1) as answer_picurls from biz_interaction ita left join biz_worker wk on wk.id=ita.fromerid left join base_user wkbu on wkbu.id=wk.base_userid left join biz_worker bt0 on bt0.id=ita.fromerid left join base_user btbu0 on btbu0.id=bt0.base_userid left join biz_trader bt on ita.biz_catalog>=2 and bt.id=ita.objectid left join base_user btbu on ita.biz_catalog>=2 and btbu.id=bt.base_userid left join biz_todowork tdwk on ita.biz_catalog>=2 and tdwk.id=ita.biz_id left join biz_trader_recruit btr on ita.biz_catalog>=2 and (btr.id=tdwk.biz_recruitid or btr.id=ita.biz_id) where ita.`deleted`=0 and 1=1 and ita.`status`<3 and ita.biz_catalog<2 order by ita.id desc limit 0,10
  3. ["42S22",1054,"Unknown column 'bt0.company_name' in 'field list'"]
  4. 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Plater/fetchPageData.php]的[162]行 code[0] !
  5. 异常堆栈上下文:
  6. #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
  7. #1 {main}
  8. 数据库执行异常:Unknown column 'bt0.company_name' in 'field list'
  9. sql语句: select ita.* ,wk.true_name as wk_truename,wkbu.mobile as wkbu_mobile ,bt0.company_name as bt0_truename,btbu0.mobile as btbu0_mobile ,bt.company_name as bt_truename,btbu.mobile as btbu_mobile ,btr.title as btr_title ,(select content from biz_interaction_talk where parentid=ita.id and catalog=0 order by id asc limit 1) as ask_content ,(select picurls from biz_interaction_talk where parentid=ita.id and catalog=0 order by id asc limit 1) as ask_picurls ,(select content from biz_interaction_talk where parentid=ita.id and catalog=1 order by id asc limit 1) as answer_content ,(select picurls from biz_interaction_talk where parentid=ita.id and catalog=1 order by id asc limit 1) as answer_picurls from biz_interaction ita left join biz_worker wk on wk.id=ita.fromerid left join base_user wkbu on wkbu.id=wk.base_userid left join biz_worker bt0 on bt0.id=ita.fromerid left join base_user btbu0 on btbu0.id=bt0.base_userid left join biz_trader bt on ita.biz_catalog>=2 and bt.id=ita.objectid left join base_user btbu on ita.biz_catalog>=2 and btbu.id=bt.base_userid left join biz_todowork tdwk on ita.biz_catalog>=2 and tdwk.id=ita.biz_id left join biz_trader_recruit btr on ita.biz_catalog>=2 and (btr.id=tdwk.biz_recruitid or btr.id=ita.biz_id) where ita.`deleted`=0 and 1=1 and ita.`status`<3 and ita.biz_catalog<2 order by ita.id desc limit 0,10
  10. ["42S22",1054,"Unknown column 'bt0.company_name' in 'field list'"]
  11. 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
  12. 异常堆栈上下文:
  13. #0 /bizroot/approot/klywebapi/base/mysql.php(207): PdoUtil->errhandle()
  14. #1 /bizroot/approot/klywebapi/base/mysql.php(29): PdoUtil->fetchall()
  15. #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutSundry.php(1431): pdo_fetchall()
  16. #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Plater/fetchPageData.php(155): bizbase_interactionAboutQuery()
  17. #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
  18. #5 {main}
  19. [上下文相关信息]:
  20. [WsAjaxPrj]=KLY
  21. [WsAjaxBiz]=Plater
  22. [WsAjaxAction]=fetchPageData
  23. [USER]=nginxphp
  24. [HOME]=/home/nginxphp
  25. [HTTP_ACCEPT_LANGUAGE]=zh-CN,zh;q=0.9
  26. [HTTP_ACCEPT_ENCODING]=gzip, deflate, br
  27. [HTTP_REFERER]=https://admin.kuailaiyou.top/
  28. [HTTP_SEC_FETCH_DEST]=empty
  29. [HTTP_SEC_FETCH_MODE]=cors
  30. [HTTP_SEC_FETCH_SITE]=same-site
  31. [HTTP_ORIGIN]=https://admin.kuailaiyou.top
  32. [HTTP_SEC_CH_UA_PLATFORM]="Windows"
  33. [HTTP_USER_AGENT]=Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36
  34. [HTTP_SEC_CH_UA_MOBILE]=?0
  35. [HTTP_CONTENT_TYPE]=application/json;charset=UTF-8
  36. [HTTP_ACCEPT]=application/json, text/plain, */*
  37. [HTTP_SEC_CH_UA]="Google Chrome";v="93", " Not;A Brand";v="99", "Chromium";v="93"
  38. [HTTP_CONTENT_LENGTH]=201
  39. [HTTP_CONNECTION]=keep-alive
  40. [HTTP_HOST]=api.kuailaiyou.top
  41. [REDIRECT_STATUS]=200
  42. [SERVER_NAME]=api.kuailaiyou.top
  43. [SERVER_PORT]=443
  44. [SERVER_ADDR]=172.18.217.149
  45. [REMOTE_PORT]=16161
  46. [REMOTE_ADDR]=60.24.227.178
  47. [SERVER_SOFTWARE]=nginx/1.20.1
  48. [GATEWAY_INTERFACE]=CGI/1.1
  49. [HTTPS]=on
  50. [REQUEST_SCHEME]=https
  51. [SERVER_PROTOCOL]=HTTP/1.1
  52. [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
  53. [DOCUMENT_URI]=/ajaxEntryCenter.php
  54. [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Plater&WsAjaxAction=fetchPageData
  55. [SCRIPT_NAME]=/ajaxEntryCenter.php
  56. [CONTENT_LENGTH]=201
  57. [CONTENT_TYPE]=application/json;charset=UTF-8
  58. [REQUEST_METHOD]=POST
  59. [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Plater&WsAjaxAction=fetchPageData
  60. [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
  61. [FCGI_ROLE]=RESPONDER
  62. [PHP_SELF]=/ajaxEntryCenter.php
  63. [REQUEST_TIME_FLOAT]=1639541572.2329
  64. [REQUEST_TIME]=1639541572