[Xerte] Toolkit template management errors
Patrick Lockley
Patrick.Lockley at nottingham.ac.uk
Fri Oct 16 11:34:56 BST 2009
That approach can't work, as the .htaccess needs to be in the root of
the site, so if the root isn't writable, and you select htaccess when
installing it will fail.
The issue of re-running the installer, is the installer doesn't know
what you called your tables - you can give them a prefix of your
choosing.
-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Fred Riley
Sent: 16 October 2009 10:38
To: Xerte discussion list
Subject: RE: [Xerte] Toolkit template management errors
> The XAMPP install is PC only really, if it doesn't say that I
> should put it in.
<shrug> No big.
> The root of the installer needs to writable in case you use a
> htacess or the database.php. The installer lists the security
> settings you need to install, and those that should remain
> post installation.
Yes, I did see that documentation when I tried the 'standard' installer,
though I hit a number of PHP errors and didn't bother going further. It
seemed a bit involved, but then a lot of things are going on in the
setup requiring write permissions. What might be better than making the
whole installation directory world write, then having to return it to
read-only afterwards, would be doing all the writing in a writeable
/setup directory, creating an empty database.php file, and telling the
user to set /setup, database.php, index.php and demo.txt to writeable.
This sort of approach is fairly common in PHP installations I've used,
and would be less insecure than setting a whole directory to 777.
Anyway, just a minor suggestion.
One other minor suggestion: if the installer (sort of) fails and you
rerun it, you get mySQL warnings saying that tables already exist. It
might be worth building in a small 'if not table toolkits_data.wossname
exists create table toolkits_data.wossname' error trap.
Cheers
Fred
Fred Riley
Learning Technologist
School of Nursing, Midwifery and Physiotherapy, University of Nottingham
Vcard: http://www.nottingham.ac.uk/nursing/sonet/about/fr_uon.vcf
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
More information about the Xerte
mailing list