Warning (2) : file_get_contents(http://www.trianglebruins.com/labs/Website:facebook.php) [function.file-get-contents ]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
[APP/models/datasources/page_source.php , line 147 ]Code |
Context $model = Page
Page::$useDbConfig = "page"
Page::$useTable = false
Page::$displayField = NULL
Page::$id = "facebook.php"
Page::$data = array
Page::$table = "pages"
Page::$primaryKey = "id"
Page::$_schema = NULL
Page::$validate = array
Page::$validationErrors = array
Page::$tablePrefix = NULL
Page::$name = "Page"
Page::$alias = "Page"
Page::$tableToModel = array
Page::$logTransactions = false
Page::$cacheQueries = false
Page::$belongsTo = array
Page::$hasOne = array
Page::$hasMany = array
Page::$hasAndBelongsToMany = array
Page::$actsAs = NULL
Page::$Behaviors = BehaviorCollection object
Page::$whitelist = array
Page::$cacheSources = true
Page::$findQueryType = NULL
Page::$recursive = 1
Page::$order = NULL
Page::$virtualFields = array
Page::$__associationKeys = array
Page::$__associations = array
Page::$__backAssociation = array
Page::$__insertID = NULL
Page::$__numRows = NULL
Page::$__affectedRows = NULL
Page::$_findMethods = array
$queryData = array(
"conditions" => array(
"facebook.php",
array(),
"title" => "facebook.php",
"render" => 1
)
)
$title = "Website:facebook.php"
$results = array(
array(
"title" => "Website:facebook.php",
"render" => 1
)
)
$html = simple_html_dom
simple_html_dom::$root = NULL
simple_html_dom::$nodes = array
simple_html_dom::$callback = NULL
simple_html_dom::$lowercase = false
$http_response_header = array(
"HTTP/1.1 301 Moved Permanently",
"Date: Fri, 03 Sep 2010 18:23:40 GMT",
"Server: Apache",
"X-Powered-By: PHP/5.2.14",
"Vary: Accept-Encoding,Cookie",
"Expires: Thu, 01 Jan 1970 00:00:00 GMT",
"Cache-Control: private, must-revalidate, max-age=0",
"Last-Modified: Fri, 03 Sep 2010 18:23:40 GMT",
"Location: http://www.trianglebruins.com/labs/Website:Facebook.php",
"Content-Length: 0",
"Connection: close",
"Content-Type: text/html; charset=utf-8",
"HTTP/1.1 404 Not Found",
"Date: Fri, 03 Sep 2010 18:23:40 GMT",
"Server: Apache",
"X-Powered-By: PHP/5.2.14",
"Content-language: en",
"Vary: Accept-Encoding,Cookie",
"Expires: Thu, 01 Jan 1970 00:00:00 GMT",
"Cache-Control: private, must-revalidate, max-age=0",
"Connection: close",
"Content-Type: text/html; charset=UTF-8"
) file_get_contents - [internal], line ??
PageSource::read() - APP/models/datasources/page_source.php, line 147
PageSource::query() - APP/models/datasources/page_source.php, line 93
Model::call__() - CORE/cake/libs/model/model.php, line 502
Overloadable::__call() - CORE/cake/libs/overloadable_php5.php, line 50
Page::findByTitle() - [internal], line ??
PagesController::view() - APP/controllers/pages_controller.php, line 18
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83 Notice (8) : Trying to get property of non-object [APP/models/datasources/page_source.php , line 148 ]Code |
Context $html = new simple_html_dom();
$html->load(file_get_contents("http://www.trianglebruins.com/labs/$title"));
$bodyContent = $html->getElementById('bodyContent')->innertext; $model = Page
Page::$useDbConfig = "page"
Page::$useTable = false
Page::$displayField = NULL
Page::$id = "facebook.php"
Page::$data = array
Page::$table = "pages"
Page::$primaryKey = "id"
Page::$_schema = NULL
Page::$validate = array
Page::$validationErrors = array
Page::$tablePrefix = NULL
Page::$name = "Page"
Page::$alias = "Page"
Page::$tableToModel = array
Page::$logTransactions = false
Page::$cacheQueries = false
Page::$belongsTo = array
Page::$hasOne = array
Page::$hasMany = array
Page::$hasAndBelongsToMany = array
Page::$actsAs = NULL
Page::$Behaviors = BehaviorCollection object
Page::$whitelist = array
Page::$cacheSources = true
Page::$findQueryType = NULL
Page::$recursive = 1
Page::$order = NULL
Page::$virtualFields = array
Page::$__associationKeys = array
Page::$__associations = array
Page::$__backAssociation = array
Page::$__insertID = NULL
Page::$__numRows = NULL
Page::$__affectedRows = NULL
Page::$_findMethods = array
$queryData = array(
"conditions" => array(
"facebook.php",
array(),
"title" => "facebook.php",
"render" => 1
)
)
$title = "Website:facebook.php"
$results = array(
array(
"title" => "Website:facebook.php",
"render" => 1
)
)
$html = simple_html_dom
simple_html_dom::$root = simple_html_dom_node object
simple_html_dom::$nodes = array
simple_html_dom::$callback = NULL
simple_html_dom::$lowercase = true
$http_response_header = array(
"HTTP/1.1 301 Moved Permanently",
"Date: Fri, 03 Sep 2010 18:23:40 GMT",
"Server: Apache",
"X-Powered-By: PHP/5.2.14",
"Vary: Accept-Encoding,Cookie",
"Expires: Thu, 01 Jan 1970 00:00:00 GMT",
"Cache-Control: private, must-revalidate, max-age=0",
"Last-Modified: Fri, 03 Sep 2010 18:23:40 GMT",
"Location: http://www.trianglebruins.com/labs/Website:Facebook.php",
"Content-Length: 0",
"Connection: close",
"Content-Type: text/html; charset=utf-8",
"HTTP/1.1 404 Not Found",
"Date: Fri, 03 Sep 2010 18:23:40 GMT",
"Server: Apache",
"X-Powered-By: PHP/5.2.14",
"Content-language: en",
"Vary: Accept-Encoding,Cookie",
"Expires: Thu, 01 Jan 1970 00:00:00 GMT",
"Cache-Control: private, must-revalidate, max-age=0",
"Connection: close",
"Content-Type: text/html; charset=UTF-8"
) PageSource::read() - APP/models/datasources/page_source.php, line 148
PageSource::query() - APP/models/datasources/page_source.php, line 93
Model::call__() - CORE/cake/libs/model/model.php, line 502
Overloadable::__call() - CORE/cake/libs/overloadable_php5.php, line 50
Page::findByTitle() - [internal], line ??
PagesController::view() - APP/controllers/pages_controller.php, line 18
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Triangle Fraternity: UCLA