Notice (8) : Use of undefined constant HELMETPARTS_FOLDER_PATH - assumed 'HELMETPARTS_FOLDER_PATH' [APP/Controller/ConfiguratorController.php , line 526 ]Code Context {
$imgFile = 'extra_' . $extraInfo [ 'Extra' ][ 'simple_name' ]. '_' . $extraInfo [ 'ExtrasOption' ][ 0 ][ 'simple_name' ];
$extraImagePath = HELMETPARTS_FOLDER_PATH . "extra" . DS . $imgFile . ".png" ;
$saveId = '4484189'
$helmetData = array(
'Save' => array(
'id' => '4484189',
'date' => '2022-01-24',
'username' => null
),
'Color' => array(
(int) 0 => array(
'id' => '19',
'material_id' => '7',
'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' => '53',
'material_id' => '13',
'name' => 'bronze',
'simple_name' => 'bronze',
'rank' => '20',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array([maximum depth reached])
),
(int) 2 => array(
'id' => '67',
'material_id' => '16',
'name' => 'black',
'simple_name' => 'blackchrome',
'rank' => '2',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array([maximum depth reached])
),
(int) 3 => array(
'id' => '165',
'material_id' => '39',
'name' => 'metallic black',
'simple_name' => 'metallicblack',
'rank' => '1',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'id' => '195',
'material_id' => '46',
'name' => 'none',
'simple_name' => 'noswarovski',
'rank' => '1',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array([maximum depth reached])
)
),
'ExtrasOption' => array(
(int) 0 => array(
'id' => '28',
'extra_id' => '4',
'optionlist' => '1',
'rank' => '2',
'name' => 'arrière du casque',
'simple_name' => 'arriere',
'ExtrasSave' => array(
[maximum depth reached]
),
'Extra' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'id' => '32',
'extra_id' => '6',
'optionlist' => '1',
'rank' => '3',
'name' => 'Visière Polo marron',
'simple_name' => 'brown',
'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_shadowglossy_metallicblack'
),
(int) 1 => array(
'Part' => array(
'id' => '2',
'name' => 'top',
'simple_name' => 'top',
'rank' => '2',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'top_lizard_black'
),
(int) 2 => array(
'Part' => array(
'id' => '3',
'name' => 'liseré',
'simple_name' => 'trim',
'rank' => '5',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'trim_matt_bronze'
),
(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_default_blackchrome'
)
)
$helmetColor = array(
'id' => '195',
'material_id' => '46',
'name' => 'none',
'simple_name' => 'noswarovski',
'rank' => '1',
'ColorsSave' => array(
'id' => '37954062',
'save_id' => '4484189',
'color_id' => '195'
),
'Material' => array(
'id' => '46',
'part_id' => '7',
'name' => 'default',
'simple_name' => 'default',
'rank' => '1',
'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]
)
),
'Incompatibility' => array()
),
'Incompatibility' => array()
)
$fileName = 'trimcrystals_default_noswarovski'
$partData = array(
'Part' => array(
'id' => '7',
'name' => 'swarovski crystals',
'simple_name' => 'trimcrystals',
'rank' => '6',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'trimcrystals_default_noswarovski'
)
$extrasData = array(
'sponsorsticker' => array(
'Extra' => array(
'id' => '4',
'name' => 'Sponsor sticker',
'simple_name' => 'sponsorsticker',
'description' => 'Vous pouvez ajouter le logo de votre sponsor à votre casque. Il sera accolé sous forme de sticker, à l'avant ou à l'avant et à l'arrière de votre top.',
'infos_text1' => 'Vous pouvez ajouter un logo sous forme de sticker à votre casque Samshield. Il peut être placé à l'avant et/ou à l'arrière du top de votre casque.',
'infos_text2' => 'Le logo sera appliqué sous forme de sticker.<br/>Lors de votre commande, un membre de notre atelier vous contactera afin d'obtenir ces éléments et de les ajouter à votre casque personnalisé.',
'infos_imagesLayout' => '2.0',
'optionImage' => '0',
'rank' => '4',
'ExtrasOption' => array(
[maximum depth reached]
),
'ExtrasIncompatibility' => array(
[maximum depth reached]
)
),
'ExtrasOption' => array(
(int) 0 => array(
[maximum depth reached]
)
)
),
'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' => '32',
'extra_id' => '6',
'optionlist' => '1',
'rank' => '3',
'name' => 'Visière Polo marron',
'simple_name' => 'brown',
'ExtrasSave' => array(
'id' => '2400411',
'save_id' => '4484189',
'extras_option_id' => '32'
),
'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_default_blackchrome'
)
$partImagePath = '/home/samshiel/www/configurator/app/webroot/img/casque/blason/blason_default_blackchrome.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' => '32',
'extra_id' => '6',
'optionlist' => '1',
'rank' => '3',
'name' => 'Visière Polo marron',
'simple_name' => 'brown',
'ExtrasSave' => array(
[maximum depth reached]
),
'Extra' => array(
[maximum depth reached]
)
)
)
)
$hasImage = true
$imgFile = 'extra_polovisor_brown' ConfiguratorController::makeCapture() - APP/Controller/ConfiguratorController.php, line 526
ConfiguratorController::checkCapture() - APP/Controller/ConfiguratorController.php, line 446
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_brown.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 527 ]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 = '4484189'
$helmetData = array(
'Save' => array(
'id' => '4484189',
'date' => '2022-01-24',
'username' => null
),
'Color' => array(
(int) 0 => array(
'id' => '19',
'material_id' => '7',
'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' => '53',
'material_id' => '13',
'name' => 'bronze',
'simple_name' => 'bronze',
'rank' => '20',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array([maximum depth reached])
),
(int) 2 => array(
'id' => '67',
'material_id' => '16',
'name' => 'black',
'simple_name' => 'blackchrome',
'rank' => '2',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array([maximum depth reached])
),
(int) 3 => array(
'id' => '165',
'material_id' => '39',
'name' => 'metallic black',
'simple_name' => 'metallicblack',
'rank' => '1',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'id' => '195',
'material_id' => '46',
'name' => 'none',
'simple_name' => 'noswarovski',
'rank' => '1',
'ColorsSave' => array(
[maximum depth reached]
),
'Material' => array(
[maximum depth reached]
),
'Incompatibility' => array([maximum depth reached])
)
),
'ExtrasOption' => array(
(int) 0 => array(
'id' => '28',
'extra_id' => '4',
'optionlist' => '1',
'rank' => '2',
'name' => 'arrière du casque',
'simple_name' => 'arriere',
'ExtrasSave' => array(
[maximum depth reached]
),
'Extra' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'id' => '32',
'extra_id' => '6',
'optionlist' => '1',
'rank' => '3',
'name' => 'Visière Polo marron',
'simple_name' => 'brown',
'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_shadowglossy_metallicblack'
),
(int) 1 => array(
'Part' => array(
'id' => '2',
'name' => 'top',
'simple_name' => 'top',
'rank' => '2',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'top_lizard_black'
),
(int) 2 => array(
'Part' => array(
'id' => '3',
'name' => 'liseré',
'simple_name' => 'trim',
'rank' => '5',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'trim_matt_bronze'
),
(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_default_blackchrome'
)
)
$helmetColor = array(
'id' => '195',
'material_id' => '46',
'name' => 'none',
'simple_name' => 'noswarovski',
'rank' => '1',
'ColorsSave' => array(
'id' => '37954062',
'save_id' => '4484189',
'color_id' => '195'
),
'Material' => array(
'id' => '46',
'part_id' => '7',
'name' => 'default',
'simple_name' => 'default',
'rank' => '1',
'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]
)
),
'Incompatibility' => array()
),
'Incompatibility' => array()
)
$fileName = 'trimcrystals_default_noswarovski'
$partData = array(
'Part' => array(
'id' => '7',
'name' => 'swarovski crystals',
'simple_name' => 'trimcrystals',
'rank' => '6',
'need' => '1',
'file_extension' => 'png'
),
'file' => 'trimcrystals_default_noswarovski'
)
$extrasData = array(
'sponsorsticker' => array(
'Extra' => array(
'id' => '4',
'name' => 'Sponsor sticker',
'simple_name' => 'sponsorsticker',
'description' => 'Vous pouvez ajouter le logo de votre sponsor à votre casque. Il sera accolé sous forme de sticker, à l'avant ou à l'avant et à l'arrière de votre top.',
'infos_text1' => 'Vous pouvez ajouter un logo sous forme de sticker à votre casque Samshield. Il peut être placé à l'avant et/ou à l'arrière du top de votre casque.',
'infos_text2' => 'Le logo sera appliqué sous forme de sticker.<br/>Lors de votre commande, un membre de notre atelier vous contactera afin d'obtenir ces éléments et de les ajouter à votre casque personnalisé.',
'infos_imagesLayout' => '2.0',
'optionImage' => '0',
'rank' => '4',
'ExtrasOption' => array(
[maximum depth reached]
),
'ExtrasIncompatibility' => array(
[maximum depth reached]
)
),
'ExtrasOption' => array(
(int) 0 => array(
[maximum depth reached]
)
)
),
'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' => '32',
'extra_id' => '6',
'optionlist' => '1',
'rank' => '3',
'name' => 'Visière Polo marron',
'simple_name' => 'brown',
'ExtrasSave' => array(
'id' => '2400411',
'save_id' => '4484189',
'extras_option_id' => '32'
),
'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_default_blackchrome'
)
$partImagePath = '/home/samshiel/www/configurator/app/webroot/img/casque/blason/blason_default_blackchrome.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' => '32',
'extra_id' => '6',
'optionlist' => '1',
'rank' => '3',
'name' => 'Visière Polo marron',
'simple_name' => 'brown',
'ExtrasSave' => array(
[maximum depth reached]
),
'Extra' => array(
[maximum depth reached]
)
)
)
)
$hasImage = true
$imgFile = 'extra_polovisor_brown'
$extraImagePath = 'HELMETPARTS_FOLDER_PATHextra/extra_polovisor_brown.png' imagecreatefrompng - [internal], line ??
ConfiguratorController::makeCapture() - APP/Controller/ConfiguratorController.php, line 527
ConfiguratorController::checkCapture() - APP/Controller/ConfiguratorController.php, line 446
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