Avatar Upload - Upload failed due to failure writing temporary file.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pro-eSports.com
    Senior Member
    • Sep 2009
    • 112
    • 4.0.0

    [Forum] Avatar Upload - Upload failed due to failure writing temporary file.

    When I try to upload an avatar it gives me the following message:

    Upload failed due to failure writing temporary file.
    On the top of the header the following error appears:

    Warning: fopen() [function.fopen]: SAFE MODE Restriction in effect. The script whose uid is 10014 is not allowed to access /var/apacheupload/vbuploadYLkTCj owned by uid 33 in [path]/includes/class_upload.php on line 281

    Warning: fopen(/var/apacheupload/vbuploadYLkTCj) [function.fopen]: failed to open stream: Operation now in progress in [path]/includes/class_upload.php on line 281
    How can I fix that?
  • Trevor Hannant
    vBulletin Support
    • Aug 2002
    • 24325
    • 5.7.X

    #2
    Your server is running in Safe Mode. You need to enable safe mode in AdminCP > Settings > Options > Server Settings & Optimization Options > Safe Mode Upload Enabled and set the Safe Mode temp Directory to a directory that has been chmod'd to 777. Use the full path to that directory on the server.
    Vote for:

    - Admin Settable Paid Subscription Reminder Timeframe (vB6)
    - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...