<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 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@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">Good afternoon,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m attempting to install Xerte on behalf of the Adult Education College, Bexley.  The setup goes well but fails on the page4.php page.  Each db ‘insert’ query fails with the following error:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">“The sitedetails site ID query insert into sitedetails(site_id) VALUES ( "1") has failed due to No database selected”<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When I’ve checked in phpmyadmin the database and table exists.  I can’t see anything on the previous page about specifying the database name so presume it’s stored in a session variable?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It’s running on an Ubuntu 12.04 server, PHP 5.3.10, Apache 2.2.22, MySQL 5.5.22.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Has anyone any pearls of wisdom about this?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks in advance,<o:p></o:p></p>
<p class="MsoNormal"><br>
Craig<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#7F7F7F;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#7F7F7F;mso-fareast-language:EN-GB">Best regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#404040;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#7F7F7F;mso-fareast-language:EN-GB">Craig Harper<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#E36C0A;mso-fareast-language:EN-GB">Allied Technical Services (UK) Ltd</span><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#404040;mso-fareast-language:EN-GB"><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#404040;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#E36C0A;mso-fareast-language:EN-GB"><img width="57" height="30" id="Picture_x0020_1" src="cid:image001.jpg@01CD757C.91DD3400" alt="Description: newlogo"></span><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#7F7F7F;mso-fareast-language:EN-GB"> 
 Mobile: 07734 544648 | Tel: 020 8306 2002</span><span style="font-size:9.0pt;font-family:"Times New Roman","serif";color:#7F7F7F;mso-fareast-language:EN-GB"> |
</span><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#7F7F7F;mso-fareast-language:EN-GB">Fax: 020 8306 5695</span><span style="font-size:9.0pt;font-family:"Times New Roman","serif";color:#7F7F7F;mso-fareast-language:EN-GB"> |
</span><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#7F7F7F;mso-fareast-language:EN-GB">Web</span><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#404040;mso-fareast-language:EN-GB">:
</span><u><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:blue;mso-fareast-language:EN-GB"><a href="http://www.ats2002.com/"><span style="color:blue">www.ats2002.com</span></a><br>
</span></u><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#7F7F7F;mso-fareast-language:EN-GB">Address: Allied Technical Services (UK) Ltd, 5 Lewis Road, Sidcup, Kent, DA14 4NB</span><span style="font-size:8.0pt;font-family:"Times New Roman","serif";color:#7F7F7F;mso-fareast-language:EN-GB">
 |  </span><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#7F7F7F;mso-fareast-language:EN-GB">Co Registration No: 4392087</span><span style="font-size:8.0pt;font-family:"Times New Roman","serif";color:#7F7F7F;mso-fareast-language:EN-GB">
 | </span><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#7F7F7F;mso-fareast-language:EN-GB">VAT Reg No: 809 6750 03<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#E36C0A;mso-fareast-language:EN-GB"></span><span style="font-size:9.0pt;font-family:"Times New Roman","serif";color:#333333;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Times New Roman","serif";color:#333333;mso-fareast-language:EN-GB"><img border="0" width="600" height="75" id="Picture_x0020_2" src="cid:image002.gif@01CD757C.91DD3400" alt="Description: ssip_banner"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Times New Roman","serif";color:#333333;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#7F7F7F;mso-fareast-language:EN-GB">This email is private and confidential and is for the addressee only. If you have received this email in error, please notify us by
 telephone and confirm that it has been deleted from your system and any hard copies destroyed. You are strictly prohibited from copying, disclosing, using, printing, distributing or disseminating it or any information contained in it. Any attachment received
 in this email should be virus checked by the recipient before being opened. Allied Technical Services (UK) Limited does not accept liability (for negligence or otherwise) for passing on viruses in emails.</span><span style="color:#7F7F7F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>