Notice (8): Undefined offset: 1 [APP/app_controller.php, line 1332]Code | Contextif( $controller != 'pages' && $controller != 'admins' && $action != 'display' ){
$find_view = explode('_', $action);
$find_view = $find_view[1];
$keyword = array( "tw" => "", "en" => "", "cn" => "", "jp" => "" ) $sysvar_company = array( "Sysvar" => array( "id" => "595", "systype_id" => "16", "parent_id" => null, "title_lang1" => "公司名稱", "title_lang2" => null, "title_lang3" => null, "is_delete" => null, "is_show" => "1", "is_admin" => null, "show_index" => null, "text1" => "泉勝五金有限公司", "text2" => "FLYFREELY|freely", "text3" => null, "value1" => null, "value2" => null, "value3" => null, "value4" => null, "value5" => null, "value6" => null, "is_set1" => null, "is_set2" => null, "is_set3" => null, "image1" => null, "image2" => null, "image3" => null, "image4" => null, "image5" => null, "memo" => null, "created" => null, "modefied" => null ), "Systype" => array( "id" => "16", "title_lang1" => "系統變數", "show_index" => "10", "created" => null, "modified" => null ), "Product" => array( "id" => null, "is_show" => null, "show_index" => null, "parent_id" => null, "category1_id" => null, "p_no" => null, "title_lang1" => null, "title_lang2" => null, "title_lang3" => null, "price" => null, "sale_price" => null, "stock" => null, "description_lang1" => null, "description_lang2" => null, "description_lang3" => null, "spec1_lang1" => null, "spec2_lang1" => null, "spec3_lang1" => null, "spec4_lang1" => null, "spec5_lang1" => null, "spec1_lang2" => null, "spec2_lang2" => null, "spec3_lang2" => null, "spec4_lang2" => null, "spec5_lang2" => null, "spec1_lang3" => null, "spec2_lang3" => null, "spec3_lang3" => null, "spec4_lang3" => null, "spec5_lang3" => null, "spec6_lang1" => null, "spec6_lang2" => null, "spec6_lang3" => null, "memo" => null, "image1" => null, "image2" => null, "image3" => null, "image4" => null, "image5" => null, "image6" => null, "file1" => null, "is_hot" => null, "is_onsale" => null, "is_recommend" => null, "click" => null, "seo_keyword_lang1" => null, "seo_description_lang1" => null, "created" => null, "modified" => null ), "Category1" => array(), "ProductImage" => array() ) $project_title = array( "tw" => "泉勝五金有限公司", "en" => "FLYFREELY|freely", "cn" => "", "jp" => "" ) $page_name = array( "tw" => "分頁", "en" => "page", "cn" => "分页", "jp" => "page" ) $layoutTitleArray = array( "product_lists_tw" => "產品介紹列表", "product_lists_en" => "Products List", "product_lists_cn" => "产品介绍列表", "page_about_tw" => "公司簡介", "page_about_cn" => "公司简介", "page_about_en" => "About us", "page_service_tw" => "服務項目", "page_service_en" => "Service", "page_service_cn" => "服务项目", "product_lists_jp" => "品 目", "product_view_tw" => "產品詳細頁", "product_view_en" => "Product Detail", "product_view_cn" => "产品详细页", "product_view_jp" => "品 目", "category1_lists_tw" => "產品分類", "category1_lists_en" => "Category", "category1_lists_cn" => "产品分类", "category1_lists_jp" => "产品分类", "contact_mail_tw" => "聯絡我們", "contact_mail_en" => "Contact", "contact_mail_cn" => "联络我们", "contact_mail_jp" => "お問い合わせ", "member_login_tw" => "會員登入", "member_login_en" => "Member Login", "member_login_cn" => "会员登入", "member_login_jp" => "会员登入", "member_rule_tw" => "註冊須知", "member_rule_en" => "Sign Up Rule ", "member_rule_cn" => "注册须知", "member_rule_jp" => "注册须知", "member_main_tw" => "會員管理", "member_main_en" => "Member Center", "member_main_cn" => "会员管理", "member_main_jp" => "会员管理", "member_signup_tw" => "註冊會員", "member_signup_en" => "Member Sign Up", "member_signup_cn" => "注册会员", "member_signup_jp" => "注册会员", "member_get_password_tw" => "取得密碼", "member_get_password_en" => "Get Password", "member_get_password_cn" => "取得密码", "member_get_password_jp" => "取得密码", "member_edit_tw" => "編輯會員資料", "member_edit_en" => "Edit Member Information", "member_edit_cn" => "编辑会员资料", "member_edit_jp" => "编辑会员资料", "member_edit_password_tw" => "編輯會員密碼", "member_edit_password_en" => "Edit Member Password", "member_edit_password_cn" => "编辑会员密码", "member_edit_password_jp" => "编辑会员密码", "mynews_lists_tw" => "最新消息列表", "mynews_lists_en" => "News List", "mynews_lists_cn" => "最新消息列表", "mynews_lists_jp" => "ニュース", "mynews_view_tw" => "最新消息", "mynews_view_en" => "News", "mynews_view_cn" => "最新消息", "mynews_view_jp" => "ニュース", "mynews_list2s_tw" => "常見問題列表", "mynews_list2s_en" => "FAQs", "mynews_list2s_cn" => "常见问题列表", "mynews_view2_tw" => "常見問題", "mynews_view2_en" => "FAQ", "mynews_view2_cn" => "常见问题", "page_company_tw" => "關於我們", "page_company_en" => "About Us", "page_company_cn" => "关于我们", "page_company_jp" => "会社概要", "page_index_tw" => "首頁", "page_index_en" => "Index", "page_index_cn" => "首页", "page_index_jp" => "トップページ", "index_tw" => "後台管理", "order_cart01_tw" => "購物車 1.step ", "order_cart02_tw" => "購物車 2.step ", "order_cart03_tw" => "購物車 3.step ", "order_cart04_tw" => "購物車 4.step " ) $controller = "products" $action = "products" $find_view = array( "products" )AppController::myCommomConfig() - APP/app_controller.php, line 1332 AppController::beforeRender() - APP/app_controller.php, line 206 Controller::render() - CORE/cake/libs/controller/controller.php, line 1733 ErrorHandler::_outputMessage() - CORE/cake/libs/error.php, line 915 ErrorHandler::missingAction() - CORE/cake/libs/error.php, line 449 Object::dispatchMethod() - CORE/cake/libs/object.php, line 223 ErrorHandler::__construct() - CORE/cake/libs/error.php, line 249 Object::cakeError() - CORE/cake/libs/object.php, line 393 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 188 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 160 [main] - APP/webroot/index.php, line 97
Notice (8): Undefined index: ts [APP/app_controller.php, line 480]Code | Contextelse if ( !isset($show_title) ){
//在一般list page 之類的
$layoutTitle = "{$keyword[$lang]} - {$action_name}{$page_show} - {$project_title[$lang]}";
$show_title = null $my_url = "products/products/product_view_tw/contacts/products/product_lists_tw/parent_id:52" $layoutTitleArray = array( "product_lists_tw" => "產品介紹列表", "product_lists_en" => "Products List", "product_lists_cn" => "产品介绍列表", "page_about_tw" => "公司簡介", "page_about_cn" => "公司简介", "page_about_en" => "About us", "page_service_tw" => "服務項目", "page_service_en" => "Service", "page_service_cn" => "服务项目", "product_lists_jp" => "品 目", "product_view_tw" => "產品詳細頁", "product_view_en" => "Product Detail", "product_view_cn" => "产品详细页", "product_view_jp" => "品 目", "category1_lists_tw" => "產品分類", "category1_lists_en" => "Category", "category1_lists_cn" => "产品分类", "category1_lists_jp" => "产品分类", "contact_mail_tw" => "聯絡我們", "contact_mail_en" => "Contact", "contact_mail_cn" => "联络我们", "contact_mail_jp" => "お問い合わせ", "member_login_tw" => "會員登入", "member_login_en" => "Member Login", "member_login_cn" => "会员登入", "member_login_jp" => "会员登入", "member_rule_tw" => "註冊須知", "member_rule_en" => "Sign Up Rule ", "member_rule_cn" => "注册须知", "member_rule_jp" => "注册须知", "member_main_tw" => "會員管理", "member_main_en" => "Member Center", "member_main_cn" => "会员管理", "member_main_jp" => "会员管理", "member_signup_tw" => "註冊會員", "member_signup_en" => "Member Sign Up", "member_signup_cn" => "注册会员", "member_signup_jp" => "注册会员", "member_get_password_tw" => "取得密碼", "member_get_password_en" => "Get Password", "member_get_password_cn" => "取得密码", "member_get_password_jp" => "取得密码", "member_edit_tw" => "編輯會員資料", "member_edit_en" => "Edit Member Information", "member_edit_cn" => "编辑会员资料", "member_edit_jp" => "编辑会员资料", "member_edit_password_tw" => "編輯會員密碼", "member_edit_password_en" => "Edit Member Password", "member_edit_password_cn" => "编辑会员密码", "member_edit_password_jp" => "编辑会员密码", "mynews_lists_tw" => "最新消息列表", "mynews_lists_en" => "News List", "mynews_lists_cn" => "最新消息列表", "mynews_lists_jp" => "ニュース", "mynews_view_tw" => "最新消息", "mynews_view_en" => "News", "mynews_view_cn" => "最新消息", "mynews_view_jp" => "ニュース", "mynews_list2s_tw" => "常見問題列表", "mynews_list2s_en" => "FAQs", "mynews_list2s_cn" => "常见问题列表", "mynews_view2_tw" => "常見問題", "mynews_view2_en" => "FAQ", "mynews_view2_cn" => "常见问题", "page_company_tw" => "關於我們", "page_company_en" => "About Us", "page_company_cn" => "关于我们", "page_company_jp" => "会社概要", "page_index_tw" => "首頁", "page_index_en" => "Index", "page_index_cn" => "首页", "page_index_jp" => "トップページ", "index_tw" => "後台管理", "order_cart01_tw" => "購物車 1.step ", "order_cart02_tw" => "購物車 2.step ", "order_cart03_tw" => "購物車 3.step ", "order_cart04_tw" => "購物車 4.step " ) $get_action = "products" $lang = "ts" $lang_int = 1 $keyword = array( "tw" => "", "en" => "", "cn" => "", "jp" => "" ) $project_title = array( "tw" => "泉勝五金有限公司", "en" => "FLYFREELY|freely", "cn" => "", "jp" => "" ) $action_name = "" $page_name = array( "tw" => "分頁", "en" => "page", "cn" => "分页", "jp" => "page" ) $page_show = "" $layoutTitle = ""AppController::setLayoutTitle() - APP/app_controller.php, line 480 AppController::beforeRender() - APP/app_controller.php, line 208 Controller::render() - CORE/cake/libs/controller/controller.php, line 1733 ErrorHandler::_outputMessage() - CORE/cake/libs/error.php, line 915 ErrorHandler::missingAction() - CORE/cake/libs/error.php, line 449 Object::dispatchMethod() - CORE/cake/libs/object.php, line 223 ErrorHandler::__construct() - CORE/cake/libs/error.php, line 249 Object::cakeError() - CORE/cake/libs/object.php, line 393 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 188 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 160 [main] - APP/webroot/index.php, line 97
Error: The action products is not defined in controller ProductsController
Error: Create ProductsController::products() in file: app/controllers/products_controller.php.
<?php class ProductsController extends AppController { var $name = 'Products'; function products() { } } ?>
Notice: If you want to customize this error message, create app/views/errors/missing_action.ctp