Announcement

Collapse
No announcement yet.

Attachments & avatar problems

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

  • Attachments & avatar problems

    Ok when I try to attach a file or upload a custom avatar I always get:
    "The uploaded file is not a valid GIF or JPG file. Please ensure that it is and try again."

    My settings are as followed...
    Upload in safe mode=NO
    Safe mode temp dir=/tmp
    Allow image size checking failure=NO

    Attachments & avatar file size=max. 307200

    PHPINFO @ http://www.stevos.be/phpinfo.php

    I hope to solve this problem really soon

  • #2
    You have open_basedir restrictions on your server. To get uploads to work you need to create a 'tmp' subdirectory under your httpdocs directory and chmod it to 777. Then in the Admin CP set "Upload In Safe Mode?" to 'Yes' and point the "Safe Mode Temp Directory" to that directory. If you placed the tmp directory in the right place, the path to the Safe Mode Temp Directory will be:

    /usr/local/psa/home/vhosts/stevos.be/httpdocs/tmp
    :: Always Back Up Forum Database + Attachments BEFORE upgrading !
    :: Nginx SPDY SSL - World Flags Demo [video results]
    :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

    Comment


    • #3
      thank you very much, the problem is solved now

      Comment


      • #4
        Originally posted by stevos
        thank you very much, the problem is solved now
        no probs
        :: Always Back Up Forum Database + Attachments BEFORE upgrading !
        :: Nginx SPDY SSL - World Flags Demo [video results]
        :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

        Comment

        Loading...
        Working...
        X