NOTICE: Undefined index: 0 in D:\wwwroot\shangpu\wwwroot\protected\controller\goods_controller.php on line 36
- D:\wwwroot\shangpu\wwwroot\protected\include\core.php on line 554
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.
555.
err("$msg: $errstr in $errfile on line $errline");
}
556.
557.
function err($msg)
558.
{
559.
$traces = debug_backtrace();
- D:\wwwroot\shangpu\wwwroot\protected\controller\goods_controller.php on line 36
31.
{ $admin_model = new admin_model();
32.
$qrcode = $admin_model -> find(array('user_id'=>$goods['admin_id']));
33.
$this->qrcode = $qrcode['thumb'];
34.
}
35.
$this->seller_name = $seller_model->getName($goods['seller_id']);
36.
37.
$this->adssss = $this->seller_name . $this->cdlist[$goods['area_id']] . $goods['address'];
if($goods['area_id'] && $goods['dist_id'])
38.
{
39.
$this->dists = cdarea($goods['area_id']);
40.
$this->adssss = $seller_model->getName($goods['seller_id']) . $this->cdlist[$goods['area_id']] . $this->dists[$goods['dist_id']] . $goods['address'];
41.
}
- D:\wwwroot\shangpu\wwwroot\protected\include\core.php on line 87
82.
$action_name = 'action_'.$__action;
83.
if(!class_exists($controller_name, true)) 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.
88.
$controller_obj->$action_name();
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']);
- D:\wwwroot\shangpu\wwwroot\index.php on line 5
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');