• Hello,

    i am not able to upload images anymore.
    I tried the flash one and the browser one…

    I have an error message: a temp folder is missing…

    Could you help me ?

    thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you gone looking for the folder it says is missing?

    Hi,

    You can easily overcome this problem by editing the php.ini file located in etc/ folder, uncommenting the line upload_tmp_dir (by deleting the semi-colon “;”) and pointing the variable to a folder using an absolute path. In Linux possible steps are:

    1. open a terminal
    2. create a temporary folder for all apache tasks in your user folder and grant all right to all users:

    mkdir wwwtmp && chmod 0777 wwwtmp

    3. edit php.ini with your text editor and set the temporary folder (you must switch to root user)

    su
    vim /opt/lampp/etc/php.ini
    upload_tmp_dir = /home/my_user/wwwtmp/
    Remeber to remove preceding “;”

    4. save the file (in vim type :wq an press enter) and restart xampp

    /opt/lampp/./lampp restart

    Thanks,

    Shane G.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pb Uploading an image’ is closed to new replies.