NOTICE: Undefined index: 0 in D:\wwwroot\shangpu\wwwroot\protected\controller\mobile\goods_controller.php on line 26

549.          case E_NOTICE$msg "NOTICE"; break;
550.          case E_STRICT$msg "STRICT"; break;
551.          case 8192$msg "DEPRECATED"; break;
552.          default : $msg "Unknown Error Type";
553.      }
554.      err("$msg$errstr in $errfile on line $errline");
555.  }
556. 
557.  function err($msg)
558.  {
559.      $traces debug_backtrace();
21.              {    $admin_model = new admin_model();
22.                  $qrcode $admin_model -> find(array('user_id'=>$goods['admin_id']));
23.                  $this->qrcode $qrcode['thumb'];
24.              }
25.              
26.              $this->adssss $seller_model->getName($goods['seller_id']) . $this->cdlist[$goods['area_id']] . $goods['address'];
27.              if($goods['area_id'] && $goods['dist_id'])
28.              {
29.                  $this->dists cdarea($goods['area_id']);
30.                  $this->adssss $seller_model->getName($goods['seller_id']) . $this->cdlist[$goods['area_id']] . $this->dists[$goods['dist_id']] . $goods['address'];
31.              }
82.  $action_name 'action_'.$__action;
83.  if(!class_exists($controller_nametrue)) err("Err: Controller '$controller_name' is not exists!");
84.  $controller_obj = new $controller_name();
85.  if(!method_exists($controller_obj$action_name)) err("Err: Method '$action_name' of '$controller_name' is not exists!");
86. 
87.  $controller_obj->$action_name();
88. 
89.  function url($c 'main'$a 'index'$param = array()) {
90.      if(is_array($c)) {
91.          $param $c;
92.          if(isset($param['m'])) $m $param['m']; unset($param['m']);
1.  <?php
2.  define('APP_DIR'realpath('./'));
3.  defined('DS') or define('DS'DIRECTORY_SEPARATOR);
4.  define('INCL_DIR'APP_DIR.DS.'protected'.DS.'include');
5.  require(INCL_DIR.DS.'core.php');