On Fri, Nov 5, 2010 at 13:46, François K. <[email protected]> wrote:
> Hi,
>
> I've also notice something wrong with my ownCloud setup.
> I don't really know if it's revelant or not, and I didn't have the time to 
> check everything for now, but, when I upload a file, and then refresh the 
> page, the 'Files' space doesn't show up. Firefox's error console shows the 
> following :
>
> Error: invalid regular expression flag u
> Source File: http://www.kubler.org/owncloud/js/lib_files.js
> Line: 45, Column: 132
> Source Code:
> <b>Warning</b>:  file_exists() [<a 
> href='function.file-exists'>function.file-exists</a>]: open_basedir 
> restriction in effect. File(/usr/bin) is not within the allowed path(s): 
> (/home/users4/k/kubler/:/home/temporaire/upload:/tmp:/usr/local/lib/php/) in 
> <b>/home/users4/k/kubler/www/owncloud/inc/lib_filestorage.php</b> on line 
> <b>328</b><br />
>
> As I said, the cause might be my setup (I don't host the server myself, so 
> there might be restrictions).
>
> I still hope it can help :)
>From what I can see is it caused by the fallback method for mimetype
detection that relies on the file command, which it first checks if it
can execute that command, your host however provides restrictions on
the way that is checked.

It might be an idea to catch the error and switch to the last fallback
(a hardcoded list of extentions and mimetypes) in those cases.

 - Robin Appelman
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to