[Xerte] toolkits installation feedback (+data.xml missing in new
USER-FILES subdirs)
David Goodwin
david at palepurple.co.uk
Tue Sep 15 13:42:52 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Random things regarding installation :
a) When using an LDAP server, the ldap filter fields are pre-set to e.g.
uid= - the code ends up doing "uid==..." which breaks; so could the
'suggestion' of 'uid=' be changed to 'uid'? for the main filter and
secondary filter?
b) Looking in the database, a number of the tables don't have any
indexes or [primary] keys - e.g. templatesyndication, templaterights.
This isn't necessarily an issue - but it seems a bit odd.
c) If you're ever wanting to spend time on something (!!), reform the
sitedetails page so it's in the form of :
name / value
rather than one single row with many fields. This would make it more
flexible (e.g. select value from sitedetails where name = 'bind_dn') and
make it easier to store more configuration options in the future without
having to update the schema.
Anyway, after going off on a tangent, my problem is as follows :
I've created a user in the ldap directory, and they can login to a new
instance of xerte. After logging in, I see the entry in the database
table logindetails is created.
However, when trying to create content I see errors like the following
occurring :
Warning:
copy(/var/www/vhosts/xerte.xxxxx.palepurple.co.uk/htdocs/USER-FILES/3-derrin-Nottingham/data.xml)
[function.copy]: failed to open stream: No such file or directory in
/var/www/vhosts/xerte.xxxxx.palepurple.co.uk/htdocs/modules/xerte/edit.php
on line 46
Warning: chmod() [function.chmod]: No such file or directory in
/var/www/vhosts/xerte.xxxxx.palepurple.co.uk/htdocs/modules/xerte/edit.php
on line 48
The USER-FILES subdirectories are all empty, and do not contain e.g.
data.xml or preview.xml. These do exist in e.g.
./modules/xerte/templates/Nottingham/data.xml but I can't seem to find
any code which is responsible for copying this data.xml to the
USER-FILES sub-directory.
I installed through an svn co of the code from google.
( http://xerte.googlecode.com/svn/trunk/toolkits_server ); currently
using revision 68.
thanks
David.
- --
David Goodwin Pale Purple Limited
Office: 0845 0046746 Mobile: 07792380669
http://www.palepurple.co.uk Company No: 5580814
'Business Web Application Development and Training in PHP'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkqvi8wACgkQ/ISo3RF5V6Z6pQCg9tRcuEcPKEklqxqwWuBdrLbk
aP4An06FaZWnaxy7U8VYNfE3FQ89761U
=GY1s
-----END PGP SIGNATURE-----
More information about the Xerte
mailing list