Moodle

Assign roles page refresh problem

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Not a bug
  • Affects Version/s: 1.8
  • Fix Version/s: None
  • Component/s: Roles / Access
  • Labels:
    None
  • Environment:
    Standard windows self-contained moodle install
  • Affected Branches:
    MOODLE_18_STABLE

Description

When assinging roles within a course, after selecting the left arrow to bring a person across, the lists disappear. The role tabs, page headers and footers remain, just no lists. The only work around is to leave the page and come back. The actual assignment does appear to happen correctly. I'm using a fresh install of 1.8+

Activity

Hide
Yu Zhang added a comment -

Hi Stuart,

Can you please turn debug on (by going to Server->Debugging as an Admin) to "ALL" and see if you get any error messages while doing role assignments?

Cheers,

Yu

Show
Yu Zhang added a comment - Hi Stuart, Can you please turn debug on (by going to Server->Debugging as an Admin) to "ALL" and see if you get any error messages while doing role assignments? Cheers, Yu
Hide
Stuart Anderson added a comment -

First time I've tried to do that, very useful. This reveals that it is not a roles problem, but related to the new wiki (nwiki) by Ludo and his team. After assigning a role I get a mostly blank screen with the message:

Fatal error: Cannot redeclare wiki_add_instance() (previously declared in E:\moodle18plus\moodle\mod\wiki\lib.php:20) in E:\moodle18plus\moodle\mod\wiki_old\lib.php on line 72

It would seem not to matter if the course contains an existing wiki or not, I get the same error if setting up a new course from scratch.

I guess this means this error needs re-assigning to Ludo.

--Stuart.

Show
Stuart Anderson added a comment - First time I've tried to do that, very useful. This reveals that it is not a roles problem, but related to the new wiki (nwiki) by Ludo and his team. After assigning a role I get a mostly blank screen with the message: Fatal error: Cannot redeclare wiki_add_instance() (previously declared in E:\moodle18plus\moodle\mod\wiki\lib.php:20) in E:\moodle18plus\moodle\mod\wiki_old\lib.php on line 72 It would seem not to matter if the course contains an existing wiki or not, I get the same error if setting up a new course from scratch. I guess this means this error needs re-assigning to Ludo. --Stuart.
Hide
Stuart Anderson added a comment -

Apologies, please close this bug.

I've just realised what the problem was and I should have worked it out sooner by actually reading the error statement properly (a mistake I yell at my own students for not doing!) When I put the new nwiki into my mod folder, I simply renamed the old wiki "wiki_old" as indicated in the error statement. This appeared to be interfering with things inside moodle.

Apologies for being a time waster. I'll try to do further investigation before submitting bugs.

Regards,

Stuart.

Show
Stuart Anderson added a comment - Apologies, please close this bug. I've just realised what the problem was and I should have worked it out sooner by actually reading the error statement properly (a mistake I yell at my own students for not doing!) When I put the new nwiki into my mod folder, I simply renamed the old wiki "wiki_old" as indicated in the error statement. This appeared to be interfering with things inside moodle. Apologies for being a time waster. I'll try to do further investigation before submitting bugs. Regards, Stuart.
Hide
Yu Zhang added a comment -

Hi Stuart,

Np, closing this now.

Show
Yu Zhang added a comment - Hi Stuart, Np, closing this now.
Hide
Jason Meinzer added a comment -

I know this is old but I just got bit by this. Is there no way to recover from the condition where someone has made a copy of a module? Although this isn't a "bug" it's pretty bad that doing a simple "cp -r wiki wiki.bak" will instantly break things in hidden places with no indication of what's wrong.

Show
Jason Meinzer added a comment - I know this is old but I just got bit by this. Is there no way to recover from the condition where someone has made a copy of a module? Although this isn't a "bug" it's pretty bad that doing a simple "cp -r wiki wiki.bak" will instantly break things in hidden places with no indication of what's wrong.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: