Moodle

Problems with linking files with dfwiki

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.5
  • Fix Version/s: None
  • Component/s: Wiki (2.x)
  • Labels:
    None
  • Environment:
    Sun M5000 Solaris10.5 apache2 Mysql5 PHP 5.2.10
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE

Description

When uploading a file with wiki and linking it on the page. The link is broken.
The cause is moddata. Wiki creates a subdirectory in moddata an put the uploaded files there. But it is not possible to show this files. You always get the error 'file not found' even with the filebrowser in moodle.
Only solution is to move the files out the moddata dir then the link works. Is it possible to configure dfwiki to write the file to the same level where moddata is?
This is a big problem cause our users cannot change to the original wiki(which could solve the problem) without losing data.
Thank for your help

Greetings
Thorsten

Issue Links

Activity

Hide
Eloy Lafuente (stronk7) added a comment -

Hi Thorsten,

are you talking about the current wiki module included in Moodle 1.x or the new one (dfwiki, nwiki) right now in contrib that will land to Moodle 2.0 ?

Ciao

Show
Eloy Lafuente (stronk7) added a comment - Hi Thorsten, are you talking about the current wiki module included in Moodle 1.x or the new one (dfwiki, nwiki) right now in contrib that will land to Moodle 2.0 ? Ciao
Hide
Thorsten Bieser added a comment -

Hi Eloy

we are using nwiki in the version 2009012201.

regards
Thorsten

Show
Thorsten Bieser added a comment - Hi Eloy we are using nwiki in the version 2009012201. regards Thorsten
Hide
Eloy Lafuente (stronk7) added a comment -

Thanks Thorsten!

I'm moving the component of this bug to Wiki (2.0) and assigning it to Ludo.

Ludo, I always forget if you must be the assignee for these bugs or "Ludo's dfwikiteam" is the correct one. Feel free to change that.

Ciao

Show
Eloy Lafuente (stronk7) added a comment - Thanks Thorsten! I'm moving the component of this bug to Wiki (2.0) and assigning it to Ludo. Ludo, I always forget if you must be the assignee for these bugs or "Ludo's dfwikiteam" is the correct one. Feel free to change that. Ciao
Hide
Ludo ( Marc Alier) added a comment -

Well, most of the bugs for wiki 1.x will not longer be relevant for 2.0 since it is being recoded from scratch. The part of the files in wiki and nwiki, was handled by the module, in Moodle 2.0 this will be handled by the moodle core.
So I guess this problem will not be reproduced. We will have different flavousr of bugs instead

Show
Ludo ( Marc Alier) added a comment - Well, most of the bugs for wiki 1.x will not longer be relevant for 2.0 since it is being recoded from scratch. The part of the files in wiki and nwiki, was handled by the module, in Moodle 2.0 this will be handled by the moodle core. So I guess this problem will not be reproduced. We will have different flavousr of bugs instead
Hide
Ludo ( Marc Alier) added a comment -

BTW, this bug is for DFwiki or for NWiki?
Version?

Show
Ludo ( Marc Alier) added a comment - BTW, this bug is for DFwiki or for NWiki? Version?
Hide
Karsten Burger added a comment -

Hi all
I use moodle 1.9.9 with NWiki 2010052800 and this problem still remains. It occurs when you updated your moodle from an older (1.8.x) installation with NWiki to the newest one. The Wikifiles are stored in moddata/wiki<id> and file.php doesn't allow delivering content of a subdir which doesn't match with a name of an installed plugin. The problem cans easily fixed with a patch for file.php.

Show
Karsten Burger added a comment - Hi all I use moodle 1.9.9 with NWiki 2010052800 and this problem still remains. It occurs when you updated your moodle from an older (1.8.x) installation with NWiki to the newest one. The Wikifiles are stored in moddata/wiki<id> and file.php doesn't allow delivering content of a subdir which doesn't match with a name of an installed plugin. The problem cans easily fixed with a patch for file.php.

People

Dates

  • Created:
    Updated:
    Resolved: