Guest User

Untitled

a guest
Jun 21st, 2019
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.30 KB | None | 0 0
  1. 2019-06-21 16:48:12 GMT+0000 (DEBUG): Processing request for action: (none)
  2. 2019-06-21 16:48:12 GMT+0000 (DEBUG): Displaying sub page: abj404_captured
  3. 2019-06-21 16:49:24 GMT+0000 (DEBUG): Processing request for action: editRedirect
  4. 2019-06-21 16:49:24 GMT+0000 (DEBUG): Displaying sub page: abj404_captured
  5. 2019-06-21 16:49:24 GMT+0000 (DEBUG): Edit redirect page. ids_multiple: [10745,10746,10744,10732,10733,10731,10739,10736,10742,10741,10743,10738]
  6. 2019-06-21 16:49:32 GMT+0000 (DEBUG): Processing request for action: editRedirect
  7. 2019-06-21 16:49:32 GMT+0000 (DEBUG): Displaying sub page: abj404_redirects
  8. 2019-06-21 16:49:34 GMT+0000 (DEBUG): maybeUpdateRedirectsForViewHitsTable creating later because create time was 58.893954992294 seconds.
  9. 2019-06-21 16:53:10 GMT+0000 (DEBUG): Slow query (216.51 seconds): /* ------------------ /home/middletonj/public_html/wp-content/plugins/404-solution/includes/sql/getRedirectsForView.sql BEGIN ----- */
  10.  
  11. select
  12. wp_abj404_redirects.id,
  13. wp_abj404_redirects.url,
  14. wp_abj404_redirects.status,
  15. (CASE
  16. when wp_abj404_redirects.status = 1 then 'Man'
  17. when wp_abj404_redirects.status = 2 then 'Auto'
  18. when wp_abj404_redirects.status = 6 then 'RegEx'
  19. else 'Unknown'
  20. end) as status_for_view,
  21. wp_abj404_redirects.type,
  22. (CASE
  23. when wp_abj404_redirects.type = 4 then 'External'
  24. when wp_abj404_redirects.type = 2 then 'Category'
  25. when wp_abj404_redirects.type = 3 then 'Tag'
  26. when wp_abj404_redirects.type = 5 then 'Home Page'
  27. when wp_abj404_redirects.type = 1 then
  28. CONCAT(UCASE(LEFT(wp_posts.post_type, 1)), LCASE(SUBSTRING(wp_posts.post_type, 2)))
  29. else 'Unknown'
  30. end) as type_for_view,
  31. wp_abj404_redirects.final_dest,
  32. (case
  33. when wp_abj404_redirects.type = 4 then wp_abj404_redirects.final_dest
  34. when wp_abj404_redirects.type = 1 then wp_posts.post_title
  35. when wp_abj404_redirects.type = 2 then terms.name
  36. when wp_abj404_redirects.type = 3 then terms.name
  37. when wp_abj404_redirects.type = 5 then wp_options.option_value
  38. else '? Dest Type'
  39. end) as dest_for_view,
  40.  
  41. wp_abj404_redirects.code,
  42. wp_abj404_redirects.timestamp,
  43. wp_posts.id as wp_post_id,
  44.  
  45. logstable.logshits as logshits,
  46. logstable.logsid,
  47. logstable.last_used,
  48.  
  49.  
  50. wp_posts.post_type as wp_post_type
  51.  
  52. from msyyx_abj404_redirects wp_abj404_redirects
  53.  
  54. LEFT OUTER JOIN msyyx_posts wp_posts
  55. on wp_abj404_redirects.final_dest = wp_posts.id
  56.  
  57. LEFT OUTER JOIN msyyx_abj404_logs_hits logstable
  58. on wp_abj404_redirects.url = logstable.requested_url
  59.  
  60.  
  61.  
  62. left outer join msyyx_terms terms
  63. on wp_abj404_redirects.final_dest = terms.term_id
  64.  
  65. left outer join msyyx_options wp_options
  66. on wp_options.option_name = 'blogname'
  67.  
  68. where 1 and (status in (1, 2, 6)) and disabled = 0
  69.  
  70. /* no redirects fiter text found
  71. and replace(lower(CONCAT(wp_abj404_redirects.url, '////',
  72. (CASE
  73. when wp_abj404_redirects.status = 1 then 'Man'
  74. when wp_abj404_redirects.status = 2 then 'Auto'
  75. when wp_abj404_redirects.status = 6 then 'RegEx'
  76. else 'Unknown'
  77. end), '////',
  78. (CASE
  79. when wp_abj404_redirects.type = 4 then 'External'
  80. when wp_abj404_redirects.type = 2 then 'Category'
  81. when wp_abj404_redirects.type = 3 then 'Tag'
  82. when wp_abj404_redirects.type = 5 then 'Home Page'
  83. when wp_abj404_redirects.type = 1 then
  84. CONCAT(UCASE(LEFT(wp_posts.post_type, 1)), LCASE(SUBSTRING(wp_posts.post_type, 2)))
  85. else 'Unknown'
  86. end), '////',
  87. (case
  88. when wp_abj404_redirects.type = 4 then wp_abj404_redirects.final_dest
  89. when wp_abj404_redirects.type = 1 then wp_posts.post_title
  90. when wp_abj404_redirects.type = 2 then terms.name
  91. when wp_abj404_redirects.type = 3 then terms.name
  92. when wp_abj404_redirects.type = 5 then wp_options.option_value
  93. else '? Dest Type'
  94. end), '////',
  95. wp_abj404_redirects.code)
  96. ), ' ', '')
  97. like replace(lower('%%'), ' ', '')
  98. /* */
  99.  
  100. /* no captured 404s filter text found
  101. and replace(lower(wp_abj404_redirects.url), ' ', '') like replace(lower('%%'), ' ', '')
  102. /* */
  103.  
  104. order by logshits ASC
  105.  
  106. limit 0, 500
  107.  
  108. /* ------------------ /home/middletonj/public_html/wp-content/plugins/404-solution/includes/sql/getRedirectsForView.sql END ----- */
  109.  
  110. 2019-06-21 16:53:19 GMT+0000 (DEBUG): Processing request for action: (none)
  111. 2019-06-21 16:53:19 GMT+0000 (DEBUG): Displaying sub page: abj404_options
  112. 2019-06-21 16:53:33 GMT+0000 (DEBUG): Processing request for action: (none)
  113. 2019-06-21 16:53:33 GMT+0000 (DEBUG): Displaying sub page: abj404_debugfile
Advertisement
Add Comment
Please, Sign In to add comment