[Xerte] Xerte on a Stick
Patrick Lockley
Patrick.Lockley at nottingham.ac.uk
Thu May 28 10:29:48 BST 2009
I think management.php won't work then - as I don't offer default values for the username and password (for security reasons), but the management.php code won't accept "" and "" as valid.
-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Rochford, Thomas
Sent: 28 May 2009 10:08
To: Xerte discussion list
Subject: RE: [Xerte] Xerte on a Stick
I haven't hard-coded any passwords into my version of Xerte on a Stick, other
than for Moodle, which is documented in the start-up screen. I've taken all
the defaults as recommended in the installation guide for 'localhost'.
I do issue a warning that MAXOS should not be run on a computer which is
connected to an untrusted network unless it is running a local firewall. It
*is* after all intended for off-line use.
Kindest Regards,
Thomas
-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
Sent: 28 May 2009 08:40
To: Xerte discussion list
Subject: RE: [Xerte] Xerte on a Stick
Go
Start | Programs | Apache Friends | XAMPP | Xampp Control Panel
Stop apache and mysql
Start | Control Panel | Administrative tools | Services | World Wide Web
publishing
Right click on it, select stop (it might be stopped anyways)
I don't know what the default password is for Xerte on a stick?
But
<?PHP
include "database.php";
$mysql_connect_id =
@mysql_connect($xerte_toolkits_site->database_host,
$xerte_toolkits_site->database_username,
$xerte_toolkits_site->database_password);
mysql_select_db($xerte_toolkits_site->database_name) or
die($database_fail = true);
$query = "select * from " .
$xerte_toolkits_site->database_table_prefix . "sitedetails";
$query_response = mysql_query($query);
$row = mysql_fetch_array($query_response);
echo "<pre>";
print_r($row);
echo "</pre>";
?>
if you put this text in a php file in the root of the toolkits install and
then run it, it'll dump out all the site settings - you're looking for
admin_username and admin_password on the text that will appear on the screen.
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 28 May 2009 07:08
To: Xerte discussion list
Subject: [Xerte] Xerte on a Stick
It is 6am, and I am sitting by a swimming pool watching the sunrise over
Dakar.
- How do I configure my computer so I can have an installed version of XAMPP
with toolkits in it and at the same time run Xerte on a Stick? I get an error
starting MySQL if I try and run Xerte on a Stick whilst XAMPP is installed.
Uninstall it and it works fine.
- How do I log into the management console so I can install a new template
into my Xerte on a Stick?
The first is just a belt and braces, as I have my presentation later on, and
am unsure whether I'll use my computer, or if Xerte on a Stick will work on
another computer, and I don't want to be stuck trying to install XAMPP in
front of lots of people.
The second doesn't matter too much, but I have a nicer template than Page
Templates to use when presenting. It would be good for Xerte on a Stick users
to be able to access the management stuff though.
J
_______________________________________________
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