<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.apple-style-span
{mso-style-name:apple-style-span;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Edit config.php and turn off debugging - look for the line which is like :<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>$development = true;<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>and change it to :<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>$development = false;<o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>How should we distribute the files in the zip? With $development on or off?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-dev-bounces@lists.nottingham.ac.uk [mailto:xerte-dev-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>David Goodwin<br><b>Sent:</b> 25 January 2013 11:02<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: Problems with xampp install<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:36.0pt'>Hi,<o:p></o:p></p><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>Edit config.php and turn off debugging - look for the line which is like :<o:p></o:p></p><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>$development = true;<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>and change it to :<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>$development = false;<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>That'll make /tmp/debug.log things go away.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>The second issue is because the recursion code isn't very good and isn't ignoring '.' directories - like .svn<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>One fix, is to do an 'svn export' and not an 'svn checkout' or install from the .zip on the website.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>If you want to run XOT from an SVN checkout (i.e. ".svn" directories everywhere) then changing the line in config.php which reads :<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>if($folder!="."&&$folder!="..")<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>to something like :<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><div><p class=MsoNormal style='margin-left:36.0pt'>if($folder!="."&&$folder!=".."&&$folder!=".svn")<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>should fix it.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>David.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p><div><div><p class=MsoNormal style='margin-left:36.0pt'>On 25 Jan 2013, at 10:33, Fay Cross <<a href="mailto:Fay.Cross@nottingham.ac.uk">Fay.Cross@nottingham.ac.uk</a>> wrote:<o:p></o:p></p></div><p class=MsoNormal style='margin-left:36.0pt'><br><br><o:p></o:p></p><div><div><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>I’ve just updated my xampp with the most up to date files but it’s throwing up some errors. I thought I might have deleted something I shouldn’t have done so have tried a fresh install but I am still getting the same problems.<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>I get these errors at the top of the page (and then the first one repeated about 30 times)...<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><br><b>Warning</b>: touch() [<a href="http://localhost/xerteonlinetoolkits/function.touch"><span style='color:purple'>function.touch</span></a>]: Unable to create file /tmp/debug.log because No such file or directory in<span class=apple-converted-space> </span><b>C:\xampp\htdocs\xerteonlinetoolkits\functions.php</b><span class=apple-converted-space> </span>on line<span class=apple-converted-space> </span><b>21</b><br><br><b>Warning</b>: opendir(C:\xampp\htdocs\xerteonlinetoolkits/modules/.svn/templates) [<a href="http://localhost/xerteonlinetoolkits/function.opendir"><span style='color:purple'>function.opendir</span></a>]: failed to open dir: No such file or directory in<span class=apple-converted-space> </span><b>C:\xampp\htdocs\xerteonlinetoolkits\config.php</b><span class=apple-converted-space> </span>on line<span class=apple-converted-space> </span><b>124</b><br><br><b>Warning</b>: readdir() expects parameter 1 to be resource, boolean given in<span class=apple-converted-space> </span><b>C:\xampp\htdocs\xerteonlinetoolkits\config.php</b><span class=apple-converted-space> </span>on line<span class=apple-converted-space> </span><b>126</b><br><br><b>Warning</b>: session_start() [<a href="http://localhost/xerteonlinetoolkits/function.session-start"><span style='color:purple'>function.session-start</span></a>]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\xerteonlinetoolkits\functions.php:21) in<b>C:\xampp\htdocs\xerteonlinetoolkits\auth_config.php</b><span class=apple-converted-space> </span>on line<span class=apple-converted-space> </span><b>45</b><o:p></o:p></span></p></div><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'><br><br><br>_______________________________________________<br>Xerte-dev mailing list<br><a href="mailto:Xerte-dev@lists.nottingham.ac.uk"><span style='color:purple'>Xerte-dev@lists.nottingham.ac.uk</span></a><br><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev"><span style='color:purple'>http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</span></a><o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p><div><div><div><div><div><div><div><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";color:black'>Pale Purple Ltd. (Company No: 5580814)<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";color:black'>'Web and Mobile Application Development for Business'<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";color:black'><a href="http://www.palepurple.co.uk">http://www.palepurple.co.uk</a> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";color:black'>Office: 0845 0046746 Mobile: 07792380669 <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";color:black'>Follow us on Twitter: @PalePurpleLtd<o:p></o:p></span></p></div></div></div></div></div></div></div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div></div></div></div></body></html>