<HTML dir=ltr><HEAD><TITLE>RE: [Xerte] RE: New install problems</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6002.18167" name=GENERATOR>
<STYLE>
<!--
font-face
        {font-family:"Cambria Math";}
font-face
        {font-family:Calibri;}
font-face
        {font-family:Tahoma;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {
        color:purple;
        text-decoration:underline;}
p
        {
        margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle18
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.HTMLPreformattedChar
        {
        font-family:"Courier New";}
.MsoChpDefault
        {
        font-size:10.0pt;}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY lang=EN-GB vLink=purple link=blue>
<DIV id=idOWAReplyText62290 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hello,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Well the reply was to both of you :)</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>I'm not sure where I use request_uri, is it just on the edit screen?</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>I would suggest installing fiddler, then running and edit window. Try this. Let me see if fiddler shows up anything red.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Pat</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of McDaid, Noel<BR><B>Sent:</B> Mon 19/04/2010 14:57<BR><B>To:</B> 'Xerte discussion list'<BR><B>Subject:</B> RE: [Xerte] RE: New install problems<BR></FONT><BR></DIV>
<DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Sorry, I thought you knew IIS and the snip quote reply to Adam.</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Its related to this thread:</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><A href="http://lists.nottingham.ac.uk/pipermail/xerte/2009-December/003554.html">http://lists.nottingham.ac.uk/pipermail/xerte/2009-December/003554.html</A></SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">I’m processing PHP via FastCGI rather than ISAPI which as you pasted here “</SPAN><SPAN style="FONT-SIZE: 10pt; BACKGROUND: yellow; FONT-FAMILY: 'Courier New'">The *only* way to make Request_URI work as a 100% Apache-Compliant server variable on IIS/Windows is to use an Isapi Filter</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">”</SPAN><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">------------------ SNIP ----------------------------</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">From: <A href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">xerte-bounces at lists.nottingham.ac.uk</A></SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">[mailto:<A href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">xerte-bounces at lists.nottingham.ac.uk</A>] On Behalf Of Patrick</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Lockley</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Sent: 01 December 2009 14:43</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">To: Xerte discussion list</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Subject: RE: [Xerte] XOT install - down the rabbit hole</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">I just googled and got</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><A href="http://davidwalsh.name/iis-php-server-request_uri">http://davidwalsh.name/iis-php-server-request_uri</A></SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Which has the same code in, but doesn't explain why IIS fails.</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">We've definitely installed in on IIS before - Ron isn't one of yours</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">IIS?</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; BACKGROUND: yellow; FONT-FAMILY: 'Courier New'">But the php page says </SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; BACKGROUND: yellow; FONT-FAMILY: 'Courier New'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; BACKGROUND: yellow; FONT-FAMILY: 'Courier New'">"The *only* way to make Request_URI work as a 100% Apache-Compliant</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; BACKGROUND: yellow; FONT-FAMILY: 'Courier New'">server variable on IIS/Windows is to use an Isapi Filter -</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"> as documented</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">at <A href="http://neosmart.net/blog/archives/291">http://neosmart.net/blog/archives/291</A> . The various steps mentioned</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">below *completely* fail when a rewrite engine is employed, since IIS</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">will *never* return a non-existent path (i.e. the actual pretty-URI</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">used) via its server variables. </SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">This also applies to accessing index.php via a folder.</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">For instance, calls made to /folder/ will appear as /folder/index.php</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">and not /folder/.</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">The fix is to use the ISAPI filter provided at</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><A href="http://neosmart.net/blog/archives/291">http://neosmart.net/blog/archives/291</A></SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">You don't have to modify any of the actual scripts once this filter is</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">in place - it automatically intercepts calls to REQUEST_URI and replaces</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">them with the actual user-entered path."</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <B>On Behalf Of </B>Patrick Lockley<BR><B>Sent:</B> 19 April 2010 13:53<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> RE: [Xerte] RE: New install problems</SPAN></P></DIV></DIV>
<P class=MsoNormal> </P>
<P class=MsoNormal> </P>
<P style="MARGIN-BOTTOM: 12pt"><SPAN style="FONT-SIZE: 10pt">No idea what that us and why it would cause a problem<BR><BR>-----Original Message-----<BR>From: xerte-bounces@lists.nottingham.ac.uk on behalf of McDaid, Noel<BR>Sent: Mon 19/04/2010 10:32<BR>To: Xerte discussion list<BR>Subject: RE: [Xerte] RE: New install problems<BR><BR>Understood, and it now doesn't break the server. It still hasn't resolved the issue, could it be the FastCGI Pat?<BR><BR><BR><BR>Regards,<BR><BR><BR><BR>Noel McDaid,<BR><BR>E-Learning Adviser,<BR><BR>Regional Support Centre of NI,<BR><BR>T. 02871276055<BR><BR>M. 07740896140<BR><BR><BR><BR> <BR><BR><BR><BR> <BR><BR><BR><BR><BR><BR>From: xerte-bounces@lists.nottingham.ac.uk [<A href="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</A>] On Behalf Of Patrick Lockley<BR>Sent: 19 April 2010 10:22<BR>To: Xerte discussion list<BR>Subject: RE: [Xerte] RE: New install problems<BR><BR><BR><BR><BR><BR>Adams path was for adams server. You need to add the path to your toolkits install but not as a http address<BR><BR>-----Original Message-----<BR>From: xerte-bounces@lists.nottingham.ac.uk on behalf of McDaid, Noel<BR>Sent: Mon 19/04/2010 10:15<BR>To: Xerte discussion list<BR>Subject: [Xerte] RE: New install problems<BR><BR>Thanks Adam,<BR><BR><BR><BR>The "root_file_path" was empty and I added the path you show, but it breaks the site completely for some reason. Removing the DB entry restores the site.<BR><BR><BR><BR>Regards,<BR><BR><BR><BR>Noel McDaid,<BR><BR>E-Learning Adviser,<BR><BR>Regional Support Centre of NI,<BR><BR>T. 02871276055<BR><BR>M. 07740896140<BR><BR><BR><BR> <BR><BR><BR><BR> <BR><BR><BR><BR><BR><BR>From: xerte-bounces@lists.nottingham.ac.uk [<A href="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</A>] On Behalf Of Adam Read<BR>Sent: 19 April 2010 10:00<BR>To: 'Xerte discussion list'<BR>Subject: [Xerte] RE: New install problems<BR><BR><BR><BR>Hi Noel<BR><BR><BR><BR>This happened to me on an IIS install. If my memory serves me correctly I think it was caused by the install not filling in the some of the details in the sitedetails SQL table:<BR><BR><BR><BR>Check these two columns have entries:<BR><BR><BR><BR><BR><BR><BR><BR>Hope that helps<BR><BR><BR><BR>Adam<BR><BR>___________________________________<BR><BR> Adam Read<BR><BR> Learning Technologist<BR><BR> University College Plymouth St Mark & St John<BR><BR><BR><BR> aread@marjon.ac.uk<BR><BR> tel: 01752 636700 ext: 5673<BR><BR> Room 563, Kirby Cudmore Building<BR><BR> twitter.com/adamread <<A href="http://www.twitter.com/adamread">http://www.twitter.com/adamread</A>><BR><BR><BR><BR>From: xerte-bounces@lists.nottingham.ac.uk [<A href="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</A>] On Behalf Of McDaid, Noel<BR>Sent: 19 April 2010 09:54<BR>To: Xerte discussion list<BR>Subject: [Xerte] New install problems<BR><BR><BR><BR>Apologies if this question has been dealt with a few hundred times, but I have very limited time to get a resolution to an issue with my Xerte installation.<BR><BR><BR><BR>The problem:<BR><BR>I've built a new server on the following platform:<BR><BR>· Windows 2008 x64 bit<BR><BR>· IIS7<BR><BR>· PHP 5.3.2 VC9 x86 Thread Safe version<BR><BR>· MySql - mysql-5.1.45-winx64<BR><BR><BR><BR>The install seemed to go fine until users noticed that when they create new objects they cannot insert any pages to the object. In fact the Insert button seems unavailable as shown in the below image:<BR><BR><BR><BR><BR><BR>Has anyone seen this before or explain what has happened and how to resolve this??<BR><BR><BR><BR>Thanks in advance,<BR><BR><BR><BR><BR><BR>Noel McDaid,<BR><BR>E-Learning Adviser,<BR><BR>Regional Support Centre of NI,<BR><BR>T. 02871276055<BR><BR>M. 07740896140<BR><BR><BR><BR> <BR><BR><BR><BR> <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>________________________________<BR><BR><BR><BR><BR>University College Plymouth St Mark & St John<BR>Derriford Road Plymouth PL6 8BH<BR><BR>Phone 01752 636700 Web marjon.ac.uk<BR><BR><BR>Principal: Professor Margaret Noble<BR><BR><BR><BR><BR><BR>A Church of England College Founded in 1840<BR><BR><BR><BR>University College Plymouth St Mark & St John is a registered charity the trustee of which is a company limited by guarantee registered in England No. 986239<BR><BR><BR><BR><BR><BR><BR><BR></SPAN></P></DIV></DIV></BODY></HTML>