Loading...
 
Skip to main content

tmpDir is the empty string by default , unable to write to temporary directory

Status
Closed
Subject
tmpDir is the empty string by default , unable to write to temporary directory
Version
17.x
Category
  • Bug
Feature
File Gallery (elFinder or standard UI)
Resolution status
Fixed or Solved
Submitted by
jaywilliston
Volunteered to solve
Philippe Cloutier
Lastmod by
jaywilliston, Philippe Cloutier
Rating
(0)
Description

when I choose to "Upload a new version" of a "myfile.xls" I get this error:

PHP (5.6.31) ERROR (E_WARNING):
File: lib/filegals/filegallib.php
Line: 3430
Type: move_uploaded_file(/myfile.xls.tmp): failed to open stream: Permission denied

And at the top of the browser window it says:

Check that these paths exist and are writable by the web server: /tmp/phpaMyPJu /myfile.xls.tmp

1. notice the root level directory
2. notice the space before /file

Solution
See first comment
Workaround
See first comment
Importance
5
Easy to solve?
9
Priority
45
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6450
Created
Monday 18 September, 2017 11:39:21 UTC
by jaywilliston
LastModif
Monday 18 September, 2017 15:57:53 UTC


Show PHP error messages