Loading...
 

Tikiwiki-devel (mailman list mirror)


Strange error when "Uploade a new version" a file

posts: 95

Uploading works.. everything else seems to be working.. but.. when I
choose to “Upload a new version” of a file I get this error:

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

Tiki-17


--
Jay Williston
IRN Internet Services
71 Overlook Ave.
Fitchburg, MA 01420
617-417-5749


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
TikiWiki-devel mailing list
TikiWiki-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

Hi Jay,
Uploading a new version works for me in Tiki 17.0 with XAMPP on Windows 8.

We have no report of such an issue, but it does seem like there is a bug if Tiki tries to access a file in the root directory. Please file a ticket.

> -----Message d’origine-----
> De : Jay Williston mailto:jay@irnoise.com
> Envoyé : 14 septembre 2017 11:45
> À : Tiki developers <tikiwiki-devel@lists.sourceforge.net>
> Objet : Tiki-devel Strange error when “Uploade a new version” a file
>
> Uploading works.. everything else seems to be working.. but.. when I
> choose to “Upload a new version” of a file I get this error:
>
> PHP (5.6.31) ERROR (E_WARNING):
> File: lib/filegals/filegallib.php
> Line: 3430
> Type: move_uploaded_file(/PriusGasMileage.xls.tmp): failed to open
> stream: Permission denied
>
> Tiki-17
>
>
> --
> Jay Williston
> IRN Internet Services
> 71 Overlook Ave.
> Fitchburg, MA 01420
> 617-417-5749

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
TikiWiki-devel mailing list
TikiWiki-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel


posts: 95

more info.. It appears to be trying to move a file into the /tmp/
directory (as in server level!)

Here’s the message I get: Check that these paths exist and are writable
by the web server: /tmp/phpaMyPJu /file.xlsx.tmp

shouldn’t that be a directory within the tikiwiki structure?

-Jay
> Jay Williston <mailto:jay@irnoise.com>
> September 14, 2017 at 11:45 AM
> Uploading works.. everything else seems to be working.. but.. when I
> choose to “Upload a new version” of a file I get this error:
>
> PHP (5.6.31) ERROR (E_WARNING):
> File: lib/filegals/filegallib.php
> Line: 3430
> Type: move_uploaded_file(/PriusGasMileage.xls.tmp): failed to open
> stream: Permission denied
>
> Tiki-17
>
>

--
Jay Williston
IRN Internet Services
71 Overlook Ave.
Fitchburg, MA 01420
617-417-5749

posts: 95

Thanks Phillippe,

Tikiwiki has support tickets now? Where does one go to “file a
ticket”.. or.. are you talking about the forums? Sorry.. I’ve only
posted here and in the forums. Maybe you were talking about the forum..
if so, I can do that. There doesn’t seem to be specific forum for bugs
though. (or.. suspected bugs)..

-Jay
> Jay Williston <mailto:jay@irnoise.com>
> September 14, 2017 at 12:21 PM
> more info.. It appears to be trying to move a file into the /tmp/
> directory (as in server level!)
>
> Here’s the message I get: Check that these paths exist and are
> writable by the web server: /tmp/phpaMyPJu /file.xlsx.tmp
>
> shouldn’t that be a directory within the tikiwiki structure?
>
> -Jay
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world’s most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> TikiWiki-devel mailing list
> TikiWiki-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
> Jay Williston <mailto:jay@irnoise.com>
> September 14, 2017 at 11:45 AM
> Uploading works.. everything else seems to be working.. but.. when I
> choose to “Upload a new version” of a file I get this error:
>
> PHP (5.6.31) ERROR (E_WARNING):
> File: lib/filegals/filegallib.php
> Line: 3430
> Type: move_uploaded_file(/PriusGasMileage.xls.tmp): failed to open
> stream: Permission denied
>
> Tiki-17
>
>

--
Jay Williston
IRN Internet Services
71 Overlook Ave.
Fitchburg, MA 01420
617-417-5749

