Moodle

cannot see resources in edit mode

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.8
  • Fix Version/s: None
  • Component/s: General
  • Labels:
    None
  • Environment:
    windows server 2003, version1.8+,(2007021502)
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_18_STABLE

Description

Today, I updated the source using cvs (version 2007021502).
When I turn on the edit mode, I cannot see the resources.
I append the captured image.

view.png for non-edit mode and edit.png for edit mode.

Thanks in advance.

  1. edit.png
    16 kB
    15/Apr/07 2:54 PM
  2. MDL-9360.jpg
    17 kB
    16/Apr/07 10:33 AM
  3. view.png
    23 kB
    15/Apr/07 2:54 PM

Issue Links

Activity

Hide
Nicolas Connault added a comment -

It's important that you tell us whether or not you can see the footer at the bottom of the page when you turn editing on. (See the attached file for an example of a footer). If you do not see the footer, this could indicate a hidden code error (you could probably see it by switching your site's debug value to a higher value).

Show
Nicolas Connault added a comment - It's important that you tell us whether or not you can see the footer at the bottom of the page when you turn editing on. (See the attached file for an example of a footer). If you do not see the footer, this could indicate a hidden code error (you could probably see it by switching your site's debug value to a higher value).
Hide
Nicolas Connault added a comment -

Example of a footer

Show
Nicolas Connault added a comment - Example of a footer
Hide
Yu Zhang added a comment -

Hi,

I would also suggest you turn on the debugging mode on the admin's page, and paste any error message you got from there. Do you have any third party / contrib module installed?

Cheers,

Yu

Show
Yu Zhang added a comment - Hi, I would also suggest you turn on the debugging mode on the admin's page, and paste any error message you got from there. Do you have any third party / contrib module installed? Cheers, Yu
Hide
Mauno Korpelainen added a comment -
Show
Mauno Korpelainen added a comment - Some more info: http://moodle.org/mod/forum/discuss.php?d=69176
Hide
Jong-D Park added a comment -

Hi!
Thanks for your reply.

I could not see the footer at the bottom of the page.
I was using audiorecorder,feedback,lamstwo,ipodcast,resource_jmol, flash modules.

I had to restore the using the backup files.

I found that ipodcast resources were no longer available after new installation and restore. Thus I delete the ipodcast module and installed new activity module podcast. But I got into the same problem.

I have to recover the courses from the backup files.

I'v got warning message:

Warning: require_once(C:\moodle18\moodle/mod/flash/lib.php) [function.require-once]: failed to open stream: No such file or directory in C:\moodle18\moodle\course\lib.php on line 1473

But I didn't have the flash module in the mod directory. I used it in version 1.6+.

Thanks in advance.

Show
Jong-D Park added a comment - Hi! Thanks for your reply. I could not see the footer at the bottom of the page. I was using audiorecorder,feedback,lamstwo,ipodcast,resource_jmol, flash modules. I had to restore the using the backup files. I found that ipodcast resources were no longer available after new installation and restore. Thus I delete the ipodcast module and installed new activity module podcast. But I got into the same problem. I have to recover the courses from the backup files. I'v got warning message: Warning: require_once(C:\moodle18\moodle/mod/flash/lib.php) [function.require-once]: failed to open stream: No such file or directory in C:\moodle18\moodle\course\lib.php on line 1473 But I didn't have the flash module in the mod directory. I used it in version 1.6+. Thanks in advance.
Hide
Jong-D Park added a comment -

I checked the error log as shown below.

Previously, I used extra modules such as audio recorder, flash, ipodcast, podcast etc and deleted these modules since I was informed that these extra modules could be sources for the problems.

I found that the errors occured because it required deleted files.

I added the required the modules and the moodle seems to work.

I can edit the courses by turn on the edit button.

By the way, it takes so long time (5 hours) to update using cvs. What's wrong with cvs server?

