Code Context<link rel="Shortcut Icon" href="favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="css/bb.css" type="text/css" media="screen" />
<?php if ('cart' == $page) { ?>
$viewFile = '/var/sites/bb3-prod/git/site/httpdocs/../cake/app/View/Layouts/default.ctp'
$dataForView = array(
'name' => 'Cannot create image resource. File not found.',
'message' => 'Cannot create image resource. File not found.',
'url' => '/products/tearsheet/588/TS39.pdf',
'error' => object(Zend_Pdf_Exception) {
[protected] message => 'Cannot create image resource. File not found.'
[protected] code => (int) 0
[protected] file => '/var/sites/bb3-prod/git/site/cake/app/Vendor/Zend/Pdf/Resource/ImageFactory.php'
[protected] line => (int) 38
},
'_serialize' => array(
(int) 0 => 'name',
(int) 1 => 'message',
(int) 2 => 'url'
),
'sslBaseUrl' => 'https://breuckelenberber.com',
'content_for_layout' => '<h2>Cannot create image resource. File not found.</h2>
<p class="error">
<strong>Error: </strong>
An Internal Error Has Occurred.</p>
<h3>Stack Trace</h3>
<ul class="cake-stack-trace">
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">/var/sites/bb3-prod/git/site/cake/app/Vendor/Zend/Pdf/Image.php line 124</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">Zend_Pdf_Resource_ImageFactory::factory(string)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">todo </span><span style="color: #007700">switch </span><span style="color: #0000BB">to </span><span style="color: #007700">new </span><span style="color: #0000BB">implementation</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">require_once </span><span style="color: #DD0000">'Zend/Pdf/Resource/ImageFactory.php'</span><span style="color: #007700">;</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">Zend_Pdf_Resource_ImageFactory</span><span style="color: #007700">::</span><span style="color: #0000BB">factory</span><span style="color: #007700">(</span><span style="color: #0000BB">$filePath</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'/var/sites/bb3-prod/git/site/httpdocs//media/Product/TearSheetImage/Ait_Bou_Ichaouen_TS39_Tear_1.jpg'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">/var/sites/bb3-prod/git/site/cake/app/Controller/ProductsController.php line 177</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">Zend_Pdf_Image::imageWithPath(string)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $top </span><span style="color: #007700">= </span><span style="color: #0000BB">720</span><span style="color: #007700">;
</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $imagePath </span><span style="color: #007700">= </span><span style="color: #0000BB">WWW_ROOT</span><span style="color: #007700">. </span><span style="color: #0000BB">$product</span><span style="color: #007700">[</span><span style="color: #DD0000">'TearSheetImage'</span><span style="color: #007700">][</span><span style="color: #DD0000">'dirname'</span><span style="color: #007700">].</span><span style="color: #0000BB">$product</span><span style="color: #007700">[</span><span style="color: #DD0000">'TearSheetImage'</span><span style="color: #007700">][</span><span style="color: #DD0000">'filename'</span><span style="color: #007700">];
</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $image </span><span style="color: #007700">= </span><span style="color: #0000BB">Zend_Pdf_Image</span><span style="color: #007700">::</span><span style="color: #0000BB">imageWithPath</span><span style="color: #007700">(</span><span style="color: #0000BB">$imagePath</span><span style="color: #007700">);
</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// $page->drawImage($image, $left, $bottom, $right, $top);
</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'/var/sites/bb3-prod/git/site/httpdocs//media/Product/TearSheetImage/Ait_Bou_Ichaouen_TS39_Tear_1.jpg'</pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">ProductsController->tearsheet(string, string)</a> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'588'
'TS39.pdf'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Controller/Controller.php line 491</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">ReflectionMethod->invokeArgs(ProductsController, array)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'action'</span><span style="color: #007700">]</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$method</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeArgs</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">]);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) {
name => 'Products'
paginate => array(
'limit' => (int) 100,
'order' => 'item_number'
)
helpers => array(
(int) 0 => 'SupercosmUtil',
(int) 1 => 'Js',
(int) 2 => 'Session',
(int) 3 => 'Form',
(int) 4 => 'FormUtil',
(int) 5 => 'TimeUtil'
)
uses => array(
(int) 0 => 'Product',
(int) 1 => 'User'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
'Auth' => array(
'loginRedirect' => array(
[maximum depth reached]
),
'logoutRedirect' => array(
[maximum depth reached]
)
)
)
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'products/tearsheet/588/TS39.pdf'
base => ''
webroot => '/'
here => '/products/tearsheet/588/TS39.pdf'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
response => object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
viewPath => 'Products'
layoutPath => null
viewVars => array(
'sslBaseUrl' => 'https://breuckelenberber.com'
)
view => 'tearsheet'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => '588',
(int) 1 => 'TS39.pdf'
)
scaffold => false
methods => array(
(int) 0 => 'gallery',
(int) 1 => 'archive',
(int) 2 => 'admin_remove_attachment',
(int) 3 => '_gallery_aux',
(int) 4 => 'view',
(int) 5 => 'tearsheet',
(int) 6 => '_mb_wordwrap_array',
(int) 7 => '_wrapText',
(int) 8 => 'admin_add',
(int) 9 => 'admin_edit',
(int) 10 => '_adminSetupAddEdit',
(int) 12 => '_beforeFilterPublic',
(int) 13 => '_beforeFilterAdmin',
(int) 14 => '_findStuffForAdminNav',
(int) 15 => 'index',
(int) 16 => 'admin_index',
(int) 17 => 'admin_view',
(int) 18 => 'admin_delete',
(int) 19 => '_getAdminUserId',
(int) 20 => '_getAdminUserPermissionId'
)
modelClass => 'Product'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Cookie => object(CookieComponent) {
name => 'CakeCookie'
time => null
path => '/'
domain => ''
secure => false
key => 'b0ff9899fd21d17794f6e186cbb6ffe3a567defd'
httpOnly => false
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _values => array(
[maximum depth reached]
)
[protected] _type => 'cipher'
[protected] _reset => null
[protected] _expires => (int) 0
[protected] _response => object(CakeResponse) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Auth => object(AuthComponent) {
components => array(
[maximum depth reached]
)
authenticate => array(
[maximum depth reached]
)
authorize => false
ajaxLogin => null
flash => array(
[maximum depth reached]
)
loginAction => array(
[maximum depth reached]
)
loginRedirect => array(
[maximum depth reached]
)
logoutRedirect => array(
[maximum depth reached]
)
authError => 'You are not authorized to access that location.'
unauthorizedRedirect => true
allowedActions => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
settings => array(
[maximum depth reached]
)
[protected] _authenticateObjects => array([maximum depth reached])
[protected] _authorizeObjects => array([maximum depth reached])
[protected] _user => array([maximum depth reached])
[protected] _methods => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Product => object(Product) {
validate => array(
[maximum depth reached]
)
belongsTo => array(
[maximum depth reached]
)
hasOne => array(
[maximum depth reached]
)
actsAs => array(
[maximum depth reached]
)
cacheQueries => true
useDbConfig => 'default'
useTable => 'products'
id => false
data => array([maximum depth reached])
schemaName => 'bb3_dev'
table => 'products'
primaryKey => 'id'
validationErrors => array([maximum depth reached])
validationDomain => null
tablePrefix => ''
plugin => null
name => 'Product'
alias => 'Product'
tableToModel => array(
[maximum depth reached]
)
hasMany => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => null
recursive => (int) 1
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
[maximum depth reached]
)
Tribe => object(Tribe) {}
Region => object(Region) {}
TearSheetImage => object(Attachment) {}
[protected] _schema => array(
[maximum depth reached]
)
[protected] _associationKeys => array(
[maximum depth reached]
)
[protected] _associations => array(
[maximum depth reached]
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
}
array(
(int) 0 => '588',
(int) 1 => 'TS39.pdf'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Routing/Dispatcher.php line 193</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $render </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'products',
'action' => 'tearsheet',
'named' => array(),
'pass' => array(
(int) 0 => '588',
(int) 1 => 'TS39.pdf'
),
'models' => array(
'User' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
),
'Tribe' => array(
[maximum depth reached]
),
'Region' => array(
[maximum depth reached]
),
'TearSheetImage' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'products/tearsheet/588/TS39.pdf'
base => ''
webroot => '/'
here => '/products/tearsheet/588/TS39.pdf'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'patch' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
),
'post' => array(
'env' => 'REQUEST_METHOD',
'value' => 'POST'
),
'put' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
),
'delete' => array(
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
),
'head' => array(
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
),
'options' => array(
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
),
'ssl' => array(
'env' => 'HTTPS',
'value' => (int) 1
),
'ajax' => array(
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
),
'flash' => array(
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
),
'mobile' => array(
'env' => 'HTTP_USER_AGENT',
'options' => array(
[maximum depth reached]
)
),
'requested' => array(
'param' => 'requested',
'value' => (int) 1
),
'json' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'json'
),
'xml' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'xml'
)
)
[protected] _input => ''
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Routing/Dispatcher.php line 167</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Dispatcher->_invoke(ProductsController, CakeRequest)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) {
name => 'Products'
paginate => array(
'limit' => (int) 100,
'order' => 'item_number'
)
helpers => array(
(int) 0 => 'SupercosmUtil',
(int) 1 => 'Js',
(int) 2 => 'Session',
(int) 3 => 'Form',
(int) 4 => 'FormUtil',
(int) 5 => 'TimeUtil'
)
uses => array(
(int) 0 => 'Product',
(int) 1 => 'User'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
'Auth' => array(
'loginRedirect' => array(
[maximum depth reached]
),
'logoutRedirect' => array(
[maximum depth reached]
)
)
)
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'products/tearsheet/588/TS39.pdf'
base => ''
webroot => '/'
here => '/products/tearsheet/588/TS39.pdf'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
response => object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
viewPath => 'Products'
layoutPath => null
viewVars => array(
'sslBaseUrl' => 'https://breuckelenberber.com'
)
view => 'tearsheet'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => '588',
(int) 1 => 'TS39.pdf'
)
scaffold => false
methods => array(
(int) 0 => 'gallery',
(int) 1 => 'archive',
(int) 2 => 'admin_remove_attachment',
(int) 3 => '_gallery_aux',
(int) 4 => 'view',
(int) 5 => 'tearsheet',
(int) 6 => '_mb_wordwrap_array',
(int) 7 => '_wrapText',
(int) 8 => 'admin_add',
(int) 9 => 'admin_edit',
(int) 10 => '_adminSetupAddEdit',
(int) 12 => '_beforeFilterPublic',
(int) 13 => '_beforeFilterAdmin',
(int) 14 => '_findStuffForAdminNav',
(int) 15 => 'index',
(int) 16 => 'admin_index',
(int) 17 => 'admin_view',
(int) 18 => 'admin_delete',
(int) 19 => '_getAdminUserId',
(int) 20 => '_getAdminUserPermissionId'
)
modelClass => 'Product'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Cookie => object(CookieComponent) {
name => 'CakeCookie'
time => null
path => '/'
domain => ''
secure => false
key => 'b0ff9899fd21d17794f6e186cbb6ffe3a567defd'
httpOnly => false
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _values => array(
[maximum depth reached]
)
[protected] _type => 'cipher'
[protected] _reset => null
[protected] _expires => (int) 0
[protected] _response => object(CakeResponse) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Auth => object(AuthComponent) {
components => array(
[maximum depth reached]
)
authenticate => array(
[maximum depth reached]
)
authorize => false
ajaxLogin => null
flash => array(
[maximum depth reached]
)
loginAction => array(
[maximum depth reached]
)
loginRedirect => array(
[maximum depth reached]
)
logoutRedirect => array(
[maximum depth reached]
)
authError => 'You are not authorized to access that location.'
unauthorizedRedirect => true
allowedActions => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
settings => array(
[maximum depth reached]
)
[protected] _authenticateObjects => array([maximum depth reached])
[protected] _authorizeObjects => array([maximum depth reached])
[protected] _user => array([maximum depth reached])
[protected] _methods => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Product => object(Product) {
validate => array(
[maximum depth reached]
)
belongsTo => array(
[maximum depth reached]
)
hasOne => array(
[maximum depth reached]
)
actsAs => array(
[maximum depth reached]
)
cacheQueries => true
useDbConfig => 'default'
useTable => 'products'
id => false
data => array([maximum depth reached])
schemaName => 'bb3_dev'
table => 'products'
primaryKey => 'id'
validationErrors => array([maximum depth reached])
validationDomain => null
tablePrefix => ''
plugin => null
name => 'Product'
alias => 'Product'
tableToModel => array(
[maximum depth reached]
)
hasMany => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => null
recursive => (int) 1
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
[maximum depth reached]
)
Tribe => object(Tribe) {}
Region => object(Region) {}
TearSheetImage => object(Attachment) {}
[protected] _schema => array(
[maximum depth reached]
)
[protected] _associationKeys => array(
[maximum depth reached]
)
[protected] _associations => array(
[maximum depth reached]
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
}
object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'products',
'action' => 'tearsheet',
'named' => array(),
'pass' => array(
(int) 0 => '588',
(int) 1 => 'TS39.pdf'
),
'models' => array(
'User' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
),
'Tribe' => array(
[maximum depth reached]
),
'Region' => array(
[maximum depth reached]
),
'TearSheetImage' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'products/tearsheet/588/TS39.pdf'
base => ''
webroot => '/'
here => '/products/tearsheet/588/TS39.pdf'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'patch' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
),
'post' => array(
'env' => 'REQUEST_METHOD',
'value' => 'POST'
),
'put' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
),
'delete' => array(
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
),
'head' => array(
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
),
'options' => array(
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
),
'ssl' => array(
'env' => 'HTTPS',
'value' => (int) 1
),
'ajax' => array(
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
),
'flash' => array(
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
),
'mobile' => array(
'env' => 'HTTP_USER_AGENT',
'options' => array(
[maximum depth reached]
)
),
'requested' => array(
'param' => 'requested',
'value' => (int) 1
),
'json' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'json'
),
'xml' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'xml'
)
)
[protected] _input => ''
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">/var/sites/bb3-prod/git/site/httpdocs/index.php line 99</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">App</span><span style="color: #007700">::</span><span style="color: #0000BB">uses</span><span style="color: #007700">(</span><span style="color: #DD0000">'Dispatcher'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Routing'</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher </span><span style="color: #007700">= new </span><span style="color: #0000BB">Dispatcher</span><span style="color: #007700">();</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(), new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'charset' </span><span style="color: #007700">=> </span><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'App.encoding'</span><span style="color: #007700">))));</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'products',
'action' => 'tearsheet',
'named' => array(),
'pass' => array(
(int) 0 => '588',
(int) 1 => 'TS39.pdf'
),
'models' => array(
'User' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
),
'Tribe' => array(
[maximum depth reached]
),
'Region' => array(
[maximum depth reached]
),
'TearSheetImage' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'products/tearsheet/588/TS39.pdf'
base => ''
webroot => '/'
here => '/products/tearsheet/588/TS39.pdf'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'patch' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
),
'post' => array(
'env' => 'REQUEST_METHOD',
'value' => 'POST'
),
'put' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
),
'delete' => array(
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
),
'head' => array(
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
),
'options' => array(
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
),
'ssl' => array(
'env' => 'HTTPS',
'value' => (int) 1
),
'ajax' => array(
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
),
'flash' => array(
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
),
'mobile' => array(
'env' => 'HTTP_USER_AGENT',
'options' => array(
[maximum depth reached]
)
),
'requested' => array(
'param' => 'requested',
'value' => (int) 1
),
'json' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'json'
),
'xml' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'xml'
)
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 307 => 'Temporary Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 429 => 'Too Many Requests',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'Unsupported Version'
)
[protected] _mimeTypes => array(
'html' => array(
(int) 0 => 'text/html',
(int) 1 => '*/*'
),
'json' => 'application/json',
'xml' => array(
(int) 0 => 'application/xml',
(int) 1 => 'text/xml'
),
'rss' => 'application/rss+xml',
'ai' => 'application/postscript',
'bcpio' => 'application/x-bcpio',
'bin' => 'application/octet-stream',
'ccad' => 'application/clariscad',
'cdf' => 'application/x-netcdf',
'class' => 'application/octet-stream',
'cpio' => 'application/x-cpio',
'cpt' => 'application/mac-compactpro',
'csh' => 'application/x-csh',
'csv' => array(
(int) 0 => 'text/csv',
(int) 1 => 'application/vnd.ms-excel'
),
'dcr' => 'application/x-director',
'dir' => 'application/x-director',
'dms' => 'application/octet-stream',
'doc' => 'application/msword',
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'drw' => 'application/drafting',
'dvi' => 'application/x-dvi',
'dwg' => 'application/acad',
'dxf' => 'application/dxf',
'dxr' => 'application/x-director',
'eot' => 'application/vnd.ms-fontobject',
'eps' => 'application/postscript',
'exe' => 'application/octet-stream',
'ez' => 'application/andrew-inset',
'flv' => 'video/x-flv',
'gtar' => 'application/x-gtar',
'gz' => 'application/x-gzip',
'bz2' => 'application/x-bzip',
'7z' => 'application/x-7z-compressed',
'hdf' => 'application/x-hdf',
'hqx' => 'application/mac-binhex40',
'ico' => 'image/x-icon',
'ips' => 'application/x-ipscript',
'ipx' => 'application/x-ipix',
'js' => 'application/javascript',
'jsonapi' => 'application/vnd.api+json',
'latex' => 'application/x-latex',
'lha' => 'application/octet-stream',
'lsp' => 'application/x-lisp',
'lzh' => 'application/octet-stream',
'man' => 'application/x-troff-man',
'me' => 'application/x-troff-me',
'mif' => 'application/vnd.mif',
'ms' => 'application/x-troff-ms',
'nc' => 'application/x-netcdf',
'oda' => 'application/oda',
'otf' => 'font/otf',
'pdf' => 'application/pdf',
'pgn' => 'application/x-chess-pgn',
'pot' => 'application/vnd.ms-powerpoint',
'pps' => 'application/vnd.ms-powerpoint',
'ppt' => 'application/vnd.ms-powerpoint',
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'ppz' => 'application/vnd.ms-powerpoint',
'pre' => 'application/x-freelance',
'prt' => 'application/pro_eng',
'ps' => 'application/postscript',
'roff' => 'application/x-troff',
'scm' => 'application/x-lotusscreencam',
'set' => 'application/set',
'sh' => 'application/x-sh',
'shar' => 'application/x-shar',
'sit' => 'application/x-stuffit',
'skd' => 'application/x-koan',
'skm' => 'application/x-koan',
'skp' => 'application/x-koan',
'skt' => 'application/x-koan',
'smi' => 'application/smil',
'smil' => 'application/smil',
'sol' => 'application/solids',
'spl' => 'application/x-futuresplash',
'src' => 'application/x-wais-source',
'step' => 'application/STEP',
'stl' => 'application/SLA',
'stp' => 'application/STEP',
'sv4cpio' => 'application/x-sv4cpio',
'sv4crc' => 'application/x-sv4crc',
'svg' => 'image/svg+xml',
'svgz' => 'image/svg+xml',
'swf' => 'application/x-shockwave-flash',
't' => 'application/x-troff',
'tar' => 'application/x-tar',
'tcl' => 'application/x-tcl',
'tex' => 'application/x-tex',
'texi' => 'application/x-texinfo',
'texinfo' => 'application/x-texinfo',
'tr' => 'application/x-troff',
'tsp' => 'application/dsptype',
'ttc' => 'font/ttf',
'ttf' => 'font/ttf',
'unv' => 'application/i-deas',
'ustar' => 'application/x-ustar',
'vcd' => 'application/x-cdlink',
'vda' => 'application/vda',
'xlc' => 'application/vnd.ms-excel',
'xll' => 'application/vnd.ms-excel',
'xlm' => 'application/vnd.ms-excel',
'xls' => 'application/vnd.ms-excel',
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'xlw' => 'application/vnd.ms-excel',
'zip' => 'application/zip',
'aif' => 'audio/x-aiff',
'aifc' => 'audio/x-aiff',
'aiff' => 'audio/x-aiff',
'au' => 'audio/basic',
'kar' => 'audio/midi',
'mid' => 'audio/midi',
'midi' => 'audio/midi',
'mp2' => 'audio/mpeg',
'mp3' => 'audio/mpeg',
'mpga' => 'audio/mpeg',
'ogg' => 'audio/ogg',
'oga' => 'audio/ogg',
'spx' => 'audio/ogg',
'ra' => 'audio/x-realaudio',
'ram' => 'audio/x-pn-realaudio',
'rm' => 'audio/x-pn-realaudio',
'rpm' => 'audio/x-pn-realaudio-plugin',
'snd' => 'audio/basic',
'tsi' => 'audio/TSP-audio',
'wav' => 'audio/x-wav',
'aac' => 'audio/aac',
'asc' => 'text/plain',
'c' => 'text/plain',
'cc' => 'text/plain',
'css' => 'text/css',
'etx' => 'text/x-setext',
'f' => 'text/plain',
'f90' => 'text/plain',
'h' => 'text/plain',
'hh' => 'text/plain',
'htm' => array(
(int) 0 => 'text/html',
(int) 1 => '*/*'
),
'ics' => 'text/calendar',
'm' => 'text/plain',
'rtf' => 'text/rtf',
'rtx' => 'text/richtext',
'sgm' => 'text/sgml',
'sgml' => 'text/sgml',
'tsv' => 'text/tab-separated-values',
'tpl' => 'text/template',
'txt' => 'text/plain',
'text' => 'text/plain',
'avi' => 'video/x-msvideo',
'fli' => 'video/x-fli',
'mov' => 'video/quicktime',
'movie' => 'video/x-sgi-movie',
'mpe' => 'video/mpeg',
'mpeg' => 'video/mpeg',
'mpg' => 'video/mpeg',
'qt' => 'video/quicktime',
'viv' => 'video/vnd.vivo',
'vivo' => 'video/vnd.vivo',
'ogv' => 'video/ogg',
'webm' => 'video/webm',
'mp4' => 'video/mp4',
'm4v' => 'video/mp4',
'f4v' => 'video/mp4',
'f4p' => 'video/mp4',
'm4a' => 'audio/mp4',
'f4a' => 'audio/mp4',
'f4b' => 'audio/mp4',
'gif' => 'image/gif',
'ief' => 'image/ief',
'jpg' => 'image/jpeg',
'jpeg' => 'image/jpeg',
'jpe' => 'image/jpeg',
'pbm' => 'image/x-portable-bitmap',
'pgm' => 'image/x-portable-graymap',
'png' => 'image/png',
'pnm' => 'image/x-portable-anymap',
'ppm' => 'image/x-portable-pixmap',
'ras' => 'image/cmu-raster',
'rgb' => 'image/x-rgb',
'tif' => 'image/tiff',
'tiff' => 'image/tiff',
'xbm' => 'image/x-xbitmap',
'xpm' => 'image/x-xpixmap',
'xwd' => 'image/x-xwindowdump',
'psd' => array(
(int) 0 => 'application/photoshop',
(int) 1 => 'application/psd',
(int) 2 => 'image/psd',
(int) 3 => 'image/x-photoshop',
(int) 4 => 'image/photoshop',
(int) 5 => 'zz-application/zz-winassoc-psd'
),
'ice' => 'x-conference/x-cooltalk',
'iges' => 'model/iges',
'igs' => 'model/iges',
'mesh' => 'model/mesh',
'msh' => 'model/mesh',
'silo' => 'model/mesh',
'vrml' => 'model/vrml',
'wrl' => 'model/vrml',
'mime' => 'www/mime',
'pdb' => 'chemical/x-pdb',
'xyz' => 'chemical/x-pdb',
'javascript' => 'application/javascript',
'form' => 'application/x-www-form-urlencoded',
'file' => 'multipart/form-data',
'xhtml' => array(
(int) 0 => 'application/xhtml+xml',
(int) 1 => 'application/xhtml',
(int) 2 => 'text/xhtml'
),
'xhtml-mobile' => 'application/vnd.wap.xhtml+xml',
'atom' => 'application/atom+xml',
'amf' => 'application/x-amf',
'wap' => array(
(int) 0 => 'text/vnd.wap.wml',
(int) 1 => 'text/vnd.wap.wmlscript',
(int) 2 => 'image/vnd.wap.wbmp'
),
'wml' => 'text/vnd.wap.wml',
'wmlscript' => 'text/vnd.wap.wmlscript',
'wbmp' => 'image/vnd.wap.wbmp',
'woff' => 'application/x-font-woff',
'webp' => 'image/webp',
'appcache' => 'text/cache-manifest',
'manifest' => 'text/cache-manifest',
'htc' => 'text/x-component',
'rdf' => 'application/xml',
'crx' => 'application/x-chrome-extension',
'oex' => 'application/x-opera-extension',
'xpi' => 'application/x-xpinstall',
'safariextz' => 'application/octet-stream',
'webapp' => 'application/x-web-app-manifest+json',
'vcf' => 'text/x-vcard',
'vtt' => 'text/vtt',
'mkv' => 'video/x-matroska',
'pkpass' => 'application/vnd.apple.pkpass',
'ajax' => 'text/html'
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array()
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array()
[protected] _cookies => array()
}</pre></div></li>
</ul>
<script type="text/javascript">
function traceToggle(event, id) {
var el = document.getElementById(id);
el.style.display = (el.style.display === 'block') ? 'none' : 'block';
event.preventDefault();
return false;
}
</script>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Errors'
)
$name = 'Cannot create image resource. File not found.'
$message = 'Cannot create image resource. File not found.'
$url = '/products/tearsheet/588/TS39.pdf'
$error = object(Zend_Pdf_Exception) {
[protected] message => 'Cannot create image resource. File not found.'
[protected] code => (int) 0
[protected] file => '/var/sites/bb3-prod/git/site/cake/app/Vendor/Zend/Pdf/Resource/ImageFactory.php'
[protected] line => (int) 38
}
$_serialize = array(
(int) 0 => 'name',
(int) 1 => 'message',
(int) 2 => 'url'
)
$sslBaseUrl = 'https://breuckelenberber.com'
$content_for_layout = '<h2>Cannot create image resource. File not found.</h2>
<p class="error">
<strong>Error: </strong>
An Internal Error Has Occurred.</p>
<h3>Stack Trace</h3>
<ul class="cake-stack-trace">
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">/var/sites/bb3-prod/git/site/cake/app/Vendor/Zend/Pdf/Image.php line 124</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">Zend_Pdf_Resource_ImageFactory::factory(string)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">todo </span><span style="color: #007700">switch </span><span style="color: #0000BB">to </span><span style="color: #007700">new </span><span style="color: #0000BB">implementation</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">require_once </span><span style="color: #DD0000">'Zend/Pdf/Resource/ImageFactory.php'</span><span style="color: #007700">;</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">Zend_Pdf_Resource_ImageFactory</span><span style="color: #007700">::</span><span style="color: #0000BB">factory</span><span style="color: #007700">(</span><span style="color: #0000BB">$filePath</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'/var/sites/bb3-prod/git/site/httpdocs//media/Product/TearSheetImage/Ait_Bou_Ichaouen_TS39_Tear_1.jpg'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">/var/sites/bb3-prod/git/site/cake/app/Controller/ProductsController.php line 177</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">Zend_Pdf_Image::imageWithPath(string)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $top </span><span style="color: #007700">= </span><span style="color: #0000BB">720</span><span style="color: #007700">;
</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $imagePath </span><span style="color: #007700">= </span><span style="color: #0000BB">WWW_ROOT</span><span style="color: #007700">. </span><span style="color: #0000BB">$product</span><span style="color: #007700">[</span><span style="color: #DD0000">'TearSheetImage'</span><span style="color: #007700">][</span><span style="color: #DD0000">'dirname'</span><span style="color: #007700">].</span><span style="color: #0000BB">$product</span><span style="color: #007700">[</span><span style="color: #DD0000">'TearSheetImage'</span><span style="color: #007700">][</span><span style="color: #DD0000">'filename'</span><span style="color: #007700">];
</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $image </span><span style="color: #007700">= </span><span style="color: #0000BB">Zend_Pdf_Image</span><span style="color: #007700">::</span><span style="color: #0000BB">imageWithPath</span><span style="color: #007700">(</span><span style="color: #0000BB">$imagePath</span><span style="color: #007700">);
</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// $page->drawImage($image, $left, $bottom, $right, $top);
</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'/var/sites/bb3-prod/git/site/httpdocs//media/Product/TearSheetImage/Ait_Bou_Ichaouen_TS39_Tear_1.jpg'</pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">ProductsController->tearsheet(string, string)</a> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'588'
'TS39.pdf'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Controller/Controller.php line 491</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">ReflectionMethod->invokeArgs(ProductsController, array)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'action'</span><span style="color: #007700">]</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$method</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeArgs</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">]);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) {
name => 'Products'
paginate => array(
'limit' => (int) 100,
'order' => 'item_number'
)
helpers => array(
(int) 0 => 'SupercosmUtil',
(int) 1 => 'Js',
(int) 2 => 'Session',
(int) 3 => 'Form',
(int) 4 => 'FormUtil',
(int) 5 => 'TimeUtil'
)
uses => array(
(int) 0 => 'Product',
(int) 1 => 'User'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
'Auth' => array(
'loginRedirect' => array(
[maximum depth reached]
),
'logoutRedirect' => array(
[maximum depth reached]
)
)
)
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'products/tearsheet/588/TS39.pdf'
base => ''
webroot => '/'
here => '/products/tearsheet/588/TS39.pdf'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
response => object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
viewPath => 'Products'
layoutPath => null
viewVars => array(
'sslBaseUrl' => 'https://breuckelenberber.com'
)
view => 'tearsheet'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => '588',
(int) 1 => 'TS39.pdf'
)
scaffold => false
methods => array(
(int) 0 => 'gallery',
(int) 1 => 'archive',
(int) 2 => 'admin_remove_attachment',
(int) 3 => '_gallery_aux',
(int) 4 => 'view',
(int) 5 => 'tearsheet',
(int) 6 => '_mb_wordwrap_array',
(int) 7 => '_wrapText',
(int) 8 => 'admin_add',
(int) 9 => 'admin_edit',
(int) 10 => '_adminSetupAddEdit',
(int) 12 => '_beforeFilterPublic',
(int) 13 => '_beforeFilterAdmin',
(int) 14 => '_findStuffForAdminNav',
(int) 15 => 'index',
(int) 16 => 'admin_index',
(int) 17 => 'admin_view',
(int) 18 => 'admin_delete',
(int) 19 => '_getAdminUserId',
(int) 20 => '_getAdminUserPermissionId'
)
modelClass => 'Product'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Cookie => object(CookieComponent) {
name => 'CakeCookie'
time => null
path => '/'
domain => ''
secure => false
key => 'b0ff9899fd21d17794f6e186cbb6ffe3a567defd'
httpOnly => false
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _values => array(
[maximum depth reached]
)
[protected] _type => 'cipher'
[protected] _reset => null
[protected] _expires => (int) 0
[protected] _response => object(CakeResponse) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Auth => object(AuthComponent) {
components => array(
[maximum depth reached]
)
authenticate => array(
[maximum depth reached]
)
authorize => false
ajaxLogin => null
flash => array(
[maximum depth reached]
)
loginAction => array(
[maximum depth reached]
)
loginRedirect => array(
[maximum depth reached]
)
logoutRedirect => array(
[maximum depth reached]
)
authError => 'You are not authorized to access that location.'
unauthorizedRedirect => true
allowedActions => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
settings => array(
[maximum depth reached]
)
[protected] _authenticateObjects => array([maximum depth reached])
[protected] _authorizeObjects => array([maximum depth reached])
[protected] _user => array([maximum depth reached])
[protected] _methods => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Product => object(Product) {
validate => array(
[maximum depth reached]
)
belongsTo => array(
[maximum depth reached]
)
hasOne => array(
[maximum depth reached]
)
actsAs => array(
[maximum depth reached]
)
cacheQueries => true
useDbConfig => 'default'
useTable => 'products'
id => false
data => array([maximum depth reached])
schemaName => 'bb3_dev'
table => 'products'
primaryKey => 'id'
validationErrors => array([maximum depth reached])
validationDomain => null
tablePrefix => ''
plugin => null
name => 'Product'
alias => 'Product'
tableToModel => array(
[maximum depth reached]
)
hasMany => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => null
recursive => (int) 1
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
[maximum depth reached]
)
Tribe => object(Tribe) {}
Region => object(Region) {}
TearSheetImage => object(Attachment) {}
[protected] _schema => array(
[maximum depth reached]
)
[protected] _associationKeys => array(
[maximum depth reached]
)
[protected] _associations => array(
[maximum depth reached]
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
}
array(
(int) 0 => '588',
(int) 1 => 'TS39.pdf'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Routing/Dispatcher.php line 193</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $render </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'products',
'action' => 'tearsheet',
'named' => array(),
'pass' => array(
(int) 0 => '588',
(int) 1 => 'TS39.pdf'
),
'models' => array(
'User' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
),
'Tribe' => array(
[maximum depth reached]
),
'Region' => array(
[maximum depth reached]
),
'TearSheetImage' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'products/tearsheet/588/TS39.pdf'
base => ''
webroot => '/'
here => '/products/tearsheet/588/TS39.pdf'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'patch' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
),
'post' => array(
'env' => 'REQUEST_METHOD',
'value' => 'POST'
),
'put' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
),
'delete' => array(
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
),
'head' => array(
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
),
'options' => array(
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
),
'ssl' => array(
'env' => 'HTTPS',
'value' => (int) 1
),
'ajax' => array(
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
),
'flash' => array(
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
),
'mobile' => array(
'env' => 'HTTP_USER_AGENT',
'options' => array(
[maximum depth reached]
)
),
'requested' => array(
'param' => 'requested',
'value' => (int) 1
),
'json' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'json'
),
'xml' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'xml'
)
)
[protected] _input => ''
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Routing/Dispatcher.php line 167</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Dispatcher->_invoke(ProductsController, CakeRequest)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) {
name => 'Products'
paginate => array(
'limit' => (int) 100,
'order' => 'item_number'
)
helpers => array(
(int) 0 => 'SupercosmUtil',
(int) 1 => 'Js',
(int) 2 => 'Session',
(int) 3 => 'Form',
(int) 4 => 'FormUtil',
(int) 5 => 'TimeUtil'
)
uses => array(
(int) 0 => 'Product',
(int) 1 => 'User'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
'Auth' => array(
'loginRedirect' => array(
[maximum depth reached]
),
'logoutRedirect' => array(
[maximum depth reached]
)
)
)
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'products/tearsheet/588/TS39.pdf'
base => ''
webroot => '/'
here => '/products/tearsheet/588/TS39.pdf'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
response => object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
viewPath => 'Products'
layoutPath => null
viewVars => array(
'sslBaseUrl' => 'https://breuckelenberber.com'
)
view => 'tearsheet'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => '588',
(int) 1 => 'TS39.pdf'
)
scaffold => false
methods => array(
(int) 0 => 'gallery',
(int) 1 => 'archive',
(int) 2 => 'admin_remove_attachment',
(int) 3 => '_gallery_aux',
(int) 4 => 'view',
(int) 5 => 'tearsheet',
(int) 6 => '_mb_wordwrap_array',
(int) 7 => '_wrapText',
(int) 8 => 'admin_add',
(int) 9 => 'admin_edit',
(int) 10 => '_adminSetupAddEdit',
(int) 12 => '_beforeFilterPublic',
(int) 13 => '_beforeFilterAdmin',
(int) 14 => '_findStuffForAdminNav',
(int) 15 => 'index',
(int) 16 => 'admin_index',
(int) 17 => 'admin_view',
(int) 18 => 'admin_delete',
(int) 19 => '_getAdminUserId',
(int) 20 => '_getAdminUserPermissionId'
)
modelClass => 'Product'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Cookie => object(CookieComponent) {
name => 'CakeCookie'
time => null
path => '/'
domain => ''
secure => false
key => 'b0ff9899fd21d17794f6e186cbb6ffe3a567defd'
httpOnly => false
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _values => array(
[maximum depth reached]
)
[protected] _type => 'cipher'
[protected] _reset => null
[protected] _expires => (int) 0
[protected] _response => object(CakeResponse) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Auth => object(AuthComponent) {
components => array(
[maximum depth reached]
)
authenticate => array(
[maximum depth reached]
)
authorize => false
ajaxLogin => null
flash => array(
[maximum depth reached]
)
loginAction => array(
[maximum depth reached]
)
loginRedirect => array(
[maximum depth reached]
)
logoutRedirect => array(
[maximum depth reached]
)
authError => 'You are not authorized to access that location.'
unauthorizedRedirect => true
allowedActions => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
settings => array(
[maximum depth reached]
)
[protected] _authenticateObjects => array([maximum depth reached])
[protected] _authorizeObjects => array([maximum depth reached])
[protected] _user => array([maximum depth reached])
[protected] _methods => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Product => object(Product) {
validate => array(
[maximum depth reached]
)
belongsTo => array(
[maximum depth reached]
)
hasOne => array(
[maximum depth reached]
)
actsAs => array(
[maximum depth reached]
)
cacheQueries => true
useDbConfig => 'default'
useTable => 'products'
id => false
data => array([maximum depth reached])
schemaName => 'bb3_dev'
table => 'products'
primaryKey => 'id'
validationErrors => array([maximum depth reached])
validationDomain => null
tablePrefix => ''
plugin => null
name => 'Product'
alias => 'Product'
tableToModel => array(
[maximum depth reached]
)
hasMany => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => null
recursive => (int) 1
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
[maximum depth reached]
)
Tribe => object(Tribe) {}
Region => object(Region) {}
TearSheetImage => object(Attachment) {}
[protected] _schema => array(
[maximum depth reached]
)
[protected] _associationKeys => array(
[maximum depth reached]
)
[protected] _associations => array(
[maximum depth reached]
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
}
object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'products',
'action' => 'tearsheet',
'named' => array(),
'pass' => array(
(int) 0 => '588',
(int) 1 => 'TS39.pdf'
),
'models' => array(
'User' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
),
'Tribe' => array(
[maximum depth reached]
),
'Region' => array(
[maximum depth reached]
),
'TearSheetImage' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'products/tearsheet/588/TS39.pdf'
base => ''
webroot => '/'
here => '/products/tearsheet/588/TS39.pdf'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'patch' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
),
'post' => array(
'env' => 'REQUEST_METHOD',
'value' => 'POST'
),
'put' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
),
'delete' => array(
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
),
'head' => array(
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
),
'options' => array(
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
),
'ssl' => array(
'env' => 'HTTPS',
'value' => (int) 1
),
'ajax' => array(
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
),
'flash' => array(
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
),
'mobile' => array(
'env' => 'HTTP_USER_AGENT',
'options' => array(
[maximum depth reached]
)
),
'requested' => array(
'param' => 'requested',
'value' => (int) 1
),
'json' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'json'
),
'xml' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'xml'
)
)
[protected] _input => ''
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">/var/sites/bb3-prod/git/site/httpdocs/index.php line 99</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">App</span><span style="color: #007700">::</span><span style="color: #0000BB">uses</span><span style="color: #007700">(</span><span style="color: #DD0000">'Dispatcher'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Routing'</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher </span><span style="color: #007700">= new </span><span style="color: #0000BB">Dispatcher</span><span style="color: #007700">();</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(), new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'charset' </span><span style="color: #007700">=> </span><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'App.encoding'</span><span style="color: #007700">))));</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'products',
'action' => 'tearsheet',
'named' => array(),
'pass' => array(
(int) 0 => '588',
(int) 1 => 'TS39.pdf'
),
'models' => array(
'User' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
),
'Tribe' => array(
[maximum depth reached]
),
'Region' => array(
[maximum depth reached]
),
'TearSheetImage' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'products/tearsheet/588/TS39.pdf'
base => ''
webroot => '/'
here => '/products/tearsheet/588/TS39.pdf'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'patch' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
),
'post' => array(
'env' => 'REQUEST_METHOD',
'value' => 'POST'
),
'put' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
),
'delete' => array(
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
),
'head' => array(
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
),
'options' => array(
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
),
'ssl' => array(
'env' => 'HTTPS',
'value' => (int) 1
),
'ajax' => array(
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
),
'flash' => array(
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
),
'mobile' => array(
'env' => 'HTTP_USER_AGENT',
'options' => array(
[maximum depth reached]
)
),
'requested' => array(
'param' => 'requested',
'value' => (int) 1
),
'json' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'json'
),
'xml' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'xml'
)
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 307 => 'Temporary Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 429 => 'Too Many Requests',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'Unsupported Version'
)
[protected] _mimeTypes => array(
'html' => array(
(int) 0 => 'text/html',
(int) 1 => '*/*'
),
'json' => 'application/json',
'xml' => array(
(int) 0 => 'application/xml',
(int) 1 => 'text/xml'
),
'rss' => 'application/rss+xml',
'ai' => 'application/postscript',
'bcpio' => 'application/x-bcpio',
'bin' => 'application/octet-stream',
'ccad' => 'application/clariscad',
'cdf' => 'application/x-netcdf',
'class' => 'application/octet-stream',
'cpio' => 'application/x-cpio',
'cpt' => 'application/mac-compactpro',
'csh' => 'application/x-csh',
'csv' => array(
(int) 0 => 'text/csv',
(int) 1 => 'application/vnd.ms-excel'
),
'dcr' => 'application/x-director',
'dir' => 'application/x-director',
'dms' => 'application/octet-stream',
'doc' => 'application/msword',
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'drw' => 'application/drafting',
'dvi' => 'application/x-dvi',
'dwg' => 'application/acad',
'dxf' => 'application/dxf',
'dxr' => 'application/x-director',
'eot' => 'application/vnd.ms-fontobject',
'eps' => 'application/postscript',
'exe' => 'application/octet-stream',
'ez' => 'application/andrew-inset',
'flv' => 'video/x-flv',
'gtar' => 'application/x-gtar',
'gz' => 'application/x-gzip',
'bz2' => 'application/x-bzip',
'7z' => 'application/x-7z-compressed',
'hdf' => 'application/x-hdf',
'hqx' => 'application/mac-binhex40',
'ico' => 'image/x-icon',
'ips' => 'application/x-ipscript',
'ipx' => 'application/x-ipix',
'js' => 'application/javascript',
'jsonapi' => 'application/vnd.api+json',
'latex' => 'application/x-latex',
'lha' => 'application/octet-stream',
'lsp' => 'application/x-lisp',
'lzh' => 'application/octet-stream',
'man' => 'application/x-troff-man',
'me' => 'application/x-troff-me',
'mif' => 'application/vnd.mif',
'ms' => 'application/x-troff-ms',
'nc' => 'application/x-netcdf',
'oda' => 'application/oda',
'otf' => 'font/otf',
'pdf' => 'application/pdf',
'pgn' => 'application/x-chess-pgn',
'pot' => 'application/vnd.ms-powerpoint',
'pps' => 'application/vnd.ms-powerpoint',
'ppt' => 'application/vnd.ms-powerpoint',
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'ppz' => 'application/vnd.ms-powerpoint',
'pre' => 'application/x-freelance',
'prt' => 'application/pro_eng',
'ps' => 'application/postscript',
'roff' => 'application/x-troff',
'scm' => 'application/x-lotusscreencam',
'set' => 'application/set',
'sh' => 'application/x-sh',
'shar' => 'application/x-shar',
'sit' => 'application/x-stuffit',
'skd' => 'application/x-koan',
'skm' => 'application/x-koan',
'skp' => 'application/x-koan',
'skt' => 'application/x-koan',
'smi' => 'application/smil',
'smil' => 'application/smil',
'sol' => 'application/solids',
'spl' => 'application/x-futuresplash',
'src' => 'application/x-wais-source',
'step' => 'application/STEP',
'stl' => 'application/SLA',
'stp' => 'application/STEP',
'sv4cpio' => 'application/x-sv4cpio',
'sv4crc' => 'application/x-sv4crc',
'svg' => 'image/svg+xml',
'svgz' => 'image/svg+xml',
'swf' => 'application/x-shockwave-flash',
't' => 'application/x-troff',
'tar' => 'application/x-tar',
'tcl' => 'application/x-tcl',
'tex' => 'application/x-tex',
'texi' => 'application/x-texinfo',
'texinfo' => 'application/x-texinfo',
'tr' => 'application/x-troff',
'tsp' => 'application/dsptype',
'ttc' => 'font/ttf',
'ttf' => 'font/ttf',
'unv' => 'application/i-deas',
'ustar' => 'application/x-ustar',
'vcd' => 'application/x-cdlink',
'vda' => 'application/vda',
'xlc' => 'application/vnd.ms-excel',
'xll' => 'application/vnd.ms-excel',
'xlm' => 'application/vnd.ms-excel',
'xls' => 'application/vnd.ms-excel',
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'xlw' => 'application/vnd.ms-excel',
'zip' => 'application/zip',
'aif' => 'audio/x-aiff',
'aifc' => 'audio/x-aiff',
'aiff' => 'audio/x-aiff',
'au' => 'audio/basic',
'kar' => 'audio/midi',
'mid' => 'audio/midi',
'midi' => 'audio/midi',
'mp2' => 'audio/mpeg',
'mp3' => 'audio/mpeg',
'mpga' => 'audio/mpeg',
'ogg' => 'audio/ogg',
'oga' => 'audio/ogg',
'spx' => 'audio/ogg',
'ra' => 'audio/x-realaudio',
'ram' => 'audio/x-pn-realaudio',
'rm' => 'audio/x-pn-realaudio',
'rpm' => 'audio/x-pn-realaudio-plugin',
'snd' => 'audio/basic',
'tsi' => 'audio/TSP-audio',
'wav' => 'audio/x-wav',
'aac' => 'audio/aac',
'asc' => 'text/plain',
'c' => 'text/plain',
'cc' => 'text/plain',
'css' => 'text/css',
'etx' => 'text/x-setext',
'f' => 'text/plain',
'f90' => 'text/plain',
'h' => 'text/plain',
'hh' => 'text/plain',
'htm' => array(
(int) 0 => 'text/html',
(int) 1 => '*/*'
),
'ics' => 'text/calendar',
'm' => 'text/plain',
'rtf' => 'text/rtf',
'rtx' => 'text/richtext',
'sgm' => 'text/sgml',
'sgml' => 'text/sgml',
'tsv' => 'text/tab-separated-values',
'tpl' => 'text/template',
'txt' => 'text/plain',
'text' => 'text/plain',
'avi' => 'video/x-msvideo',
'fli' => 'video/x-fli',
'mov' => 'video/quicktime',
'movie' => 'video/x-sgi-movie',
'mpe' => 'video/mpeg',
'mpeg' => 'video/mpeg',
'mpg' => 'video/mpeg',
'qt' => 'video/quicktime',
'viv' => 'video/vnd.vivo',
'vivo' => 'video/vnd.vivo',
'ogv' => 'video/ogg',
'webm' => 'video/webm',
'mp4' => 'video/mp4',
'm4v' => 'video/mp4',
'f4v' => 'video/mp4',
'f4p' => 'video/mp4',
'm4a' => 'audio/mp4',
'f4a' => 'audio/mp4',
'f4b' => 'audio/mp4',
'gif' => 'image/gif',
'ief' => 'image/ief',
'jpg' => 'image/jpeg',
'jpeg' => 'image/jpeg',
'jpe' => 'image/jpeg',
'pbm' => 'image/x-portable-bitmap',
'pgm' => 'image/x-portable-graymap',
'png' => 'image/png',
'pnm' => 'image/x-portable-anymap',
'ppm' => 'image/x-portable-pixmap',
'ras' => 'image/cmu-raster',
'rgb' => 'image/x-rgb',
'tif' => 'image/tiff',
'tiff' => 'image/tiff',
'xbm' => 'image/x-xbitmap',
'xpm' => 'image/x-xpixmap',
'xwd' => 'image/x-xwindowdump',
'psd' => array(
(int) 0 => 'application/photoshop',
(int) 1 => 'application/psd',
(int) 2 => 'image/psd',
(int) 3 => 'image/x-photoshop',
(int) 4 => 'image/photoshop',
(int) 5 => 'zz-application/zz-winassoc-psd'
),
'ice' => 'x-conference/x-cooltalk',
'iges' => 'model/iges',
'igs' => 'model/iges',
'mesh' => 'model/mesh',
'msh' => 'model/mesh',
'silo' => 'model/mesh',
'vrml' => 'model/vrml',
'wrl' => 'model/vrml',
'mime' => 'www/mime',
'pdb' => 'chemical/x-pdb',
'xyz' => 'chemical/x-pdb',
'javascript' => 'application/javascript',
'form' => 'application/x-www-form-urlencoded',
'file' => 'multipart/form-data',
'xhtml' => array(
(int) 0 => 'application/xhtml+xml',
(int) 1 => 'application/xhtml',
(int) 2 => 'text/xhtml'
),
'xhtml-mobile' => 'application/vnd.wap.xhtml+xml',
'atom' => 'application/atom+xml',
'amf' => 'application/x-amf',
'wap' => array(
(int) 0 => 'text/vnd.wap.wml',
(int) 1 => 'text/vnd.wap.wmlscript',
(int) 2 => 'image/vnd.wap.wbmp'
),
'wml' => 'text/vnd.wap.wml',
'wmlscript' => 'text/vnd.wap.wmlscript',
'wbmp' => 'image/vnd.wap.wbmp',
'woff' => 'application/x-font-woff',
'webp' => 'image/webp',
'appcache' => 'text/cache-manifest',
'manifest' => 'text/cache-manifest',
'htc' => 'text/x-component',
'rdf' => 'application/xml',
'crx' => 'application/x-chrome-extension',
'oex' => 'application/x-opera-extension',
'xpi' => 'application/x-xpinstall',
'safariextz' => 'application/octet-stream',
'webapp' => 'application/x-web-app-manifest+json',
'vcf' => 'text/x-vcard',
'vtt' => 'text/vtt',
'mkv' => 'video/x-matroska',
'pkpass' => 'application/vnd.apple.pkpass',
'ajax' => 'text/html'
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array()
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array()
[protected] _cookies => array()
}</pre></div></li>
</ul>
<script type="text/javascript">
function traceToggle(event, id) {
var el = document.getElementById(id);
el.style.display = (el.style.display === 'block') ? 'none' : 'block';
event.preventDefault();
return false;
}
</script>
'
$scripts_for_layout = ''
$title_for_layout = 'Errors'
include - /var/sites/bb3-prod/git/site/cake/app/View/Layouts/default.ctp, line 16
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::error500() - CORE/Cake/Error/ExceptionRenderer.php, line 260
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??