[Xerte] toolkits installation feedback (+data.xml missing innewUSER-FILES subdirs)

Patrick Lockley Patrick.Lockley at nottingham.ac.uk
Tue Sep 15 15:28:53 BST 2009


Oh I see the change now :)

I wouldn't put the SVN directories on a server - note for the people not
getting the below it will not affect you if you use the installer zip.

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of David Goodwin
Sent: 15 September 2009 15:24
To: Xerte discussion list
Subject: Re: [Xerte] toolkits installation feedback (+data.xml missing
innewUSER-FILES subdirs)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

<snip>

Problem was due to there being .svn directories in the code base which
confused PHP when creating the data.xml and media directories within
USER-FILES.

Fix is below (svn diff) in case it helps others...

Thanks for your help Patrick!

David.

Index: modules/xerte/new_template.php
===================================================================
- --- modules/xerte/new_template.php      (revision 68)
+++ modules/xerte/new_template.php      (working copy)
@@ -35,7 +35,7 @@

                if(is_dir($full)){

- -                       if(($f==".")||($f=="..")){
+                       if(($f==".")||($f=="..")||($f==".svn")){

                        }else{

@@ -173,4 +173,4 @@

 }

- -?>
\ No newline at end of file
+?>

- --
 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

iEYEARECAAYFAkqvo5wACgkQ/ISo3RF5V6b9fQCdGZObPngUolqfc7uTYt9XR4l7
X5oAnjRDvN+wYuo6J/dlV5U5WoSWgNWm
=7Rhd
-----END PGP SIGNATURE-----
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte


More information about the Xerte mailing list