[Xerte] Re: Xerte Online Toolkits v1.6

Simon Barne simonbarne at gmail.com
Sat May 7 14:41:13 BST 2011


Is this what you mean? Most of it seems to be commented out already:

	/*require_once("session_handler.php");

	$session_handle = new toolkits_session_handler();

	session_set_save_handler(
array(&$session_handle,'xerte_session_open'),
	
array(&$session_handle,'xerte_session_close'),
	
array(&$session_handle,'xerte_session_read'),
	
array(&$session_handle,'xerte_session_write'),
	
array(&$session_handle,'xerte_session_destroy'),
	
array(&$session_handle,'xerte_session_clean'));*/

	session_start();	
		
	$_SESSION['toolkits_sessionid'] = session_id();
	

I put the last two lines between /* and */, but it made no difference.


-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 May 2011 2:11 PM
To: Xerte discussion list
Subject: [Xerte] Re: Xerte Online Toolkits v1.6

Argh config.PHP

On 7 May 2011, at 13:27, "Simon Barne" <simonbarne at gmail.com> wrote:

> It's already commented out, isn't it? Or is something missing?
> 
> <?PHP /**
> * 
> * Session page, allows pages other than index.php to maintain the session
> *
> * @author Patrick Lockley
> * @version 1.0
> * @copyright Copyright (c) 2008,2009 University of Nottingham
> * @package
> */
> 
> //require_once("config.php");
> 
> //session_name($xerte_toolkits_site->site_session_name);
> 
> //session_start();
> 
> /*if($_SESSION['toolkits_sessionid']!=session_id()){
> 
>    echo session_id() . " " . $_SESSION['toolkits_sessionid'] .
> "<Br><pre>";
> 
>    print_r($_SESSION);
> 
>    echo "</pre>";
> 
>    echo "<br> Le session est mort";
> 
> }*/
> 
> ?>
> 
> 
> 
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 May 2011 12:49 PM
> To: Xerte discussion list
> Subject: [Xerte] Re: Xerte Online Toolkits v1.6
> 
> Go into session.PHP and comment out the database code for sessions (is at
> the bottom)
> 
> On 7 May 2011, at 12:19, "Simon Barne" <simonbarne at gmail.com> wrote:
> 
>> I have done a fresh install of Xerte Online Toolkits v1.6 in a new
>> directory. Everything seemed to install OK, but there is still the
problem
> I
>> had with the beta version: I cannot select projects in the main workspace
>> pane after creating or importing them. I can (usually) see the projects,
> but
>> not select them. This means I cannot edit them or inspect their
> properties.
>> Projects also appear simultaneously in the Recycle Bin, as well as the
>> Workspace.
>> 
>> Also, when I log in as the administrator at management.php, the workspace
>> pane is blank with the message "the feature is for administrators only".
>> 
>> I have tried in both Firefox 4 and IE9. Version 1.5 on the same server
>> (SiteGround) still works fine. 
>> 
>> Any ideas?
>> 
>> 
>> 
>> _______________________________________________
>> 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.
>> 
> 
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> 
> 
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte

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




More information about the Xerte mailing list