Notice (8) : Use of undefined constant HELMETPARTS_FOLDER_PATH - assumed 'HELMETPARTS_FOLDER_PATH' [APP/Controller/ConfiguratorController.php , line 502 ]Code Context {
$imgFile = 'extra_' . $extraInfo [ 'Extra' ][ 'simple_name' ]. '_' . $extraInfo [ 'ExtrasOption' ][ 0 ][ 'simple_name' ];
$extraImagePath = HELMETPARTS_FOLDER_PATH . "extra" . DS . $imgFile . ".png" ;
$saveId = '4149956'
$helmetData = array(
'Save' => array(
'id' => '4149956',
'date' => '2021-02-23',
'username' => null
),
'Color' => array(
(int) 0 => array(
'id' => '3',
'material_id' => '1',
'name' => 'brown',
'simple_name' => 'brown',
'rank' => '3',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'id' => '11',
'material_id' => '4',
'name' => 'blue',
'simple_name' => 'blue',
'rank' => '2',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array([maximum depth reached])
),
(int) 2 => array(
'id' => '195',
'material_id' => '46',
'name' => 'aucun',
'simple_name' => 'noswarovski',
'rank' => '1',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array([maximum depth reached])
),
(int) 3 => array(
'id' => '263',
'material_id' => '59',
'name' => 'gold',
'simple_name' => 'gold',
'rank' => '6',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array([maximum depth reached])
),
(int) 4 => array(
'id' => '265',
'material_id' => '12',
'name' => 'holographic',
'simple_name' => 'holographic',
'rank' => '6',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array(
[maximum depth reached]
)
)
),
'ExtrasOption' => array(
(int) 0 => array(
'id' => '30',
'extra_id' => '6',
'optionlist' => '1',
'rank' => '1',
'name' => 'Visière Polo noire',
'simple_name' => 'black',
'ExtrasSave' => array(
[maximum depth reached]
),
'Extra' => array(
[maximum depth reached]
)
)
)
)
$partsData = array(
(int) 0 => array(
'Part' => array(
'id' => '1',
'name' => 'shell',
'simple_name' => 'shell',
'rank' => '1',
'need' => '0',
'file_extension' => 'jpg'
),
'file' => 'shell_shadowmatt_brown'
),
(int) 1 => array(
'Part' => array(
'id' => '2',
'name' => 'top',
'simple_name' => 'top',
'rank' => '2',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'top_alcantaratop_blue'
),
(int) 2 => array(
'Part' => array(
'id' => '3',
'name' => 'trim',
'simple_name' => 'trim',
'rank' => '5',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'trim_chrome_holographic'
),
(int) 3 => array(
'Part' => array(
'id' => '7',
'name' => 'swarovski crystals',
'simple_name' => 'trimcrystals',
'rank' => '6',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'trimcrystals_default_noswarovski'
),
(int) 4 => array(
'Part' => array(
'id' => '4',
'name' => 'blason',
'simple_name' => 'blason',
'rank' => '7',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'blason_crystalfabricblason_gold'
)
)
$helmetColor = array(
'id' => '265',
'material_id' => '12',
'name' => 'holographic',
'simple_name' => 'holographic',
'rank' => '6',
'ColorsSave' => array(
'id' => '11168869',
'save_id' => '4149956',
'color_id' => '265'
),
'Material' => array(
'id' => '12',
'part_id' => '3',
'name' => 'chrome',
'simple_name' => 'chrome',
'rank' => '1',
'Part' => array(
'id' => '3',
'name' => 'trim',
'simple_name' => 'trim',
'rank' => '5',
'need' => '1',
'file_extension' => 'png'
),
'Color' => 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]
)
),
'Incompatibility' => array()
),
'Incompatibility' => array(
(int) 0 => array(
'id' => '432',
'sourcecolor_id' => '194',
'incompatiblecolor_id' => '265',
'incompatiblematerial_id' => null
)
)
)
$fileName = 'trim_chrome_holographic'
$partData = array(
'Part' => array(
'id' => '3',
'name' => 'trim',
'simple_name' => 'trim',
'rank' => '5',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'trim_chrome_holographic'
)
$extrasData = array(
'polovisor' => array(
'Extra' => array(
'id' => '6',
'name' => 'Visière Polo',
'simple_name' => 'polovisor',
'description' => 'Vous pouvez équiper votre casque d’une Visière Polo',
'infos_text1' => 'La Visière Polo permet d’adapter son casque (Shadowmatt ou Premium) à la pratique du Polo ou tout simplement de se protéger du soleil.<br/>La Visière Polo est détachable. Elle est disponible en Alcantara noir, bleu, marron et gris.',
'infos_text2' => '',
'infos_imagesLayout' => '2.0',
'optionImage' => '0',
'rank' => '1',
'ExtrasOption' => array(
[maximum depth reached]
),
'ExtrasIncompatibility' => array(
[maximum depth reached]
)
),
'ExtrasOption' => array(
(int) 0 => array(
[maximum depth reached]
)
)
)
)
$helmetExtraOption = array(
'id' => '30',
'extra_id' => '6',
'optionlist' => '1',
'rank' => '1',
'name' => 'Visière Polo noire',
'simple_name' => 'black',
'ExtrasSave' => array(
'id' => '732875',
'save_id' => '4149956',
'extras_option_id' => '30'
),
'Extra' => array(
'id' => '6',
'name' => 'Visière Polo',
'simple_name' => 'polovisor',
'description' => 'Vous pouvez équiper votre casque d’une Visière Polo',
'infos_text1' => 'La Visière Polo permet d’adapter son casque (Shadowmatt ou Premium) à la pratique du Polo ou tout simplement de se protéger du soleil.<br/>La Visière Polo est détachable. Elle est disponible en Alcantara noir, bleu, marron et gris.',
'infos_text2' => '',
'infos_imagesLayout' => '2.0',
'optionImage' => '0',
'rank' => '1',
'ExtrasOption' => 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]
)
),
'ExtrasIncompatibility' => 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]
)
)
)
)
$generatedImageWidth = (int) 910
$generatedImageHeight = (int) 910
$generatedImage = resource
$white = (int) 16777215
$partsGeneratedSize = (int) 890
$partsHorizShift = (int) 10
$partsVertShift = (int) 10
$partInfo = array(
'Part' => array(
'id' => '4',
'name' => 'blason',
'simple_name' => 'blason',
'rank' => '7',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'blason_crystalfabricblason_gold'
)
$partImagePath = '/home/samshiel/www/configurator/app/webroot/img/casque/blason/blason_crystalfabricblason_gold.png'
$methodExtension = 'png'
$partImage = unknown
$partImageSize = (int) 620
$extraInfo = array(
'Extra' => array(
'id' => '6',
'name' => 'Visière Polo',
'simple_name' => 'polovisor',
'description' => 'Vous pouvez équiper votre casque d’une Visière Polo',
'infos_text1' => 'La Visière Polo permet d’adapter son casque (Shadowmatt ou Premium) à la pratique du Polo ou tout simplement de se protéger du soleil.<br/>La Visière Polo est détachable. Elle est disponible en Alcantara noir, bleu, marron et gris.',
'infos_text2' => '',
'infos_imagesLayout' => '2.0',
'optionImage' => '0',
'rank' => '1',
'ExtrasOption' => 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]
)
),
'ExtrasIncompatibility' => 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]
)
)
),
'ExtrasOption' => array(
(int) 0 => array(
'id' => '30',
'extra_id' => '6',
'optionlist' => '1',
'rank' => '1',
'name' => 'Visière Polo noire',
'simple_name' => 'black',
'ExtrasSave' => array(
[maximum depth reached]
),
'Extra' => array(
[maximum depth reached]
)
)
)
)
$hasImage = true
$imgFile = 'extra_polovisor_black' ConfiguratorController::makeCapture() - APP/Controller/ConfiguratorController.php, line 502
ConfiguratorController::checkCapture() - APP/Controller/ConfiguratorController.php, line 422
ConfiguratorController::index() - APP/Controller/ConfiguratorController.php, line 122
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 92 Warning (2) : imagecreatefrompng(HELMETPARTS_FOLDER_PATHextra/extra_polovisor_black.png) [<a href='http://php.net/function.imagecreatefrompng'>function.imagecreatefrompng</a>]: failed to open stream: No such file or directory [APP/Controller/ConfiguratorController.php , line 503 ]Code Context $imgFile = 'extra_' . $extraInfo [ 'Extra' ][ 'simple_name' ]. '_' . $extraInfo [ 'ExtrasOption' ][ 0 ][ 'simple_name' ];
$extraImagePath = HELMETPARTS_FOLDER_PATH . "extra" . DS . $imgFile . ".png" ;
$extraImage = imagecreatefrompng ( $extraImagePath );
$saveId = '4149956'
$helmetData = array(
'Save' => array(
'id' => '4149956',
'date' => '2021-02-23',
'username' => null
),
'Color' => array(
(int) 0 => array(
'id' => '3',
'material_id' => '1',
'name' => 'brown',
'simple_name' => 'brown',
'rank' => '3',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'id' => '11',
'material_id' => '4',
'name' => 'blue',
'simple_name' => 'blue',
'rank' => '2',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array([maximum depth reached])
),
(int) 2 => array(
'id' => '195',
'material_id' => '46',
'name' => 'aucun',
'simple_name' => 'noswarovski',
'rank' => '1',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array([maximum depth reached])
),
(int) 3 => array(
'id' => '263',
'material_id' => '59',
'name' => 'gold',
'simple_name' => 'gold',
'rank' => '6',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array([maximum depth reached])
),
(int) 4 => array(
'id' => '265',
'material_id' => '12',
'name' => 'holographic',
'simple_name' => 'holographic',
'rank' => '6',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array(
[maximum depth reached]
)
)
),
'ExtrasOption' => array(
(int) 0 => array(
'id' => '30',
'extra_id' => '6',
'optionlist' => '1',
'rank' => '1',
'name' => 'Visière Polo noire',
'simple_name' => 'black',
'ExtrasSave' => array(
[maximum depth reached]
),
'Extra' => array(
[maximum depth reached]
)
)
)
)
$partsData = array(
(int) 0 => array(
'Part' => array(
'id' => '1',
'name' => 'shell',
'simple_name' => 'shell',
'rank' => '1',
'need' => '0',
'file_extension' => 'jpg'
),
'file' => 'shell_shadowmatt_brown'
),
(int) 1 => array(
'Part' => array(
'id' => '2',
'name' => 'top',
'simple_name' => 'top',
'rank' => '2',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'top_alcantaratop_blue'
),
(int) 2 => array(
'Part' => array(
'id' => '3',
'name' => 'trim',
'simple_name' => 'trim',
'rank' => '5',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'trim_chrome_holographic'
),
(int) 3 => array(
'Part' => array(
'id' => '7',
'name' => 'swarovski crystals',
'simple_name' => 'trimcrystals',
'rank' => '6',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'trimcrystals_default_noswarovski'
),
(int) 4 => array(
'Part' => array(
'id' => '4',
'name' => 'blason',
'simple_name' => 'blason',
'rank' => '7',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'blason_crystalfabricblason_gold'
)
)
$helmetColor = array(
'id' => '265',
'material_id' => '12',
'name' => 'holographic',
'simple_name' => 'holographic',
'rank' => '6',
'ColorsSave' => array(
'id' => '11168869',
'save_id' => '4149956',
'color_id' => '265'
),
'Material' => array(
'id' => '12',
'part_id' => '3',
'name' => 'chrome',
'simple_name' => 'chrome',
'rank' => '1',
'Part' => array(
'id' => '3',
'name' => 'trim',
'simple_name' => 'trim',
'rank' => '5',
'need' => '1',
'file_extension' => 'png'
),
'Color' => 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]
)
),
'Incompatibility' => array()
),
'Incompatibility' => array(
(int) 0 => array(
'id' => '432',
'sourcecolor_id' => '194',
'incompatiblecolor_id' => '265',
'incompatiblematerial_id' => null
)
)
)
$fileName = 'trim_chrome_holographic'
$partData = array(
'Part' => array(
'id' => '3',
'name' => 'trim',
'simple_name' => 'trim',
'rank' => '5',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'trim_chrome_holographic'
)
$extrasData = array(
'polovisor' => array(
'Extra' => array(
'id' => '6',
'name' => 'Visière Polo',
'simple_name' => 'polovisor',
'description' => 'Vous pouvez équiper votre casque d’une Visière Polo',
'infos_text1' => 'La Visière Polo permet d’adapter son casque (Shadowmatt ou Premium) à la pratique du Polo ou tout simplement de se protéger du soleil.<br/>La Visière Polo est détachable. Elle est disponible en Alcantara noir, bleu, marron et gris.',
'infos_text2' => '',
'infos_imagesLayout' => '2.0',
'optionImage' => '0',
'rank' => '1',
'ExtrasOption' => array(
[maximum depth reached]
),
'ExtrasIncompatibility' => array(
[maximum depth reached]
)
),
'ExtrasOption' => array(
(int) 0 => array(
[maximum depth reached]
)
)
)
)
$helmetExtraOption = array(
'id' => '30',
'extra_id' => '6',
'optionlist' => '1',
'rank' => '1',
'name' => 'Visière Polo noire',
'simple_name' => 'black',
'ExtrasSave' => array(
'id' => '732875',
'save_id' => '4149956',
'extras_option_id' => '30'
),
'Extra' => array(
'id' => '6',
'name' => 'Visière Polo',
'simple_name' => 'polovisor',
'description' => 'Vous pouvez équiper votre casque d’une Visière Polo',
'infos_text1' => 'La Visière Polo permet d’adapter son casque (Shadowmatt ou Premium) à la pratique du Polo ou tout simplement de se protéger du soleil.<br/>La Visière Polo est détachable. Elle est disponible en Alcantara noir, bleu, marron et gris.',
'infos_text2' => '',
'infos_imagesLayout' => '2.0',
'optionImage' => '0',
'rank' => '1',
'ExtrasOption' => 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]
)
),
'ExtrasIncompatibility' => 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]
)
)
)
)
$generatedImageWidth = (int) 910
$generatedImageHeight = (int) 910
$generatedImage = resource
$white = (int) 16777215
$partsGeneratedSize = (int) 890
$partsHorizShift = (int) 10
$partsVertShift = (int) 10
$partInfo = array(
'Part' => array(
'id' => '4',
'name' => 'blason',
'simple_name' => 'blason',
'rank' => '7',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'blason_crystalfabricblason_gold'
)
$partImagePath = '/home/samshiel/www/configurator/app/webroot/img/casque/blason/blason_crystalfabricblason_gold.png'
$methodExtension = 'png'
$partImage = unknown
$partImageSize = (int) 620
$extraInfo = array(
'Extra' => array(
'id' => '6',
'name' => 'Visière Polo',
'simple_name' => 'polovisor',
'description' => 'Vous pouvez équiper votre casque d’une Visière Polo',
'infos_text1' => 'La Visière Polo permet d’adapter son casque (Shadowmatt ou Premium) à la pratique du Polo ou tout simplement de se protéger du soleil.<br/>La Visière Polo est détachable. Elle est disponible en Alcantara noir, bleu, marron et gris.',
'infos_text2' => '',
'infos_imagesLayout' => '2.0',
'optionImage' => '0',
'rank' => '1',
'ExtrasOption' => 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]
)
),
'ExtrasIncompatibility' => 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]
)
)
),
'ExtrasOption' => array(
(int) 0 => array(
'id' => '30',
'extra_id' => '6',
'optionlist' => '1',
'rank' => '1',
'name' => 'Visière Polo noire',
'simple_name' => 'black',
'ExtrasSave' => array(
[maximum depth reached]
),
'Extra' => array(
[maximum depth reached]
)
)
)
)
$hasImage = true
$imgFile = 'extra_polovisor_black'
$extraImagePath = 'HELMETPARTS_FOLDER_PATHextra/extra_polovisor_black.png' imagecreatefrompng - [internal], line ??
ConfiguratorController::makeCapture() - APP/Controller/ConfiguratorController.php, line 503
ConfiguratorController::checkCapture() - APP/Controller/ConfiguratorController.php, line 422
ConfiguratorController::index() - APP/Controller/ConfiguratorController.php, line 122
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 92
Configurateur Samshield