Hi,
I am new to moodle. I am trying to use the lesson feature of moodle in my course. After successful creation of a lesson i select Add a Branch Table option and insert an image in Page contents section using the Insert image tool. After adding a navigation for next and previous page, i select the Save page button. The image is visible in the Page contents section during editing of the branch table. However, while viewing this page of the lesson the image is not displayed. I verified that the image is present in the lesson subdirectory. An error is reported in apache error.log file.
Inserting an image in topic mode works just fine, but not in lesson mode.
The details of the environment i am using are :
Platform : Windows XP - SP3
Browser : IE7
Moodle : Version 1.9.7+ (Build 20091223)
I went through the html code generated for displaying the lesson and found that the html code for <img src> that is used to display the image had extra quotes. So, i modified the "img src" section manually outside of moodle. On loading the new html page in browser, the image was correctly displayed.
Find attached
apache error log :
[Tue Feb 16 13:31:38 2010] [error] [client 127.0.0.1] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /mod/lesson/%3Ca%20href= HTTP/1.1 to file, referer: http://127.0.0.1/mod/lesson/edit.php?id=261
[Tue Feb 16 13:32:50 2010] [error] [client 127.0.0.1] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /mod/lesson/%3Ca%20href= HTTP/1.1 to file, referer: http://127.0.0.1/mod/lesson/edit.php?id=261
[Tue Feb 16 13:35:01 2010] [error] [client 127.0.0.1] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /mod/lesson/%3Ca%20href= HTTP/1.1 to file, referer: http://127.0.0.1/mod/lesson/view.php?id=261
Find attached modified view output html source (look at the highlighted section in the code).
Do any of you have a suggestion on how i can get this to work? Please help. Thanx.
- Swapna