[Xerte] XOT install - down the rabbit hole

Patrick Lockley Patrick.Lockley at nottingham.ac.uk
Mon Nov 30 13:33:07 GMT 2009


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

 

That list looks fine to me.

 

What did fiddler show you?

 

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:30
To: Xerte list
Subject: RE: [Xerte] XOT install - down the rabbit hole

 

 

>Flash_upload_path is set in the site variables and is usually
"upload.php?path="


OK, this is where I don't get it.
When I choose a file and hit edit, the project window opens with this
source:

<script type="text/javascript">
   var so = new SWFObject("modules/xerte/engine/wizard.swf", "mymovie",
"800", "600", "8,0,0,0", "#e0e0e0");
so.addParam("quality", "high");
so.addVariable("xmlvariable",
"USER-FILES/9-Dave-Nottingham/preview.xml");
so.addVariable("rlovariable", "USER-FILES/9-Dave-Nottingham/media/");
so.addVariable("originalpathvariable",
"modules/xerte/parent_templates/Nottingham/");
so.addVariable("template_id", "9");
so.addVariable("template_height", "600");
so.addVariable("template_width", "800");
so.addVariable("read_and_write", "true");
so.addVariable("savepath", "modules/xerte/engine/save.php");
so.addVariable("upload_path", "upload.php?path=");
so.addVariable("preview_path", "modules/xerte/engine/file_exists.php");
so.addVariable("flv_skin",
"http://www.hipgnosys.com/xerte_ot/modules/xerte/engine/tools/SteelOverA
ll.swf");
so.addVariable("site_url", "http://www.hipgnosys.com/xerte_ot/");
so.addVariable("apache", "false");
so.write("flashcontent");
</script>


It looks like the so is instantiated, then the project specific
parameters are passed into it. The paths all look specific except for
the "upload_path" var.
It looks truncated at "" (which could explain why the uploads end up in
root, probably the default in lieu of a full path).

??

   






 

________________________________

Hotmail: Trusted email with Microsoft's powerful SPAM protection. Sign
up now.
<http://clk.atdmt.com/GBL/go/177141664/direct/01/%0d%0ahttp:/clk.atdmt.c
om/GBL/go/177141664/direct/01/%0d%0a> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091130/5baebf8b/attachment.html


More information about the Xerte mailing list