[Xerte] XOT install - down the rabbit hole

Patrick Lockley Patrick.Lockley at nottingham.ac.uk
Tue Dec 1 15:50:17 GMT 2009


Dave, send us your site details table, I need to check something J

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 01 December 2009 15:49
To: Xerte list
Subject: RE: [Xerte] XOT install - down the rabbit hole

 


The strictly IIS stuff I ran across was:

- The postback to index.php when index.php is set as default directory
page.

- MIME types (although I subsequently removed the my mappings and it
worked anyway. My ISP must have them on there already).

- The upload.php issue with REQUEST_URI.

I think these issues are version dependent though.
i.e. the gen I read said the postback issue is IIS4 and 5.

Dave

________________________________

Subject: RE: [Xerte] XOT install - down the rabbit hole
Date: Tue, 1 Dec 2009 15:14:17 +0000
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk

This would be a really good week to get to the bottom of this. The
problem for us is we don't use IIS, so can't easily test it. Pat is
busily writing up a load of technical documentation right now to cover
installing toolkits, chapter and verse and IIS is obviously a
consideration, and I'd like to see it included in the docs. 

 

I also thought we had it working on IIS somewhere?

 

J

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: Tuesday, December 01, 2009 3:02 PM
To: Xerte discussion list
Subject: RE: [Xerte] XOT install - down the rabbit hole

 

I couldn't get XOT working on IIS last time I tried. Installed ok,
logs-on ok using the local auth but then not much else works.  When
"editing" the learning object most of the buttons aren't clickable.

 

See for yourself: http://elearning.net.marjon.ac.uk/rlo/ 

username: jblogs

password: test123

 

Anyone else come across this issue? 

 

Adam

___________________________________

 Adam Read

 Learning Technologist

 University College Plymouth St Mark & St John

 

 aread at marjon.ac.uk 

 tel: 01752 636700 ext: 5673

 Room 563, Kirby Cudmore Building

 twitter.com/adamread <http://www.twitter.com/adamread>  

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick
Lockley
Sent: 01 December 2009 14:43
To: Xerte discussion list
Subject: RE: [Xerte] XOT install - down the rabbit hole

 

I just googled and got

 

http://davidwalsh.name/iis-php-server-request_uri

 

Which has the same code in, but doesn't explain why IIS fails.

 

We've definitely installed in on IIS before - Ron isn't one of yours
IIS?

 

But the php page says 

 

"The *only* way to make Request_URI work as a 100% Apache-Compliant
server variable on IIS/Windows is to use an Isapi Filter - as documented
at http://neosmart.net/blog/archives/291 . The various steps mentioned
below *completely* fail when a rewrite engine is employed, since IIS
will *never* return a non-existent path (i.e. the actual pretty-URI
used) via its server variables. 

This also applies to accessing index.php via a folder.
For instance, calls made to /folder/ will appear as /folder/index.php
and not /folder/.

The fix is to use the ISAPI filter provided at
http://neosmart.net/blog/archives/291

You don't have to modify any of the actual scripts once this filter is
in place - it automatically intercepts calls to REQUEST_URI and replaces
them with the actual user-entered path."

 

Which is a bit erm.........

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 01 December 2009 11:01
To: Xerte list
Subject: RE: [Xerte] XOT install - down the rabbit hole

 


Tested a few variations and seems to be good.
Checked the install files and that seems to be the only instance of
REQUEST_URI.
Not sure if those additional lines beggar anything on the Unix/Linux
side of things.

Thanks Patrick.

Dave

________________________________

From: d_b_burnett at hotmail.com
To: xerte at lists.nottingham.ac.uk
Subject: RE: [Xerte] XOT install - down the rabbit hole
Date: Mon, 30 Nov 2009 10:13:03 -0500


Tarnation!
Found it. I must be one of the few working off IIS or something.
IIS has an issue with REQUEST_URI.
It just silently fails.

I added this to upload.php:

if (!isset($_SERVER['REQUEST_URI']))
{
$_SERVER['REQUEST_URI'] = substr($_SERVER['PHP_SELF'],1 );
if (isset($_SERVER['QUERY_STRING'])) {
$_SERVER['REQUEST_URI'].='?'.$_SERVER['QUERY_STRING']; }
}


Away to the races...



________________________________

Subject: RE: [Xerte] XOT install - down the rabbit hole
Date: Mon, 30 Nov 2009 14:12:57 +0000
From: Patrick.Lockley at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk

Anywhere after <?

 

And before ?>

 

Click on the link in question on the LHS and then look in the lower box
on the RHS

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 30 November 2009 14:12
To: Xerte list
Subject: RE: [Xerte] XOT install - down the rabbit hole

 


Thanks Patrick.
Where in upload.php should the line go and where should it appear in
interface.
Tried it and got nothing on screen I could see. 

________________________________

Subject: RE: [Xerte] XOT install - down the rabbit hole
Date: Mon, 30 Nov 2009 13:57:16 +0000
From: Patrick.Lockley at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk

Did you put the print_r($_SERVER) into the upload page?

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 30 November 2009 13:45
To: Xerte list
Subject: RE: [Xerte] XOT install - down the rabbit hole

 

 

>It only appears "truncated" as the upload data is provided in other
variables (rlovariable for example).

 

Ah. Thanks.

 

  

>What did fiddler show you?

http://www.hipgnosys.com/xerte_ot/index.php
http://www.hipgnosys.com/xerte_ot/edit.php?template_id=9
http://www.hipgnosys.com/xerte_ot/USER-FILES/9-Dave-Nottingham/preview.x
ml?myvar=1259588415664
http://www.hipgnosys.com/xerte_ot/modules/xerte/engine/upload.php?path=U
SER-FILES/9-Dave-Nottingham/media/

 

________________________________

Windows 7: I wanted simpler, now it's simpler. I'm a rock star.
<http://www.microsoft.com/Windows/windows-7/default.aspx?h=myidea?ocid=P
ID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_myidea:112009> 

 

________________________________

Windows 7: It works the way you want. Learn more.
<http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::
T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen:112009v2> 

 

________________________________

Bing brings you maps, menus, and reviews organized in one place. Try it
now.
<http://www.bing.com/search?q=restaurants&form=MFESRP&publ=WLHMTAG&crea=
TEXT_MFESRP_Local_MapsMenu_Resturants_1x1>  

________________________________

Get gifts for them and cashback for you. Try Bing now.
<http://www.bing.com/shopping/search?q=xbox+games&scope=cashback&form=MS
HYCB&publ=WLHMTAG&crea=TEXT_MSHYCB_Shopping_Giftsforthem_cashback_1x1> 

 
 



________________________________



 
 
University College Plymouth St Mark & St John
Derriford Road   Plymouth  PL6 8BH

Phone 01752 636700   Web  marjon.ac.uk


Principal: Professor Margaret Noble 

 

 

A Church of England College Founded in 1840

 

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

 

 
 

 

________________________________

Windows Live(tm) Hotmail is faster and more secure than ever. Learn
more.
<http://www.microsoft.com/windows/windowslive/hotmail_bl1/hotmail_bl1.as
px?ocid=PID23879::T:WLMTAGL:ON:WL:en-ww:WM_IMHM_1:092009> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091201/4ed55851/attachment.html


More information about the Xerte mailing list