[Xerte] Xerte Patch [Virus Scanned] [Scanned]

Ron Mitchell ronm at mitchellmedia.co.uk
Thu Apr 22 11:11:01 BST 2010


Hi

sounds like the moodle session info isn't being picked up.
 
the toolkits installation is on the same server as the moodle installation and ideally toolkits is a sub directory of the moodle directory yes?

You've edited integration_path.php and added the correct root path to your moodle config.php e.g. 
require("/home/youraccountname/public_html/config.php"); 

yes?

you've checked that directory permissions are as they should be according to toolkits setup?

yes?

Not related to the error but Ideally add a unique cookie name to the moodle > administration > Server > session settings because is some cases without this the automatic redirect doesn't happen.

HTH
Ron

On 22 Apr 2010, at 09:45, Ian Johnson wrote:

> We have installed xerte, but have had problems connecting it to our ldap
>  
> We therefore installed the moodle patch
>  
> We now get the following when trying to access
>  
> php_library_path . "login_library.php"; include $xerte_toolkits_site->php_library_path . "display_library.php"; include $xerte_toolkits_site->php_library_path . "database_library.php"; include $xerte_toolkits_site->php_library_path . "user_library.php"; $mysql_id=database_connect("index.php database connect success","index.php database connect fail"); /* * Check to see if this is a users' first time on the site */ if(check_if_first_time($_SESSION['toolkits_logon_username'])){ /* * create the user a new id */ $_SESSION['toolkits_logon_id'] = create_user_id(); /* * create a virtual root folder for this user */ create_a_virtual_root_folder(); }else{ /* * User exists so update the user settings */ $_SESSION['toolkits_logon_id'] = get_user_id(); update_user_logon_time(); } recycle_bin(); /* * Output the main page, including the user's and blank templates */ echo file_get_contents($xerte_toolkits_site->website_code_path . "management_headers"); echo "
>  
>  
> anyone experienced this error
>  
> Many Thanks,
> Ian
>  
> |Ian Johnson |
> |Web Systems Admin |Learning Development Unit |
> |Stafford College Earl Street Stafford ST16 2QR|Direct Line 01785 275495|
>  
>  
> 
> DISCLAIMER : This message and any attachments are confidential. The information contained herein may only be used for the intended purpose and by the intended recipient. The message and attachments have been swept for the presence of computer viruses. In the light of the growing number and complexity of such viruses the College strongly recommends further checking before any attachments are opened. The College accepts no liability whatsoever for any loss or damage caused by viruses attached to these documents. If this e-mail has come to you in error please delete it and any attachments.
> 
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20100422/29a15206/attachment.html


More information about the Xerte mailing list