Advertisement
Stasselhoff

Untitled

Nov 11th, 2015
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 KB | None | 0 0
  1. object(PDOException)#10 (8) {
  2. ["message":protected]=>
  3. string(202) "SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1"
  4. ["string":"Exception":private]=>
  5. string(0) ""
  6. ["code":protected]=>
  7. string(5) "42000"
  8. ["file":protected]=>
  9. string(74) "/home/socexp/wwwroot/socexp.stat/lib/base/helpers/DatabaseHelper.class.php"
  10. ["line":protected]=>
  11. int(127)
  12. ["trace":"Exception":private]=>
  13. array(4) {
  14. [0]=>
  15. array(6) {
  16. ["file"]=>
  17. string(74) "/home/socexp/wwwroot/socexp.stat/lib/base/helpers/DatabaseHelper.class.php"
  18. ["line"]=>
  19. int(127)
  20. ["function"]=>
  21. string(7) "execute"
  22. ["class"]=>
  23. string(12) "PDOStatement"
  24. ["type"]=>
  25. string(2) "->"
  26. ["args"]=>
  27. array(0) {
  28. }
  29. }
  30. [1]=>
  31. array(6) {
  32. ["file"]=>
  33. string(85) "/home/socexp/wwwroot/socexp.stat/app/admin/controllers/BugreportsController.class.php"
  34. ["line"]=>
  35. int(214)
  36. ["function"]=>
  37. string(5) "query"
  38. ["class"]=>
  39. string(14) "DatabaseHelper"
  40. ["type"]=>
  41. string(2) "::"
  42. ["args"]=>
  43. array(2) {
  44. [0]=>
  45. &string(208) "select count(*) as cnt, group_warn, date_format(created_at,"%Y-%m-%d %H:00:00") as date from warnings where platform = :platform group by group_warn, date_format(created_at,"%Y-%m-%d %H:00:00") having cnt > "
  46. [1]=>
  47. &array(1) {
  48. [":platform"]=>
  49. string(2) "io"
  50. }
  51. }
  52. }
  53. [2]=>
  54. array(6) {
  55. ["file"]=>
  56. string(56) "/home/socexp/wwwroot/socexp.stat/lib/base/dispatcher.php"
  57. ["line"]=>
  58. int(74)
  59. ["function"]=>
  60. string(10) "warn_graph"
  61. ["class"]=>
  62. string(20) "BugreportsController"
  63. ["type"]=>
  64. string(2) "->"
  65. ["args"]=>
  66. array(0) {
  67. }
  68. }
  69. [3]=>
  70. array(4) {
  71. ["file"]=>
  72. string(49) "/home/socexp/wwwroot/socexp.stat/public/admin.php"
  73. ["line"]=>
  74. int(4)
  75. ["args"]=>
  76. array(1) {
  77. [0]=>
  78. string(56) "/home/socexp/wwwroot/socexp.stat/lib/base/dispatcher.php"
  79. }
  80. ["function"]=>
  81. string(12) "require_once"
  82. }
  83. }
  84. ["previous":"Exception":private]=>
  85. NULL
  86. ["errorInfo"]=>
  87. array(3) {
  88. [0]=>
  89. string(5) "42000"
  90. [1]=>
  91. int(1064)
  92. [2]=>
  93. string(146) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1"
  94. }
  95. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement