Randem Systems Support Board

OpenCart => OpenCart MODS => Topic started by: Randem on February 12, 2016, 01:17:20 PM

Title: Proper debugging techniques for your OpenCart system
Post by: Randem on February 12, 2016, 01:17:20 PM
Most of the problems that people have when using OpenCart; they create themselves with bad code changes, MODS / Extensions / Themes then blame the OpenCart... OpenCart will do dumb things if you put in dumb code. Talk about dumb and dumber... Don't get me wrong OpenCart has a few short comings but you have to be able to distinguish one from the other to fix the issue. Most of the real issues are with third party MODS / Themes / Extensions that have been installed or physical code changes. Here are some ways find out just where the real problems truly lies.



In the event you are still having trouble; here is a module that can help you debug your OpenCart system - https://randemsystems.support/opencart/debug-trace-your-opencart-operations/

The very best way to debug php code is with a php debugger such as eclipse (https://www.eclipse.org/downloads/) combined with WampServer (https://www.wampserver.com/en/) and Xdebug (https://xdebug.org/). Learning how to use these packages will save you a huge amount of time.