Notice (8): Undefined variable: teamname [APP/controllers/teams_controller.php, line 58]
Code |
Context$id = "PÄssÄ"
$pageid = "profile"
$contain = array(
"Member",
"TeamPhoto" => array(
"conditions" => array()
),
"TeamVideo" => array(
"conditions" => array()
),
"Post" => array(
"conditions" => array(),
"order" => "Post.created DESC",
"PostComment" => array(),
"PostPhoto" => array(),
"PostVideo" => array()
),
"TeamSocialNetwork",
"PollVote"
)
'TeamSocialNetwork',
'PollVote');
if($teamname) $conditions['Team.id'] = $id;
TeamsController::profile() - APP/controllers/teams_controller.php, line 58
Object::dispatchMethod() - APP/cake/libs/object.php, line 117
Dispatcher::_invoke() - APP/cake/dispatcher.php, line 227
Dispatcher::dispatch() - APP/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 91
Notice (8): Undefined variable: conditions [APP/controllers/teams_controller.php, line 59]
Code |
Context$id = "PÄssÄ"
$pageid = "profile"
$contain = array(
"Member",
"TeamPhoto" => array(
"conditions" => array()
),
"TeamVideo" => array(
"conditions" => array()
),
"Post" => array(
"conditions" => array(),
"order" => "Post.created DESC",
"PostComment" => array(),
"PostPhoto" => array(),
"PostVideo" => array()
),
"TeamSocialNetwork",
"PollVote"
)
'PollVote');
if($teamname) $conditions['Team.id'] = $id;
$data = $this->Team->find('first', array('contain' => $contain, 'conditions' => $conditions, 'order' => 'Team.created DESC', 'contain' => $contain));
TeamsController::profile() - APP/controllers/teams_controller.php, line 59
Object::dispatchMethod() - APP/cake/libs/object.php, line 117
Dispatcher::_invoke() - APP/cake/dispatcher.php, line 227
Dispatcher::dispatch() - APP/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 91
Warning (2): Cannot modify header information - headers already sent by (output started at /content/herbalae/docs/ro/houseoffun/cake/basics.php:313) [APP/cake/libs/controller/controller.php, line 640]
Code |
Context$status = "Location: http://www.herbalessences.ro/houseoffun/"
header - [internal], line ??
Controller::header() - APP/cake/libs/controller/controller.php, line 640
Controller::redirect() - APP/cake/libs/controller/controller.php, line 621
TeamsController::profile() - APP/controllers/teams_controller.php, line 64
Object::dispatchMethod() - APP/cake/libs/object.php, line 117
Dispatcher::_invoke() - APP/cake/dispatcher.php, line 227
Dispatcher::dispatch() - APP/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 91