Thanks in advance.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[Thu Apr 19 09:25:44 2007] [error] [client 203.250.135.231] PHP Warning: include_once(C:\\moodle18
moodle/mod/audiorecorder/lib.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in C:\\moodle18\\moodle\\course
lib.php on line 1126, referer: http://moodle.pcu.ac.kr/
[Thu Apr 19 09:25:44 2007] [error] [client 203.250.135.231] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'C:\\moodle18
moodle/mod/audiorecorder/lib.php' for inclusion (include_path='.;C:\\moodle18\\php\\pear
') in C:\\moodle18\\moodle\\course
lib.php on line 1126, referer: http://moodle.pcu.ac.kr/
[Thu Apr 19 09:25:44 2007] [error] [client 203.250.135.231] PHP Warning: include_once(C:\\moodle18
moodle/mod/flash/lib.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in C:\\moodle18\\moodle\\course
lib.php on line 1126, referer: http://moodle.pcu.ac.kr/
[Thu Apr 19 09:25:44 2007] [error] [client 203.250.135.231] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'C:\\moodle18
moodle/mod/flash/lib.php' for inclusion (include_path='.;C:\\moodle18\\php\\pear
') in C:\\moodle18\\moodle\\course
lib.php on line 1126, referer: http://moodle.pcu.ac.kr/
[Thu Apr 19 09:25:44 2007] [error] [client 203.250.135.231] PHP Warning: include_once(C:\\moodle18
moodle/mod/ipodcast/lib.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in C:\\moodle18\\moodle\\course
lib.php on line 1126, referer: http://moodle.pcu.ac.kr/
[Thu Apr 19 09:25:44 2007] [error] [client 203.250.135.231] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'C:\\moodle18
moodle/mod/ipodcast/lib.php' for inclusion (include_path='.;C:\\moodle18\\php\\pear
') in C:\\moodle18\\moodle\\course
lib.php on line 1126, referer: http://moodle.pcu.ac.kr/
[Thu Apr 19 09:25:44 2007] [error] [client 203.250.135.231] PHP Warning: include_once(C:\\moodle18
moodle/mod/podcast/lib.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in C:\\moodle18\\moodle\\course
lib.php on line 1126, referer: http://moodle.pcu.ac.kr/
[Thu Apr 19 09:25:44 2007] [error] [client 203.250.135.231] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'C:\\moodle18
moodle/mod/podcast/lib.php' for inclusion (include_path='.;C:\\moodle18\\php\\pear
') in C:\\moodle18\\moodle\\course
lib.php on line 1126, referer: http://moodle.pcu.ac.kr/
[Thu Apr 19 09:25:48 2007] [error] [client 203.250.135.231] PHP Warning: require_once(C:\\moodle18
moodle/mod/podcast/lib.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in C:\\moodle18\\moodle\\course
lib.php on line 1473, referer: http://moodle.pcu.ac.kr/course/view.php?id=38

Show
Jong-D Park added a comment - I checked the error log as shown below. Previously, I used extra modules such as audio recorder, flash, ipodcast, podcast etc and deleted these modules since I was informed that these extra modules could be sources for the problems. I found that the errors occured because it required deleted files. I added the required the modules and the moodle seems to work. I can edit the courses by turn on the edit button. By the way, it takes so long time (5 hours) to update using cvs. What's wrong with cvs server? Thanks in advance. --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [Thu Apr 19 09:25:44 2007] [error] [client 203.250.135.231] PHP Warning: include_once(C:\\moodle18
moodle/mod/audiorecorder/lib.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in C:\\moodle18\\moodle\\course
lib.php on line 1126, referer: http://moodle.pcu.ac.kr/ [Thu Apr 19 09:25:44 2007] [error] [client 203.250.135.231] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'C:\\moodle18
moodle/mod/audiorecorder/lib.php' for inclusion (include_path='.;C:\\moodle18\\php\\pear
') in C:\\moodle18\\moodle\\course
lib.php on line 1126, referer: http://moodle.pcu.ac.kr/ [Thu Apr 19 09:25:44 2007] [error] [client 203.250.135.231] PHP Warning: include_once(C:\\moodle18
moodle/mod/flash/lib.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in C:\\moodle18\\moodle\\course
lib.php on line 1126, referer: http://moodle.pcu.ac.kr/ [Thu Apr 19 09:25:44 2007] [error] [client 203.250.135.231] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'C:\\moodle18
moodle/mod/flash/lib.php' for inclusion (include_path='.;C:\\moodle18\\php\\pear
') in C:\\moodle18\\moodle\\course
lib.php on line 1126, referer: http://moodle.pcu.ac.kr/ [Thu Apr 19 09:25:44 2007] [error] [client 203.250.135.231] PHP Warning: include_once(C:\\moodle18
moodle/mod/ipodcast/lib.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in C:\\moodle18\\moodle\\course
lib.php on line 1126, referer: http://moodle.pcu.ac.kr/ [Thu Apr 19 09:25:44 2007] [error] [client 203.250.135.231] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'C:\\moodle18
moodle/mod/ipodcast/lib.php' for inclusion (include_path='.;C:\\moodle18\\php\\pear
') in C:\\moodle18\\moodle\\course
lib.php on line 1126, referer: http://moodle.pcu.ac.kr/ [Thu Apr 19 09:25:44 2007] [error] [client 203.250.135.231] PHP Warning: include_once(C:\\moodle18
moodle/mod/podcast/lib.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in C:\\moodle18\\moodle\\course
lib.php on line 1126, referer: http://moodle.pcu.ac.kr/ [Thu Apr 19 09:25:44 2007] [error] [client 203.250.135.231] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'C:\\moodle18
moodle/mod/podcast/lib.php' for inclusion (include_path='.;C:\\moodle18\\php\\pear
') in C:\\moodle18\\moodle\\course
lib.php on line 1126, referer: http://moodle.pcu.ac.kr/ [Thu Apr 19 09:25:48 2007] [error] [client 203.250.135.231] PHP Warning: require_once(C:\\moodle18
moodle/mod/podcast/lib.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in C:\\moodle18\\moodle\\course
lib.php on line 1473, referer: http://moodle.pcu.ac.kr/course/view.php?id=38
Hide
Yu Zhang added a comment -

Hi Jong,

Even though you have removed the flash module directory, it is not removed from your mdl_course_module table in your moodle database. You probably did not uninstall it properly. Removing the entry from the db should solve this problem.

Cheers,

Yu

Show
Yu Zhang added a comment - Hi Jong, Even though you have removed the flash module directory, it is not removed from your mdl_course_module table in your moodle database. You probably did not uninstall it properly. Removing the entry from the db should solve this problem. Cheers, Yu
Hide
Yu Zhang added a comment -

Closing this as this is an issue caused by improper uninstall of third party mods.

Show
Yu Zhang added a comment - Closing this as this is an issue caused by improper uninstall of third party mods.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: