Skip to content

Instantly share code, notes, and snippets.

@gieart87
Created February 23, 2016 06:16
Show Gist options
  • Save gieart87/585d5f8adac8ee16abd3 to your computer and use it in GitHub Desktop.
Save gieart87/585d5f8adac8ee16abd3 to your computer and use it in GitHub Desktop.
{
"message": "Not Found",
"url": "/bot/viglink/cakeviglink/api/categories.json?page=2",
"code": 404,
"trace": [
{
"file": "/var/www/html/bot/viglink/cakeviglink/vendor/cakephp/cakephp/src/Controller/Controller.php",
"line": 688,
"function": "paginate",
"class": "Cake\\Controller\\Component\\PaginatorComponent",
"type": "->",
"args": [
{},
{
"limit": 3
}
]
},
{
"file": "/var/www/html/bot/viglink/cakeviglink/src/Controller/Api/CategoriesController.php",
"line": 39,
"function": "paginate",
"class": "Cake\\Controller\\Controller",
"type": "->",
"args": [
{}
]
},
{
"file": "/var/www/html/bot/viglink/cakeviglink/vendor/cakephp/cakephp/src/Controller/Controller.php",
"line": 429,
"function": "call_user_func_array",
"args": [
[
{
"components": {
"RequestHandler": null
},
"name": "Categories",
"helpers": [],
"request": {
"params": {
"plugin": null,
"controller": "Categories",
"action": "index",
"_ext": "json",
"pass": [],
"_method": "GET",
"prefix": "api",
"isAjax": false,
"paging": {
"categories": {
"finder": "all",
"page": 1,
"current": 3,
"count": 3,
"perPage": 3,
"prevPage": false,
"nextPage": false,
"pageCount": 1,
"sort": null,
"direction": false,
"limit": null,
"sortDefault": false,
"directionDefault": false
}
}
},
"data": [],
"query": {
"page": "2"
},
"cookies": [],
"url": "api/categories.json",
"base": "/bot/viglink/cakeviglink",
"webroot": "/bot/viglink/cakeviglink/",
"here": "/bot/viglink/cakeviglink/api/categories.json",
"trustProxy": false
},
"response": {},
"paginate": {
"limit": 3
},
"autoRender": true,
"View": null,
"plugin": null,
"passedArgs": [],
"modelClass": "Categories",
"viewClass": null,
"viewVars": [],
"RequestHandler": {
"enabled": true,
"response": {},
"ext": "json",
"request": {
"params": {
"plugin": null,
"controller": "Categories",
"action": "index",
"_ext": "json",
"pass": [],
"_method": "GET",
"prefix": "api",
"isAjax": false,
"paging": {
"categories": {
"finder": "all",
"page": 1,
"current": 3,
"count": 3,
"perPage": 3,
"prevPage": false,
"nextPage": false,
"pageCount": 1,
"sort": null,
"direction": false,
"limit": null,
"sortDefault": false,
"directionDefault": false
}
}
},
"data": [],
"query": {
"page": "2"
},
"cookies": [],
"url": "api/categories.json",
"base": "/bot/viglink/cakeviglink",
"webroot": "/bot/viglink/cakeviglink/",
"here": "/bot/viglink/cakeviglink/api/categories.json",
"trustProxy": false
},
"components": []
},
"Flash": {
"request": {
"params": {
"plugin": null,
"controller": "Categories",
"action": "index",
"_ext": "json",
"pass": [],
"_method": "GET",
"prefix": "api",
"isAjax": false,
"paging": {
"categories": {
"finder": "all",
"page": 1,
"current": 3,
"count": 3,
"perPage": 3,
"prevPage": false,
"nextPage": false,
"pageCount": 1,
"sort": null,
"direction": false,
"limit": null,
"sortDefault": false,
"directionDefault": false
}
}
},
"data": [],
"query": {
"page": "2"
},
"cookies": [],
"url": "api/categories.json",
"base": "/bot/viglink/cakeviglink",
"webroot": "/bot/viglink/cakeviglink/",
"here": "/bot/viglink/cakeviglink/api/categories.json",
"trustProxy": false
},
"response": {},
"components": []
},
"Categories": {},
"Paginator": {
"request": {
"params": {
"plugin": null,
"controller": "Categories",
"action": "index",
"_ext": "json",
"pass": [],
"_method": "GET",
"prefix": "api",
"isAjax": false,
"paging": {
"categories": {
"finder": "all",
"page": 1,
"current": 3,
"count": 3,
"perPage": 3,
"prevPage": false,
"nextPage": false,
"pageCount": 1,
"sort": null,
"direction": false,
"limit": null,
"sortDefault": false,
"directionDefault": false
}
}
},
"data": [],
"query": {
"page": "2"
},
"cookies": [],
"url": "api/categories.json",
"base": "/bot/viglink/cakeviglink",
"webroot": "/bot/viglink/cakeviglink/",
"here": "/bot/viglink/cakeviglink/api/categories.json",
"trustProxy": false
},
"response": {},
"components": []
}
},
"index"
],
[]
]
},
{
"file": "/var/www/html/bot/viglink/cakeviglink/vendor/cakephp/cakephp/src/Routing/Dispatcher.php",
"line": 114,
"function": "invokeAction",
"class": "Cake\\Controller\\Controller",
"type": "->",
"args": []
},
{
"file": "/var/www/html/bot/viglink/cakeviglink/vendor/cakephp/cakephp/src/Routing/Dispatcher.php",
"line": 87,
"function": "_invoke",
"class": "Cake\\Routing\\Dispatcher",
"type": "->",
"args": [
{
"components": {
"RequestHandler": null
},
"name": "Categories",
"helpers": [],
"request": {
"params": {
"plugin": null,
"controller": "Categories",
"action": "index",
"_ext": "json",
"pass": [],
"_method": "GET",
"prefix": "api",
"isAjax": false,
"paging": {
"categories": {
"finder": "all",
"page": 1,
"current": 3,
"count": 3,
"perPage": 3,
"prevPage": false,
"nextPage": false,
"pageCount": 1,
"sort": null,
"direction": false,
"limit": null,
"sortDefault": false,
"directionDefault": false
}
}
},
"data": [],
"query": {
"page": "2"
},
"cookies": [],
"url": "api/categories.json",
"base": "/bot/viglink/cakeviglink",
"webroot": "/bot/viglink/cakeviglink/",
"here": "/bot/viglink/cakeviglink/api/categories.json",
"trustProxy": false
},
"response": {},
"paginate": {
"limit": 3
},
"autoRender": true,
"View": null,
"plugin": null,
"passedArgs": [],
"modelClass": "Categories",
"viewClass": null,
"viewVars": [],
"RequestHandler": {
"enabled": true,
"response": {},
"ext": "json",
"request": {
"params": {
"plugin": null,
"controller": "Categories",
"action": "index",
"_ext": "json",
"pass": [],
"_method": "GET",
"prefix": "api",
"isAjax": false,
"paging": {
"categories": {
"finder": "all",
"page": 1,
"current": 3,
"count": 3,
"perPage": 3,
"prevPage": false,
"nextPage": false,
"pageCount": 1,
"sort": null,
"direction": false,
"limit": null,
"sortDefault": false,
"directionDefault": false
}
}
},
"data": [],
"query": {
"page": "2"
},
"cookies": [],
"url": "api/categories.json",
"base": "/bot/viglink/cakeviglink",
"webroot": "/bot/viglink/cakeviglink/",
"here": "/bot/viglink/cakeviglink/api/categories.json",
"trustProxy": false
},
"components": []
},
"Flash": {
"request": {
"params": {
"plugin": null,
"controller": "Categories",
"action": "index",
"_ext": "json",
"pass": [],
"_method": "GET",
"prefix": "api",
"isAjax": false,
"paging": {
"categories": {
"finder": "all",
"page": 1,
"current": 3,
"count": 3,
"perPage": 3,
"prevPage": false,
"nextPage": false,
"pageCount": 1,
"sort": null,
"direction": false,
"limit": null,
"sortDefault": false,
"directionDefault": false
}
}
},
"data": [],
"query": {
"page": "2"
},
"cookies": [],
"url": "api/categories.json",
"base": "/bot/viglink/cakeviglink",
"webroot": "/bot/viglink/cakeviglink/",
"here": "/bot/viglink/cakeviglink/api/categories.json",
"trustProxy": false
},
"response": {},
"components": []
},
"Categories": {},
"Paginator": {
"request": {
"params": {
"plugin": null,
"controller": "Categories",
"action": "index",
"_ext": "json",
"pass": [],
"_method": "GET",
"prefix": "api",
"isAjax": false,
"paging": {
"categories": {
"finder": "all",
"page": 1,
"current": 3,
"count": 3,
"perPage": 3,
"prevPage": false,
"nextPage": false,
"pageCount": 1,
"sort": null,
"direction": false,
"limit": null,
"sortDefault": false,
"directionDefault": false
}
}
},
"data": [],
"query": {
"page": "2"
},
"cookies": [],
"url": "api/categories.json",
"base": "/bot/viglink/cakeviglink",
"webroot": "/bot/viglink/cakeviglink/",
"here": "/bot/viglink/cakeviglink/api/categories.json",
"trustProxy": false
},
"response": {},
"components": []
}
}
]
},
{
"file": "/var/www/html/bot/viglink/cakeviglink/webroot/index.php",
"line": 37,
"function": "dispatch",
"class": "Cake\\Routing\\Dispatcher",
"type": "->",
"args": [
{
"params": {
"plugin": null,
"controller": "Categories",
"action": "index",
"_ext": "json",
"pass": [],
"_method": "GET",
"prefix": "api",
"isAjax": false,
"paging": {
"categories": {
"finder": "all",
"page": 1,
"current": 3,
"count": 3,
"perPage": 3,
"prevPage": false,
"nextPage": false,
"pageCount": 1,
"sort": null,
"direction": false,
"limit": null,
"sortDefault": false,
"directionDefault": false
}
}
},
"data": [],
"query": {
"page": "2"
},
"cookies": [],
"url": "api/categories.json",
"base": "/bot/viglink/cakeviglink",
"webroot": "/bot/viglink/cakeviglink/",
"here": "/bot/viglink/cakeviglink/api/categories.json",
"trustProxy": false
},
{}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment