• Hello, I have an old hosting plan. It does not support .htaccess.
    When I try to upload a picture (both with the flash and the browser upload) I get an error: “HTTP Error” or “Missing Temporary Folder”.
    Searching over the web I found some tips to solve this problem, but they all require to edit the htaccess file. As said, my hosting does not support this. Is there any way I can fix this problem?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    You need to edit php.ini file located in etc/ folder. Uncomment the line upload_tmp_dir and pointing the variable to a folder using an absolute path. In Linux possible steps are:

    1) Login into the command line to the server as an administrator.
    2) create a temporary folder for all Apache tasks in your user folder and grant all right to all users:

    mkdir mytmp && chmod 777 mytmp

    3) Edit php.ini with text editor and set the temporary folder:

    upload_tmp_dir = /home/username/mytmp/

    save the file and restart Apache.

    Thanks,

    Shane G.

    Thread Starter Klaymen

    (@klaymen)

    Thank you for your reply, Shane G.
    Other than this, is there no way to fix this?
    I ask becouse the hosting provider, as said, is basically a *bad one*. It’s really difficult to contact them and talk about technicals aspects.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem when uploading a picture (Missing Temporary Folder/HTTP Error)’ is closed to new replies.