<p dir="ltr">I realise that one is supposed to to fail but this problem is after this test that it fails. </p>
<p dir="ltr">I'll contact the developers list for help and to offer help. </p>
<p dir="ltr">Thanks </p>
<div class="gmail_quote">On 25 Jan 2013 21:02, "Pat @ Pgogy" <<a href="mailto:xerte@pgogywebstuff.com">xerte@pgogywebstuff.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
One of the test scripts is designed to fail, but if you can make /setup better feel free too.<br>
<br>
You might also like the dev list as that is more techie<br>
<br>
Pgogy Webstuff - <a href="http://www.pgogywebstuff.com" target="_blank">http://www.pgogywebstuff.com</a><br>
Makers of web things of a fair to middling quality<br>
<br>
On 25 Jan 2013, at 15:46, Brian Chivers <<a href="mailto:brian@portsmouth-college.ac.uk">brian@portsmouth-college.ac.uk</a>> wrote:<br>
<br>
> I've just tried to install Xerte toolkit 1.9 onto a freshly setup Ubuntu 12.04 LTS server running the latest mysql / php stack and have run into a problem with the installer php scripts.<br>
><br>
> The server has a FQDN of <a href="http://xerte.portsmouth-college.ac.uk" target="_blank">xerte.portsmouth-college.ac.uk</a> and when I run setup/mysql_test.php on the test where it checks connectivity I get this error<br>

><br>
> Due to the following error - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-<a href="http://college.ac.uk" target="_blank">college.ac.uk</a>' at line 1 - 1064 we cannot ascertain whether we can create this database<br>

><br>
> It would appear that it isn't escaping the FQDN correctly causing the mysql statement to fail.<br>
><br>
> If I rename the server to use our secondary domain <a href="http://tpc.ac.uk" target="_blank">tpc.ac.uk</a> the installer goes through fine so I know there is nothing wrong with the install.<br>
><br>
> I still have the first server so if required I can test altered php files.<br>
><br>
> Thanks<br>
> Brian Chivers<br>
><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>
> 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>
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>
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>
</blockquote></div>