[Xerte] Xerte Online Toolkits V1.0 Released
Rochford, Thomas
t.rochford at rsc-eastern.ac.uk
Thu Apr 9 20:42:15 BST 2009
Hi Patrick,
I downloaded from the Nottingham University, Xerte Website. I still have the
unzipped file on my test laptop where the files are dated 08/04 at 17:57 or
thereabouts. I agree it's very easy to get confused with so many memory
sticks for testing purposes, but I downloaded this one early this morning,
i.e. before it had been overwritten with the current one.
I don't know that much about php but the supplied copy of database.txt on
that version looks like this
<?
/**
*
* database page, has the settings for database connection
*
* @author Patrick Lockley
* @version 1.0
* @copyright Copyright (c) 2008,2009 University of Nottingham
* @package
*/
/*
* Host where database is
*/
$xerte_toolkits_site->database_host = "localhost";
/*
* Username for database
*/
$xerte_toolkits_site->database_username ="DATABASE_USERNAME";
/*
* Password for database
*/
$xerte_toolkits_site->database_password ="DATABASE_PASSWORD";
/*
* Database name
*/
$xerte_toolkits_site->database_name ="toolkits_data_april";
/*
* Database table prefix
*/
$xerte_toolkits_site->database_table_prefix ="tk__";
?>
But i'm guessing it should look like this
<?
/**
*
* database page, has the settings for database connection
*
* @author Patrick Lockley
* @version 1.0
* @copyright Copyright (c) 2008,2009 University of Nottingham
* @package
*/
/*
* Host where database is
*/
$xerte_toolkits_site->database_host = "DATABASE_HOST";
/*
* Username for database
*/
$xerte_toolkits_site->database_username ="DATABASE_USERNAME";
/*
* Password for database
*/
$xerte_toolkits_site->database_password ="DATABASE_PASSWORD";
/*
* Database name
*/
$xerte_toolkits_site->database_name ="DATABASE_NAME";
/*
* Database table prefix
*/
$xerte_toolkits_site->database_table_prefix ="DATABASE_PREFIX";
?>
In order for lines 94 to 96 of page2.php to work properly, i.e.
$buffer = str_replace("DATABASE_HOST",$_POST['host'],$buffer);
$buffer = str_replace("DATABASE_NAME",$_POST['database_name'],$buffer);
$buffer = str_replace("DATABASE_PREFIX",$_POST['database_prefix'],$buffer);
As I said, I'm not a php programmer - my speciality is perl, so if I'm out of
order or my depth, I apologise.
Kindest Regards,
Thomas
RSCs - Stimulating and Supporting Innovation in Learning
RSC Eastern welcomes feedback on our services via
support at rsc-eastern.ac.uk.
Keep up to date with e-bytes for free
http://www.jiscmail.ac.uk/lists/e-bytes.html
**********************************************
Thomas Rochford
e:Learning Advisor, Infrastructure & Learning Technologies
JISC Regional Support Centre - Eastern
Anglia Ruskin University, CU House, Southernhay, Basildon, SS14 1EZ
Eml: t.rochford at rsc-eastern.ac.uk
Mob: 07500 669 002
Fax: 01223 563142
Skype: cambridge.serendipity
http://www.rsc-eastern.ac.uk <http://www.rsc-eastern.ac.uk/>
************************************
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
Sent: 09 April 2009 19:41
To: Xerte discussion list
Subject: RE: [Xerte] Xerte Online Toolkits V1.0 Released
Thomas, sorry if this sounds stupid, but are you going to the main xerte site
or one of the beta urls i sent you?
________________________________
From: xerte-bounces at lists.nottingham.ac.uk on behalf of Rochford, Thomas
Sent: Thu 09/04/2009 16:59
To: Xerte discussion list
Subject: RE: [Xerte] Xerte Online Toolkits V1.0 Released
That's true, it works for me, but it won't work if you want to use a
different database name or a different prefix. Pat had also made changes to
the installation code but I don't think they were *wholly* successful - I
still needed to doctor the 'skeleton' file.
Kindest Regards,
Thomas
RSCs - Stimulating and Supporting Innovation in Learning
RSC Eastern welcomes feedback on our services via
support at rsc-eastern.ac.uk.
Keep up to date with e-bytes for free
http://www.jiscmail.ac.uk/lists/e-bytes.html
**********************************************
Thomas Rochford
e:Learning Advisor, Infrastructure & Learning Technologies
JISC Regional Support Centre - Eastern
Anglia Ruskin University, CU House, Southernhay, Basildon, SS14 1EZ
Eml: t.rochford at rsc-eastern.ac.uk
Mob: 07500 669 002
Fax: 01223 563142
Skype: cambridge.serendipity
http://www.rsc-eastern.ac.uk <http://www.rsc-eastern.ac.uk/>
************************************
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 09 April 2009 16:43
To: Xerte discussion list
Subject: RE: [Xerte] Xerte Online Toolkits V1.0 Released
I made a small update and downloaded the zip, changed my files and uploaded
it again, so I'm not sure. Pat has a few changes to make when he's back next
week, but it sounds as though you've cracked it anyway,
J
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Rochford, Thomas
Sent: Thursday, April 09, 2009 4:37 PM
To: Xerte discussion list
Subject: RE: [Xerte] Xerte Online Toolkits V1.0 Released
I've been busy getting this running on a 'stick' and have had a lot of help
from Patrick. However, even with the new setup files (dated 09/04/2009 @
17:57) I was still having problems until I changed setup/database.txt to read
as follows:
<?
/**
*
* database page, has the settings for database connection
*
* @author Patrick Lockley
* @version 1.0
* @copyright Copyright (c) 2008,2009 University of Nottingham
* @package
*/
/*
* Host where database is
*/
$xerte_toolkits_site->database_host = "localhost";
/*
* Username for database
*/
$xerte_toolkits_site->database_username ="DATABASE_USERNAME";
/*
* Password for database
*/
$xerte_toolkits_site->database_password ="DATABASE_PASSWORD";
/*
* Database name
*/
$xerte_toolkits_site->database_name ="toolkits";
/*
* Database table prefix
*/
$xerte_toolkits_site->database_table_prefix ="";
?>
Also, I've just downloaded xertetoolkits.zip again from the Nottingham
University WebSite and it seems to have reverted to the previous version, or
am I just imagining this?
Regards,
Thomas
RSCs - Stimulating and Supporting Innovation in Learning
RSC Eastern welcomes feedback on our services via
support at rsc-eastern.ac.uk.
Keep up to date with e-bytes for free
http://www.jiscmail.ac.uk/lists/e-bytes.html
**********************************************
Thomas Rochford
e:Learning Advisor, Infrastructure & Learning Technologies
JISC Regional Support Centre - Eastern
Anglia Ruskin University, CU House, Southernhay, Basildon, SS14 1EZ
Eml: t.rochford at rsc-eastern.ac.uk
Mob: 07500 669 002
Fax: 01223 563142
Skype: cambridge.serendipity
http://www.rsc-eastern.ac.uk <http://www.rsc-eastern.ac.uk/>
************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20090409/80b9e6cb/attachment.html
More information about the Xerte
mailing list