Notice (8): Undefined variable: product_slug [APP/controllers/app_controller.php, line 49]
Code |
Context$this = ReviewsController
ReviewsController::$name = "Reviews"
ReviewsController::$helpers = array
ReviewsController::$components = array
ReviewsController::$uses = array
ReviewsController::$here = "/reviews/add/665"
ReviewsController::$webroot = "/"
ReviewsController::$action = "add"
ReviewsController::$params = array
ReviewsController::$data = NULL
ReviewsController::$paginate = array
ReviewsController::$viewPath = "reviews"
ReviewsController::$layoutPath = NULL
ReviewsController::$viewVars = array
ReviewsController::$pageTitle = false
ReviewsController::$modelNames = array
ReviewsController::$base = ""
ReviewsController::$layout = "main"
ReviewsController::$autoRender = true
ReviewsController::$autoLayout = true
ReviewsController::$Component = Component object
ReviewsController::$view = "View"
ReviewsController::$ext = ".ctp"
ReviewsController::$output = NULL
ReviewsController::$plugin = NULL
ReviewsController::$cacheAction = false
ReviewsController::$persistModel = false
ReviewsController::$passedArgs = array
ReviewsController::$scaffold = false
ReviewsController::$methods = array
ReviewsController::$_log = NULL
ReviewsController::$modelClass = "Review"
ReviewsController::$modelKey = "review"
ReviewsController::$Session = SessionComponent object
ReviewsController::$Util = UtilComponent object
ReviewsController::$Review = Review object
ReviewsController::$Product = Product object
ReviewsController::$Manufacturer = Manufacturer object
ReviewsController::$Indication = Indication object
ReviewsController::$Visit = AppModel object
ReviewsController::$Cat = Cat object
$popular_links = array(
array(
"Product" => array()
),
array(
"Product" => array()
),
array(
"Product" => array()
),
array(
"Product" => array()
),
array(
"Indication" => array()
),
array(
"Product" => array()
),
array(
"Product" => array()
),
array(
"Product" => array()
),
array(
"Product" => array()
),
array(
"Indication" => array()
)
)
$query_string = ""
$value = "665"
$key = "url"
$pos = 11
$query = "SELECT * FROM products WHERE id = '665'"
$result = resource
$row = false
$product_slug = $row['slug'];
}
$value = $product_slug;
AppController::beforeRender() - APP/controllers/app_controller.php, line 49
Controller::render() - CORE/cake/libs/controller/controller.php, line 731
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 248
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 211
[main] - /home/firstrx/public_html/index.php, line 88
Warning (2): Cannot modify header information - headers already sent by (output started at /home/firstrx/cakephp/cake/basics.php:111) [CORE/cake/libs/controller/controller.php, line 615]
Code |
Context$status = "HTTP/1.1 301 Moved Permanently"
header - [internal], line ??
Controller::header() - CORE/cake/libs/controller/controller.php, line 615
Controller::redirect() - CORE/cake/libs/controller/controller.php, line 593
AppController::beforeRender() - APP/controllers/app_controller.php, line 77
Controller::render() - CORE/cake/libs/controller/controller.php, line 731
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 248
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 211
[main] - /home/firstrx/public_html/index.php, line 88