Missing Method in FabricsController
Error:
The action <img src=" is not defined in controller FabricsController
Error:
Create FabricsController::<img src="() in file: app/Controller/FabricsController.php.
<?php
class FabricsController extends AppController {
public function <img src="() {
}
}
Notice:
If you want to customize this error message, create app/View/Errors/missing_action.ctp
Stack Trace
- CORE/Cake/Routing/Dispatcher.php line 187 → Controller->invokeAction(CakeRequest)
$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 => 'fabrics/%3Cimg%20src=%22/theme/SouthSea/img/%22%20class=%22img-responsive%22%20alt=%22%22%20/%3E'
base => ''
webroot => '/'
here => '/fabrics/%3Cimg%20src=%22/theme/SouthSea/img/%22%20class=%22img-responsive%22%20alt=%22%22%20/%3E'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
- CORE/Cake/Routing/Dispatcher.php line 162 → Dispatcher->_invoke(FabricsController, CakeRequest, CakeResponse)
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(FabricsController) {
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
uses => array(
[maximum depth reached]
)
name => 'Fabrics'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Fabrics'
layoutPath => null
viewVars => array(
[maximum depth reached]
)
view => '<img src="'
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 => 'Fabric'
modelKey => 'fabric'
validationErrors => null
Session => object(SessionComponent) {}
Auth => object(AuthComponent) {}
Cookie => object(CookieComponent) {}
Paginator => object(PaginatorComponent) {}
Security => object(SecurityComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Host => object(Host) {}
site => array(
[maximum depth reached]
)
theme => 'SouthSea'
Category => object(Category) {}
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 => 'fabrics/%3Cimg%20src=%22/theme/SouthSea/img/%22%20class=%22img-responsive%22%20alt=%22%22%20/%3E'
base => ''
webroot => '/'
here => '/fabrics/%3Cimg%20src=%22/theme/SouthSea/img/%22%20class=%22img-responsive%22%20alt=%22%22%20/%3E'
[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])
}
- APP/webroot/index.php line 111 → Dispatcher->dispatch(CakeRequest, CakeResponse)
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'fabrics/%3Cimg%20src=%22/theme/SouthSea/img/%22%20class=%22img-responsive%22%20alt=%22%22%20/%3E'
base => ''
webroot => '/'
here => '/fabrics/%3Cimg%20src=%22/theme/SouthSea/img/%22%20class=%22img-responsive%22%20alt=%22%22%20/%3E'
[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])
}