Active
Project:
Moodle Integration
Version:
6.x-2.2-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 Aug 2010 at 23:08 UTC
Updated:
11 Dec 2010 at 02:12 UTC
When I select the moodle module in Drupal and save I get the following error :
Fatal error: require_once() [function.require]: Failed opening required './/modules/content_copy/content_copy.module' (include_path='.:/usr/local/lib/php-5.2.12/lib/php') in sites/all/modules/moodle/moodle.module on line 223
Is there any additional module I should install?
Comments
Comment #1
jbleveque commentedComment #2
jbleveque commentedI just added CCK in order to fix this, but now I get another error message when trying to enable the Moodle module :
"The following modules must be enabled for this import to work: date, link.
Exiting. No import performed."
Any ideas?
I'd like a minimalistic install on this if possible, not adding module after module.
Comment #3
domesticat commentedI'm not being asked for the date module, but I'm being asked for the link module. I wonder what module it's looking for?
Comment #4
domesticat commentedOkay. I did a bit more digging and it is in fact a set of two undeclared dependencies, for Link and Date. I had Date installed, so I was getting a different error message than @jbleveque, but it got me thinking in the right direction. After installing http://drupal.org/project/link I got the following result messages on admin/build/modules:
Yep. Date and link fields. That would do it.
This is a pretty simple fix; I think the maintainer will need to add these lines to the the Moodle module's .info file, and that should ensure that the Moodle integration doesn't try to install without these modules being enabled:
dependencies[] = cck
dependencies[] = date
dependencies[] = link
Comment #5
Chris Johnson commentedHmm, this seems to be a problem with core version 6.11 and later, when the CCK type became an automatic part of the installation. Will fix.
Comment #6
kalani96746 commentedI got the same error, downloaded, set up CCK, link , date /time modules now I donʻt see the moodle module as an option to be enabled?
Comment #7
kalani96746 commentedIgnore. No error. I had renamed the .module extension to get into an editor I preferred to use and forgot to change the extension back.
However regarding Domesticatʻs and Chrisʻs post I only did these two lines in the .info file
dependencies[] = date
dependencies[] = link
as having the cck one in the would show a missing dependency despite all cck modules being installed and enabled.