Notice (8): Trying to access array offset on value of type null [APP/Model/User.php, line 65]Code Context public function isAdmin($user) {
$adminRole = Configure::read('AuthRoles.admin');
return $user['access_level'] >= $adminRole;
$user = null
$adminRole = (int) 90
User::isAdmin() - APP/Model/User.php, line 65
AppController::beforeFilter() - APP/Controller/AppController.php, line 73
RecipesController::beforeFilter() - APP/Controller/RecipesController.php, line 23
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
Controller::startupProcess() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 677
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): Trying to access array offset on value of type null [APP/Model/User.php, line 70]Code Context public function isEditor($user) {
$editorRole = Configure::read('AuthRoles.editor');
return $user['access_level'] >= $editorRole;
$user = null
$editorRole = (int) 60
User::isEditor() - APP/Model/User.php, line 70
AppController::beforeFilter() - APP/Controller/AppController.php, line 74
RecipesController::beforeFilter() - APP/Controller/RecipesController.php, line 23
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
Controller::startupProcess() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 677
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): Trying to access array offset on value of type null [APP/Model/User.php, line 70]Code Context public function isEditor($user) {
$editorRole = Configure::read('AuthRoles.editor');
return $user['access_level'] >= $editorRole;
$user = null
$editorRole = (int) 60
User::isEditor() - APP/Model/User.php, line 70
RecipesController::view() - APP/Controller/RecipesController.php, line 145
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: etagMatches [APP/Vendor/cakephp/cakephp/lib/Cake/Network/CakeResponse.php, line 1171]Code Context $timeMatches = strtotime($this->modified()) === strtotime($modifiedSince);
}
$checks = compact('etagMatches', 'timeMatches');
$request = object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'recipes',
'action' => 'view',
'named' => array([maximum depth reached]),
'pass' => array(
[maximum depth reached]
),
'isAjax' => false
)
data => array()
query => array()
url => 'recipes/view/82'
base => '/phprecipebook'
webroot => '/phprecipebook/'
here => '/phprecipebook/recipes/view/82'
[protected] _detectors => array(
'get' => array(
[maximum depth reached]
),
'patch' => array(
[maximum depth reached]
),
'post' => array(
[maximum depth reached]
),
'put' => array(
[maximum depth reached]
),
'delete' => array(
[maximum depth reached]
),
'head' => array(
[maximum depth reached]
),
'options' => array(
[maximum depth reached]
),
'ssl' => array(
[maximum depth reached]
),
'ajax' => array(
[maximum depth reached]
),
'flash' => array(
[maximum depth reached]
),
'mobile' => array(
[maximum depth reached]
),
'requested' => array(
[maximum depth reached]
),
'json' => array(
[maximum depth reached]
),
'xml' => array(
[maximum depth reached]
)
)
[protected] _input => ''
}
$etags = array()
$modifiedSince = false
$responseTag = null
compact - [internal], line ??
CakeResponse::checkNotModified() - APP/Vendor/cakephp/cakephp/lib/Cake/Network/CakeResponse.php, line 1171
RequestHandlerComponent::beforeRender() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Component/RequestHandlerComponent.php, line 285
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 936
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: timeMatches [APP/Vendor/cakephp/cakephp/lib/Cake/Network/CakeResponse.php, line 1171]Code Context $timeMatches = strtotime($this->modified()) === strtotime($modifiedSince);
}
$checks = compact('etagMatches', 'timeMatches');
$request = object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'recipes',
'action' => 'view',
'named' => array([maximum depth reached]),
'pass' => array(
[maximum depth reached]
),
'isAjax' => false
)
data => array()
query => array()
url => 'recipes/view/82'
base => '/phprecipebook'
webroot => '/phprecipebook/'
here => '/phprecipebook/recipes/view/82'
[protected] _detectors => array(
'get' => array(
[maximum depth reached]
),
'patch' => array(
[maximum depth reached]
),
'post' => array(
[maximum depth reached]
),
'put' => array(
[maximum depth reached]
),
'delete' => array(
[maximum depth reached]
),
'head' => array(
[maximum depth reached]
),
'options' => array(
[maximum depth reached]
),
'ssl' => array(
[maximum depth reached]
),
'ajax' => array(
[maximum depth reached]
),
'flash' => array(
[maximum depth reached]
),
'mobile' => array(
[maximum depth reached]
),
'requested' => array(
[maximum depth reached]
),
'json' => array(
[maximum depth reached]
),
'xml' => array(
[maximum depth reached]
)
)
[protected] _input => ''
}
$etags = array()
$modifiedSince = false
$responseTag = null
compact - [internal], line ??
CakeResponse::checkNotModified() - APP/Vendor/cakephp/cakephp/lib/Cake/Network/CakeResponse.php, line 1171
RequestHandlerComponent::beforeRender() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Component/RequestHandlerComponent.php, line 285
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 936
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]Code Context $result = null;
foreach ($list as $name) {
$result = call_user_func_array(array($this->_loaded[$name], $callback), compact('subject') + $params);
$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp',
(int) 1 => '<script type="text/javascript">
$(function() {
$('#qtipSource').qtip({ // Grab some elements to apply the tooltip to
content: {
text: $('#qtipSourceData').html()
},
style: { classes: 'qtip-dark' }
});
$('#viewRefresh').click(function() {
var newServings = $('#viewServings').val();
ajaxNavigate("recipes/view/82/" + newServings);
return false;
})
$('#doubleRefresh').click(function() {
var newServings = $('#viewServings').val() * 2;
ajaxNavigate("recipes/view/82/" + newServings);
return false;
})
$('.rateit').rateit();
});
function loadImage(imageUrl, caption) {
$('#selectedRecipeImage img').attr('src', imageUrl).attr('title', caption);
return false;
}
</script>
<div class="recipes view">
<h2>Chicken Naan Pockets</h2>
<div class="rateit"
data-rateit-value="0"
title="0 out of 5 stars"
data-rateit-ispreset="true"
data-rateit-readonly="true">
</div>
<a href="/phprecipebook/reviews/index/82">0 Review(s)</a> <div class="actions">
<ul>
<li><a href="#" onclick="window.print();">Print</a></li>
</ul>
<div style="display: none;">
<ul id="moreActionLinksContent">
<li><a href="/phprecipebook/import" class="ajaxNavigation">Import</a> </li>
<li><a href="/phprecipebook/export/edit" class="ajaxNavigation">Export</a> </li>
</ul>
</div>
</div>
<dl class="float50Section">
<dt>Ethnicity</dt>
<dd>
</dd>
<dt>Base Type</dt>
<dd>
Poultry
</dd>
<dt>Course</dt>
<dd>
Entree
</dd>
<dt>Preparation Time</dt>
<dd>
60+ Minutes
</dd>
<dt>Difficulty</dt>
<dd>
Easy
</dd>
<dt>Serving Size</dt>
<dd>
<input type="text" id="viewServings" value="4"/>
<a id="viewRefresh" href="#">Refresh</a> /
<a id="doubleRefresh" href="#">Double it</a>
</dd>
</dl>
<dl class="float50Section">
<dt>Comments</dt>
<dd>
Very good for lunch; replace Pita with Naan
</dd>
<dt>Source</dt>
<dd>
<a href="#" onclick="return false;" id="qtipSource"></a>
<div id="qtipSourceData" class="hide">
</div>
</dd>
<dt>Source Description</dt>
<dd>
Best Ever Indian Cookbook
</dd>
<dt>Last Modified</dt>
<dd>
2009-04-07
</dd>
<dt>User</dt>
<dd>
Joyce McGuire </dd>
</dl>
<div class="clear"/><br/>
<hr/>
<br/>
<div style="width: 100%;"> <b>Ingredients</b>
<pre>
<div class='ingredientViewItem'><div class='ingredientViewQuantity'>3 T</div>low fat yogurt - natural plain <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> cayenne pepper <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 1/2 t</div> Garam Masala <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> salt <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>3 T</div> lemon juice <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 T</div>chopped, fresh cilantro <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>fresh Pepper, serrano <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 lb</div>cubed Chicken, boneless, skinless <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>8 sli</div> onion, white <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>sliced tomato <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 ea</div>shredded cabbage <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>wedges lemon <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>4 ea</div>small Pita Bread <i></i></div><br/> </pre>
</div>
<div class="float50Section" id="imagePreview">
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.</pre>
</div>
<div class="clear"/><br/>
<div class="relatedRecipe">
<span>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-trace').style.display = (document.getElementById('cakeErr62c173ff08e2f-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: name [<b>APP/View/Recipes/view.ctp</b>, line <b>215</b>]<div id="cakeErr62c173ff08e2f-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-code').style.display = (document.getElementById('cakeErr62c173ff08e2f-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-context').style.display = (document.getElementById('cakeErr62c173ff08e2f-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff08e2f-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"relatedRecipe"</span><span style="color: #007700">></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">span</span><span style="color: #007700">></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Html</span><span style="color: #007700">-></span><span style="color: #0000BB">link</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">], array(</span><span style="color: #DD0000">'controller' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'recipes'</span><span style="color: #007700">, </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'view'</span><span style="color: #007700">, </span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'recipe_id'</span><span style="color: #007700">]), </span></span></code></span></pre><pre id="cakeErr62c173ff08e2f-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 13
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 215
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre><a href="/phprecipebook/recipes/view/83" class="ajaxNavigationLink"></a> (optional)
</span>
<div class="float50Section">
<b>Ingredients</b>
<pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-trace').style.display = (document.getElementById('cakeErr62c173ff093c9-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: IngredientMapping [<b>APP/View/Recipes/view.ctp</b>, line <b>222</b>]<div id="cakeErr62c173ff093c9-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-code').style.display = (document.getElementById('cakeErr62c173ff093c9-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-context').style.display = (document.getElementById('cakeErr62c173ff093c9-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff093c9-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Ingredients'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">for (</span><span style="color: #0000BB">$i </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">$i </span><span style="color: #007700">< </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'IngredientMapping'</span><span style="color: #007700">]); </span><span style="color: #0000BB">$i</span><span style="color: #007700">++) {</span></span></code></span></pre><pre id="cakeErr62c173ff093c9-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 222
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-trace').style.display = (document.getElementById('cakeErr62c173ff098e4-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count(): Parameter must be an array or an object that implements Countable [<b>APP/View/Recipes/view.ctp</b>, line <b>222</b>]<div id="cakeErr62c173ff098e4-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-code').style.display = (document.getElementById('cakeErr62c173ff098e4-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-context').style.display = (document.getElementById('cakeErr62c173ff098e4-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff098e4-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Ingredients'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">for (</span><span style="color: #0000BB">$i </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">$i </span><span style="color: #007700">< </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'IngredientMapping'</span><span style="color: #007700">]); </span><span style="color: #0000BB">$i</span><span style="color: #007700">++) {</span></span></code></span></pre><pre id="cakeErr62c173ff098e4-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 222
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre></pre>
</div>
<div class="float50Section">
<!-- placeholder for related recipe image -->
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-trace').style.display = (document.getElementById('cakeErr62c173ff09e74-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: directions [<b>APP/View/Recipes/view.ctp</b>, line <b>242</b>]<div id="cakeErr62c173ff09e74-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-code').style.display = (document.getElementById('cakeErr62c173ff09e74-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-context').style.display = (document.getElementById('cakeErr62c173ff09e74-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff09e74-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div style</span><span style="color: #007700">=</span><span style="color: #DD0000">"width: 100%;"</span><span style="color: #007700">></span></span></code>
<code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Directions'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'directions'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span></pre></span></code></span></pre><pre id="cakeErr62c173ff09e74-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 242
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre></pre>
</div>
</div>
</pre>
</div>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp',
(int) 1 => '<script type="text/javascript">
$(function() {
$('#qtipSource').qtip({ // Grab some elements to apply the tooltip to
content: {
text: $('#qtipSourceData').html()
},
style: { classes: 'qtip-dark' }
});
$('#viewRefresh').click(function() {
var newServings = $('#viewServings').val();
ajaxNavigate("recipes/view/82/" + newServings);
return false;
})
$('#doubleRefresh').click(function() {
var newServings = $('#viewServings').val() * 2;
ajaxNavigate("recipes/view/82/" + newServings);
return false;
})
$('.rateit').rateit();
});
function loadImage(imageUrl, caption) {
$('#selectedRecipeImage img').attr('src', imageUrl).attr('title', caption);
return false;
}
</script>
<div class="recipes view">
<h2>Chicken Naan Pockets</h2>
<div class="rateit"
data-rateit-value="0"
title="0 out of 5 stars"
data-rateit-ispreset="true"
data-rateit-readonly="true">
</div>
<a href="/phprecipebook/reviews/index/82">0 Review(s)</a> <div class="actions">
<ul>
<li><a href="#" onclick="window.print();">Print</a></li>
</ul>
<div style="display: none;">
<ul id="moreActionLinksContent">
<li><a href="/phprecipebook/import" class="ajaxNavigation">Import</a> </li>
<li><a href="/phprecipebook/export/edit" class="ajaxNavigation">Export</a> </li>
</ul>
</div>
</div>
<dl class="float50Section">
<dt>Ethnicity</dt>
<dd>
</dd>
<dt>Base Type</dt>
<dd>
Poultry
</dd>
<dt>Course</dt>
<dd>
Entree
</dd>
<dt>Preparation Time</dt>
<dd>
60+ Minutes
</dd>
<dt>Difficulty</dt>
<dd>
Easy
</dd>
<dt>Serving Size</dt>
<dd>
<input type="text" id="viewServings" value="4"/>
<a id="viewRefresh" href="#">Refresh</a> /
<a id="doubleRefresh" href="#">Double it</a>
</dd>
</dl>
<dl class="float50Section">
<dt>Comments</dt>
<dd>
Very good for lunch; replace Pita with Naan
</dd>
<dt>Source</dt>
<dd>
<a href="#" onclick="return false;" id="qtipSource"></a>
<div id="qtipSourceData" class="hide">
</div>
</dd>
<dt>Source Description</dt>
<dd>
Best Ever Indian Cookbook
</dd>
<dt>Last Modified</dt>
<dd>
2009-04-07
</dd>
<dt>User</dt>
<dd>
Joyce McGuire </dd>
</dl>
<div class="clear"/><br/>
<hr/>
<br/>
<div style="width: 100%;"> <b>Ingredients</b>
<pre>
<div class='ingredientViewItem'><div class='ingredientViewQuantity'>3 T</div>low fat yogurt - natural plain <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> cayenne pepper <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 1/2 t</div> Garam Masala <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> salt <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>3 T</div> lemon juice <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 T</div>chopped, fresh cilantro <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>fresh Pepper, serrano <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 lb</div>cubed Chicken, boneless, skinless <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>8 sli</div> onion, white <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>sliced tomato <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 ea</div>shredded cabbage <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>wedges lemon <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>4 ea</div>small Pita Bread <i></i></div><br/> </pre>
</div>
<div class="float50Section" id="imagePreview">
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.</pre>
</div>
<div class="clear"/><br/>
<div class="relatedRecipe">
<span>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-trace').style.display = (document.getElementById('cakeErr62c173ff08e2f-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: name [<b>APP/View/Recipes/view.ctp</b>, line <b>215</b>]<div id="cakeErr62c173ff08e2f-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-code').style.display = (document.getElementById('cakeErr62c173ff08e2f-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-context').style.display = (document.getElementById('cakeErr62c173ff08e2f-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff08e2f-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"relatedRecipe"</span><span style="color: #007700">></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">span</span><span style="color: #007700">></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Html</span><span style="color: #007700">-></span><span style="color: #0000BB">link</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">], array(</span><span style="color: #DD0000">'controller' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'recipes'</span><span style="color: #007700">, </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'view'</span><span style="color: #007700">, </span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'recipe_id'</span><span style="color: #007700">]), </span></span></code></span></pre><pre id="cakeErr62c173ff08e2f-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 13
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 215
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre><a href="/phprecipebook/recipes/view/83" class="ajaxNavigationLink"></a> (optional)
</span>
<div class="float50Section">
<b>Ingredients</b>
<pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-trace').style.display = (document.getElementById('cakeErr62c173ff093c9-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: IngredientMapping [<b>APP/View/Recipes/view.ctp</b>, line <b>222</b>]<div id="cakeErr62c173ff093c9-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-code').style.display = (document.getElementById('cakeErr62c173ff093c9-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-context').style.display = (document.getElementById('cakeErr62c173ff093c9-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff093c9-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Ingredients'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">for (</span><span style="color: #0000BB">$i </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">$i </span><span style="color: #007700">< </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'IngredientMapping'</span><span style="color: #007700">]); </span><span style="color: #0000BB">$i</span><span style="color: #007700">++) {</span></span></code></span></pre><pre id="cakeErr62c173ff093c9-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 222
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-trace').style.display = (document.getElementById('cakeErr62c173ff098e4-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count(): Parameter must be an array or an object that implements Countable [<b>APP/View/Recipes/view.ctp</b>, line <b>222</b>]<div id="cakeErr62c173ff098e4-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-code').style.display = (document.getElementById('cakeErr62c173ff098e4-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-context').style.display = (document.getElementById('cakeErr62c173ff098e4-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff098e4-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Ingredients'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">for (</span><span style="color: #0000BB">$i </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">$i </span><span style="color: #007700">< </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'IngredientMapping'</span><span style="color: #007700">]); </span><span style="color: #0000BB">$i</span><span style="color: #007700">++) {</span></span></code></span></pre><pre id="cakeErr62c173ff098e4-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 222
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre></pre>
</div>
<div class="float50Section">
<!-- placeholder for related recipe image -->
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-trace').style.display = (document.getElementById('cakeErr62c173ff09e74-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: directions [<b>APP/View/Recipes/view.ctp</b>, line <b>242</b>]<div id="cakeErr62c173ff09e74-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-code').style.display = (document.getElementById('cakeErr62c173ff09e74-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-context').style.display = (document.getElementById('cakeErr62c173ff09e74-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff09e74-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div style</span><span style="color: #007700">=</span><span style="color: #DD0000">"width: 100%;"</span><span style="color: #007700">></span></span></code>
<code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Directions'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'directions'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span></pre></span></code></span></pre><pre id="cakeErr62c173ff09e74-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 242
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre></pre>
</div>
</div>
</pre>
</div>
'
)
result => null
modParams => (int) 1
omitSubject => true
[protected] _name => 'View.afterRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Fraction'
)
$result = null
$name = 'Html'
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 938
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]Code Context $result = null;
foreach ($list as $name) {
$result = call_user_func_array(array($this->_loaded[$name], $callback), compact('subject') + $params);
$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp',
(int) 1 => '<script type="text/javascript">
$(function() {
$('#qtipSource').qtip({ // Grab some elements to apply the tooltip to
content: {
text: $('#qtipSourceData').html()
},
style: { classes: 'qtip-dark' }
});
$('#viewRefresh').click(function() {
var newServings = $('#viewServings').val();
ajaxNavigate("recipes/view/82/" + newServings);
return false;
})
$('#doubleRefresh').click(function() {
var newServings = $('#viewServings').val() * 2;
ajaxNavigate("recipes/view/82/" + newServings);
return false;
})
$('.rateit').rateit();
});
function loadImage(imageUrl, caption) {
$('#selectedRecipeImage img').attr('src', imageUrl).attr('title', caption);
return false;
}
</script>
<div class="recipes view">
<h2>Chicken Naan Pockets</h2>
<div class="rateit"
data-rateit-value="0"
title="0 out of 5 stars"
data-rateit-ispreset="true"
data-rateit-readonly="true">
</div>
<a href="/phprecipebook/reviews/index/82">0 Review(s)</a> <div class="actions">
<ul>
<li><a href="#" onclick="window.print();">Print</a></li>
</ul>
<div style="display: none;">
<ul id="moreActionLinksContent">
<li><a href="/phprecipebook/import" class="ajaxNavigation">Import</a> </li>
<li><a href="/phprecipebook/export/edit" class="ajaxNavigation">Export</a> </li>
</ul>
</div>
</div>
<dl class="float50Section">
<dt>Ethnicity</dt>
<dd>
</dd>
<dt>Base Type</dt>
<dd>
Poultry
</dd>
<dt>Course</dt>
<dd>
Entree
</dd>
<dt>Preparation Time</dt>
<dd>
60+ Minutes
</dd>
<dt>Difficulty</dt>
<dd>
Easy
</dd>
<dt>Serving Size</dt>
<dd>
<input type="text" id="viewServings" value="4"/>
<a id="viewRefresh" href="#">Refresh</a> /
<a id="doubleRefresh" href="#">Double it</a>
</dd>
</dl>
<dl class="float50Section">
<dt>Comments</dt>
<dd>
Very good for lunch; replace Pita with Naan
</dd>
<dt>Source</dt>
<dd>
<a href="#" onclick="return false;" id="qtipSource"></a>
<div id="qtipSourceData" class="hide">
</div>
</dd>
<dt>Source Description</dt>
<dd>
Best Ever Indian Cookbook
</dd>
<dt>Last Modified</dt>
<dd>
2009-04-07
</dd>
<dt>User</dt>
<dd>
Joyce McGuire </dd>
</dl>
<div class="clear"/><br/>
<hr/>
<br/>
<div style="width: 100%;"> <b>Ingredients</b>
<pre>
<div class='ingredientViewItem'><div class='ingredientViewQuantity'>3 T</div>low fat yogurt - natural plain <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> cayenne pepper <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 1/2 t</div> Garam Masala <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> salt <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>3 T</div> lemon juice <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 T</div>chopped, fresh cilantro <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>fresh Pepper, serrano <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 lb</div>cubed Chicken, boneless, skinless <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>8 sli</div> onion, white <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>sliced tomato <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 ea</div>shredded cabbage <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>wedges lemon <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>4 ea</div>small Pita Bread <i></i></div><br/> </pre>
</div>
<div class="float50Section" id="imagePreview">
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.</pre>
</div>
<div class="clear"/><br/>
<div class="relatedRecipe">
<span>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-trace').style.display = (document.getElementById('cakeErr62c173ff08e2f-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: name [<b>APP/View/Recipes/view.ctp</b>, line <b>215</b>]<div id="cakeErr62c173ff08e2f-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-code').style.display = (document.getElementById('cakeErr62c173ff08e2f-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-context').style.display = (document.getElementById('cakeErr62c173ff08e2f-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff08e2f-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"relatedRecipe"</span><span style="color: #007700">></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">span</span><span style="color: #007700">></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Html</span><span style="color: #007700">-></span><span style="color: #0000BB">link</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">], array(</span><span style="color: #DD0000">'controller' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'recipes'</span><span style="color: #007700">, </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'view'</span><span style="color: #007700">, </span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'recipe_id'</span><span style="color: #007700">]), </span></span></code></span></pre><pre id="cakeErr62c173ff08e2f-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 13
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 215
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre><a href="/phprecipebook/recipes/view/83" class="ajaxNavigationLink"></a> (optional)
</span>
<div class="float50Section">
<b>Ingredients</b>
<pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-trace').style.display = (document.getElementById('cakeErr62c173ff093c9-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: IngredientMapping [<b>APP/View/Recipes/view.ctp</b>, line <b>222</b>]<div id="cakeErr62c173ff093c9-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-code').style.display = (document.getElementById('cakeErr62c173ff093c9-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-context').style.display = (document.getElementById('cakeErr62c173ff093c9-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff093c9-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Ingredients'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">for (</span><span style="color: #0000BB">$i </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">$i </span><span style="color: #007700">< </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'IngredientMapping'</span><span style="color: #007700">]); </span><span style="color: #0000BB">$i</span><span style="color: #007700">++) {</span></span></code></span></pre><pre id="cakeErr62c173ff093c9-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 222
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-trace').style.display = (document.getElementById('cakeErr62c173ff098e4-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count(): Parameter must be an array or an object that implements Countable [<b>APP/View/Recipes/view.ctp</b>, line <b>222</b>]<div id="cakeErr62c173ff098e4-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-code').style.display = (document.getElementById('cakeErr62c173ff098e4-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-context').style.display = (document.getElementById('cakeErr62c173ff098e4-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff098e4-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Ingredients'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">for (</span><span style="color: #0000BB">$i </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">$i </span><span style="color: #007700">< </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'IngredientMapping'</span><span style="color: #007700">]); </span><span style="color: #0000BB">$i</span><span style="color: #007700">++) {</span></span></code></span></pre><pre id="cakeErr62c173ff098e4-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 222
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre></pre>
</div>
<div class="float50Section">
<!-- placeholder for related recipe image -->
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-trace').style.display = (document.getElementById('cakeErr62c173ff09e74-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: directions [<b>APP/View/Recipes/view.ctp</b>, line <b>242</b>]<div id="cakeErr62c173ff09e74-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-code').style.display = (document.getElementById('cakeErr62c173ff09e74-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-context').style.display = (document.getElementById('cakeErr62c173ff09e74-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff09e74-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div style</span><span style="color: #007700">=</span><span style="color: #DD0000">"width: 100%;"</span><span style="color: #007700">></span></span></code>
<code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Directions'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'directions'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span></pre></span></code></span></pre><pre id="cakeErr62c173ff09e74-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 242
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre></pre>
</div>
</div>
</pre>
</div>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp',
(int) 1 => '<script type="text/javascript">
$(function() {
$('#qtipSource').qtip({ // Grab some elements to apply the tooltip to
content: {
text: $('#qtipSourceData').html()
},
style: { classes: 'qtip-dark' }
});
$('#viewRefresh').click(function() {
var newServings = $('#viewServings').val();
ajaxNavigate("recipes/view/82/" + newServings);
return false;
})
$('#doubleRefresh').click(function() {
var newServings = $('#viewServings').val() * 2;
ajaxNavigate("recipes/view/82/" + newServings);
return false;
})
$('.rateit').rateit();
});
function loadImage(imageUrl, caption) {
$('#selectedRecipeImage img').attr('src', imageUrl).attr('title', caption);
return false;
}
</script>
<div class="recipes view">
<h2>Chicken Naan Pockets</h2>
<div class="rateit"
data-rateit-value="0"
title="0 out of 5 stars"
data-rateit-ispreset="true"
data-rateit-readonly="true">
</div>
<a href="/phprecipebook/reviews/index/82">0 Review(s)</a> <div class="actions">
<ul>
<li><a href="#" onclick="window.print();">Print</a></li>
</ul>
<div style="display: none;">
<ul id="moreActionLinksContent">
<li><a href="/phprecipebook/import" class="ajaxNavigation">Import</a> </li>
<li><a href="/phprecipebook/export/edit" class="ajaxNavigation">Export</a> </li>
</ul>
</div>
</div>
<dl class="float50Section">
<dt>Ethnicity</dt>
<dd>
</dd>
<dt>Base Type</dt>
<dd>
Poultry
</dd>
<dt>Course</dt>
<dd>
Entree
</dd>
<dt>Preparation Time</dt>
<dd>
60+ Minutes
</dd>
<dt>Difficulty</dt>
<dd>
Easy
</dd>
<dt>Serving Size</dt>
<dd>
<input type="text" id="viewServings" value="4"/>
<a id="viewRefresh" href="#">Refresh</a> /
<a id="doubleRefresh" href="#">Double it</a>
</dd>
</dl>
<dl class="float50Section">
<dt>Comments</dt>
<dd>
Very good for lunch; replace Pita with Naan
</dd>
<dt>Source</dt>
<dd>
<a href="#" onclick="return false;" id="qtipSource"></a>
<div id="qtipSourceData" class="hide">
</div>
</dd>
<dt>Source Description</dt>
<dd>
Best Ever Indian Cookbook
</dd>
<dt>Last Modified</dt>
<dd>
2009-04-07
</dd>
<dt>User</dt>
<dd>
Joyce McGuire </dd>
</dl>
<div class="clear"/><br/>
<hr/>
<br/>
<div style="width: 100%;"> <b>Ingredients</b>
<pre>
<div class='ingredientViewItem'><div class='ingredientViewQuantity'>3 T</div>low fat yogurt - natural plain <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> cayenne pepper <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 1/2 t</div> Garam Masala <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> salt <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>3 T</div> lemon juice <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 T</div>chopped, fresh cilantro <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>fresh Pepper, serrano <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 lb</div>cubed Chicken, boneless, skinless <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>8 sli</div> onion, white <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>sliced tomato <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 ea</div>shredded cabbage <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>wedges lemon <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>4 ea</div>small Pita Bread <i></i></div><br/> </pre>
</div>
<div class="float50Section" id="imagePreview">
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.</pre>
</div>
<div class="clear"/><br/>
<div class="relatedRecipe">
<span>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-trace').style.display = (document.getElementById('cakeErr62c173ff08e2f-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: name [<b>APP/View/Recipes/view.ctp</b>, line <b>215</b>]<div id="cakeErr62c173ff08e2f-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-code').style.display = (document.getElementById('cakeErr62c173ff08e2f-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-context').style.display = (document.getElementById('cakeErr62c173ff08e2f-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff08e2f-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"relatedRecipe"</span><span style="color: #007700">></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">span</span><span style="color: #007700">></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Html</span><span style="color: #007700">-></span><span style="color: #0000BB">link</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">], array(</span><span style="color: #DD0000">'controller' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'recipes'</span><span style="color: #007700">, </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'view'</span><span style="color: #007700">, </span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'recipe_id'</span><span style="color: #007700">]), </span></span></code></span></pre><pre id="cakeErr62c173ff08e2f-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 13
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 215
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre><a href="/phprecipebook/recipes/view/83" class="ajaxNavigationLink"></a> (optional)
</span>
<div class="float50Section">
<b>Ingredients</b>
<pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-trace').style.display = (document.getElementById('cakeErr62c173ff093c9-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: IngredientMapping [<b>APP/View/Recipes/view.ctp</b>, line <b>222</b>]<div id="cakeErr62c173ff093c9-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-code').style.display = (document.getElementById('cakeErr62c173ff093c9-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-context').style.display = (document.getElementById('cakeErr62c173ff093c9-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff093c9-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Ingredients'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">for (</span><span style="color: #0000BB">$i </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">$i </span><span style="color: #007700">< </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'IngredientMapping'</span><span style="color: #007700">]); </span><span style="color: #0000BB">$i</span><span style="color: #007700">++) {</span></span></code></span></pre><pre id="cakeErr62c173ff093c9-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 222
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-trace').style.display = (document.getElementById('cakeErr62c173ff098e4-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count(): Parameter must be an array or an object that implements Countable [<b>APP/View/Recipes/view.ctp</b>, line <b>222</b>]<div id="cakeErr62c173ff098e4-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-code').style.display = (document.getElementById('cakeErr62c173ff098e4-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-context').style.display = (document.getElementById('cakeErr62c173ff098e4-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff098e4-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Ingredients'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">for (</span><span style="color: #0000BB">$i </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">$i </span><span style="color: #007700">< </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'IngredientMapping'</span><span style="color: #007700">]); </span><span style="color: #0000BB">$i</span><span style="color: #007700">++) {</span></span></code></span></pre><pre id="cakeErr62c173ff098e4-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 222
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre></pre>
</div>
<div class="float50Section">
<!-- placeholder for related recipe image -->
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-trace').style.display = (document.getElementById('cakeErr62c173ff09e74-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: directions [<b>APP/View/Recipes/view.ctp</b>, line <b>242</b>]<div id="cakeErr62c173ff09e74-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-code').style.display = (document.getElementById('cakeErr62c173ff09e74-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-context').style.display = (document.getElementById('cakeErr62c173ff09e74-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff09e74-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div style</span><span style="color: #007700">=</span><span style="color: #DD0000">"width: 100%;"</span><span style="color: #007700">></span></span></code>
<code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Directions'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'directions'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span></pre></span></code></span></pre><pre id="cakeErr62c173ff09e74-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 242
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre></pre>
</div>
</div>
</pre>
</div>
'
)
result => null
modParams => (int) 1
omitSubject => true
[protected] _name => 'View.afterRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Fraction'
)
$result = null
$name = 'Fraction'
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 938
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]Code Context $result = null;
foreach ($list as $name) {
$result = call_user_func_array(array($this->_loaded[$name], $callback), compact('subject') + $params);
$callback = 'afterRender'
$params = array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
)
$options = array(
'break' => false,
'breakOn' => false,
'collectReturn' => false,
'modParams' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
)
result => null
omitSubject => true
[protected] _name => 'View.afterRender'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Fraction'
)
$result = null
$name = 'Html'
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 474
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]Code Context $result = null;
foreach ($list as $name) {
$result = call_user_func_array(array($this->_loaded[$name], $callback), compact('subject') + $params);
$callback = 'afterRender'
$params = array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
)
$options = array(
'break' => false,
'breakOn' => false,
'collectReturn' => false,
'modParams' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
)
result => null
omitSubject => true
[protected] _name => 'View.afterRender'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Fraction'
)
$result = null
$name = 'Fraction'
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 474
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]Code Context $result = null;
foreach ($list as $name) {
$result = call_user_func_array(array($this->_loaded[$name], $callback), compact('subject') + $params);
$callback = 'beforeLayout'
$params = array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Layouts/default.ctp'
)
$options = array(
'break' => false,
'breakOn' => false,
'collectReturn' => false,
'modParams' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Layouts/default.ctp'
)
result => null
omitSubject => true
[protected] _name => 'View.beforeLayout'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Fraction'
)
$result = null
$name = 'Html'
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 524
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]Code Context $result = null;
foreach ($list as $name) {
$result = call_user_func_array(array($this->_loaded[$name], $callback), compact('subject') + $params);
$callback = 'beforeLayout'
$params = array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Layouts/default.ctp'
)
$options = array(
'break' => false,
'breakOn' => false,
'collectReturn' => false,
'modParams' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Layouts/default.ctp'
)
result => null
omitSubject => true
[protected] _name => 'View.beforeLayout'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Fraction'
)
$result = null
$name = 'Fraction'
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 524
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]Code Context $result = null;
foreach ($list as $name) {
$result = call_user_func_array(array($this->_loaded[$name], $callback), compact('subject') + $params);
$callback = 'beforeRenderFile'
$params = array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Layouts/default.ctp'
)
$options = array(
'break' => false,
'breakOn' => false,
'collectReturn' => false,
'modParams' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Layouts/default.ctp'
)
result => null
omitSubject => true
[protected] _name => 'View.beforeRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Fraction'
)
$result = null
$name = 'Html'
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 932
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]Code Context $result = null;
foreach ($list as $name) {
$result = call_user_func_array(array($this->_loaded[$name], $callback), compact('subject') + $params);
$callback = 'beforeRenderFile'
$params = array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Layouts/default.ctp'
)
$options = array(
'break' => false,
'breakOn' => false,
'collectReturn' => false,
'modParams' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Layouts/default.ctp'
)
result => null
omitSubject => true
[protected] _name => 'View.beforeRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Fraction'
)
$result = null
$name = 'Fraction'
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 932
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]Code Context $result = null;
foreach ($list as $name) {
$result = call_user_func_array(array($this->_loaded[$name], $callback), compact('subject') + $params);
$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Layouts/default.ctp',
(int) 1 => '
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>
PHPRecipeBook:
Recipes </title>
<link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="icon"/><link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="shortcut icon"/><link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/toastr.min.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/jquery.qtip.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/rateit.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/cake.generic.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/default.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/print.css"/><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js"></script><script type="text/javascript" src="/phprecipebook/js/toastr.min.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.qtip.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.rateit.min.js"></script><script type="text/javascript" src="/phprecipebook/js/default.js"></script>
</head>
<body>
<script type="text/javascript">
$(function() {
initApplication("/phprecipebook/");
});
// Global Variables
var applicationContext = "recipes"; // Default context
</script>
<div id="container">
<div id="header">
</div>
<div id="recipeLinkBoxContainer"></div>
<div id="main" class="constrain borderStyle">
<nav id="navigation-menu">
<ul>
<li><a href="/phprecipebook/recipes" class="ajaxNavigation"
title="Browse your recipes">Recipes</a></li>
<li><a href="/phprecipebook/restaurants" class="ajaxNavigation higherRes"
title="List of your restaurants">Restaurants</a></li>
<li><div id="searchHolder">
<form id="searchEverythingForm">
<span>
<input type="text" class="searchTextBox" placeholder="Search Recipes" />
<img src="/phprecipebook/img/clearBtn.png" class="cancelBtn"/>
</span>
</form>
</li>
<li>
<a href="/phprecipebook/users/login" id="signInButton"
title="Sign in with your existing account">Sign in</a>
</li>
</ul>
</nav>
<div id="content">
<script type="text/javascript">
$(function() {
$('#qtipSource').qtip({ // Grab some elements to apply the tooltip to
content: {
text: $('#qtipSourceData').html()
},
style: { classes: 'qtip-dark' }
});
$('#viewRefresh').click(function() {
var newServings = $('#viewServings').val();
ajaxNavigate("recipes/view/82/" + newServings);
return false;
})
$('#doubleRefresh').click(function() {
var newServings = $('#viewServings').val() * 2;
ajaxNavigate("recipes/view/82/" + newServings);
return false;
})
$('.rateit').rateit();
});
function loadImage(imageUrl, caption) {
$('#selectedRecipeImage img').attr('src', imageUrl).attr('title', caption);
return false;
}
</script>
<div class="recipes view">
<h2>Chicken Naan Pockets</h2>
<div class="rateit"
data-rateit-value="0"
title="0 out of 5 stars"
data-rateit-ispreset="true"
data-rateit-readonly="true">
</div>
<a href="/phprecipebook/reviews/index/82">0 Review(s)</a> <div class="actions">
<ul>
<li><a href="#" onclick="window.print();">Print</a></li>
</ul>
<div style="display: none;">
<ul id="moreActionLinksContent">
<li><a href="/phprecipebook/import" class="ajaxNavigation">Import</a> </li>
<li><a href="/phprecipebook/export/edit" class="ajaxNavigation">Export</a> </li>
</ul>
</div>
</div>
<dl class="float50Section">
<dt>Ethnicity</dt>
<dd>
</dd>
<dt>Base Type</dt>
<dd>
Poultry
</dd>
<dt>Course</dt>
<dd>
Entree
</dd>
<dt>Preparation Time</dt>
<dd>
60+ Minutes
</dd>
<dt>Difficulty</dt>
<dd>
Easy
</dd>
<dt>Serving Size</dt>
<dd>
<input type="text" id="viewServings" value="4"/>
<a id="viewRefresh" href="#">Refresh</a> /
<a id="doubleRefresh" href="#">Double it</a>
</dd>
</dl>
<dl class="float50Section">
<dt>Comments</dt>
<dd>
Very good for lunch; replace Pita with Naan
</dd>
<dt>Source</dt>
<dd>
<a href="#" onclick="return false;" id="qtipSource"></a>
<div id="qtipSourceData" class="hide">
</div>
</dd>
<dt>Source Description</dt>
<dd>
Best Ever Indian Cookbook
</dd>
<dt>Last Modified</dt>
<dd>
2009-04-07
</dd>
<dt>User</dt>
<dd>
Joyce McGuire </dd>
</dl>
<div class="clear"/><br/>
<hr/>
<br/>
<div style="width: 100%;"> <b>Ingredients</b>
<pre>
<div class='ingredientViewItem'><div class='ingredientViewQuantity'>3 T</div>low fat yogurt - natural plain <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> cayenne pepper <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 1/2 t</div> Garam Masala <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> salt <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>3 T</div> lemon juice <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 T</div>chopped, fresh cilantro <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>fresh Pepper, serrano <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 lb</div>cubed Chicken, boneless, skinless <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>8 sli</div> onion, white <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>sliced tomato <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 ea</div>shredded cabbage <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>wedges lemon <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>4 ea</div>small Pita Bread <i></i></div><br/> </pre>
</div>
<div class="float50Section" id="imagePreview">
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.</pre>
</div>
<div class="clear"/><br/>
<div class="relatedRecipe">
<span>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-trace').style.display = (document.getElementById('cakeErr62c173ff08e2f-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: name [<b>APP/View/Recipes/view.ctp</b>, line <b>215</b>]<div id="cakeErr62c173ff08e2f-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-code').style.display = (document.getElementById('cakeErr62c173ff08e2f-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-context').style.display = (document.getElementById('cakeErr62c173ff08e2f-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff08e2f-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"relatedRecipe"</span><span style="color: #007700">></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">span</span><span style="color: #007700">></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Html</span><span style="color: #007700">-></span><span style="color: #0000BB">link</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">], array(</span><span style="color: #DD0000">'controller' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'recipes'</span><span style="color: #007700">, </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'view'</span><span style="color: #007700">, </span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'recipe_id'</span><span style="color: #007700">]), </span></span></code></span></pre><pre id="cakeErr62c173ff08e2f-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 13
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 215
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre><a href="/phprecipebook/recipes/view/83" class="ajaxNavigationLink"></a> (optional)
</span>
<div class="float50Section">
<b>Ingredients</b>
<pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-trace').style.display = (document.getElementById('cakeErr62c173ff093c9-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: IngredientMapping [<b>APP/View/Recipes/view.ctp</b>, line <b>222</b>]<div id="cakeErr62c173ff093c9-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-code').style.display = (document.getElementById('cakeErr62c173ff093c9-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-context').style.display = (document.getElementById('cakeErr62c173ff093c9-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff093c9-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Ingredients'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">for (</span><span style="color: #0000BB">$i </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">$i </span><span style="color: #007700">< </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'IngredientMapping'</span><span style="color: #007700">]); </span><span style="color: #0000BB">$i</span><span style="color: #007700">++) {</span></span></code></span></pre><pre id="cakeErr62c173ff093c9-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 222
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-trace').style.display = (document.getElementById('cakeErr62c173ff098e4-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count(): Parameter must be an array or an object that implements Countable [<b>APP/View/Recipes/view.ctp</b>, line <b>222</b>]<div id="cakeErr62c173ff098e4-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-code').style.display = (document.getElementById('cakeErr62c173ff098e4-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-context').style.display = (document.getElementById('cakeErr62c173ff098e4-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff098e4-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Ingredients'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">for (</span><span style="color: #0000BB">$i </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">$i </span><span style="color: #007700">< </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'IngredientMapping'</span><span style="color: #007700">]); </span><span style="color: #0000BB">$i</span><span style="color: #007700">++) {</span></span></code></span></pre><pre id="cakeErr62c173ff098e4-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 222
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre></pre>
</div>
<div class="float50Section">
<!-- placeholder for related recipe image -->
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-trace').style.display = (document.getElementById('cakeErr62c173ff09e74-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: directions [<b>APP/View/Recipes/view.ctp</b>, line <b>242</b>]<div id="cakeErr62c173ff09e74-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-code').style.display = (document.getElementById('cakeErr62c173ff09e74-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-context').style.display = (document.getElementById('cakeErr62c173ff09e74-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff09e74-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div style</span><span style="color: #007700">=</span><span style="color: #DD0000">"width: 100%;"</span><span style="color: #007700">></span></span></code>
<code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Directions'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'directions'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span></pre></span></code></span></pre><pre id="cakeErr62c173ff09e74-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 242
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre></pre>
</div>
</div>
</pre>
</div>
</div>
<div id="footer">
</div>
</div>
</div>
<div id="editIngredientDialog" class="dialog" width="600" height="610" title="Ingredient"/>
<div id="editLocationDialog" class="dialog" width="600" height="240" title="Location"/>
<div id="editUnitDialog" class="dialog" width="600" height="400" title="Unit"/>
<div id="editRestaurantDialog" class="dialog" width="600" height="800" title="Restaurant"/>
<div id="editPriceRangesDialog" class="dialog" width="600" height="200" title="Price Ranges"/>
<div id="editEthnicityDialog" class="dialog" width="600" height="200" title="Ethnicity"/>
<div id="editBaseTypeDialog" class="dialog" width="600" height="200" title="Base Type"/>
<div id="editCourseDialog" class="dialog" width="600" height="200" title="Course"/>
<div id="editPrepTimeDialog" class="dialog" width="600" height="200" title="Preparation Time"/>
<div id="editPrepMethodDialog" class="dialog" width="600" height="200" title="Preparation Method"/>
<div id="editDifficultyDialog" class="dialog" width="600" height="200" title="Difficulty"/>
<div id="editSourceDialog" class="dialog" width="600" height="500" title="Source"/>
<div id="editMealDialog" class="dialog" width="700" height="500" title="Meal"/>
<div id="editProductDialog" class="dialog" width="600" height="400" title="Product"/>
</body>
</html>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Layouts/default.ctp',
(int) 1 => '
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>
PHPRecipeBook:
Recipes </title>
<link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="icon"/><link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="shortcut icon"/><link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/toastr.min.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/jquery.qtip.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/rateit.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/cake.generic.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/default.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/print.css"/><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js"></script><script type="text/javascript" src="/phprecipebook/js/toastr.min.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.qtip.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.rateit.min.js"></script><script type="text/javascript" src="/phprecipebook/js/default.js"></script>
</head>
<body>
<script type="text/javascript">
$(function() {
initApplication("/phprecipebook/");
});
// Global Variables
var applicationContext = "recipes"; // Default context
</script>
<div id="container">
<div id="header">
</div>
<div id="recipeLinkBoxContainer"></div>
<div id="main" class="constrain borderStyle">
<nav id="navigation-menu">
<ul>
<li><a href="/phprecipebook/recipes" class="ajaxNavigation"
title="Browse your recipes">Recipes</a></li>
<li><a href="/phprecipebook/restaurants" class="ajaxNavigation higherRes"
title="List of your restaurants">Restaurants</a></li>
<li><div id="searchHolder">
<form id="searchEverythingForm">
<span>
<input type="text" class="searchTextBox" placeholder="Search Recipes" />
<img src="/phprecipebook/img/clearBtn.png" class="cancelBtn"/>
</span>
</form>
</li>
<li>
<a href="/phprecipebook/users/login" id="signInButton"
title="Sign in with your existing account">Sign in</a>
</li>
</ul>
</nav>
<div id="content">
<script type="text/javascript">
$(function() {
$('#qtipSource').qtip({ // Grab some elements to apply the tooltip to
content: {
text: $('#qtipSourceData').html()
},
style: { classes: 'qtip-dark' }
});
$('#viewRefresh').click(function() {
var newServings = $('#viewServings').val();
ajaxNavigate("recipes/view/82/" + newServings);
return false;
})
$('#doubleRefresh').click(function() {
var newServings = $('#viewServings').val() * 2;
ajaxNavigate("recipes/view/82/" + newServings);
return false;
})
$('.rateit').rateit();
});
function loadImage(imageUrl, caption) {
$('#selectedRecipeImage img').attr('src', imageUrl).attr('title', caption);
return false;
}
</script>
<div class="recipes view">
<h2>Chicken Naan Pockets</h2>
<div class="rateit"
data-rateit-value="0"
title="0 out of 5 stars"
data-rateit-ispreset="true"
data-rateit-readonly="true">
</div>
<a href="/phprecipebook/reviews/index/82">0 Review(s)</a> <div class="actions">
<ul>
<li><a href="#" onclick="window.print();">Print</a></li>
</ul>
<div style="display: none;">
<ul id="moreActionLinksContent">
<li><a href="/phprecipebook/import" class="ajaxNavigation">Import</a> </li>
<li><a href="/phprecipebook/export/edit" class="ajaxNavigation">Export</a> </li>
</ul>
</div>
</div>
<dl class="float50Section">
<dt>Ethnicity</dt>
<dd>
</dd>
<dt>Base Type</dt>
<dd>
Poultry
</dd>
<dt>Course</dt>
<dd>
Entree
</dd>
<dt>Preparation Time</dt>
<dd>
60+ Minutes
</dd>
<dt>Difficulty</dt>
<dd>
Easy
</dd>
<dt>Serving Size</dt>
<dd>
<input type="text" id="viewServings" value="4"/>
<a id="viewRefresh" href="#">Refresh</a> /
<a id="doubleRefresh" href="#">Double it</a>
</dd>
</dl>
<dl class="float50Section">
<dt>Comments</dt>
<dd>
Very good for lunch; replace Pita with Naan
</dd>
<dt>Source</dt>
<dd>
<a href="#" onclick="return false;" id="qtipSource"></a>
<div id="qtipSourceData" class="hide">
</div>
</dd>
<dt>Source Description</dt>
<dd>
Best Ever Indian Cookbook
</dd>
<dt>Last Modified</dt>
<dd>
2009-04-07
</dd>
<dt>User</dt>
<dd>
Joyce McGuire </dd>
</dl>
<div class="clear"/><br/>
<hr/>
<br/>
<div style="width: 100%;"> <b>Ingredients</b>
<pre>
<div class='ingredientViewItem'><div class='ingredientViewQuantity'>3 T</div>low fat yogurt - natural plain <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> cayenne pepper <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 1/2 t</div> Garam Masala <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> salt <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>3 T</div> lemon juice <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 T</div>chopped, fresh cilantro <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>fresh Pepper, serrano <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 lb</div>cubed Chicken, boneless, skinless <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>8 sli</div> onion, white <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>sliced tomato <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 ea</div>shredded cabbage <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>wedges lemon <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>4 ea</div>small Pita Bread <i></i></div><br/> </pre>
</div>
<div class="float50Section" id="imagePreview">
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.</pre>
</div>
<div class="clear"/><br/>
<div class="relatedRecipe">
<span>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-trace').style.display = (document.getElementById('cakeErr62c173ff08e2f-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: name [<b>APP/View/Recipes/view.ctp</b>, line <b>215</b>]<div id="cakeErr62c173ff08e2f-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-code').style.display = (document.getElementById('cakeErr62c173ff08e2f-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-context').style.display = (document.getElementById('cakeErr62c173ff08e2f-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff08e2f-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"relatedRecipe"</span><span style="color: #007700">></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">span</span><span style="color: #007700">></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Html</span><span style="color: #007700">-></span><span style="color: #0000BB">link</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">], array(</span><span style="color: #DD0000">'controller' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'recipes'</span><span style="color: #007700">, </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'view'</span><span style="color: #007700">, </span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'recipe_id'</span><span style="color: #007700">]), </span></span></code></span></pre><pre id="cakeErr62c173ff08e2f-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 13
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 215
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre><a href="/phprecipebook/recipes/view/83" class="ajaxNavigationLink"></a> (optional)
</span>
<div class="float50Section">
<b>Ingredients</b>
<pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-trace').style.display = (document.getElementById('cakeErr62c173ff093c9-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: IngredientMapping [<b>APP/View/Recipes/view.ctp</b>, line <b>222</b>]<div id="cakeErr62c173ff093c9-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-code').style.display = (document.getElementById('cakeErr62c173ff093c9-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-context').style.display = (document.getElementById('cakeErr62c173ff093c9-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff093c9-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Ingredients'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">for (</span><span style="color: #0000BB">$i </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">$i </span><span style="color: #007700">< </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'IngredientMapping'</span><span style="color: #007700">]); </span><span style="color: #0000BB">$i</span><span style="color: #007700">++) {</span></span></code></span></pre><pre id="cakeErr62c173ff093c9-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 222
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-trace').style.display = (document.getElementById('cakeErr62c173ff098e4-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count(): Parameter must be an array or an object that implements Countable [<b>APP/View/Recipes/view.ctp</b>, line <b>222</b>]<div id="cakeErr62c173ff098e4-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-code').style.display = (document.getElementById('cakeErr62c173ff098e4-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-context').style.display = (document.getElementById('cakeErr62c173ff098e4-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff098e4-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Ingredients'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">for (</span><span style="color: #0000BB">$i </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">$i </span><span style="color: #007700">< </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'IngredientMapping'</span><span style="color: #007700">]); </span><span style="color: #0000BB">$i</span><span style="color: #007700">++) {</span></span></code></span></pre><pre id="cakeErr62c173ff098e4-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 222
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre></pre>
</div>
<div class="float50Section">
<!-- placeholder for related recipe image -->
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-trace').style.display = (document.getElementById('cakeErr62c173ff09e74-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: directions [<b>APP/View/Recipes/view.ctp</b>, line <b>242</b>]<div id="cakeErr62c173ff09e74-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-code').style.display = (document.getElementById('cakeErr62c173ff09e74-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-context').style.display = (document.getElementById('cakeErr62c173ff09e74-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff09e74-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div style</span><span style="color: #007700">=</span><span style="color: #DD0000">"width: 100%;"</span><span style="color: #007700">></span></span></code>
<code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Directions'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'directions'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span></pre></span></code></span></pre><pre id="cakeErr62c173ff09e74-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 242
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre></pre>
</div>
</div>
</pre>
</div>
</div>
<div id="footer">
</div>
</div>
</div>
<div id="editIngredientDialog" class="dialog" width="600" height="610" title="Ingredient"/>
<div id="editLocationDialog" class="dialog" width="600" height="240" title="Location"/>
<div id="editUnitDialog" class="dialog" width="600" height="400" title="Unit"/>
<div id="editRestaurantDialog" class="dialog" width="600" height="800" title="Restaurant"/>
<div id="editPriceRangesDialog" class="dialog" width="600" height="200" title="Price Ranges"/>
<div id="editEthnicityDialog" class="dialog" width="600" height="200" title="Ethnicity"/>
<div id="editBaseTypeDialog" class="dialog" width="600" height="200" title="Base Type"/>
<div id="editCourseDialog" class="dialog" width="600" height="200" title="Course"/>
<div id="editPrepTimeDialog" class="dialog" width="600" height="200" title="Preparation Time"/>
<div id="editPrepMethodDialog" class="dialog" width="600" height="200" title="Preparation Method"/>
<div id="editDifficultyDialog" class="dialog" width="600" height="200" title="Difficulty"/>
<div id="editSourceDialog" class="dialog" width="600" height="500" title="Source"/>
<div id="editMealDialog" class="dialog" width="700" height="500" title="Meal"/>
<div id="editProductDialog" class="dialog" width="600" height="400" title="Product"/>
</body>
</html>
'
)
result => null
modParams => (int) 1
omitSubject => true
[protected] _name => 'View.afterRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Fraction',
(int) 2 => 'Session'
)
$result = null
$name = 'Html'
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 938
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]Code Context $result = null;
foreach ($list as $name) {
$result = call_user_func_array(array($this->_loaded[$name], $callback), compact('subject') + $params);
$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Layouts/default.ctp',
(int) 1 => '
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>
PHPRecipeBook:
Recipes </title>
<link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="icon"/><link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="shortcut icon"/><link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/toastr.min.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/jquery.qtip.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/rateit.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/cake.generic.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/default.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/print.css"/><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js"></script><script type="text/javascript" src="/phprecipebook/js/toastr.min.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.qtip.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.rateit.min.js"></script><script type="text/javascript" src="/phprecipebook/js/default.js"></script>
</head>
<body>
<script type="text/javascript">
$(function() {
initApplication("/phprecipebook/");
});
// Global Variables
var applicationContext = "recipes"; // Default context
</script>
<div id="container">
<div id="header">
</div>
<div id="recipeLinkBoxContainer"></div>
<div id="main" class="constrain borderStyle">
<nav id="navigation-menu">
<ul>
<li><a href="/phprecipebook/recipes" class="ajaxNavigation"
title="Browse your recipes">Recipes</a></li>
<li><a href="/phprecipebook/restaurants" class="ajaxNavigation higherRes"
title="List of your restaurants">Restaurants</a></li>
<li><div id="searchHolder">
<form id="searchEverythingForm">
<span>
<input type="text" class="searchTextBox" placeholder="Search Recipes" />
<img src="/phprecipebook/img/clearBtn.png" class="cancelBtn"/>
</span>
</form>
</li>
<li>
<a href="/phprecipebook/users/login" id="signInButton"
title="Sign in with your existing account">Sign in</a>
</li>
</ul>
</nav>
<div id="content">
<script type="text/javascript">
$(function() {
$('#qtipSource').qtip({ // Grab some elements to apply the tooltip to
content: {
text: $('#qtipSourceData').html()
},
style: { classes: 'qtip-dark' }
});
$('#viewRefresh').click(function() {
var newServings = $('#viewServings').val();
ajaxNavigate("recipes/view/82/" + newServings);
return false;
})
$('#doubleRefresh').click(function() {
var newServings = $('#viewServings').val() * 2;
ajaxNavigate("recipes/view/82/" + newServings);
return false;
})
$('.rateit').rateit();
});
function loadImage(imageUrl, caption) {
$('#selectedRecipeImage img').attr('src', imageUrl).attr('title', caption);
return false;
}
</script>
<div class="recipes view">
<h2>Chicken Naan Pockets</h2>
<div class="rateit"
data-rateit-value="0"
title="0 out of 5 stars"
data-rateit-ispreset="true"
data-rateit-readonly="true">
</div>
<a href="/phprecipebook/reviews/index/82">0 Review(s)</a> <div class="actions">
<ul>
<li><a href="#" onclick="window.print();">Print</a></li>
</ul>
<div style="display: none;">
<ul id="moreActionLinksContent">
<li><a href="/phprecipebook/import" class="ajaxNavigation">Import</a> </li>
<li><a href="/phprecipebook/export/edit" class="ajaxNavigation">Export</a> </li>
</ul>
</div>
</div>
<dl class="float50Section">
<dt>Ethnicity</dt>
<dd>
</dd>
<dt>Base Type</dt>
<dd>
Poultry
</dd>
<dt>Course</dt>
<dd>
Entree
</dd>
<dt>Preparation Time</dt>
<dd>
60+ Minutes
</dd>
<dt>Difficulty</dt>
<dd>
Easy
</dd>
<dt>Serving Size</dt>
<dd>
<input type="text" id="viewServings" value="4"/>
<a id="viewRefresh" href="#">Refresh</a> /
<a id="doubleRefresh" href="#">Double it</a>
</dd>
</dl>
<dl class="float50Section">
<dt>Comments</dt>
<dd>
Very good for lunch; replace Pita with Naan
</dd>
<dt>Source</dt>
<dd>
<a href="#" onclick="return false;" id="qtipSource"></a>
<div id="qtipSourceData" class="hide">
</div>
</dd>
<dt>Source Description</dt>
<dd>
Best Ever Indian Cookbook
</dd>
<dt>Last Modified</dt>
<dd>
2009-04-07
</dd>
<dt>User</dt>
<dd>
Joyce McGuire </dd>
</dl>
<div class="clear"/><br/>
<hr/>
<br/>
<div style="width: 100%;"> <b>Ingredients</b>
<pre>
<div class='ingredientViewItem'><div class='ingredientViewQuantity'>3 T</div>low fat yogurt - natural plain <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> cayenne pepper <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 1/2 t</div> Garam Masala <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> salt <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>3 T</div> lemon juice <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 T</div>chopped, fresh cilantro <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>fresh Pepper, serrano <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 lb</div>cubed Chicken, boneless, skinless <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>8 sli</div> onion, white <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>sliced tomato <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 ea</div>shredded cabbage <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>wedges lemon <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>4 ea</div>small Pita Bread <i></i></div><br/> </pre>
</div>
<div class="float50Section" id="imagePreview">
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.</pre>
</div>
<div class="clear"/><br/>
<div class="relatedRecipe">
<span>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-trace').style.display = (document.getElementById('cakeErr62c173ff08e2f-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: name [<b>APP/View/Recipes/view.ctp</b>, line <b>215</b>]<div id="cakeErr62c173ff08e2f-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-code').style.display = (document.getElementById('cakeErr62c173ff08e2f-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-context').style.display = (document.getElementById('cakeErr62c173ff08e2f-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff08e2f-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"relatedRecipe"</span><span style="color: #007700">></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">span</span><span style="color: #007700">></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Html</span><span style="color: #007700">-></span><span style="color: #0000BB">link</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">], array(</span><span style="color: #DD0000">'controller' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'recipes'</span><span style="color: #007700">, </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'view'</span><span style="color: #007700">, </span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'recipe_id'</span><span style="color: #007700">]), </span></span></code></span></pre><pre id="cakeErr62c173ff08e2f-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 13
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 215
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre><a href="/phprecipebook/recipes/view/83" class="ajaxNavigationLink"></a> (optional)
</span>
<div class="float50Section">
<b>Ingredients</b>
<pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-trace').style.display = (document.getElementById('cakeErr62c173ff093c9-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: IngredientMapping [<b>APP/View/Recipes/view.ctp</b>, line <b>222</b>]<div id="cakeErr62c173ff093c9-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-code').style.display = (document.getElementById('cakeErr62c173ff093c9-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-context').style.display = (document.getElementById('cakeErr62c173ff093c9-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff093c9-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Ingredients'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">for (</span><span style="color: #0000BB">$i </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">$i </span><span style="color: #007700">< </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'IngredientMapping'</span><span style="color: #007700">]); </span><span style="color: #0000BB">$i</span><span style="color: #007700">++) {</span></span></code></span></pre><pre id="cakeErr62c173ff093c9-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 222
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-trace').style.display = (document.getElementById('cakeErr62c173ff098e4-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count(): Parameter must be an array or an object that implements Countable [<b>APP/View/Recipes/view.ctp</b>, line <b>222</b>]<div id="cakeErr62c173ff098e4-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-code').style.display = (document.getElementById('cakeErr62c173ff098e4-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-context').style.display = (document.getElementById('cakeErr62c173ff098e4-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff098e4-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Ingredients'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">for (</span><span style="color: #0000BB">$i </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">$i </span><span style="color: #007700">< </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'IngredientMapping'</span><span style="color: #007700">]); </span><span style="color: #0000BB">$i</span><span style="color: #007700">++) {</span></span></code></span></pre><pre id="cakeErr62c173ff098e4-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 222
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre></pre>
</div>
<div class="float50Section">
<!-- placeholder for related recipe image -->
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-trace').style.display = (document.getElementById('cakeErr62c173ff09e74-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: directions [<b>APP/View/Recipes/view.ctp</b>, line <b>242</b>]<div id="cakeErr62c173ff09e74-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-code').style.display = (document.getElementById('cakeErr62c173ff09e74-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-context').style.display = (document.getElementById('cakeErr62c173ff09e74-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff09e74-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div style</span><span style="color: #007700">=</span><span style="color: #DD0000">"width: 100%;"</span><span style="color: #007700">></span></span></code>
<code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Directions'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'directions'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span></pre></span></code></span></pre><pre id="cakeErr62c173ff09e74-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 242
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre></pre>
</div>
</div>
</pre>
</div>
</div>
<div id="footer">
</div>
</div>
</div>
<div id="editIngredientDialog" class="dialog" width="600" height="610" title="Ingredient"/>
<div id="editLocationDialog" class="dialog" width="600" height="240" title="Location"/>
<div id="editUnitDialog" class="dialog" width="600" height="400" title="Unit"/>
<div id="editRestaurantDialog" class="dialog" width="600" height="800" title="Restaurant"/>
<div id="editPriceRangesDialog" class="dialog" width="600" height="200" title="Price Ranges"/>
<div id="editEthnicityDialog" class="dialog" width="600" height="200" title="Ethnicity"/>
<div id="editBaseTypeDialog" class="dialog" width="600" height="200" title="Base Type"/>
<div id="editCourseDialog" class="dialog" width="600" height="200" title="Course"/>
<div id="editPrepTimeDialog" class="dialog" width="600" height="200" title="Preparation Time"/>
<div id="editPrepMethodDialog" class="dialog" width="600" height="200" title="Preparation Method"/>
<div id="editDifficultyDialog" class="dialog" width="600" height="200" title="Difficulty"/>
<div id="editSourceDialog" class="dialog" width="600" height="500" title="Source"/>
<div id="editMealDialog" class="dialog" width="700" height="500" title="Meal"/>
<div id="editProductDialog" class="dialog" width="600" height="400" title="Product"/>
</body>
</html>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Layouts/default.ctp',
(int) 1 => '
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>
PHPRecipeBook:
Recipes </title>
<link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="icon"/><link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="shortcut icon"/><link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/toastr.min.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/jquery.qtip.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/rateit.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/cake.generic.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/default.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/print.css"/><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js"></script><script type="text/javascript" src="/phprecipebook/js/toastr.min.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.qtip.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.rateit.min.js"></script><script type="text/javascript" src="/phprecipebook/js/default.js"></script>
</head>
<body>
<script type="text/javascript">
$(function() {
initApplication("/phprecipebook/");
});
// Global Variables
var applicationContext = "recipes"; // Default context
</script>
<div id="container">
<div id="header">
</div>
<div id="recipeLinkBoxContainer"></div>
<div id="main" class="constrain borderStyle">
<nav id="navigation-menu">
<ul>
<li><a href="/phprecipebook/recipes" class="ajaxNavigation"
title="Browse your recipes">Recipes</a></li>
<li><a href="/phprecipebook/restaurants" class="ajaxNavigation higherRes"
title="List of your restaurants">Restaurants</a></li>
<li><div id="searchHolder">
<form id="searchEverythingForm">
<span>
<input type="text" class="searchTextBox" placeholder="Search Recipes" />
<img src="/phprecipebook/img/clearBtn.png" class="cancelBtn"/>
</span>
</form>
</li>
<li>
<a href="/phprecipebook/users/login" id="signInButton"
title="Sign in with your existing account">Sign in</a>
</li>
</ul>
</nav>
<div id="content">
<script type="text/javascript">
$(function() {
$('#qtipSource').qtip({ // Grab some elements to apply the tooltip to
content: {
text: $('#qtipSourceData').html()
},
style: { classes: 'qtip-dark' }
});
$('#viewRefresh').click(function() {
var newServings = $('#viewServings').val();
ajaxNavigate("recipes/view/82/" + newServings);
return false;
})
$('#doubleRefresh').click(function() {
var newServings = $('#viewServings').val() * 2;
ajaxNavigate("recipes/view/82/" + newServings);
return false;
})
$('.rateit').rateit();
});
function loadImage(imageUrl, caption) {
$('#selectedRecipeImage img').attr('src', imageUrl).attr('title', caption);
return false;
}
</script>
<div class="recipes view">
<h2>Chicken Naan Pockets</h2>
<div class="rateit"
data-rateit-value="0"
title="0 out of 5 stars"
data-rateit-ispreset="true"
data-rateit-readonly="true">
</div>
<a href="/phprecipebook/reviews/index/82">0 Review(s)</a> <div class="actions">
<ul>
<li><a href="#" onclick="window.print();">Print</a></li>
</ul>
<div style="display: none;">
<ul id="moreActionLinksContent">
<li><a href="/phprecipebook/import" class="ajaxNavigation">Import</a> </li>
<li><a href="/phprecipebook/export/edit" class="ajaxNavigation">Export</a> </li>
</ul>
</div>
</div>
<dl class="float50Section">
<dt>Ethnicity</dt>
<dd>
</dd>
<dt>Base Type</dt>
<dd>
Poultry
</dd>
<dt>Course</dt>
<dd>
Entree
</dd>
<dt>Preparation Time</dt>
<dd>
60+ Minutes
</dd>
<dt>Difficulty</dt>
<dd>
Easy
</dd>
<dt>Serving Size</dt>
<dd>
<input type="text" id="viewServings" value="4"/>
<a id="viewRefresh" href="#">Refresh</a> /
<a id="doubleRefresh" href="#">Double it</a>
</dd>
</dl>
<dl class="float50Section">
<dt>Comments</dt>
<dd>
Very good for lunch; replace Pita with Naan
</dd>
<dt>Source</dt>
<dd>
<a href="#" onclick="return false;" id="qtipSource"></a>
<div id="qtipSourceData" class="hide">
</div>
</dd>
<dt>Source Description</dt>
<dd>
Best Ever Indian Cookbook
</dd>
<dt>Last Modified</dt>
<dd>
2009-04-07
</dd>
<dt>User</dt>
<dd>
Joyce McGuire </dd>
</dl>
<div class="clear"/><br/>
<hr/>
<br/>
<div style="width: 100%;"> <b>Ingredients</b>
<pre>
<div class='ingredientViewItem'><div class='ingredientViewQuantity'>3 T</div>low fat yogurt - natural plain <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> cayenne pepper <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 1/2 t</div> Garam Masala <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> salt <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>3 T</div> lemon juice <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 T</div>chopped, fresh cilantro <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>fresh Pepper, serrano <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 lb</div>cubed Chicken, boneless, skinless <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>8 sli</div> onion, white <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>sliced tomato <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 ea</div>shredded cabbage <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>wedges lemon <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>4 ea</div>small Pita Bread <i></i></div><br/> </pre>
</div>
<div class="float50Section" id="imagePreview">
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.</pre>
</div>
<div class="clear"/><br/>
<div class="relatedRecipe">
<span>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-trace').style.display = (document.getElementById('cakeErr62c173ff08e2f-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: name [<b>APP/View/Recipes/view.ctp</b>, line <b>215</b>]<div id="cakeErr62c173ff08e2f-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-code').style.display = (document.getElementById('cakeErr62c173ff08e2f-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-context').style.display = (document.getElementById('cakeErr62c173ff08e2f-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff08e2f-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"relatedRecipe"</span><span style="color: #007700">></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">span</span><span style="color: #007700">></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Html</span><span style="color: #007700">-></span><span style="color: #0000BB">link</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">], array(</span><span style="color: #DD0000">'controller' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'recipes'</span><span style="color: #007700">, </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'view'</span><span style="color: #007700">, </span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'recipe_id'</span><span style="color: #007700">]), </span></span></code></span></pre><pre id="cakeErr62c173ff08e2f-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 13
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 215
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre><a href="/phprecipebook/recipes/view/83" class="ajaxNavigationLink"></a> (optional)
</span>
<div class="float50Section">
<b>Ingredients</b>
<pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-trace').style.display = (document.getElementById('cakeErr62c173ff093c9-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: IngredientMapping [<b>APP/View/Recipes/view.ctp</b>, line <b>222</b>]<div id="cakeErr62c173ff093c9-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-code').style.display = (document.getElementById('cakeErr62c173ff093c9-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-context').style.display = (document.getElementById('cakeErr62c173ff093c9-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff093c9-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Ingredients'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">for (</span><span style="color: #0000BB">$i </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">$i </span><span style="color: #007700">< </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'IngredientMapping'</span><span style="color: #007700">]); </span><span style="color: #0000BB">$i</span><span style="color: #007700">++) {</span></span></code></span></pre><pre id="cakeErr62c173ff093c9-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 222
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-trace').style.display = (document.getElementById('cakeErr62c173ff098e4-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count(): Parameter must be an array or an object that implements Countable [<b>APP/View/Recipes/view.ctp</b>, line <b>222</b>]<div id="cakeErr62c173ff098e4-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-code').style.display = (document.getElementById('cakeErr62c173ff098e4-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-context').style.display = (document.getElementById('cakeErr62c173ff098e4-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff098e4-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Ingredients'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">for (</span><span style="color: #0000BB">$i </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">$i </span><span style="color: #007700">< </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'IngredientMapping'</span><span style="color: #007700">]); </span><span style="color: #0000BB">$i</span><span style="color: #007700">++) {</span></span></code></span></pre><pre id="cakeErr62c173ff098e4-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 222
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre></pre>
</div>
<div class="float50Section">
<!-- placeholder for related recipe image -->
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-trace').style.display = (document.getElementById('cakeErr62c173ff09e74-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: directions [<b>APP/View/Recipes/view.ctp</b>, line <b>242</b>]<div id="cakeErr62c173ff09e74-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-code').style.display = (document.getElementById('cakeErr62c173ff09e74-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-context').style.display = (document.getElementById('cakeErr62c173ff09e74-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff09e74-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div style</span><span style="color: #007700">=</span><span style="color: #DD0000">"width: 100%;"</span><span style="color: #007700">></span></span></code>
<code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Directions'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'directions'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span></pre></span></code></span></pre><pre id="cakeErr62c173ff09e74-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 242
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre></pre>
</div>
</div>
</pre>
</div>
</div>
<div id="footer">
</div>
</div>
</div>
<div id="editIngredientDialog" class="dialog" width="600" height="610" title="Ingredient"/>
<div id="editLocationDialog" class="dialog" width="600" height="240" title="Location"/>
<div id="editUnitDialog" class="dialog" width="600" height="400" title="Unit"/>
<div id="editRestaurantDialog" class="dialog" width="600" height="800" title="Restaurant"/>
<div id="editPriceRangesDialog" class="dialog" width="600" height="200" title="Price Ranges"/>
<div id="editEthnicityDialog" class="dialog" width="600" height="200" title="Ethnicity"/>
<div id="editBaseTypeDialog" class="dialog" width="600" height="200" title="Base Type"/>
<div id="editCourseDialog" class="dialog" width="600" height="200" title="Course"/>
<div id="editPrepTimeDialog" class="dialog" width="600" height="200" title="Preparation Time"/>
<div id="editPrepMethodDialog" class="dialog" width="600" height="200" title="Preparation Method"/>
<div id="editDifficultyDialog" class="dialog" width="600" height="200" title="Difficulty"/>
<div id="editSourceDialog" class="dialog" width="600" height="500" title="Source"/>
<div id="editMealDialog" class="dialog" width="700" height="500" title="Meal"/>
<div id="editProductDialog" class="dialog" width="600" height="400" title="Product"/>
</body>
</html>
'
)
result => null
modParams => (int) 1
omitSubject => true
[protected] _name => 'View.afterRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Fraction',
(int) 2 => 'Session'
)
$result = null
$name = 'Fraction'
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 938
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]Code Context $result = null;
foreach ($list as $name) {
$result = call_user_func_array(array($this->_loaded[$name], $callback), compact('subject') + $params);
$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Layouts/default.ctp',
(int) 1 => '
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>
PHPRecipeBook:
Recipes </title>
<link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="icon"/><link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="shortcut icon"/><link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/toastr.min.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/jquery.qtip.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/rateit.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/cake.generic.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/default.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/print.css"/><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js"></script><script type="text/javascript" src="/phprecipebook/js/toastr.min.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.qtip.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.rateit.min.js"></script><script type="text/javascript" src="/phprecipebook/js/default.js"></script>
</head>
<body>
<script type="text/javascript">
$(function() {
initApplication("/phprecipebook/");
});
// Global Variables
var applicationContext = "recipes"; // Default context
</script>
<div id="container">
<div id="header">
</div>
<div id="recipeLinkBoxContainer"></div>
<div id="main" class="constrain borderStyle">
<nav id="navigation-menu">
<ul>
<li><a href="/phprecipebook/recipes" class="ajaxNavigation"
title="Browse your recipes">Recipes</a></li>
<li><a href="/phprecipebook/restaurants" class="ajaxNavigation higherRes"
title="List of your restaurants">Restaurants</a></li>
<li><div id="searchHolder">
<form id="searchEverythingForm">
<span>
<input type="text" class="searchTextBox" placeholder="Search Recipes" />
<img src="/phprecipebook/img/clearBtn.png" class="cancelBtn"/>
</span>
</form>
</li>
<li>
<a href="/phprecipebook/users/login" id="signInButton"
title="Sign in with your existing account">Sign in</a>
</li>
</ul>
</nav>
<div id="content">
<script type="text/javascript">
$(function() {
$('#qtipSource').qtip({ // Grab some elements to apply the tooltip to
content: {
text: $('#qtipSourceData').html()
},
style: { classes: 'qtip-dark' }
});
$('#viewRefresh').click(function() {
var newServings = $('#viewServings').val();
ajaxNavigate("recipes/view/82/" + newServings);
return false;
})
$('#doubleRefresh').click(function() {
var newServings = $('#viewServings').val() * 2;
ajaxNavigate("recipes/view/82/" + newServings);
return false;
})
$('.rateit').rateit();
});
function loadImage(imageUrl, caption) {
$('#selectedRecipeImage img').attr('src', imageUrl).attr('title', caption);
return false;
}
</script>
<div class="recipes view">
<h2>Chicken Naan Pockets</h2>
<div class="rateit"
data-rateit-value="0"
title="0 out of 5 stars"
data-rateit-ispreset="true"
data-rateit-readonly="true">
</div>
<a href="/phprecipebook/reviews/index/82">0 Review(s)</a> <div class="actions">
<ul>
<li><a href="#" onclick="window.print();">Print</a></li>
</ul>
<div style="display: none;">
<ul id="moreActionLinksContent">
<li><a href="/phprecipebook/import" class="ajaxNavigation">Import</a> </li>
<li><a href="/phprecipebook/export/edit" class="ajaxNavigation">Export</a> </li>
</ul>
</div>
</div>
<dl class="float50Section">
<dt>Ethnicity</dt>
<dd>
</dd>
<dt>Base Type</dt>
<dd>
Poultry
</dd>
<dt>Course</dt>
<dd>
Entree
</dd>
<dt>Preparation Time</dt>
<dd>
60+ Minutes
</dd>
<dt>Difficulty</dt>
<dd>
Easy
</dd>
<dt>Serving Size</dt>
<dd>
<input type="text" id="viewServings" value="4"/>
<a id="viewRefresh" href="#">Refresh</a> /
<a id="doubleRefresh" href="#">Double it</a>
</dd>
</dl>
<dl class="float50Section">
<dt>Comments</dt>
<dd>
Very good for lunch; replace Pita with Naan
</dd>
<dt>Source</dt>
<dd>
<a href="#" onclick="return false;" id="qtipSource"></a>
<div id="qtipSourceData" class="hide">
</div>
</dd>
<dt>Source Description</dt>
<dd>
Best Ever Indian Cookbook
</dd>
<dt>Last Modified</dt>
<dd>
2009-04-07
</dd>
<dt>User</dt>
<dd>
Joyce McGuire </dd>
</dl>
<div class="clear"/><br/>
<hr/>
<br/>
<div style="width: 100%;"> <b>Ingredients</b>
<pre>
<div class='ingredientViewItem'><div class='ingredientViewQuantity'>3 T</div>low fat yogurt - natural plain <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> cayenne pepper <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 1/2 t</div> Garam Masala <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> salt <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>3 T</div> lemon juice <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 T</div>chopped, fresh cilantro <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>fresh Pepper, serrano <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 lb</div>cubed Chicken, boneless, skinless <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>8 sli</div> onion, white <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>sliced tomato <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 ea</div>shredded cabbage <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>wedges lemon <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>4 ea</div>small Pita Bread <i></i></div><br/> </pre>
</div>
<div class="float50Section" id="imagePreview">
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.</pre>
</div>
<div class="clear"/><br/>
<div class="relatedRecipe">
<span>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-trace').style.display = (document.getElementById('cakeErr62c173ff08e2f-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: name [<b>APP/View/Recipes/view.ctp</b>, line <b>215</b>]<div id="cakeErr62c173ff08e2f-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-code').style.display = (document.getElementById('cakeErr62c173ff08e2f-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-context').style.display = (document.getElementById('cakeErr62c173ff08e2f-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff08e2f-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"relatedRecipe"</span><span style="color: #007700">></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">span</span><span style="color: #007700">></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Html</span><span style="color: #007700">-></span><span style="color: #0000BB">link</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">], array(</span><span style="color: #DD0000">'controller' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'recipes'</span><span style="color: #007700">, </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'view'</span><span style="color: #007700">, </span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'recipe_id'</span><span style="color: #007700">]), </span></span></code></span></pre><pre id="cakeErr62c173ff08e2f-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 13
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 215
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre><a href="/phprecipebook/recipes/view/83" class="ajaxNavigationLink"></a> (optional)
</span>
<div class="float50Section">
<b>Ingredients</b>
<pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-trace').style.display = (document.getElementById('cakeErr62c173ff093c9-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: IngredientMapping [<b>APP/View/Recipes/view.ctp</b>, line <b>222</b>]<div id="cakeErr62c173ff093c9-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-code').style.display = (document.getElementById('cakeErr62c173ff093c9-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-context').style.display = (document.getElementById('cakeErr62c173ff093c9-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff093c9-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Ingredients'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">for (</span><span style="color: #0000BB">$i </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">$i </span><span style="color: #007700">< </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'IngredientMapping'</span><span style="color: #007700">]); </span><span style="color: #0000BB">$i</span><span style="color: #007700">++) {</span></span></code></span></pre><pre id="cakeErr62c173ff093c9-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 222
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-trace').style.display = (document.getElementById('cakeErr62c173ff098e4-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count(): Parameter must be an array or an object that implements Countable [<b>APP/View/Recipes/view.ctp</b>, line <b>222</b>]<div id="cakeErr62c173ff098e4-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-code').style.display = (document.getElementById('cakeErr62c173ff098e4-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff098e4-context').style.display = (document.getElementById('cakeErr62c173ff098e4-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff098e4-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Ingredients'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">for (</span><span style="color: #0000BB">$i </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">$i </span><span style="color: #007700">< </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'IngredientMapping'</span><span style="color: #007700">]); </span><span style="color: #0000BB">$i</span><span style="color: #007700">++) {</span></span></code></span></pre><pre id="cakeErr62c173ff098e4-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 222
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre></pre>
</div>
<div class="float50Section">
<!-- placeholder for related recipe image -->
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-trace').style.display = (document.getElementById('cakeErr62c173ff09e74-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: directions [<b>APP/View/Recipes/view.ctp</b>, line <b>242</b>]<div id="cakeErr62c173ff09e74-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-code').style.display = (document.getElementById('cakeErr62c173ff09e74-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff09e74-context').style.display = (document.getElementById('cakeErr62c173ff09e74-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff09e74-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div style</span><span style="color: #007700">=</span><span style="color: #DD0000">"width: 100%;"</span><span style="color: #007700">></span></span></code>
<code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Directions'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'directions'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span></pre></span></code></span></pre><pre id="cakeErr62c173ff09e74-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 0
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 242
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre></pre>
</div>
</div>
</pre>
</div>
</div>
<div id="footer">
</div>
</div>
</div>
<div id="editIngredientDialog" class="dialog" width="600" height="610" title="Ingredient"/>
<div id="editLocationDialog" class="dialog" width="600" height="240" title="Location"/>
<div id="editUnitDialog" class="dialog" width="600" height="400" title="Unit"/>
<div id="editRestaurantDialog" class="dialog" width="600" height="800" title="Restaurant"/>
<div id="editPriceRangesDialog" class="dialog" width="600" height="200" title="Price Ranges"/>
<div id="editEthnicityDialog" class="dialog" width="600" height="200" title="Ethnicity"/>
<div id="editBaseTypeDialog" class="dialog" width="600" height="200" title="Base Type"/>
<div id="editCourseDialog" class="dialog" width="600" height="200" title="Course"/>
<div id="editPrepTimeDialog" class="dialog" width="600" height="200" title="Preparation Time"/>
<div id="editPrepMethodDialog" class="dialog" width="600" height="200" title="Preparation Method"/>
<div id="editDifficultyDialog" class="dialog" width="600" height="200" title="Difficulty"/>
<div id="editSourceDialog" class="dialog" width="600" height="500" title="Source"/>
<div id="editMealDialog" class="dialog" width="700" height="500" title="Meal"/>
<div id="editProductDialog" class="dialog" width="600" height="400" title="Product"/>
</body>
</html>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Layouts/default.ctp',
(int) 1 => '
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>
PHPRecipeBook:
Recipes </title>
<link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="icon"/><link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="shortcut icon"/><link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/toastr.min.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/jquery.qtip.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/rateit.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/cake.generic.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/default.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/print.css"/><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js"></script><script type="text/javascript" src="/phprecipebook/js/toastr.min.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.qtip.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.rateit.min.js"></script><script type="text/javascript" src="/phprecipebook/js/default.js"></script>
</head>
<body>
<script type="text/javascript">
$(function() {
initApplication("/phprecipebook/");
});
// Global Variables
var applicationContext = "recipes"; // Default context
</script>
<div id="container">
<div id="header">
</div>
<div id="recipeLinkBoxContainer"></div>
<div id="main" class="constrain borderStyle">
<nav id="navigation-menu">
<ul>
<li><a href="/phprecipebook/recipes" class="ajaxNavigation"
title="Browse your recipes">Recipes</a></li>
<li><a href="/phprecipebook/restaurants" class="ajaxNavigation higherRes"
title="List of your restaurants">Restaurants</a></li>
<li><div id="searchHolder">
<form id="searchEverythingForm">
<span>
<input type="text" class="searchTextBox" placeholder="Search Recipes" />
<img src="/phprecipebook/img/clearBtn.png" class="cancelBtn"/>
</span>
</form>
</li>
<li>
<a href="/phprecipebook/users/login" id="signInButton"
title="Sign in with your existing account">Sign in</a>
</li>
</ul>
</nav>
<div id="content">
<script type="text/javascript">
$(function() {
$('#qtipSource').qtip({ // Grab some elements to apply the tooltip to
content: {
text: $('#qtipSourceData').html()
},
style: { classes: 'qtip-dark' }
});
$('#viewRefresh').click(function() {
var newServings = $('#viewServings').val();
ajaxNavigate("recipes/view/82/" + newServings);
return false;
})
$('#doubleRefresh').click(function() {
var newServings = $('#viewServings').val() * 2;
ajaxNavigate("recipes/view/82/" + newServings);
return false;
})
$('.rateit').rateit();
});
function loadImage(imageUrl, caption) {
$('#selectedRecipeImage img').attr('src', imageUrl).attr('title', caption);
return false;
}
</script>
<div class="recipes view">
<h2>Chicken Naan Pockets</h2>
<div class="rateit"
data-rateit-value="0"
title="0 out of 5 stars"
data-rateit-ispreset="true"
data-rateit-readonly="true">
</div>
<a href="/phprecipebook/reviews/index/82">0 Review(s)</a> <div class="actions">
<ul>
<li><a href="#" onclick="window.print();">Print</a></li>
</ul>
<div style="display: none;">
<ul id="moreActionLinksContent">
<li><a href="/phprecipebook/import" class="ajaxNavigation">Import</a> </li>
<li><a href="/phprecipebook/export/edit" class="ajaxNavigation">Export</a> </li>
</ul>
</div>
</div>
<dl class="float50Section">
<dt>Ethnicity</dt>
<dd>
</dd>
<dt>Base Type</dt>
<dd>
Poultry
</dd>
<dt>Course</dt>
<dd>
Entree
</dd>
<dt>Preparation Time</dt>
<dd>
60+ Minutes
</dd>
<dt>Difficulty</dt>
<dd>
Easy
</dd>
<dt>Serving Size</dt>
<dd>
<input type="text" id="viewServings" value="4"/>
<a id="viewRefresh" href="#">Refresh</a> /
<a id="doubleRefresh" href="#">Double it</a>
</dd>
</dl>
<dl class="float50Section">
<dt>Comments</dt>
<dd>
Very good for lunch; replace Pita with Naan
</dd>
<dt>Source</dt>
<dd>
<a href="#" onclick="return false;" id="qtipSource"></a>
<div id="qtipSourceData" class="hide">
</div>
</dd>
<dt>Source Description</dt>
<dd>
Best Ever Indian Cookbook
</dd>
<dt>Last Modified</dt>
<dd>
2009-04-07
</dd>
<dt>User</dt>
<dd>
Joyce McGuire </dd>
</dl>
<div class="clear"/><br/>
<hr/>
<br/>
<div style="width: 100%;"> <b>Ingredients</b>
<pre>
<div class='ingredientViewItem'><div class='ingredientViewQuantity'>3 T</div>low fat yogurt - natural plain <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> cayenne pepper <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 1/2 t</div> Garam Masala <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> salt <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>3 T</div> lemon juice <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 T</div>chopped, fresh cilantro <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>fresh Pepper, serrano <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 lb</div>cubed Chicken, boneless, skinless <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>8 sli</div> onion, white <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>sliced tomato <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 ea</div>shredded cabbage <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>wedges lemon <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>4 ea</div>small Pita Bread <i></i></div><br/> </pre>
</div>
<div class="float50Section" id="imagePreview">
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.</pre>
</div>
<div class="clear"/><br/>
<div class="relatedRecipe">
<span>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-trace').style.display = (document.getElementById('cakeErr62c173ff08e2f-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: name [<b>APP/View/Recipes/view.ctp</b>, line <b>215</b>]<div id="cakeErr62c173ff08e2f-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-code').style.display = (document.getElementById('cakeErr62c173ff08e2f-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff08e2f-context').style.display = (document.getElementById('cakeErr62c173ff08e2f-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff08e2f-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"relatedRecipe"</span><span style="color: #007700">></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">span</span><span style="color: #007700">></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Html</span><span style="color: #007700">-></span><span style="color: #0000BB">link</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">], array(</span><span style="color: #DD0000">'controller' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'recipes'</span><span style="color: #007700">, </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'view'</span><span style="color: #007700">, </span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'recipe_id'</span><span style="color: #007700">]), </span></span></code></span></pre><pre id="cakeErr62c173ff08e2f-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82',
'ingredient_id' => '115',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => true,
'sort_order' => '4',
'id' => '567',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'recipe_id' => '82',
'ingredient_id' => '25',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => '',
'optional' => false,
'sort_order' => '5',
'id' => '566',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'recipe_id' => '82',
'ingredient_id' => '80',
'quantity' => '1',
'unit_id' => '12',
'qualifier' => 'chopped, fresh',
'optional' => true,
'sort_order' => '6',
'id' => '564',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'recipe_id' => '82',
'ingredient_id' => '422',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'fresh',
'optional' => false,
'sort_order' => '7',
'id' => '565',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'recipe_id' => '82',
'ingredient_id' => '421',
'quantity' => '1',
'unit_id' => '14',
'qualifier' => 'cubed',
'optional' => false,
'sort_order' => '8',
'id' => '563',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'recipe_id' => '82',
'ingredient_id' => '133',
'quantity' => '8',
'unit_id' => '2',
'qualifier' => '',
'optional' => false,
'sort_order' => '9',
'id' => '562',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'recipe_id' => '82',
'ingredient_id' => '231',
'quantity' => '2',
'unit_id' => '1',
'qualifier' => 'sliced',
'optional' => false,
'sort_order' => '10',
'id' => '561',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'recipe_id' => '82',
'ingredient_id' => '259',
'quantity' => '0.5',
'unit_id' => '1',
'qualifier' => 'shredded',
'optional' => false,
'sort_order' => '11',
'id' => '560',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'recipe_id' => '82',
'ingredient_id' => '156',
'quantity' => '1',
'unit_id' => '1',
'qualifier' => 'wedges',
'optional' => false,
'sort_order' => '12',
'id' => '559',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'recipe_id' => '82',
'ingredient_id' => '419',
'quantity' => '4',
'unit_id' => '1',
'qualifier' => 'small',
'optional' => false,
'sort_order' => '13',
'id' => '558',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
)
),
'Image' => array(),
'Review' => array()
)
$allowAccountCreation = false
$isEditor = false
$isAdmin = false
$loggedInuserId = null
$loggedIn = false
$recipeId = '82'
$scale = (int) 1
$numberOfReviews = (int) 0
$averageRating = (int) 0
$imageCount = (int) 0
$i = (int) 13
$quantity = (int) 4
$unit = 'ea'
$ingredientName = 'Pita Bread'
$qualifier = 'small'
$optional = ''
$baseUrl = '/phprecipebook/'
$related = array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array()
)</pre><pre class="stack-trace">include - APP/View/Recipes/view.ctp, line 215
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112</pre></div></pre><a href="/phprecipebook/recipes/view/83" class="ajaxNavigationLink"></a> (optional)
</span>
<div class="float50Section">
<b>Ingredients</b>
<pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-trace').style.display = (document.getElementById('cakeErr62c173ff093c9-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: IngredientMapping [<b>APP/View/Recipes/view.ctp</b>, line <b>222</b>]<div id="cakeErr62c173ff093c9-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-code').style.display = (document.getElementById('cakeErr62c173ff093c9-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr62c173ff093c9-context').style.display = (document.getElementById('cakeErr62c173ff093c9-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr62c173ff093c9-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <b><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'Ingredients'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span></b></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <pre><span style="color: #0000BB"><?php </span><span style="color: #007700">for (</span><span style="color: #0000BB">$i </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">$i </span><span style="color: #007700">< </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$related</span><span style="color: #007700">[</span><span style="color: #DD0000">'Related'</span><span style="color: #007700">][</span><span style="color: #DD0000">'IngredientMapping'</span><span style="color: #007700">]); </span><span style="color: #0000BB">$i</span><span style="color: #007700">++) {</span></span></code></span></pre><pre id="cakeErr62c173ff093c9-context" class="cake-context" style="display: none;">$viewFile = '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp'
$dataForView = array(
'servings' => null,
'recipe' => array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'IngredientMapping' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Image' => array(),
'Review' => array()
),
'allowAccountCreation' => false,
'isEditor' => false,
'isAdmin' => false,
'loggedInuserId' => null,
'loggedIn' => false
)
$servings = '4'
$recipe = array(
'Recipe' => array(
'id' => '82',
'name' => 'Chicken Naan Pockets',
'ethnicity_id' => '11',
'base_type_id' => '10',
'course_id' => '6',
'preparation_time_id' => '5',
'difficulty_id' => '1',
'serving_size' => '4',
'directions' => 'Mix together the yogurt, garam masala, cayenne pepper, salt, lemon juice, cilantro and chopped green serrano pepper. Pour the marinade over the chicken, cover and marinate for about 1 hour.
Preheat the broiler. Put the chicken on broiler pan lined with foil. Broil for 15 to 20 minutes until tender and fully cooked, turning the chicken twice.
Open pita or naan to form a pocket. (Or just roll the chicken in it)
Remove from heat and fill each Pita pocket or naan with chicken and then with onion rings, tomatoes and cabbage. Serve with lemon wedges.',
'comments' => 'Very good for lunch; replace Pita with Naan',
'source_description' => 'Best Ever Indian Cookbook',
'modified' => '2009-04-07',
'picture' => null,
'picture_type' => null,
'private' => false,
'system' => 'usa',
'source_id' => null,
'user_id' => '2',
'preparation_method_id' => null
),
'Ethnicity' => array(
'name' => null
),
'BaseType' => array(
'name' => 'Poultry'
),
'Course' => array(
'name' => 'Entree'
),
'PreparationTime' => array(
'name' => '60+ Minutes'
),
'Difficulty' => array(
'name' => 'Easy'
),
'Source' => array(
'name' => null,
'id' => null,
'description' => null
),
'User' => array(
'name' => 'Joyce McGuire',
'id' => '2'
),
'RelatedRecipe' => array(
(int) 0 => array(
'parent_id' => '82',
'recipe_id' => '83',
'required' => false,
'sort_order' => null,
'id' => '9',
'Related' => array([maximum depth reached])
)
),
'IngredientMapping' => array(
(int) 0 => array(
'recipe_id' => '82',
'ingredient_id' => '389',
'quantity' => '3',
'unit_id' => '12',
'qualifier' => 'low fat',
'optional' => false,
'sort_order' => '1',
'id' => '576',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'recipe_id' => '82',
'ingredient_id' => '350',
'quantity' => '1',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '2',
'id' => '569',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'recipe_id' => '82',
'ingredient_id' => '417',
'quantity' => '1.5',
'unit_id' => '13',
'qualifier' => '',
'optional' => false,
'sort_order' => '3',
'id' => '568',
'Ingredient' => array(
[maximum depth reached]
),
'Unit' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'recipe_id' => '82