[Xerte] Re: Moodle authentication patch gives blank screen

Robert Chalmers robert at chalmers.com.au
Wed Nov 2 02:47:11 GMT 2011


Hi,

Just downloaded 1.0.2 again – and yep, config.php is still showing 1.0

 

/**

*

* Config page, sets up the site variable from the database

*

* @author Patrick Lockley

* @version 1.0

* @copyright Copyright (c) 2008,2009 University of Nottingham

* @package

*/

 

And does not contain the code you mention.

Cheers

Robert

 

 

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of David Goodwin
Sent: Wednesday, November 02, 2011 9:25 AM
To: Xerte discussion list
Subject: [Xerte] Re: Moodle authentication patch gives blank screen

 

 

Your version of config.php is out of date. It should contain something like the following :

 

if(!function_exists('_debug')) {

    function _debug($string) {

        @file_put_contents('/tmp/debug.log', $string, FILE_APPEND);

    }

}

 

 

Pasting the above into config.php should fix your problem.... You might wish to change '/tmp/debug.log' to something else - e.g. 'c:\debug.log' if you're on Windows.

 

 

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

 

 





 

 

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. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20111102/156e0b49/attachment-0001.html>


More information about the Xerte mailing list