Zen Cart Logo
Forums / General Questions / error logging: does ZC generate any error logging anywhere?

error logging: does ZC generate any error logging anywhere?

Views: 1,005

Results 1 to 5 of 5
12 Jul 2014, 2:06 AM
#1
cyberbaffled avatar

cyberbaffled

Zen Follower

Join Date:
Apr 2012
Location:
Louisville, Colorado, USA
Posts:
120
Plugin Contributions:
0

error logging: does ZC generate any error logging anywhere?

That's the question. Before I spring for a cPanel hosted account, does ZC have any capability to log errors? The information in the Cache file is useless for tracking errors.

12 Jul 2014, 2:16 AM
#2
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: error logging: does ZC generate any error logging anywhere?

cyberbaffled:

That's the question. Before I spring for a cPanel hosted account, does ZC have any capability to log errors? The information in the Cache file is useless for tracking errors.When you say its useless...
What sort of errors are you trying track?
php?
mysql?
payment processing?
logic?
etc?

Lat9 has created a number of addons that enhance error tracking...

12 Jul 2014, 3:25 AM
#3
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: error logging: does ZC generate any error logging anywhere?

Also, what version of ZC are you trying to refer? For any version >= 1.5.1 I would agree that the cache directoryis useless for tracking errors. :)

12 Jul 2014, 5:26 PM
#4
cyberbaffled avatar

cyberbaffled

Zen Follower

Join Date:
Apr 2012
Location:
Louisville, Colorado, USA
Posts:
120
Plugin Contributions:
0

Re: error logging: does ZC generate any error logging anywhere?

Part of the problem is that I can't tell what variety the error is. Is it php syntax or database related? For example, my site -not yet formally released- crashes, but the debug log specifies a line of code that's syntactically correct. However, "useless" is probably a categorical misnomer, because what I need is the succession of code executed before the troublesome line is reached. Also, I now realize that although my shared hosting account doesn't give me php.ini privileges, it doesn't prevent me from writing successions of informative strings to a new file I create, which I'm now attempting. I will check out lat9's addons. I'm using version 1.50 Thanks greatly for your prompt response.

12 Jul 2014, 6:08 PM
#5
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: error logging: does ZC generate any error logging anywhere?

You could try installing ***myDEBUG Backtrace ***(http://www.zen-cart.com/downloads.php?do=file&id=1879), which updates Zen Cart's debug logging to include exactly what it says ... a backtrace on all errors/warnings.