Guest Posted August 14, 2015 Share Posted August 14, 2015 After looking through the forums and reviewing the few existing addons, I was wondering what others use to capture and output debug information to the screen. I needed some basic debug info so I quickly created a simple footer module that will output $_SESSION, $_POST, $_GET vars; however, it isn't very comprehensive. No DB info. Please share what addon you use or if you are interested in sharing code that you have put together. Thanks in advance, M. Link to comment Share on other sites More sharing options...
Bob Terveuren Posted August 14, 2015 Share Posted August 14, 2015 Have a look at http://addons.oscommerce.com/info/2575and see if the database code in there does what you need. Link to comment Share on other sites More sharing options...
Guest Posted August 14, 2015 Share Posted August 14, 2015 @@Bob Terveuren - Thanks for the post. It appears there are two addons that are more recently developed (though it has been several years). I've used Chemo's back in 2.2 days. Queries Debug GUI http://addons.oscommerce.com/info/7503 and KissER Error Handling & Debugging http://addons.oscommerce.com/info/7705 Before diving into either of these. My hope was that someone may have beaten me to making a mod. As I mentioned, the one I put together was quick n dirty. Link to comment Share on other sites More sharing options...
Bob Terveuren Posted August 14, 2015 Share Posted August 14, 2015 Hi - if it is for your own use just go quick and dirty, if you want to release it as a contribution add-on then make it squeaky clean and you'll still get people shouting at you ! Chemo's stuff usually worked well even if his name was not to be typed around here for quite a long time.... Link to comment Share on other sites More sharing options...
♥bruyndoncx Posted August 22, 2015 Share Posted August 22, 2015 I've used both chemo's and FWR in the past but except for the gui verson jack- mcs released, they are not supported anymore. I just came across a wordpress plugin that would be ideal if it existed for oscommerce http://ditio.net/2011/01/29/wordpress-debug-bar-plugin-blackbox/ I looked at the code, but I'm not familiar with wp enough to understand it all. I assume something similar could be built for oscommerce as parts of it already exists within oscommerce (queries debug) or adapted from wordpress php code ? KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt Link to comment Share on other sites More sharing options...
♥bruyndoncx Posted August 22, 2015 Share Posted August 22, 2015 I just created a post with details on how to setup a basic error log and tailing the errors from your browser http://www.oscommerce.com/forums/topic/408223-application-error-handler/ KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt Link to comment Share on other sites More sharing options...
Guest Posted August 25, 2015 Share Posted August 25, 2015 @Bruyndoncx Thanks for sharing. I wanted something more basic. I ended up putting together a content module that just outputs variables and sql commands. Again, very basic considering the system already offers the ability to dump to file. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.