[Xerte] Undefined variable: session_id
Patrick Lockley
Patrick.Lockley at nottingham.ac.uk
Tue Jan 11 15:54:19 GMT 2011
Well a blank page is what you'd expect with users if there are no users on the system :)
Do you use moodle with LDAP?
Pat
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dan Attwood
Sent: 11 January 2011 15:34
To: Xerte discussion list
Subject: Re: [Xerte] Undefined variable: session_id
I've tried as you suggested but I'm still getting the same issues.
clicking on users and I just get a blank page.
I hoped to be able to bodge it by inserting users directly in the database but there is no password field
I've also tried the LDAP route but i'm stuggling with that as well. do you know if there is a write up installing with LDAP anywhere.
On 11 January 2011 10:51, Patrick Lockley <Patrick.Lockley at nottingham.ac.uk<mailto:Patrick.Lockley at nottingham.ac.uk>> wrote:
Ok, I can't replicate that error here in full, but here is the fix
Open management.php (any text editor will do)
Around line 42 is a line with form string on, delete that line completely.
Then search the document for $session_id and replace $session_id with session_id()
In datanase_library look for a line
mysql_select_db($xerte_toolkits_site->database_name) or die($database_fail = true);
on the line above type in
$database_fail = fakse;
Both are attached.
Let me know what happens when these are swapped.
From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk>] On Behalf Of Dan Attwood
Sent: 11 January 2011 08:47
To: Xerte discussion list
Subject: Re: [Xerte] Undefined variable: session_id
I get the attached screen when I click on users;
Notice: Undefined variable: database_fail in /var/www/xerte/website_code/php/database_library.php on line 49
On 10 January 2011 14:42, Patrick Lockley <Patrick.Lockley at nottingham.ac.uk<mailto:Patrick.Lockley at nottingham.ac.uk>> wrote:
Hello,
It's a typo I made in the code. The software was written on a PHP without error reporting set to strict. Have a fish in the code for where the error is. I can't find the zip file with the patch in at the moment.
Also, management.php doesn't have an add users function?
The status is active - The desktop software when taken out of beta will in theory be integrateable (ergh word) into toolkits as is, so toolkits doesn't need to develop concurrently with desktop.
Pat
From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk>] On Behalf Of Dan Attwood
Sent: 10 January 2011 14:31
To: Xerte discussion list
Subject: [Xerte] Undefined variable: session_id
I've just tried to get Xerte installed onto an Ubuntu box. I'm getting the following error when I bring up the management page:
Notice: Undefined variable: session_id in /var/www/xerte/management.php on line 111 Notice: Undefined variable: database_fail in /var/www/xerte/website_code/php/database_library.php on line 49
This is stopping me from adding users.
also can I ask what the status of the online tools is? I noticed that a beta of version 3 is available for the desktop. Will there be a similar version upgrade for the online tools. As in so many things nowadays we're keen to push forward with things being available via a browser if possible.
Dan
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.
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk<mailto: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.
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk<mailto: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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110111/34c5f0ab/attachment-0001.html
More information about the Xerte
mailing list