[Xerte-dev] Re: HELP - can't create new projects on techdis install

Ron Mitchell ronm at mitchellmedia.co.uk
Fri Nov 30 15:07:31 GMT 2012


But is it new_template.php or somewhere else?

 

e.g. 

deleting a project clears the workspace until refresh but does delete the
project

moving a project into a folder clears the workspace until refresh but does
move the project

duplicating a project clears the workspace until refresh but does duplicate
the project

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 30 November 2012 14:56
To: For Xerte technical developers
Subject: [Xerte-dev] Re: HELP - can't create new projects on techdis install

 

ok, so the session is set on the first run through

So something in new_template.php breaks it

 

On Fri, Nov 30, 2012 at 2:09 PM, Ron Mitchell <ronm at mitchellmedia.co.uk>
wrote:

Full results attached.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 30 November 2012 13:35


To: For Xerte technical developers
Subject: [Xerte-dev] Re: HELP - can't create new projects on techdis install

 

nothing else, just that?

 

On Fri, Nov 30, 2012 at 1:33 PM, Ron Mitchell <ronm at mitchellmedia.co.uk>
wrote:

With that in place and the integrationpath in place a key error seems to be

 

[toolkits_most_recent_error] => Failed to get users root folder Failed to
get users root folder

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 30 November 2012 12:47
To: For Xerte technical developers
Subject: [Xerte-dev] Re: HELP - can't create new projects on techdis install

 

Also, edit index.php and before </body> add a <?PHP echo "<pre>";
print_r($_SESSION);

 

On Fri, Nov 30, 2012 at 12:44 PM, Pat Lockley
<patrick.lockley at googlemail.com> wrote:

The only change I made in config is the text I sent. So revert back to 1.8
config and add that in.

If it isn't that, then I am a bit lost. I will check out trunk a fresh over
the weekend and see if I can make it go wrong.

 

 

On Fri, Nov 30, 2012 at 12:12 PM, Ron Mitchell <ronm at mitchellmedia.co.uk>
wrote:

In trying to get xdebug working via xampp (which already seemed to be in
place but commented out in php.ini) I restarted apache and now can't
replicate the problem via xampp even with the moodle config set as
integrationpath. Which makes using xdebug a bit redundant on xampp.

 

Quick question: Is there anything in the recently changed code that could be
case sensitive that would cause the difference between windows and linux?
either files paths or db queries etc

 

Cheers

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 30 November 2012 11:03


To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: HELP - can't create new projects on techdis install

 

that's already in place in auth_config.php

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 30 November 2012 09:53
To: For Xerte technical developers
Subject: [Xerte-dev] Re: HELP - can't create new projects on techdis install

 

or try adding to config.txt

 

On Fri, Nov 30, 2012 at 9:41 AM, Pat Lockley
<patrick.lockley at googlemail.com> wrote:

what happens if you remove the auth_config stuff?

 

 

On Fri, Nov 30, 2012 at 9:10 AM, Ron Mitchell <ronm at mitchellmedia.co.uk>
wrote:

Hi all

I still haven't found where the problem lies but I'm a bit happier now that
I can see the problem exists on xampp too so it's definitely recent code
changes that have caused this problem and it's probably just the order of
things killing the session but I haven't found where or why. Here's how to
reproduce this locally via xampp and also what I've done on the techdis
server and then repeated on xampp:

 

On techdis server:

Create a brand new install from the svn code with authentication set to
guest

Create a new LO

Create another new LO

All working no loss of projects in workspace

Add path to moodle config in sitedetails

Refresh and create a new LO - LO is actually created but workspace clears
and LO not part of authors projects 

 

On xampp

Create a brand new install from the svn code with authentication set to
guest

Create a new LO

Create another new LO

All working no loss of projects in workspace

Add path to moodle config in sitedetails (you'll obviously need moodle
installed to reproduce this)

Refresh and create a new LO - LO is actually created but workspace clears
and LO not part of authors projects 

 

So - it's not a problem unique to the techdis server and is a new problem
introduced by the current code. At the moment it's going to cause the same
problem for anyone using moodle authentication but possibly also anyone
using another system via integrationpath too.

 

Next question: As the problem can also be reproduced via xampp can xdebug be
installed on xampp? 

Going to google that now...

 

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 29 November 2012 14:43
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: HELP - can't create new projects on techdis install

 

Pat/David/Simon

thanks for the suggestions.

Going offline and need a break from this anyway. Might revisit later tonight
or might wait until tomorrow.

Cheers

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 29 November 2012 14:31
To: For Xerte technical developers
Subject: [Xerte-dev] Re: HELP - can't create new projects on techdis install

 

Go through the two new_template files putting print_r($_SESSION) in at
regular intervals followed by a "line number xxx" statement.

Then trace it with console or fiddler.

 

On Thu, Nov 29, 2012 at 2:04 PM, David Goodwin <david at palepurple.co.uk>
wrote:

 

On 29 Nov 2012, at 13:50, "Ron Mitchell" <ronm at mitchellmedia.co.uk> wrote:

 

Hi again Simon

I found some instructions about installing xdebug and I'm sure I could do
that but apart from use of it being beyond my comfort zone I'm very wary of
going this route because this techdis server is used for other systems too.
I also only have another hour to look at this right now and then I'll be
offline until much later.

 

Is there a way of debugging without needingdebug?

 

 

Binary chopping the code with "die('got here!');" is about the best you're
left with.

 

David.

 

Pale Purple Ltd.  (Company No: 5580814)

'Web and Mobile Application Development for Business'

 

http://www.palepurple.co.uk   

Office: 0845 0046746     Mobile: 07792380669 

 

Follow us on Twitter: @PalePurpleLtd

 


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

 

 

 


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

 

 

 

 


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

 

 

 


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

 






_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121130/dfd7f777/attachment-0001.html>


More information about the Xerte-dev mailing list