[Xerte] Re: Moodle Integration

Ron Mitchell ronm at mitchellmedia.co.uk
Tue Nov 8 08:52:23 GMT 2011


Hi
sorry have been away and offline for a few days and this reply is more for
David's benefit than John...

I don't have access to my files to check at the moment but when I last
updated the 1.7 branch and trunk there were two different versions of the
moodle integration because there were different versions of other files.
>From memory there were different versions of config.php as well as
integration.txt. So 1.7 branch and trunk have slightly different versions of
the readme file, config.php and moodle_integration.txt both work with each
respectively.

HTH
Ron

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of David Goodwin
Sent: 07 November 2011 22:34
To: Xerte discussion list
Subject: [Xerte] Re: Moodle Integration


On 7 Nov 2011, at 21:18, John Rickard wrote:

> Hi Everyone,
> 
> I have a problem with the moodle integration for XOT 1.7. I have the
updated integration files and as far as I am aware, I have implemented these
as per the instructions, but all I am getting is a blank page on the
moodle_integration.php
> 
> It does prompt me to login into my moodle install but then goes to the
blank moodle_integration page.
> 
> I have turned on the development variable, which has produced the error
below - can anyone tell me if this is linked?
> 
> Fatal error: Call to undefined function db_query_one() in
/home/acegoor1/public_html/xot/config.php on line 74
> 

I suspect moodle_integration.txt is a little out of date. Add the following
into config.php (anywhere near the top should do):

require_once('website_code/php/database_library.php');


(I'll check what's in trunk soon and fix it there)

Thanks
David.

Pale Purple Ltd.  (Company No: 5580814)
'Business Web Application Development and Training in PHP'

http://www.palepurple.co.uk   
Office: 0845 0046746     Mobile: 07792380669 

Follow us on Twitter: @PalePurpleLtd






_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.





More information about the Xerte mailing list