Changeset 2924279
- Timestamp:
- 06/10/2023 03:40:57 PM (14 months ago)
- Location:
- debug-me
- Files:
-
- 172 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
debug-me/trunk/assets/css/pages/server-info.css
r2913428 r2924279 1 .table . sub-table td{2 width: 250px;1 .table . { 2 ; 3 3 } 4 4 .table tr { 5 border: 0; 6 border-bottom: 1px solid #5271ff; 5 outline: 0; 6 border: transparent; 7 box-shadow: 0 5px 6px rgba(233, 233, 233, 0.4901960784); 8 padding-top: 5px; 9 margin-top: 15px; 10 display: block; 7 11 } 8 12 .table tr.section-title td { … … 16 20 .table tr td p { 17 21 font-size: 14px; 22 18 23 } 19 24 .table tr td:first-child p { 20 min-width: 200px;25 min-width: 00px; 21 26 font-weight: bold; 22 27 } -
debug-me/trunk/assets/css/style.css
r2913428 r2924279 162 162 } 163 163 164 .table . sub-table td{165 width: 250px;164 .table . { 165 ; 166 166 } 167 167 .table tr { 168 border: 0; 169 border-bottom: 1px solid #5271ff; 168 outline: 0; 169 border: transparent; 170 box-shadow: 0 5px 6px rgba(233, 233, 233, 0.4901960784); 171 padding-top: 5px; 172 margin-top: 15px; 173 display: block; 170 174 } 171 175 .table tr.section-title td { … … 179 183 .table tr td p { 180 184 font-size: 14px; 185 181 186 } 182 187 .table tr td:first-child p { 183 min-width: 200px;188 min-width: 00px; 184 189 font-weight: bold; 185 190 } -
debug-me/trunk/assets/scss/pages/server-info.scss
r2798673 r2924279 2 2 3 3 .table { 4 .sub-table { 5 td { 6 width: 250px; 7 } 4 .no-shadow{ 5 box-shadow: none; 8 6 } 9 7 tr { 10 border: 0; 11 border-bottom: 1px solid $main-theme-color; 8 outline: 0; 9 border: transparent; 10 box-shadow: 0 5px 6px #e9e9e97d; 11 padding-top: 5px; 12 margin-top: 15px; 13 display: block; 12 14 13 15 &.section-title { … … 24 26 p { 25 27 font-size: 14px; 28 26 29 } 27 30 &:first-child { 28 31 p { 29 min-width: 200px;32 min-width: 00px; 30 33 font-weight: bold; 31 34 } -
debug-me/trunk/index.php
r2913428 r2924279 5 5 * Description: View WordPress logs in a convenient and searchable way and revise your server settings. Nice plugin for debugging. 6 6 * Author: lysyiweb 7 * Version: 0.4. 17 * Version: 0.4. 8 8 * Tags: debug, logs, troubleshooting, health 9 9 * Requires PHP: 5.4 -
debug-me/trunk/readme.txt
r2913430 r2924279 2 2 3 3 Contributors: lysyiWeb 4 Tags: wp-config, debug, logs, phpinfo, troubleshooting, health4 Tags: wp-config, debug, logs, phpinfo, 5 5 Requires at least: 4.6 6 Tested up to: 6.2. 17 Stable tag: 0.4. 16 Tested up to: 6.2. 7 Stable tag: 0.4. 8 8 Requires PHP: 5.4 9 9 License: GPLv2 … … 11 11 12 12 == Description == 13 View WordPress logs in a convenient and searchable way and revise your server settings. Nice plugin for debugging.13 ing. 14 14 15 Sometimes it is difficult to read and search over the debug.log file. That is why the DebugMe shows the log in your WordPress Dashboard, not on the server. It is readable and searchable. 15 Reading and searching through the debug.log file can be challenging and time-consuming. With DebugMe, you can access and analyze the log directly from your WordPress Dashboard, eliminating the need to navigate to the server. The log is presented in a readable and searchable format, making it effortless to locate specific notices, warnings, and errors. 16 16 17 **Debug Log Viewer** 18 View notices, warnings, and errors of the WordPress debug.log file in a simplified table format. Search (by error type, line, and file) and pagination make the process of log control quick and convenient. 17 **Key Features:** 19 18 20 **Server info** 21 Track all your server settings in one place. We parsed phpinfo(); for you! 19 **Debug Log Viewer:** Gain quick insights into your WordPress debug.log file with a simplified and user-friendly table format. Easily browse through log entries and navigate using search filters such as error type, line number, and file name. The pagination feature ensures smooth log control and efficient debugging. 20 21 **Server Info:** Keep track of all your server settings in one centralized location. DebugMe automatically parses the phpinfo() output, providing you with comprehensive server information. No need to dig into the server configuration files manually - everything is neatly displayed for you. 22 23 DebugMe is designed to streamline your debugging process, saving you valuable time and effort. With its intuitive interface and powerful features, you can easily identify and address issues, ensuring the smooth operation of your WordPress site. 24 25 Install DebugMe today and take control of your WordPress logs and server settings effortlessly. Debug with ease and keep your website running at its best. 26 27 Note: DebugMe is constantly updated and maintained to ensure compatibility and optimal performance with the latest versions of WordPress. 28 29 22 30 23 31 == Installation == 24 32 25 ### How to activate within gWordpress33 ### How to activate within Wordpress 26 34 27 35 1. Go to 'Plugins > Add New' … … 50 58 == Changelog == 51 59 60 61 62 63 64 52 65 = 0.4.1 = 53 66 * Changed color scheme -
debug-me/trunk/views/pages/server-info.php
r2913428 r2924279 1 1 <?php 2 2 3 3 4 class DBGME_ServerInfoView 4 5 { 5 6 6 public static function dbgme_render_view() 7 7 { 8 8 require_once(realpath(__DIR__) . '/../header.php'); 9 10 $data = DBGME_ServerInfoController::dbgme_parse_phpinfo(); ?> 11 9 $data = DBGME_ServerInfoController::dbgme_parse_phpinfo(); 10 ?> 12 11 <div class="container server-info"> 13 <div class="col-md-9"> 14 <table class="php-info table table-hover"> 15 <thead> 16 <tr> 17 <td>Name</td> 18 <td>Value</td> 19 </tr> 12 <div class="col-md-12"> 13 <table class="php-info table"> 14 <thead style="display: none"> 15 <th>Property</th> 16 <th>Value</th> 20 17 </thead> 21 18 <tbody> 22 <?php foreach (($data) as $key => $value) { ?> 23 24 25 <?php foreach ($value as $sub_key => $sub_value) { ?> 19 <?php foreach ($data as $section_title => $section_content) : ?> 20 <tr class="no-shadow"> 21 <td> 22 <h4 class="section-title"><?php echo esc_html($section_title); ?></h4> 23 </td> 24 <td></td> 25 </tr> 26 <?php foreach ($section_content as $sub_key => $sub_value) : ?> 27 <?php if ($sub_key === 'Directive') continue; ?> 26 28 <tr> 27 29 <td> … … 33 35 if (is_string($sub_value)) { 34 36 echo esc_html($sub_value); 35 } elseif (is_array(($sub_value))) { ?> 36 <!-- <table class="table sub-table"> --> 37 <tr> 38 <?php 39 foreach ($sub_value as $k => $v) { 40 if ($k === 0) { ?> 41 <td><?php _e('Local value', 'dbgme'); ?></td> 42 <?php } elseif ($k === 1) { ?> 43 <td><?php _e('Master value', 'dbgme'); ?></td> 44 <?php } ?> 37 } elseif (is_array($sub_value)) { 38 $formatted_values = array_map(function ($k, $v) { 39 $label = $k === 0 ? __('Local value', 'dbgme') : __('Master value', 'dbgme'); 40 return $label . ': ' . esc_html($v); 41 }, array_keys($sub_value), $sub_value); 45 42 46 <td><?php echo esc_html($v); ?> </td> 47 <?php } ?> 48 </tr> 49 <!-- </table> --> 50 <?php } ?> 51 </p> 43 echo implode('<br>', $formatted_values); 44 } 45 ?> 46 </p> 52 47 </td> 53 48 </tr> 54 55 <?php } ?> 56 <?php } ?> 49 <?php endforeach; ?> 50 <?php endforeach; ?> 57 51 </tbody> 58 52 </table> 59 53 </div> 60 <div class="col-md-3">61 table62 </div>63 54 </div> 64 <?php55 <?php 65 56 } 66 57 }
Note: See TracChangeset
for help on using the changeset viewer.