>De : Jay Williston mailto:jay@irnoise.com
>Envoyé : 14 septembre 2017 12:22
>À : Tiki developers <tikiwiki-devel@lists.sourceforge.net>
>Objet : Re: Tiki-devel Strange error when “Uploade a new version” a file
>
>more info.. It appears to be trying to move a file into the /tmp/ directory (as in server level!)
>
>Here’s the message I get: Check that these paths exist and are writable by the web server: /tmp/phpaMyPJu /file.xlsx.tmp

Is the space between “phpaMyPJu” and the last slash in the real message?

>shouldn’t that be a directory within the tikiwiki structure?
>
>-Jay
>
>Jay Williston
>>September 14, 2017 at 11:45 AM
>>Uploading works.. everything else seems to be working.. but.. when I choose to “Upload a new version” of a file I get this error:
>>
>>PHP (5.6.31) ERROR (E_WARNING):
>>File: lib/filegals/filegallib.php
>>Line: 3430
>>Type: move_uploaded_file(/PriusGasMileage.xls.tmp): failed to open stream: Permission denied
>>
>>Tiki-17
>>
>>
>>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
TikiWiki-devel mailing list
TikiWiki-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

posts: 95

Bug report filed... Thanks, Philippe! I was looking on the
https://tiki.org/Support page.. didn’t think to look on the dev site.

I copied and pasted the message so space after “phpaMyPJu” is real.

> Cloutier, Philippe (DGARI-Consultant)
> <mailto:Philippe.Cloutier.externe@mern-mffp.gouv.qc.ca>
> September 14, 2017 at 1:11 PM
>> De : Jay Williston mailto:jay@irnoise.com
>> Envoy? : 14 septembre 2017 12:22
>> ? : Tiki developers<tikiwiki-devel@lists.sourceforge.net>
>> Objet : Re: Tiki-devel Strange error when “Uploade a new version” a file
>>
>> more info.. It appears to be trying to move a file into the /tmp/ directory (as in server level!)
>>
>> Here’s the message I get: Check that these paths exist and are writable by the web server: /tmp/phpaMyPJu /file.xlsx.tmp
>
> Is the space between “phpaMyPJu” and the last slash in the real message?
>
>> shouldn’t that be a directory within the tikiwiki structure?
>>
>> -Jay
>>
>> Jay Williston
>>> September 14, 2017 at 11:45 AM
>>> Uploading works.. everything else seems to be working.. but.. when I choose to “Upload a new version” of a file I get this error:
>>>
>>> PHP (5.6.31) ERROR (E_WARNING):
>>> File: lib/filegals/filegallib.php
>>> Line: 3430
>>> Type: move_uploaded_file(/PriusGasMileage.xls.tmp): failed to open stream: Permission denied
>>>
>>> Tiki-17
>>>
>>>
>>>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world’s most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> TikiWiki-devel mailing list
> TikiWiki-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
> Jay Williston <mailto:jay@irnoise.com>
> September 14, 2017 at 12:21 PM
> more info.. It appears to be trying to move a file into the /tmp/
> directory (as in server level!)
>
> Here’s the message I get: Check that these paths exist and are
> writable by the web server: /tmp/phpaMyPJu /file.xlsx.tmp
>
> shouldn’t that be a directory within the tikiwiki structure?
>
> -Jay
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world’s most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> TikiWiki-devel mailing list
> TikiWiki-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
> Jay Williston <mailto:jay@irnoise.com>
> September 14, 2017 at 11:45 AM
> Uploading works.. everything else seems to be working.. but.. when I
> choose to “Upload a new version” of a file I get this error:
>
> PHP (5.6.31) ERROR (E_WARNING):
> File: lib/filegals/filegallib.php
> Line: 3430
> Type: move_uploaded_file(/PriusGasMileage.xls.tmp): failed to open
> stream: Permission denied
>
> Tiki-17
>
>

--
Jay Williston
IRN Internet Services
71 Overlook Ave.
Fitchburg, MA 01420
617-417-5749


Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.