[Xerte-dev] Bug in the installer from Github

Smith, John J.J.Smith at gcu.ac.uk
Fri Feb 7 14:44:56 GMT 2014


Hi all,

We appear to have a bug in the installer that is on Github (and presumably in the wild). I have logged two issues on Github and think it relates to a bug that I've seen in the Forum.

We are trying to start the session AFTER content has been sent on a number of pages so I think it will break all new setups. This gives us the first error.


Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /Users/xxx/Sites/XOT_WORKING/setup/page_password.php:3) in /Users/xxx/Sites/XOT_WORKING/setup/page_password.php on line 4

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /Users/xxx/Sites/XOT_WORKING/setup/page_password.php:3) in /Users/xxx/Sites/XOT_WORKING/setup/page_password.php on line 4
Sorry, the attempt to open database using account root failed. MySQL reports the following error -

But then, after moving the session_start() to the beginning of the file and going through again, I get this

1064 - 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 '' at line 1


I'm sure someone else got this also...

If I revert back to the beginning and do an XAMPP install instead of a full install then it appears to work fine so there "might" be an error in  the full server setup routines when used to install to XAMPP.

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20140207/831e47cb/attachment.html>


More information about the Xerte-dev mailing list