|
Wen Hao Chuang made changes - 05/Oct/07 02:25 AM
whchuang committed 1 file to 'Moodle CVS' on branch 'MOODLE_18_STABLE' - 05/Oct/07 02:29 AM
[
Permalink
| « Hide
]
Wen Hao Chuang added a comment - 05/Oct/07 02:29 AM
another quick fix. The string should go into /lang/en_utf8/admin.php (based on my understanding of moodle convention). Just added the string based on moodle convention and got it committed into 1.8_STABLE, will commit it to HEAD and other branches later too.
I was kinda hoping for an error message that described what the problem might be. Ordinarily I would just have added the string myself without causing "tracker noise", but I had no idea what the error meant.
martignoni committed 1 file to 'Lang CVS' - 05/Oct/07 04:51 PM
Sorry Howard if I seems to be rude to jump right in to solve the problem right away, my apologies. I'm still trying to get myself familiar with the workflow here on the moodle bug tracker so please bear with me... (newbie here!)
By the way I think for this particular error, it usually throw out from from admin/settings.php (please correct me if I'm wrong).. ---- line #40 $root = $adminroot->locate($PAGE->section); if (!is_a($root, 'admin_settingpage')) { if (!($root->check_access())) { $CFG->pagepath = 'admin/setting/'.$section; Actually if you directly point your local browser to http://localhost/moodle18/moodle/admin/settings.php Sorry, but you do not currently have permissions to do that (Change site configuration) But then this is just one scenario, there should be other scenarios I think.. so maybe just throw out a "Section Error!" message for now until we could find a better alternative? Again just my 2c
Wen Hao Chuang made changes - 06/Oct/07 02:07 AM
Petr Skoda made changes - 01/Dec/07 06:17 AM
Petr Skoda committed 1 file to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 20/Dec/07 03:04 AM
Petr Skoda committed 1 file to 'Moodle CVS' - 20/Dec/07 03:05 AM
hi, thanks for the fix
this error is thrown if the url contains no or wrong section name - there is not much we can do with that info, please reopen if you have any idea how to improve it I have also added link to site/admin/ into the error() call
Petr Skoda made changes - 20/Dec/07 03:10 AM
Nicolas Martignoni made changes - 09/Feb/08 05:38 AM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||