[Xerte] XOT install - down the rabbit hole

Dave Burnett d_b_burnett at hotmail.com
Tue Dec 1 11:00:36 GMT 2009



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.xml?myvar=1259588415664

http://www.hipgnosys.com/xerte_ot/modules/xerte/engine/upload.php?path=USER-FILES/9-Dave-Nottingham/media/



 











Windows 7: I wanted simpler, now it's
simpler. I'm
a rock star.



 







Windows 7: It works the way you want. Learn more.

 		 	   		  
Bing brings you maps, menus, and reviews organized in one place. Try it now. 		 	   		  
_________________________________________________________________
Get gifts for them and cashback for you. Try Bing now.
http://www.bing.com/shopping/search?q=xbox+games&scope=cashback&form=MSHYCB&publ=WLHMTAG&crea=TEXT_MSHYCB_Shopping_Giftsforthem_cashback_1x1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091201/e67f28a4/attachment.html


More information about the Xerte mailing list