[Xerte] Re: Moodle authentication patch gives blank screen

Robert Chalmers robert at chalmers.com.au
Tue Nov 1 22:19:23 GMT 2011


Hi Tom,

 

I went back to scratch. I removed all references to the xertetoolkits, database and site directory.

I’m not going to use ldap, nor the hard coded index file, but Moodle’s logins.

 

I reinstalled from the zip file, into a directory called ‘xerte’ in the root of the website F:\My Websites\yes\xerte which translates to http://www.your-english-success.com/xerte/

The database I called ‘toolkit’ There are no entries in the ldap tables of the database.

In the logindetails table, only user is ‘admin’

 

I then installed the Moodle patch, got everything in place, and followed the instructions exactly. Being careful to put the correct directory path into the required file. 

 

Now, Xerte is under F:\My Websites\yes\xerte

And Moodle under F:\My Websites\yes\StudyDesk (the directory is not Moodle, but StudyDesk)

 

All appears to be well up to this point.

 

1.       Open browser – point to  http://www.your-english-success.com/xerte/ and it opens up http://your-english-success.com/studydesk/login/index.php as it should according to the documentation for the patch. I login to (Moodle) my study desk, and it drops me into the main screen like normal. According to the instructions, because Xerte is not in the Moodle directory, but in the root of the site, I need to keep the browser open, and simply type in the Xerte path again, so I do this, 
http://www.your-english-success.com/xerte/  
and I get a blank screen. No error messages, nada.

2.       I know it’s doing something, because in config.php I set the debug switch to 1, and it gives me a php error.

// Error reporting fix - please set
ini_set('error_reporting', 1);
and this reports 
‘Fatal error: Call to undefined function _debug() in F:\My Websites\yes\xerte\website_code\php\database_library.php on line 110’

I’ve reset that back to 0, as it provided no insights at all.

 

>From the error_logs files,

Admin.log

<p>8:16:18 - 02/11/2011 SUCCESS<Br>DATABASE CONNECTED<Br>index.php database connect success</p>*<p>8:16:18 - 02/11/2011 SUCCESS<Br>DATABASE CONNECTED<Br>db_Query ok</p>*

 

SUCCESS.log

<p>8:16:18 - 02/11/2011 SUCCESS<Br>DATABASE CONNECTED<Br>index.php database connect success</p>*<p>8:16:18 - 02/11/2011 SUCCESS<Br>DATABASE CONNECTED<Br>db_Query ok</p>*

 

So I’m stumped. Nothing I do will get it to display that index.php screen.

 

Thanks

Robert

 

 

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: Tuesday, November 01, 2011 5:27 PM
To: Xerte discussion list
Subject: [Xerte] Re: Moodle authentication patch gives blank screen

 

Robert,

The problems you have with xerte toolkit seem to revolve around user management/user authentication

Xerte Toolkits does not provide user management, it relies on other systems to provide user authentication. The following options are available at the moment:

1. ldap (the default). You could try to install an ldap server and add users to ldap. It is not for the faint hearted. An example of a ldap server is the Active Directory Service of Windows servers. There are several open source solutions as well
2. moodle. With the moodle patch you can use the moodle user management and moodle user database withing Xerte Toolkits. But..., you have to have moodle installed on the same server for this to work.
3. Simple authentication using fixed users in a .php file. There are two files present in the installation directory. demo.txt (doesn't require authentication) and switch.txt (contains 4 fixed users). If you want to use those, you copy them over the existing index.php. If using switch.txt, you have to change the users and passwords in that file.

Hope this clarifies things for you.

Tom

Op 1-11-2011 1:14, Robert Chalmers schreef: 

I set up a brand new xertetoolkit install, made usre I could at least login (there are other problems) then installed the moodle auth patch. 

All it gives is a blank screen.

 

Much hand wringing….

Robert

 

 

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. 


>From Shanghai PC 

 
 
_______________________________________________
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.
 
  





-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20111102/0793450b/attachment.html>


More information about the Xerte mailing list