Warning (2) : Use of undefined constant HELMETPARTS_FOLDER_PATH - assumed 'HELMETPARTS_FOLDER_PATH' (this will throw an Error in a future version of PHP) [APP/Controller/ConfiguratorController.php , line 528 ]Code Context {
$imgFile = 'extra_' . $extraInfo [ 'Extra' ][ 'simple_name' ]. '_' . $extraInfo [ 'ExtrasOption' ][ 0 ][ 'simple_name' ];
$extraImagePath = HELMETPARTS_FOLDER_PATH . "extra" . DS . $imgFile . ".png" ;
$saveId = '69842'
$helmetData = array(
'Save' => array(
'id' => '69842',
'date' => '2023-09-19',
'username' => null
),
'Color' => array(
(int) 0 => array(
'id' => '1',
'material_id' => '1',
'name' => 'black',
'simple_name' => 'black',
'rank' => '1',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'id' => '10',
'material_id' => '4',
'name' => 'black',
'simple_name' => 'black',
'rank' => '1',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array([maximum depth reached])
),
(int) 2 => array(
'id' => '43',
'material_id' => '12',
'name' => 'gold',
'simple_name' => 'gold',
'rank' => '4',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array([maximum depth reached])
),
(int) 3 => array(
'id' => '262',
'material_id' => '59',
'name' => 'paradise shine',
'simple_name' => 'paradiseshine',
'rank' => '5',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array([maximum depth reached])
),
(int) 4 => array(
'id' => '313',
'material_id' => '62',
'name' => 'dark blue',
'simple_name' => 'darkblue',
'rank' => '7',
'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' => 'coque',
'simple_name' => 'shell',
'rank' => '1',
'need' => '0',
'file_extension' => 'jpg'
),
'file' => 'shell_shadowmatt_black'
),
(int) 1 => array(
'Part' => array(
'id' => '2',
'name' => 'top',
'simple_name' => 'top',
'rank' => '2',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'top_alcantaratop_black'
),
(int) 2 => array(
'Part' => array(
'id' => '3',
'name' => 'liseré',
'simple_name' => 'trim',
'rank' => '5',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'trim_chrome_gold'
),
(int) 3 => array(
'Part' => array(
'id' => '7',
'name' => 'swarovski crystals',
'simple_name' => 'trimcrystals',
'rank' => '6',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'trimcrystals_5X_darkblue'
),
(int) 4 => array(
'Part' => array(
'id' => '4',
'name' => 'blason',
'simple_name' => 'blason',
'rank' => '7',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'blason_crystalfabricblason_paradiseshine'
)
)
$helmetColor = array(
'id' => '313',
'material_id' => '62',
'name' => 'dark blue',
'simple_name' => 'darkblue',
'rank' => '7',
'ColorsSave' => array(
'id' => '7176129',
'save_id' => '69842',
'color_id' => '313'
),
'Material' => array(
'id' => '62',
'part_id' => '7',
'name' => '5X',
'simple_name' => '5X',
'rank' => '2',
'date_add' => '2022-01-01 00:00:00',
'Part' => array(
'id' => '7',
'name' => 'swarovski crystals',
'simple_name' => 'trimcrystals',
'rank' => '6',
'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]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Incompatibility' => array()
),
'Incompatibility' => array()
)
$fileName = 'trimcrystals_5X_darkblue'
$partData = array(
'Part' => array(
'id' => '7',
'name' => 'swarovski crystals',
'simple_name' => 'trimcrystals',
'rank' => '6',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'trimcrystals_5X_darkblue'
)
$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' => '468749',
'save_id' => '69842',
'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_paradiseshine'
)
$partImagePath = '/web/sites/samshield/app/webroot/img/casque/blason/blason_crystalfabricblason_paradiseshine.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 528
ConfiguratorController::checkCapture() - APP/Controller/ConfiguratorController.php, line 448
ConfiguratorController::index() - APP/Controller/ConfiguratorController.php, line 124
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 529 ]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 = '69842'
$helmetData = array(
'Save' => array(
'id' => '69842',
'date' => '2023-09-19',
'username' => null
),
'Color' => array(
(int) 0 => array(
'id' => '1',
'material_id' => '1',
'name' => 'black',
'simple_name' => 'black',
'rank' => '1',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'id' => '10',
'material_id' => '4',
'name' => 'black',
'simple_name' => 'black',
'rank' => '1',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array([maximum depth reached])
),
(int) 2 => array(
'id' => '43',
'material_id' => '12',
'name' => 'gold',
'simple_name' => 'gold',
'rank' => '4',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array([maximum depth reached])
),
(int) 3 => array(
'id' => '262',
'material_id' => '59',
'name' => 'paradise shine',
'simple_name' => 'paradiseshine',
'rank' => '5',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array([maximum depth reached])
),
(int) 4 => array(
'id' => '313',
'material_id' => '62',
'name' => 'dark blue',
'simple_name' => 'darkblue',
'rank' => '7',
'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' => 'coque',
'simple_name' => 'shell',
'rank' => '1',
'need' => '0',
'file_extension' => 'jpg'
),
'file' => 'shell_shadowmatt_black'
),
(int) 1 => array(
'Part' => array(
'id' => '2',
'name' => 'top',
'simple_name' => 'top',
'rank' => '2',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'top_alcantaratop_black'
),
(int) 2 => array(
'Part' => array(
'id' => '3',
'name' => 'liseré',
'simple_name' => 'trim',
'rank' => '5',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'trim_chrome_gold'
),
(int) 3 => array(
'Part' => array(
'id' => '7',
'name' => 'swarovski crystals',
'simple_name' => 'trimcrystals',
'rank' => '6',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'trimcrystals_5X_darkblue'
),
(int) 4 => array(
'Part' => array(
'id' => '4',
'name' => 'blason',
'simple_name' => 'blason',
'rank' => '7',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'blason_crystalfabricblason_paradiseshine'
)
)
$helmetColor = array(
'id' => '313',
'material_id' => '62',
'name' => 'dark blue',
'simple_name' => 'darkblue',
'rank' => '7',
'ColorsSave' => array(
'id' => '7176129',
'save_id' => '69842',
'color_id' => '313'
),
'Material' => array(
'id' => '62',
'part_id' => '7',
'name' => '5X',
'simple_name' => '5X',
'rank' => '2',
'date_add' => '2022-01-01 00:00:00',
'Part' => array(
'id' => '7',
'name' => 'swarovski crystals',
'simple_name' => 'trimcrystals',
'rank' => '6',
'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]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
)
),
'Incompatibility' => array()
),
'Incompatibility' => array()
)
$fileName = 'trimcrystals_5X_darkblue'
$partData = array(
'Part' => array(
'id' => '7',
'name' => 'swarovski crystals',
'simple_name' => 'trimcrystals',
'rank' => '6',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'trimcrystals_5X_darkblue'
)
$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' => '468749',
'save_id' => '69842',
'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_paradiseshine'
)
$partImagePath = '/web/sites/samshield/app/webroot/img/casque/blason/blason_crystalfabricblason_paradiseshine.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 529
ConfiguratorController::checkCapture() - APP/Controller/ConfiguratorController.php, line 448
ConfiguratorController::index() - APP/Controller/ConfiguratorController.php, line 124
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