Version 1.3.9h.
a simple:
echo 'I got here';
is not happening when I'm 99.99% certain I got there.
Is there a trick to getting echo to work?
Version 1.3.9h.
a simple:
echo 'I got here';
is not happening when I'm 99.99% certain I got there.
Is there a trick to getting echo to work?
To my knowledge a classes file is not used for display you might look at the tpl file for it
tpl_shopping_cart_default.php
Zen-Venom Get Bitten
Thanks Kobra.
So how does one "debug/trace" activity in a class.
I'm modifying the shopping_cart.php class and have 90% working but the last 10% would be better debugged if I could see displays/output at certain points including contents of data elements.
I am bad at php...So how does one "debug/trace" activity in a class.
Search here for DrByte and strict error reporting - - as I recall
Zen-Venom Get Bitten
Thx.
I actually installed the user supplied trace facility. It's working for me.
I don't know what the "user supplied trace facility" is, but I've submitted an add-on that does this ...
Sorry, I used the wrong words. That is add-on I am using.
Thanks.
I've also found the Superglobals Plus add-on to be helpful in the debug process. Just declare variables you're interested in as either class members or 'global' and they'll be displayed at the end of the page.