Thursday, 15 October 2015

Magento Log file created custom page

                $customererror='';               
                try {
                            $address->save();
                            $customer->save();
                        }                           
                         catch (Exception $ex) {
                            $customererror=$ex->getMessage();
                           
                            Mage::log($customererror,null,'customer.log');   
                        }

1 comment:

  1. This comment has been removed by the author.

    ReplyDelete