[Xerte] XOT install - down the rabbit hole
Dave Burnett
d_b_burnett at hotmail.com
Mon Nov 30 12:52:21 GMT 2009
>But the directory is left empty for the post ( action="" )
Yes, but I think the referrer includes the complete URL.
Once index.php is set as the default page, index.php becomes implicit, so the passed POST URL drops index.php and ends in the directory nomen: "/", which IIS 4 and 5 don't accept as a valid POST target.
It
will set a session ID, definitely, but it does nothing with Cookies.
I guess that sessionID is being set and used off the local machine somehow, at least in FF.
Neil
W, if you read this, does this solve your problem?
I
would add a print_r($_SERVER) into that file and track it in fiddler
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 11:52
To: Xerte list
Subject: RE: [Xerte] XOT install - down the rabbit hole
>Solution:
>In login_top, change the
action="" to action="index.php"
I would assume IIS would should handle posting back to self?
It
does, but it doesn't accept a directory ( "/" ) as a valid URL for a
POST operation.
When
index.php is set as the default dir page, the URL is reported as the directory
itself.
>For some reason, the XOT setup did not
pop that request when it wanted to set the session cookie. So, no cookie, no session
info,
>edit.php
returns "". Set the domain to accept cookies, all good.
Toolkits
doesn’t use any cookies, the session info should be stored on the server?
In
FF, I've got a PHPSESSIONID showing in the cookies directory.
All
I know is when I set "Accept cookies" on that domain, it started
working.
Pure
deduction, I admit. ;-)
>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?
Flash_upload_path
is set in the site variables and is usually “upload.php?path=”
This
upload file usually lives in
Modules/Xerte/engine
and constructs the upload address from the root path, then the page sought,
which is constructed from the $_server variable, so I would guess your $_server
variable isn’t right.
I'll take a peek.
Hotmail: Trusted email with powerful SPAM
protection. Sign up now.
_________________________________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091130/62f3d2eb/attachment.html
More information about the Xerte
mailing list