Welcome Guest, Not a member yet? Register   Sign In
Getting php error on production but not development
#7

[eluser]Cgull[/eluser]
Sorry, another thing, this function is being called in a view with an ajax call:
Code:
$(document).ready(function()
{
var delivery = $('#delivery').val();
var weight = $('#sendform').serialize();

$.ajax({
    type: "POST",
    url: "<?php echo base_url(); ?>order/checkout/calcDelivery",
    data: {delivery: delivery, weight: weight},
    success: function(data){
    $('#deliveryCalc').html(data);
    $('#deliveryVal').val(data);
    var total = 'R ' + (parseFloat($('#totalval').val())).toFixed(2);
    $('#total').html(total);
   }
  });
And there is no redirect in the checkout controller file at all.


Messages In This Thread
Getting php error on production but not development - by El Forum - 06-08-2012, 11:47 PM
Getting php error on production but not development - by El Forum - 06-09-2012, 12:38 AM
Getting php error on production but not development - by El Forum - 06-09-2012, 01:32 AM
Getting php error on production but not development - by El Forum - 06-09-2012, 02:13 AM
Getting php error on production but not development - by El Forum - 06-09-2012, 02:17 AM
Getting php error on production but not development - by El Forum - 06-09-2012, 04:06 AM
Getting php error on production but not development - by El Forum - 06-09-2012, 04:10 AM
Getting php error on production but not development - by El Forum - 06-09-2012, 09:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB