[Xerte-dev] Re: 1.9 SVN

Pat Lockley patrick.lockley at googlemail.com
Sun Dec 2 21:45:22 GMT 2012


Looks like the moodle session has been destroyed?

On 2 Dec 2012, at 21:43, "Ron Mitchell" <ronm at mitchellmedia.co.uk> wrote:

> Thanks Pat
> If I put echo("here"); at the bottom of moodle config.php it appears top left above the banner on page load and then when clicking create it appears below the New Folder button and above the Workspace folder in the workspace. The editor window opens but the address ends with /edit.php?template_id=here4 and the word here appears instead of the editor.
>  
> Does that shed any light?
> Is there a more useful echo I can put in the moodle config?
> If I add echo "<pre>"; print_r($_SESSION); I still get the following:
>  
> <pre>Array
> (
>     [SESSION] => object Object
>         (
>             [session_test] => z4OLUsx8l2
>         )
>  
>     [USER] => object Object
>         (
>             [id] => 0
>         )
>  
>     [toolkits_language] => en-GB
>     [toolkits_firstname] => Guest
>     [toolkits_surname] => User
>     [toolkits_logon_username] => guest2
>     [toolkits_logon_id] => 3
>     [toolkits_most_recent_error] => RM: Failed to get users root folder RM: Failed to get users root folder
>     [sort_type] => date_down
> )
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 02 December 2012 21:14
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 SVN
>  
> Sorry, the trunk.
>  
> I don't have a moodle to test against. I would add an echo at the top of the moodle config.php and then add a die after that. 
>  
> That way if a file is white spacing you can trace it
> 
> On 2 Dec 2012, at 20:56, "Ron Mitchell" <ronm at mitchellmedia.co.uk> wrote:
> 
> Hi Pat
> thanks for testing.
> Trunk or 1.9?
> Were you testing on xampp? As I mentioned in previous messages I thought I was able to reproduce the problem on xampp but then after a restart found I couldn't.
> However I've been testing on a different linux server and have the same problem there too.
>  
> So what I've found so far:
> I've been using trunk
>  
> On a Ubuntu server and a Centos server both work fine with guest access set until moodle config.php is added to integration path.
>  
> In these conditions when creating a new project the editor opens but the workspace clears. The projects is actually created in user-files with correct username e.g. 3-guest2-Nottingham but doesn't appear in the workspace after refresh because the templaterights folder value isn't set correctly. If I set the folder value correctly and refresh the project appears and is editable.
>  
> Deleting projects, moving projects, creating folders etc all work but also clears the workspace until refreshed
>  
> On xampp everything is fine with and without a moodle config integration path.
>  
> On the two linux servers I've been testing with 1.7 installations work fine with moodle integration enabled.
>  
> On the techdis server we were using to test during 1.8 developments all was fine until the svn update I applied on 28th Nov or at least around that time. I've since tried reverting a local copy of svn to specific revisions but so far without success.
>  
> I've tried loads of die("got here"); etc but simply can't find why or where the folder value isn't getting created correctly.
>  
> Does anyone else have the ability to test on a nix server with Moodle integration enabled?
>  
> 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: 01 December 2012 10:27
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 SVN
>  
> Hello,
>  
> I installed 1.9 from the SVN, fresh copy, fresh url, fresh database.
>  
> I did a full install.
>  
> Logged in using guest access.
>  
> Made a Nottingham
> Editted it
> Made a folder
> Moved it into the folder
> Deleted the project
> Emptied the recycle bin
>  
> Then I switced to static access
>  
> Logged in and repeated the above
>  
> Then I added an integration path to a basic PHP script
>  
> Logged in and repeated the above
>  
> Didn't get any problems.
>  
> Pat
> 
> 
> 
> _______________________________________________
> 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/20121202/f6dd1bb2/attachment-0001.html>


More information about the Xerte-dev mailing list