Extension talk:LocalFileSystem

From MediaWiki.org
Jump to navigation Jump to search



i've installed the extension - but this was only possible by adding "<?php" to the beginning and "?>" to the end of the script!

After doing this i got some strange warnings:

Warning: Cannot modify header information - headers already sent by (output started at 
C:\xampp\htdocs\wiki\extensions\LocalFileSystem.php:1) in C:\xampp\htdocs\wiki\includes\WebResponse.php on line 16

Is this a known bug?!?

With kind regards

Guido Palacios

Don't add ?> to the end of the script. —Emufarmers(T|C) 10:35, 11 May 2009 (UTC)
I've followed these instructions and got the error:
Warning: scandir(YOUR/PATH/TO/DIR/IN/LOCALFILESYSTEM/) [function.scandir]: failed to open dir: No such file or directory in /var/www/Wiki/extensions/LocalFileSystem.php on line 39

Warning: scandir() [function.scandir]: (errno 2): No such file or directory in /var/www/Wiki/extensions/LocalFileSystem.php on line 39

Warning: array_slice() expects parameter 1 to be array, boolean given in /var/www/Wiki/extensions/LocalFileSystem.php on line 40

Warning: Invalid argument supplied for foreach() in /var/www/Wiki/extensions/LocalFileSystem.php on line 41

It doesn't come from my filesystem permissions. JackPotte 22:26, 3 July 2011 (UTC) (MediaWiki 1.16.5, PHP 5.3.2-1ubuntu4.9 (apache2handler), MySQL 5.1.41-3ubuntu12.10)

I've replaced only YOUR/PATH/TO/DIR/IN/LOCALFILESYSTEM/ by /var/www and I can see the files, but can't open them. We really should define another default directory please (and another special:version summary). Finally it would be appreciable to be able to search in the files contents. JackPotte 22:31, 3 July 2011 (UTC)
That path should be a configuration variable. The extension's code is all here, so you can fix it yourself. :-) —Emufarmers(T|C) 07:22, 4 July 2011 (UTC)
OK, that might be only the beginning. JackPotte 19:51, 4 July 2011 (UTC)