Bonjour,
En souhaitant télécharger des images sur mes fiches-produits, j'ai cette erreur (en activant le mode debug) ;
Symfony\Component\Debug\Exception\ContextErrorException:
Notice: tempnam(): file created in the system's temporary directory
at classes/helper/HelperImageUploader.php:42
at HelperImageUploaderCore->getFilePath('Amande Douce.png')
(classes/Uploader.php:267)
at UploaderCore->upload(array('tmp_name' => '/tmp/phpG6YERv', 'name' => 'Amande Douce.png', 'size' => 758352, 'type' => 'image/png', 'error' => 0), null)
(classes/Uploader.php:246)
at UploaderCore->process()
(controllers/admin/AdminProductsController.php:2813)
at AdminProductsControllerCore->ajaxProcessaddProductImage('44', 'form', false)
(src/PrestaShopBundle/Controller/Admin/ProductImageController.php:71)
at PrestaShopBundle\Controller\Admin\ProductImageController->uploadImageAction('44', object(Request))
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, false)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request), 1, false)
(admin924uhre02/index.php:88)
Avez-vous une idée de la solution ?
Merci d'avance
EDIT : il fallait changer les droits sur le dossier img