[Xerte] XOT - uploading to root instead of media folder

Dave Burnett d_b_burnett at hotmail.com
Mon Nov 30 10:25:21 GMT 2009



Took a look at the rendered page code of edit.php and noticed this in the vars being passed to the swf:

so.addVariable("upload_path", "upload.php?path=")
I'm guessing path should have a value in it, but not sure where it is pulled from.

Dave



From: d_b_burnett at hotmail.com
To: xerte at lists.nottingham.ac.uk
Subject: RE: [Xerte] XOT - uploading to root instead of media folder
Date: Sun, 29 Nov 2009 11:53:54 -0500









OK, seems to be down to this last little aggravation.
Stuff bound for the project media folder are being uploaded into the site root.

I've cruised the php and database, but can't make out where the upload mechanism is pulling that path from. I'd imagine the tail end of it (specific template_id) is being passed in the session variables?
??

Cheers,
Dave


From: d_b_burnett at hotmail.com
To: d_b_burnett at hotmail.com
Subject: RE: [Xerte] XOT install - down the rabbit hole
Date: Fri, 27 Nov 2009 18:38:41 -0500








Sort of.
The problem seems to be the media are uploading to the root of the install instead of the media folder of the appropriate project.
Thoughts?


 		 	   		  
Windows 7: It works the way you want. Learn more. 		 	   		  
_________________________________________________________________
Bing brings you maps, menus, and reviews organized in one place.
http://www.bing.com/search?q=restaurants&form=MFESRP&publ=WLHMTAG&crea=TEXT_MFESRP_Local_MapsMenu_Resturants_1x1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091130/25cea483/attachment.html


More information about the Xerte mailing list