Notice (8): Undefined index: lidm [APP/Controller/OrdersController.php, line 502]Code Context}$order= $this -> Order->find('first', array('conditions' => array('Order.id' => $this->request->data['lidm']), //array of conditionsOrdersController::orderend() - APP/Controller/OrdersController.php, line 502 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 110
Notice (8): Undefined index: lidm [APP/Controller/OrdersController.php, line 507]Code Context$items= $this -> Item->find('all', array('conditions' => array('Item.order_id' => $this->request->data['lidm']), //array of conditions$order = array()OrdersController::orderend() - APP/Controller/OrdersController.php, line 507 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 110
Notice (8): Undefined index: Order [APP/Controller/OrdersController.php, line 511]Code Context));if($order['Order']['getstore']=="0"){$order = array() $items = array()OrdersController::orderend() - APP/Controller/OrdersController.php, line 511 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 110
Notice (8): Undefined index: Order [APP/Controller/OrdersController.php, line 514]Code Context$store="無";}elseif($order['Order']['getstore']=="1"){$order = array() $items = array()OrdersController::orderend() - APP/Controller/OrdersController.php, line 514 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 110
Notice (8): Undefined index: Order [APP/Controller/OrdersController.php, line 517]Code Context$store="大直店 ";}elseif($order['Order']['getstore']=="2"){$order = array() $items = array()OrdersController::orderend() - APP/Controller/OrdersController.php, line 517 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 110
Notice (8): Undefined index: Order [APP/Controller/OrdersController.php, line 521]Code Context}if($order['Order']['gettime']=="1"){$order = array() $items = array()OrdersController::orderend() - APP/Controller/OrdersController.php, line 521 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 110
Notice (8): Undefined index: Order [APP/Controller/OrdersController.php, line 524]Code Context$gettime="11:00 ~ 14:00 ";}elseif($order['Order']['gettime']=="2"){$order = array() $items = array()OrdersController::orderend() - APP/Controller/OrdersController.php, line 524 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 110
Notice (8): Undefined index: Order [APP/Controller/OrdersController.php, line 527]Code Context$gettime="14:00 ~ 18:00 ";}elseif($order['Order']['gettime']=="3"){$order = array() $items = array()OrdersController::orderend() - APP/Controller/OrdersController.php, line 527 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 110
Notice (8): Undefined variable: store [APP/Controller/OrdersController.php, line 531]Code Context}if($store=="無"){$order = array() $items = array()OrdersController::orderend() - APP/Controller/OrdersController.php, line 531 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 110
Notice (8): Undefined index: Order [APP/Controller/OrdersController.php, line 534]Code Context$gettinginfo="無";}else{$gettinginfo=$store.$order['Order']['getdate'].' '.$gettime;$order = array() $items = array()OrdersController::orderend() - APP/Controller/OrdersController.php, line 534 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 110
Notice (8): Undefined variable: store [APP/Controller/OrdersController.php, line 534]Code Context$gettinginfo="無";}else{$gettinginfo=$store.$order['Order']['getdate'].' '.$gettime;$order = array() $items = array()OrdersController::orderend() - APP/Controller/OrdersController.php, line 534 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 110
Notice (8): Undefined variable: gettime [APP/Controller/OrdersController.php, line 534]Code Context$gettinginfo="無";}else{$gettinginfo=$store.$order['Order']['getdate'].' '.$gettime;$order = array() $items = array()OrdersController::orderend() - APP/Controller/OrdersController.php, line 534 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 110
Notice (8): Undefined index: Order [APP/Controller/OrdersController.php, line 550]Code Context$AdminEmail = new CakeEmail();$AdminEmail->from(array('season@season.com' => 'SEASON Artisan Pâtissier 訂單確認通知信'));$AdminEmail->to($order['Order']['email']);$order = array() $items = array() $gettinginfo = ' ' $productarry = array() $i = (int) 0 $AdminEmail = object(CakeEmail) { charset => 'UTF-8' headerCharset => 'UTF-8' [protected] _to => array() [protected] _from => array( 'season@season.com' => 'SEASON Artisan Pâtissier 訂單確認通知信' ) [protected] _sender => array() [protected] _replyTo => array() [protected] _readReceipt => array() [protected] _returnPath => array() [protected] _cc => array() [protected] _bcc => array() [protected] _messageId => true [protected] _domain => 'www.seedbyseason.com' [protected] _subject => '' [protected] _headers => array() [protected] _layout => 'default' [protected] _template => '' [protected] _viewRender => 'View' [protected] _viewVars => array() [protected] _theme => null [protected] _helpers => array( (int) 0 => 'Html' ) [protected] _textMessage => '' [protected] _htmlMessage => '' [protected] _message => array() [protected] _emailFormatAvailable => array( (int) 0 => 'text', (int) 1 => 'html', (int) 2 => 'both' ) [protected] _emailFormat => 'text' [protected] _transportName => 'Mail' [protected] _transportClass => null [protected] _appCharset => 'UTF-8' [protected] _attachments => array() [protected] _boundary => null [protected] _config => array() [protected] _charset8bit => array( (int) 0 => 'UTF-8', (int) 1 => 'SHIFT_JIS' ) [protected] _contentTypeCharset => array( 'ISO-2022-JP-MS' => 'ISO-2022-JP' ) [protected] _emailPattern => null [protected] _configClass => 'EmailConfig' }OrdersController::orderend() - APP/Controller/OrdersController.php, line 550 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 110
Notice (8): Undefined index: status [APP/Controller/OrdersController.php, line 555]Code Context$CustomerEmailStr="";if($this->request->data['status']=="0" && isset($this->request->data['authCode']) && isset($this->request->data['xid'])){$order = array() $items = array() $gettinginfo = ' ' $productarry = array() $i = (int) 0 $AdminEmail = object(CakeEmail) { charset => 'UTF-8' headerCharset => 'UTF-8' [protected] _to => array() [protected] _from => array( 'season@season.com' => 'SEASON Artisan Pâtissier 訂單確認通知信' ) [protected] _sender => array() [protected] _replyTo => array() [protected] _readReceipt => array() [protected] _returnPath => array() [protected] _cc => array() [protected] _bcc => array() [protected] _messageId => true [protected] _domain => 'www.seedbyseason.com' [protected] _subject => '=?UTF-8?B?5Yi35Y2h5Lqk5piT5piO57Sw6KGo?=' [protected] _headers => array() [protected] _layout => 'default' [protected] _template => '' [protected] _viewRender => 'View' [protected] _viewVars => array() [protected] _theme => null [protected] _helpers => array( (int) 0 => 'Html' ) [protected] _textMessage => '' [protected] _htmlMessage => '' [protected] _message => array() [protected] _emailFormatAvailable => array( (int) 0 => 'text', (int) 1 => 'html', (int) 2 => 'both' ) [protected] _emailFormat => 'html' [protected] _transportName => 'Mail' [protected] _transportClass => null [protected] _appCharset => 'UTF-8' [protected] _attachments => array() [protected] _boundary => null [protected] _config => array() [protected] _charset8bit => array( (int) 0 => 'UTF-8', (int) 1 => 'SHIFT_JIS' ) [protected] _contentTypeCharset => array( 'ISO-2022-JP-MS' => 'ISO-2022-JP' ) [protected] _emailPattern => null [protected] _configClass => 'EmailConfig' } $CustomerEmailStr = ''OrdersController::orderend() - APP/Controller/OrdersController.php, line 555 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 110
Notice (8): Undefined index: errDesc [APP/Controller/OrdersController.php, line 587]Code Context}else{$CustomerEmailStr.= "<li>交易授權失敗!</li>";$CustomerEmailStr.= "<li>失敗原因: ".$this->request->data['errDesc']."</li>";$order = array() $items = array() $gettinginfo = ' ' $productarry = array() $i = (int) 0 $AdminEmail = object(CakeEmail) { charset => 'UTF-8' headerCharset => 'UTF-8' [protected] _to => array() [protected] _from => array( 'season@season.com' => 'SEASON Artisan Pâtissier 訂單確認通知信' ) [protected] _sender => array() [protected] _replyTo => array() [protected] _readReceipt => array() [protected] _returnPath => array() [protected] _cc => array() [protected] _bcc => array() [protected] _messageId => true [protected] _domain => 'www.seedbyseason.com' [protected] _subject => '=?UTF-8?B?5Yi35Y2h5Lqk5piT5piO57Sw6KGo?=' [protected] _headers => array() [protected] _layout => 'default' [protected] _template => '' [protected] _viewRender => 'View' [protected] _viewVars => array() [protected] _theme => null [protected] _helpers => array( (int) 0 => 'Html' ) [protected] _textMessage => '' [protected] _htmlMessage => '' [protected] _message => array() [protected] _emailFormatAvailable => array( (int) 0 => 'text', (int) 1 => 'html', (int) 2 => 'both' ) [protected] _emailFormat => 'html' [protected] _transportName => 'Mail' [protected] _transportClass => null [protected] _appCharset => 'UTF-8' [protected] _attachments => array() [protected] _boundary => null [protected] _config => array() [protected] _charset8bit => array( (int) 0 => 'UTF-8', (int) 1 => 'SHIFT_JIS' ) [protected] _contentTypeCharset => array( 'ISO-2022-JP-MS' => 'ISO-2022-JP' ) [protected] _emailPattern => null [protected] _configClass => 'EmailConfig' } $CustomerEmailStr = '<li>交易授權失敗!</li>'OrdersController::orderend() - APP/Controller/OrdersController.php, line 587 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 110
Error: An Internal Error Has Occurred.
}$AdminEmail->send($CustomerEmailStr);
'<li>交易授權失敗!</li><li>失敗原因: </li><li>請盡速與我們聯絡</li>客服信箱:<a href='mailto:service.season@gmail.com'>service.season@gmail.com </a>客服電話:<a href='tel:02-25330306'>02-25330306</a>'
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);
object(OrdersController) {
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
helper => array(
[maximum depth reached]
)
name => 'Orders'
helpers => array([maximum depth reached])
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Orders'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'orderend'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array([maximum depth reached])
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Order'
modelKey => 'order'
validationErrors => null
Session => object(SessionComponent) {}
Paginator => object(PaginatorComponent) {}
Auth => object(AuthComponent) {}
Order => object(Order) {}
Item => object(Item) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
array()$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'Orders/orderend'
base => ''
webroot => '/'
here => '/Orders/orderend'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}));}$response = $this->_invoke($controller, $request, $response);if (isset($request->params['return'])) {
object(OrdersController) {
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
helper => array(
[maximum depth reached]
)
name => 'Orders'
helpers => array([maximum depth reached])
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Orders'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'orderend'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array([maximum depth reached])
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Order'
modelKey => 'order'
validationErrors => null
Session => object(SessionComponent) {}
Paginator => object(PaginatorComponent) {}
Auth => object(AuthComponent) {}
Order => object(Order) {}
Item => object(Item) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'Orders/orderend'
base => ''
webroot => '/'
here => '/Orders/orderend'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}$Dispatcher->dispatch(new CakeRequest(),new CakeResponse());
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'Orders/orderend'
base => ''
webroot => '/'
here => '/Orders/orderend'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}