Jump to content

BUG controllers/ContactController.php (prestashop 1.4)


Recommended Posts

File controllers/ContactController.php call has an error:

find line 204


if (isset($filename) AND rename($_FILES['fileUpload']['tmp_name'], _PS_MODULE_DIR_.'../upload/'.$filename))



I'm not sure possible solution:

if (isset($filename) AND rename($_FILES['fileUpload']['tmp_name'], _PS_ROOT_DIR_.'/upload/'.$filename))




here the problem that causes this bug and discovered:

http://www.prestashop.com/forums/viewthread/102047/discusin_general/formulario_de_contacto

Greetings!!

Link to comment
Share on other sites

×
×
  • Create New...