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

Ian Johnson i.johnson at staffordcoll.ac.uk
Thu Apr 22 12:25:52 BST 2010


Ron, changed this and unfortunately same error

 

Ian

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 22 April 2010 12:09
To: Xerte discussion list
Subject: Re: [Xerte] Xerte Patch [Virus Scanned] [Scanned]

 

Try changing the path to require("/moodle/config.php"); 

 

or if moodle isn't the inetpub home directory add whatever is before
/moodle/config.php e.g. /wwwroot/moodle/config.php

 

 

On 22 Apr 2010, at 11:40, Ian Johnson wrote:





Thanks for your swift reply ron

 

the toolkits installation is on the same server as the moodle
installation and ideally toolkits is a sub directory of the moodle
directory yes?

 

Yes sits within xerte folder within moodle folder

 

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"); 

 

using a windows box - using root in C:\moodle\config.php

 

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

 

Yes toolkit persmissions appear ok as we install completed fine

 

I will check the moodle server settings for a unique cookie

 

Many Thanks,

Ian

 

|Ian Johnson |

|Web Systems Admin |Learning Development Unit |

|Stafford College Earl Street Stafford ST16 2QR|Direct Line 01785
275495|

 

 

 

 

 

 

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 22 April 2010 11:11
To: Xerte discussion list
Subject: Re: [Xerte] Xerte Patch [Virus Scanned] [Scanned]

 

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

 

 

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

 


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20100422/1e553cae/attachment.html


More information about the Xerte mailing list