Jump to content

BUG controllers/ContactController.php (prestashop 1.4 )


Recommended Posts

El archivo controllers/ContactController.php posee un error de llamada:

corregir la linea 204 del archivo

cambiar esto :

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



por esto:

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




aqui el problema que ocasiona este Bug y el descubridor:

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

saludos!!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...