Skip to content

Instantly share code, notes, and snippets.

View mazjs's full-sized avatar

Mazharul Anwar mazjs

View GitHub Profile
[exec] PHP Fatal error: Call to undefined function __() in PATH-IN_SERVE/system/classes/kohana/kohana/exception.php on line 57
11:16:25 [exec] PHP Stack trace:
11:16:25 [exec] PHP 1. {main}() PATH-IN_SERVER/index.php:0
11:16:25 [exec] PHP 2. require() PATH-IN_SERVE/index.php:102
11:16:25 [exec] PHP 3. Kohana_Core::init() PATH-IN_SERVE/application/bootstrap.php:99
11:16:25 [exec] PHP 4. Kohana_Kohana_Exception->__construct() PATH-IN_SERVE/system/classes/kohana/core.php:282
11:16:25
11:16:25 [exec] ErrorException [ 1 ]: Call to undefined function __() ~ SYSPATH/classes/kohana/kohana/exception.php [ 57 ]
11:16:25 [exec] Result: 255
@mazjs
mazjs / form.js
Created September 8, 2015 07:42
//the whole thing is wrapped in an anonymous function
$(document).on('change', '#id_tel_no', function() {
var tel_no = $('#id_tel_no').val();
var state_code = $('select[name=state_code]').val();
var customer_id = '<?php echo $customer->id;?>';
if (state_code != '' && tel_no != '') {