Post by davelester » Wed Apr 25, 2012 5:31 pm

Hi
My opencart crashes when it reaches no shipping options found (I am using the weight based shipping module)
does anyone know how I can debug this to see what is happening?
or if no debug oprions are possible where is the file i need so i can put messages in to detect where in the file it is crashing

many thanks in advance
David

Newbie

Posts

Joined
Tue Mar 13, 2012 6:04 pm

Post by Avvici » Wed Apr 25, 2012 5:58 pm

What do you mean crashing? Freezing up? The code you want to insert your ERROR THROWER in is checkout.tpl
You will see a bunch of Ajax. Just stick an error thrower in the code where the shipping is.

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by Johnathan » Wed Apr 25, 2012 8:16 pm

Check your error log in the admin panel, as well. That will often have the clue you need.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by davelester » Wed Apr 25, 2012 11:49 pm

avvici wrote:What do you mean crashing? Freezing up? The code you want to insert your ERROR THROWER in is checkout.tpl
You will see a bunch of Ajax. Just stick an error thrower in the code where the shipping is.
is there a debug tool or anything for putting error handling in or stepping through code or do you just put some messages in php in there
many thanks guys

Newbie

Posts

Joined
Tue Mar 13, 2012 6:04 pm

Post by davelester » Wed Apr 25, 2012 11:57 pm

sorry forgot to mention the only error i get in my admin log is:
Undefined index: zone_id in /home/access/public_html/system/library/tax.php on line 31

Newbie

Posts

Joined
Tue Mar 13, 2012 6:04 pm
Who is online

Users browsing this forum: No registered users and 2 guests