Jump to content

Image upload issue... have error message in my logs


Recommended Posts

Prestashop so far has been working great except for 1 very important issue...it won't let me upload images. It tells me it was successful, but no image is ever shown.

I checked my logs and I get this which I believe is a PHP issue

PHP Warning:  File upload error - unable to create a temporary file in Unknown on line 0



I checked the PHPINFO on my server, and the upload_tmp_dir IS set to "no value", which might be the issue.

I don't know if I have control over that, so is there a work around?

Link to comment
Share on other sites

5.2.6

and just a note about something. I ran the command echo sys_get_temp_dir(); gives me /var/tmp/

The PHPINFO() call tells me upload_tmp_dir location is set to "no value".

My server has a /var, but it did not have a tmp, so I created that folder and CHMOD'd it to 777, but that still hasn't resolved my issue.

Thanks

Link to comment
Share on other sites

×
×
  • Create New...