<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<BR>From: Patrick.Lockley@nottingham.ac.uk<BR><BR>
<DIV dir=ltr id=ecxidOWAReplyText32610>
<DIV dir=ltr><FONT color=#000000 size=2 face=Arial>The reason the database name is blank is almost certainly because either the setup folder or the root folder are not set to be writable to and so the process fails.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial>SR: Actually, I had read in the setup instructions that the directories needed to be writable so I set the whole xerte directory (and subdirectories) to full access.</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2 face=Arial>Your later paragraphs may well reflect the fact your sitedetails table is basically empty, as your setup failed.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial>SR: Actually, no.&nbsp; The sitedetails table is full of entries.&nbsp; It was the php_library_path field that I thought might have been incorrect... turns out, it wasn't!.. so I put it back.</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2 face=Arial>Switching from index to demo will not really achieve anything other than removing the requirement for LDAP.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial>SR: Yep, that's what I was going for.&nbsp; The developers will enter through our LMS and as such will have already been authenticated.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial>sr</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR>
<FONT size=2 face=Tahoma><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of Steve Ricketts<BR><B>Sent:</B> Sun 07/03/2010 16:35<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> Re: [Xerte] Full install failing on page 4: No database selected<BR></FONT><BR></DIV>
<DIV>
<DIV><FONT face=Calibri>Amazing!!&nbsp; Just like magic, thanks!&nbsp; For some reason the database name was blank in database.php.&nbsp; Switched&nbsp;demo.txt to index.php.&nbsp; Works fine now... the setup that is.&nbsp; <IMG style="FLOAT: none" title="Sad smile emoticon" alt="Sad smile emoticon" src="https://owa.nottingham.ac.uk/exchange/cczpl/Drafts/RE:%20[Xerte]%20Full%20install%20failing%20on%20page%204:%20No%20database%20selected.EML/1_multipart/Emoticon10.gif"></FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>Thought I was home free, but tried to create a project.&nbsp; That went fine.&nbsp; Tried to edit... that didn't.&nbsp; Got a 500 error.&nbsp; Checked properties of that project.&nbsp; Got a JS error yelling about properties_ajax_php_path being undefined.&nbsp; Tried edit&nbsp;again... no 500 error but display basically locked.&nbsp;&nbsp;&nbsp;Not "locked" locked, just the buttons didn’t to anything.&nbsp; Exited the window, go another JS error: on line 30, window_reference.edit_window_close_path(path)</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>Figured I had something wrong in the php path, took your #3 suggestion,&nbsp;and found php_library_path field in sitedetails table set to website_code/PHP/... thought I missed a config parameter and changed it to where my PHP install physically resides (c:\program files (x86)\PHP\)... not a good thing to do!&nbsp; Nothing worked.&nbsp; Decided I didn't know what the H I'm doing and better post before I destroy more. </FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>sr</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>PS.&nbsp; php_library_path returned to normal.</FONT></DIV>
<DIV><BR></DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV style="BACKGROUND: #f5f5f5">
<DIV><B>From:</B> <A title=ronm@mitchellmedia.co.uk href="mailto:ronm@mitchellmedia.co.uk">RonM</A> </DIV>
<DIV><B>Sent:</B> Sunday, March 07, 2010 10:12 AM</DIV>
<DIV><B>To:</B> <A title=xerte@lists.nottingham.ac.uk href="mailto:xerte@lists.nottingham.ac.uk">'Xerte discussion list'</A> </DIV>
<DIV><B>Subject:</B> RE: [Xerte] Full install failing on page 4: No database selected</DIV></DIV></DIV>
<DIV><BR></DIV>
<DIV class=ecxSection1>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Hi Steve</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">I’ve had this kind of problem on windows/IIS installations too. So a couple of suggestions but from memory...</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"></SPAN>&nbsp;</P>
<P style="TEXT-INDENT: -18pt" class=ecxMsoListParagraph><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><SPAN>1.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Try the installation again but before you submit page3 to page 4 check database.php which should be created automatically in the root of your install but may not have all the correct values. If it doesn’t edit that so that it does and then submit page 3 to page 4.</SPAN></P>
<P style="TEXT-INDENT: -18pt" class=ecxMsoListParagraph><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><SPAN>2.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">If that all works remember that if you haven’t used ldap you will need to rename index.php and either use switch.txt or demo.txt renamed to index.php</SPAN></P>
<P style="TEXT-INDENT: -18pt" class=ecxMsoListParagraph><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><SPAN>3.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">If steps 2 &amp; 3 don’t work check the site details table for errors if some of the paths are incorrect try fixing those in the database.</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"></SPAN>&nbsp;</P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Pat may have other suggestions but try this and post back to the list.</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">HTH</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Ron</SPAN></P>
<P class=ecxMsoNormal><A name=_MailEndCompose><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"></SPAN></A>&nbsp;</P>
<DIV>
<DIV style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<P class=ecxMsoNormal><B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt" lang=EN-US>From:</SPAN></B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt" lang=EN-US> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <B>On Behalf Of </B>Steve Ricketts<BR><B>Sent:</B> 07 March 2010 14:41<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> [Xerte] Full install failing on page 4: No database selected</SPAN></P></DIV></DIV>
<P class=ecxMsoNormal>&nbsp;</P>
<DIV>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'" lang=EN-US>I'm trying a new full install on Windows Vista with IIS.&nbsp; It creates the database fine but when I get to the 4th page there are a ton of errors all ending with no database selected.&nbsp; I've changed the setup/database.txt file to reflect the current installation (found that in post) but there is no change in the errors.&nbsp; I basically left the mysql information on page3.php alone.&nbsp; Can anyone help me to the next step?</SPAN><SPAN lang=EN-US></SPAN></P></DIV>
<DIV>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'" lang=EN-US><BR>Thanks,</SPAN></P></DIV>
<DIV>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'" lang=EN-US></SPAN>&nbsp;</P></DIV>
<DIV>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'" lang=EN-US>sr</SPAN><SPAN lang=EN-US></SPAN></P></DIV>
<DIV>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt" lang=EN-US></SPAN>&nbsp;</P></DIV>
<DIV>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'" lang=EN-US>PS. Regarding the discussion of&nbsp;forum vs. e-mail, as a newcomer the response of the e-mail replies is terrific and very helpful.&nbsp; However, what I really would like is a way to easily look back at a threaded discussion on a specific issue... I have many I need to chase and am reluctant to ask questions about every silly thing that pops into my head.&nbsp;&nbsp;&nbsp;Today,&nbsp;I used the newly reference search function to find some information on the problem mentioned above, but it was very difficult to follow.&nbsp; There are multiple topics in the threads and it's easy to loose your way... I'm not sure I found all the references.</SPAN><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt" lang=EN-US></SPAN></P></DIV>
<DIV>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt" lang=EN-US></SPAN>&nbsp;</P></DIV>
<DIV>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'" lang=EN-US>Is there no way to have your cake and eat it too... (then again what's the purpose of having the cake in the first place!) where you can e-mail each post&nbsp;in a forum to the mailing list?&nbsp;&nbsp; You could have your forum topic areas and those that wanted to follow that route could deal with a regular forum (sub topics, search threads, etc.) and the mailing list people still get to receive each post in their e-mail.</SPAN><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt" lang=EN-US></SPAN></P></DIV></DIV>

<HR>

<P><BR>_______________________________________________<BR>Xerte mailing list<BR>Xerte@lists.nottingham.ac.uk<BR>http://lists.nottingham.ac.uk/mailman/listinfo/xerte<BR></DIV>                                               <br /><hr />Hotmail: Trusted email with powerful SPAM protection. <a href='http://clk.atdmt.com/GBL/go/201469227/direct/01/' target='_new'>Sign up now.</a></body>
</html>