debugging - How to tackle Magento development issues -


i have problem debugging thing (not real error) in magento (ce 1.4.1.1). payment module i've adapted, additional payment fee incorporated , showing on selection of particular payment method. works fine, no problems.

a client has onestepcheckout plugin installed. inside it, payment method works fine (small problem: payment fee showing after grand total, that's not issue, completeness of question).

so, working fine, other payment modules installed. is, working fine on dev , test! on live server however, fee not show up! i've locally installed other plugins installed on live server well, see if there conflicts among them. none whatsoever. extension conflict extension not indicate class overwriting problems either. of course, i've cleared cache. several times.

so question rather general one:
how proceed?
can , how see what's going on , not break live environment ? far know, there no staging server (there test server, there no error...), i'm bound live environment.
there common practice handle these kind of issues? (and if so, it?)

i know of mage_is_developer_mode, system log, exception log etc, since on dev works fine, seem not able debug bug not show up... can safely switch on logging on live site way?

thank in advance!

regards,

tom

you can create own log see happening in magento

mage::log($datayouwanttosee, null, 'yourlogfile.log'); 

this not break show want file. once load page 'yourlogfile.log' in magento's /var/log directory other log files.

also make sure turn logging off when done otherwise log consume lot of disk space.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -