Forum Problems Installing LAMS: Re: LAMStwo integration with Moodle 1.7


 
Search: 

2: Re: LAMStwo integration with Moodle 1.7
In response to 1 03/23/07 02:23 AM
[ Reply | Forward ]
I forgot to mention that I can't setup the lams two module because it is not listed in the Module/Activities listing and therefore I can't finish setting up the connection between the moodle server and lams.

Many thanks again in advance,

Mike B

Posted by Michael Boughton

3: Re: Re: LAMStwo integration with Moodle 1.7
In response to 2 03/24/07 11:31 PM
[ Reply | Forward ]
Hi Michael,

No doubt you have gone to the "notifications" screen to complete the installation already...

You checked the permissions on the php file and the LAMS 2 module folder. Did you also check the permissions for all files in that folder?

Just a couple of ideas, hope you can get it sorted out.

Tim.

Posted by Timothy Allen

4: Re: Re: LAMStwo integration with Moodle 1.7
In response to 2 03/26/07 12:35 AM
[ Reply | Forward ]
I traced the error message to the php function 'is_readable', which is returning false. In moodle/lib/moodlelib.php, ‘moodle_needs_upgrading()’ runs is_readable on each module’s
version.php. In this case, moodle/mod/lamstwo/version.php.

Perhaps some other app has a lock on it (even though theoretically it should still be able to be read). The only thing similar to this that I’ve come across is when I want to open one of jboss’ log files in Windows using Wordpad, and Wordpad will complain saying the file is in use. Is it possible that you've got lamstwo's version.php open in an editor?

Another (remote) possibility is a bug in the PHP function similar to the one reported here http://bugs.php.net/bug.php?id=30931. But if this were the case there'd probably be more errors.

Did you manage to install the lamstwo tables by accessing http://moodle server/moodle/admin/? It should show up in the modules listing after that.

Posted by Jun-Dir Liew

Reply to first post on this page
Back to Problems Installing LAMS