Announcement

Collapse
No announcement yet.

Error On Picture Upload To Album After Setting PHP Variable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Trevor Hannant
    replied
    You only need a tmp directory if you are running PHP in Safe Mode orif Open Basedir is enabled on the server. If not, you don't need that value entered.

    Make sure that AdminCP > Settings > Options > Server Settings and Optimization Options > Safe Mode Upload Enabled is set to 'No'

    Leave a comment:


  • doctor death
    replied
    I am trying to set it correctly. Clearly I dont know WTF I am doing... can you tell me what you THINK these variables should be set to?

    I set upload temp because I thought I read in these forums that it needed to be set. Guess not.

    So what should they be?

    Leave a comment:


  • Trevor Hannant
    replied
    Why did you set an upload temp directory when you have the following:

    open_basedir:None
    safe_mode:Off

    Leave a comment:


  • doctor death
    replied
    It says "Upload Failed"

    Not very helpful I know.

    Leave a comment:


  • Trevor Hannant
    replied
    Wehn you get that exclamation mark, what is the error when you hover your cursor over it?

    Leave a comment:


  • Error On Picture Upload To Album After Setting PHP Variable

    I had my provider change the contents of the PHP variable UPLOAD_TMP_DIR to a folder... It was previously blank.

    specifically the folder is called uploadtmp and CHMOD'd to 777

    Since this change was made, all uploads to albums result in an error signified by a red exclaimation point in the upload manager without any further explaination.

    Are there any VB settings that should be examined?

    In maintenance section, these are the results of the Upload Test:

    file_uploads: On
    open_basedir:None
    safe_mode:Off
    upload_tmp_dir:/home/xxxxxxx/public_html/uploadtmp
    upload_max_filesize:2.00 MB

    Any suggestions to resolve this problem are appreciated.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X