[Xerte] XOT install - down the rabbit hole

Patrick Lockley Patrick.Lockley at nottingham.ac.uk
Mon Nov 30 11:57:50 GMT 2009


But the directory is left empty for the post ( action="" )

 

It will set a session ID, definitely, but it does nothing with Cookies. 

 

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.
<http://clk.atdmt.com/GBL/go/177141665/direct/01/> 

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


More information about the Xerte mailing list