[Xerte] Re: Problem with installer

Pat @ Pgogy xerte at pgogywebstuff.com
Fri Jan 25 21:01:09 GMT 2013


One of the test scripts is designed to fail, but if you can make /setup better feel free too.

You might also like the dev list as that is more techie

Pgogy Webstuff - http://www.pgogywebstuff.com
Makers of web things of a fair to middling quality

On 25 Jan 2013, at 15:46, Brian Chivers <brian at portsmouth-college.ac.uk> wrote:

> 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.
> 
> The server has a FQDN of xerte.portsmouth-college.ac.uk and when I run setup/mysql_test.php on the test where it checks connectivity I get this error
> 
> 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 '-college.ac.uk' at line 1 - 1064 we cannot ascertain whether we can create this database
> 
> It would appear that it isn't escaping the FQDN correctly causing the mysql statement to fail.
> 
> If I rename the server to use our secondary domain tpc.ac.uk the installer goes through fine so I know there is nothing wrong with the install.
> 
> I still have the first server so if required I can test altered php files.
> 
> Thanks
> Brian Chivers
> 
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> 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.
> 
> 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.



More information about the Xerte mailing list