Are you installing 1.7 or 1.8?<br><br>I think that error usually comes from database.php not being written to the root of the website. Check to see if that file is there<br><br><div class="gmail_quote">On Wed, Aug 8, 2012 at 3:43 PM, Craig Harper <span dir="ltr"><<a href="mailto:ch@ats2002.com" target="_blank">ch@ats2002.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal">Good afternoon,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></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:<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">“The sitedetails site ID query insert into sitedetails(site_id) VALUES ( "1") has failed due to No database selected”<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></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?<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></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.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Has anyone any pearls of wisdom about this?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks in advance,<u></u><u></u></p>
<p class="MsoNormal"><br>
Craig<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#7f7f7f"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#7f7f7f">Best regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#404040"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#7f7f7f">Craig Harper<u></u><u></u></span></b></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#e36c0a">Allied Technical Services (UK) Ltd</span><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#404040"><u></u><u></u></span></b></p>

<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#404040"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#e36c0a"><img src="" alt="Description: newlogo" height="30" width="57"></span><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#7f7f7f"> 
 Mobile: 07734 544648 | Tel: 020 8306 2002</span><span style="font-size:9.0pt;font-family:"Times New Roman","serif";color:#7f7f7f"> |
</span><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#7f7f7f">Fax: 020 8306 5695</span><span style="font-size:9.0pt;font-family:"Times New Roman","serif";color:#7f7f7f"> |
</span><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#7f7f7f">Web</span><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#404040">:
</span><u><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:blue"><a href="http://www.ats2002.com/" target="_blank"><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">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">
 |  </span><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#7f7f7f">Co Registration No: 4392087</span><span style="font-size:8.0pt;font-family:"Times New Roman","serif";color:#7f7f7f">
 | </span><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#7f7f7f">VAT Reg No: 809 6750 03<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#e36c0a"></span><span style="font-size:9.0pt;font-family:"Times New Roman","serif";color:#333333"><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Times New Roman","serif";color:#333333"><img src="" alt="Description: ssip_banner" height="75" border="0" width="600"><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Times New Roman","serif";color:#333333"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#7f7f7f">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"><u></u><u></u></span></p>

<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<br>
<p>
This message and any attachment are intended solely for the addressee and may 
contain confidential information. If you have received this message in error, 
please send it back to me, and immediately delete it.   Please do not use, 
copy or disclose the information contained in this message or in any attachment.  
Any views or opinions expressed by the author of this email do not necessarily 
reflect the views of the University of Nottingham.
</p>
<p>
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
</p>
</div>

<br>_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>
<br>
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<br>

<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.<br>
<br>
<br></blockquote></div><br>