From patrick.lockley at googlemail.com Sat Dec 1 10:27:25 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Sat, 1 Dec 2012 10:27:25 +0000 Subject: [Xerte-dev] 1.9 SVN Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From johnathan.kemp at ntlworld.com Sat Dec 1 16:49:03 2012 From: johnathan.kemp at ntlworld.com (Kemp Johnathan) Date: Sat, 1 Dec 2012 16:49:03 +0000 Subject: [Xerte-dev] Re: Help Documentation for pages In-Reply-To: <50B8D57A.9020901@tor.nl> References: <50B782DD.1010004@tor.nl> <50B89B84.1020606@tor.nl> <50B8AD76.7060907@tor.nl> <50B8D57A.9020901@tor.nl> Message-ID: Many Thanks Tom, JK On 30 November 2012 15:49, Tom Reijnders wrote: > They are in place now, and updated every night from svn. > > Op 30-11-2012 14:30, Kemp Johnathan schreef: > > You might consider removing the spaces from the filename. > > Will do :-) > > JK > > On 30 November 2012 12:58, Tom Reijnders wrote: > >> Than the most convenient for me would be xerte.org.uk/docs/xot/help/.... >> >> You might consider removing the spaces from the filename. >> >> Tom >> >> Op 30-11-2012 13:36, Kemp Johnathan schreef: >> >> xerte svn/runtime/help/ >> >> They are pdf files. >> >> The number and name of files available will change as I update them to >> take into account the changes to the Connector Pages. But then the names >> should become stable. So it would be helpful if the system you implement >> can take into account the addition, deletion, or renaming of files. Will >> that be a problem? >> >> Kind regards >> >> Johnathan >> >> On 30 November 2012 11:41, Tom Reijnders wrote: >> >>> Hi Johnathan, >>> >>> Where in SVN do you have these docs? >>> >>> Tom >>> >>> Op 30-11-2012 12:04, Kemp Johnathan schreef: >>> >>> Hello Tom, >>> >>> That would be fine as long as it gives me a url, that remains >>> unchanged, I can put into my xwd file. >>> >>> If it was predictable that would be even better. By that I mean if the >>> url consisted of a front part that referred to the community web site >>> followed by the name of the file in question, for example >>> >>> xerte.org.uk/XOTHelp/myHelpPage.pdf >>> >>> Then I would know that if I created a help file for a new page type >>> what the url for it would be on your site, for example ConnectorMenu.pdf >>> would have a url of >>> >>> xerte.org.uk/XOTHelp/ConnectorMenu.pdf >>> >>> I could then update the xwd file at the same time as creating the pdf >>> file. >>> >>> Kind regards >>> >>> On 29 November 2012 15:44, Tom Reijnders wrote: >>> >>>> Johnathan, >>>> >>>> I can create and keep in sync through svn, an area on the Community >>>> Webserver. Than when you update the document in svn, it will, within a day, >>>> automatically be updated on the Community website. Is that an option? >>>> >>>> Tom >>>> >>>> Op 28-11-2012 17:53, Kemp Johnathan schreef: >>>> >>>> In the light of recent changes to the Connector pages I have updated >>>> the documentation for the Scenario page. >>>> >>>> Based on the sample project that Ron sent to me a while ago I have >>>> tested the inclusion of an statement in the scenario xwd file on my >>>> XAMPP Toolkits test site to provide a link to an external document from the >>>> xwd form. >>>> >>>> I have now committed the new documentation to the Xerte svn. >>>> >>>> Is there somewhere on the Xerte Community site that can provide a >>>> home for the documentation so that I can provide a permanent link to it in >>>> the page's xwd form? >>>> >>>> The pdf version of the documentation can be found in the Xerte svn in >>>> >>>> runtime/help/Guide to the Scenarion Connector Page.pdf >>>> >>>> Once we can get this working I can update documentation for the other >>>> connector pages. >>>> >>>> Kind regards >>>> >>>> Johnathan >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing listXerte-dev at lists.nottingham.ac.ukhttp://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>>> >>>> -- >>>> -- >>>> >>>> Tom Reijnders >>>> TOR Informatica >>>> Chopinlaan 27 >>>> 5242HM Rosmalen >>>> Tel: 073 5226191 >>>> Fax: 073 5226196 >>>> >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>>> >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing listXerte-dev at lists.nottingham.ac.ukhttp://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> >>> -- >>> -- >>> >>> Tom Reijnders >>> TOR Informatica >>> Chopinlaan 27 >>> 5242HM Rosmalen >>> Tel: 073 5226191 >>> Fax: 073 5226196 >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> >> >> >> _______________________________________________ >> Xerte-dev mailing listXerte-dev at lists.nottingham.ac.ukhttp://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> >> >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> > > > _______________________________________________ > Xerte-dev mailing listXerte-dev at lists.nottingham.ac.ukhttp://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > > > > _______________________________________________ > 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: From ronm at mitchellmedia.co.uk Sun Dec 2 20:56:22 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Sun, 2 Dec 2012 20:56:22 -0000 Subject: [Xerte-dev] Re: 1.9 SVN In-Reply-To: References: Message-ID: <004801cdd0cf$7d9532f0$78bf98d0$@co.uk> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.lockley at googlemail.com Sun Dec 2 21:14:02 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Sun, 2 Dec 2012 21:14:02 +0000 Subject: [Xerte-dev] Re: 1.9 SVN In-Reply-To: <004801cdd0cf$7d9532f0$78bf98d0$@co.uk> References: <004801cdd0cf$7d9532f0$78bf98d0$@co.uk> Message-ID: <79CFBD0D-CEB3-45B0-9196-BA595337E09B@googlemail.com> 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" 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Sun Dec 2 21:43:08 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Sun, 2 Dec 2012 21:43:08 -0000 Subject: [Xerte-dev] Re: 1.9 SVN In-Reply-To: <79CFBD0D-CEB3-45B0-9196-BA595337E09B@googlemail.com> References: <004801cdd0cf$7d9532f0$78bf98d0$@co.uk> <79CFBD0D-CEB3-45B0-9196-BA595337E09B@googlemail.com> Message-ID: <006301cdd0d6$058d2f90$10a78eb0$@co.uk> 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 "
"; print_r($_SESSION); I still get the following:

 

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"  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





-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From patrick.lockley at googlemail.com  Sun Dec  2 21:45:22 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Sun, 2 Dec 2012 21:45:22 +0000
Subject: [Xerte-dev] Re: 1.9 SVN
In-Reply-To: <006301cdd0d6$058d2f90$10a78eb0$@co.uk>
References: 
	<004801cdd0cf$7d9532f0$78bf98d0$@co.uk>
	<79CFBD0D-CEB3-45B0-9196-BA595337E09B@googlemail.com>
	<006301cdd0d6$058d2f90$10a78eb0$@co.uk>
Message-ID: 

Looks like the moodle session has been destroyed?

On 2 Dec 2012, at 21:43, "Ron Mitchell"  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 "
"; print_r($_SESSION); I still get the following:
>  
> 
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"  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: 

From reijnders at tor.nl  Sun Dec  2 21:53:15 2012
From: reijnders at tor.nl (Tom Reijnders)
Date: Sun, 02 Dec 2012 22:53:15 +0100
Subject: [Xerte-dev] Re: 1.9 SVN
In-Reply-To: <004801cdd0cf$7d9532f0$78bf98d0$@co.uk>
References: 
	<004801cdd0cf$7d9532f0$78bf98d0$@co.uk>
Message-ID: <50BBCDCB.4020604@tor.nl>

Yes, I tried,

But so far I am going nowhere at all.

Installed clean trunk (saturday morning), guest seems to be ok.
Enabled Moodle, Couldn't login at all.
Xot was not installed within moodle like I normally do.
Switched around the installs.

Can't get xot to work at all, not even with guest....

I have no time anymore tonight, and very little tomorrow.

Tom

Op 2-12-2012 21:56, Ron Mitchell schreef:
>
> 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

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From ronm at mitchellmedia.co.uk  Sun Dec  2 22:10:04 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Sun, 2 Dec 2012 22:10:04 -0000
Subject: [Xerte-dev] Re: 1.9 SVN
In-Reply-To: <50BBCDCB.4020604@tor.nl>
References: 	<004801cdd0cf$7d9532f0$78bf98d0$@co.uk>
	<50BBCDCB.4020604@tor.nl>
Message-ID: <007a01cdd0d9$c9723c40$5c56b4c0$@co.uk>

Thanks Tom

kind of relieved that it's not just something I'm doing wrong.

I've run out of time on this now until at least late tomorrow too.

The problem exists whether XOT is installed within the moodle directory or
outside it.

I just hope nobody else uses the trunk code to upgrade a moodle
authenticated install!

We certainly can't release a new zip until we've tracked this one down. :-(

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 02 December 2012 21:53
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 SVN

 

Yes, I tried,

But so far I am going nowhere at all.

Installed clean trunk (saturday morning), guest seems to be ok. 
Enabled Moodle, Couldn't login at all.
Xot was not installed within moodle like I normally do.
Switched around the installs.

Can't get xot to work at all, not even with guest....

I have no time anymore tonight, and very little tomorrow.

Tom

Op 2-12-2012 21:56, Ron Mitchell schreef:

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





-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From ronm at mitchellmedia.co.uk  Sun Dec  2 22:21:17 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Sun, 2 Dec 2012 22:21:17 -0000
Subject: [Xerte-dev] Re: 1.9 SVN
In-Reply-To: 
References: 	<004801cdd0cf$7d9532f0$78bf98d0$@co.uk>	<79CFBD0D-CEB3-45B0-9196-BA595337E09B@googlemail.com>	<006301cdd0d6$058d2f90$10a78eb0$@co.uk>
	
Message-ID: <008501cdd0db$5a46b150$0ed413f0$@co.uk>

Thanks Pat

Wouldn't that prevent the correct username and/or project id being picked up too?

Also this is breaking with authentication set to guest so in theory the moodle session isn't even needed. 

It seems if there is a value in integrationpath it's used regardless of what the authentication is set to.

But something changed around the 27th/28th because prior to that this was all fine.

I'm going to have to park it for now until late 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: 02 December 2012 21:45
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 SVN

 

Looks like the moodle session has been destroyed?

On 2 Dec 2012, at 21:43, "Ron Mitchell"  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 "
"; print_r($_SESSION); I still get the following:

 

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"  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: 

From patrick.lockley at googlemail.com  Sun Dec  2 22:45:13 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Sun, 2 Dec 2012 22:45:13 +0000
Subject: [Xerte-dev] Re: 1.9 SVN
In-Reply-To: <008501cdd0db$5a46b150$0ed413f0$@co.uk>
References: 
	<004801cdd0cf$7d9532f0$78bf98d0$@co.uk>
	<79CFBD0D-CEB3-45B0-9196-BA595337E09B@googlemail.com>
	<006301cdd0d6$058d2f90$10a78eb0$@co.uk>
	
	<008501cdd0db$5a46b150$0ed413f0$@co.uk>
Message-ID: 

But that session had leftovers of a moodle session in. It wasn't clean

On 2 Dec 2012, at 22:21, "Ron Mitchell"  wrote:

> Thanks Pat
> Wouldn't that prevent the correct username and/or project id being picked up too?
> Also this is breaking with authentication set to guest so in theory the moodle session isn't even needed.
> It seems if there is a value in integrationpath it's used regardless of what the authentication is set to.
> But something changed around the 27th/28th because prior to that this was all fine.
> I'm going to have to park it for now until late 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: 02 December 2012 21:45
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 SVN
>  
> Looks like the moodle session has been destroyed?
> 
> On 2 Dec 2012, at 21:43, "Ron Mitchell"  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 "
"; print_r($_SESSION); I still get the following:
>  
> 
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"  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
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 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: 

From johnathan.kemp at ntlworld.com  Mon Dec  3 13:24:50 2012
From: johnathan.kemp at ntlworld.com (Kemp Johnathan)
Date: Mon, 3 Dec 2012 13:24:50 +0000
Subject: [Xerte-dev] Updates to Xerte and XOT svns
Message-ID: 

I have updated the connector page xwd files and the inventory page xwd file
to take account of the ability to access help files from Xerte.org.uk.
In addition I have made the navigation buttons attribute optional in the
XOT connector pages as I realised after testing on an project created with
the old models and xwds that the Author would lose control of the Connector
pages navigation button display (it would always be all buttons displayed)
until he deleted and recreated the page. This way the Author just needs to
add the navigation buttons attribute to their page and they have full
control again.

I have committed the changes to both the Xerte svn and the XOT svn
(data.xwd has been rebuilt).

I am not sure if the build of XOT will be taken from the XOT svn or the 1.9
branch so I put them where I am used to put things - hope this is OK.

There is nothing more I will need to do with respect to the Connector pages
until 1.9 is released as far as XOT is concerned.

As I complete the pdf help files I will commit them to the Xerte svn and
Tom's script will automatically pick them up and post them to the
Xerte.org.uk site thus making them available from the xwd forms.

Kind regards

Johnathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From Julian.Tenney at nottingham.ac.uk  Mon Dec  3 14:08:18 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Mon, 3 Dec 2012 14:08:18 +0000
Subject: [Xerte-dev] Current Issues
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>

Hi,

Starting a new thread on the current issues with the integration path stuff. I'm afraid my own technical knowledge doesn't go far in the relevant areas, but it is clear that we have a problem that needs resolving before we can make the Xenith code available to everyone, and it seems to me that recent changes have introduced the problem. Ron has done a lot to try and isolate the problem, thanks a lot for persisting Ron!

Somehow we need to resolve it. I'm open for ideas on how we can best work through it: in an ideal world I'd get Ron to sit with Pat at a computer until the problem is cracked, but since that's not possible, is this something we can do online somehow? Anyone got any better ideas?

Julian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From Julian.Tenney at nottingham.ac.uk  Mon Dec  3 14:37:08 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Mon, 3 Dec 2012 14:37:08 +0000
Subject: [Xerte-dev] Re: Updates to Xerte and XOT svns
In-Reply-To: 
References: 
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8278@EXCHANGE1.ad.nottingham.ac.uk>

Brill, thanks for all your work on this,

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan
Sent: 03 December 2012 13:25
To: Xerte Developers Discussion List
Subject: [Xerte-dev] Updates to Xerte and XOT svns

I have updated the connector page xwd files and the inventory page xwd file to take account of the ability to access help files from Xerte.org.uk.
In addition I have made the navigation buttons attribute optional in the XOT connector pages as I realised after testing on an project created with the old models and xwds that the Author would lose control of the Connector pages navigation button display (it would always be all buttons displayed) until he deleted and recreated the page. This way the Author just needs to add the navigation buttons attribute to their page and they have full control again.

I have committed the changes to both the Xerte svn and the XOT svn (data.xwd has been rebuilt).

I am not sure if the build of XOT will be taken from the XOT svn or the 1.9 branch so I put them where I am used to put things - hope this is OK.

There is nothing more I will need to do with respect to the Connector pages until 1.9 is released as far as XOT is concerned.

As I complete the pdf help files I will commit them to the Xerte svn and Tom's script will automatically pick them up and post them to the Xerte.org.uk site thus making them available from the xwd forms.

Kind regards

Johnathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From Julian.Tenney at nottingham.ac.uk  Mon Dec  3 15:07:29 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Mon, 3 Dec 2012 15:07:29 +0000
Subject: [Xerte-dev] Re: Xerte release
In-Reply-To: 
References: 
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48CD82C2@EXCHANGE1.ad.nottingham.ac.uk>

Do you happen to know if there are already functions in the editor to create those different types of project?

Otherwise, which menu commands do it? Then I can add the new items and link them to the existing code,

Cheers,

Julian

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan
Sent: 29 November 2012 10:58
To: Xerte Developers Discussion List
Subject: [Xerte-dev] Xerte release

I know that the focus is now on retiring Xerte and moving to HTML5 and XOT but from recent posts it is clear that some people are still using Xerte and are hitting problems when they publish.

Would it be worth releasing a latest version of Xerte that has this bug fixed as well as incorporating the pageList and navigation changes (historic navigation option and control over buttons for individual pages?

If so could someone with Flash capability please change the File / New menu options so that there are three meaningful alternatives that will allow the user to create either an ordinary Xerte project, a Xerte Pages project or a Page Templates project?

My personal preference would be something like

File / New /
   Standard Xerte Project
   Pages Project (Page Templates and Editor Access)  [ or alternatively in the brackets (Page Wizards and Editor Access) ] [ or alternatively just Pages Project]
   Page Templates Project (XOT Style)

The options in the Pages menu

Create new Page Project
and
Create Template Project from Pages

could then be removed.

This would finally tidy up the enhancements that were made months ago.

Even if this was the final release of Xerte at least it would be left in a tidy state.

Kind regards

Johnathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From johnathan.kemp at ntlworld.com  Mon Dec  3 15:24:19 2012
From: johnathan.kemp at ntlworld.com (Kemp Johnathan)
Date: Mon, 3 Dec 2012 15:24:19 +0000
Subject: [Xerte-dev] Re: Xerte release
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48CD82C2@EXCHANGE1.ad.nottingham.ac.uk>
References: 
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD82C2@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

Currently the project types are created using

Pages / Create Template Project from Pages (for the pageTemplates project
type)
Pages / Create New Pages Project (for the pages project type)

I have taken a quick look at some of the FLA files searching for "Pages
Project" but not found anything.

I don't really understand what I am looking for or where best to look,
sorry I couldn't find the function you might need :-(

Kind regards

Johnathan

On 3 December 2012 15:07, Julian Tenney wrote:

> Do you happen to know if there are already functions in the editor to
> create those different types of project?
>
>
>
> Otherwise, which menu commands do it? Then I can add the new items and
> link them to the existing code,
>
>
>
> Cheers,
>
>
>
> Julian
>
>
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Kemp Johnathan
> *Sent:* 29 November 2012 10:58
> *To:* Xerte Developers Discussion List
> *Subject:* [Xerte-dev] Xerte release
>
>
>
> I know that the focus is now on retiring Xerte and moving to HTML5 and XOT
> but from recent posts it is clear that some people are still using Xerte
> and are hitting problems when they publish.
>
>
>
> Would it be worth releasing a latest version of Xerte that has this bug
> fixed as well as incorporating the pageList and navigation changes
> (historic navigation option and control over buttons for individual pages?
>
>
>
> If so could someone with Flash capability please change the File / New
> menu options so that there are three meaningful alternatives that will
> allow the user to create either an ordinary Xerte project, a Xerte Pages
> project or a Page Templates project?
>
>
>
> My personal preference would be something like
>
>
>
> File / New /
>
>    Standard Xerte Project
>
>    Pages Project (Page Templates and Editor Access)  [ or alternatively in
> the brackets (Page Wizards and Editor Access) ] [ or alternatively just
> Pages Project]
>
>    Page Templates Project (XOT Style)
>
>
>
> The options in the Pages menu
>
>
>
> Create new Page Project
>
> and
>
> Create Template Project from Pages
>
>
>
> could then be removed.
>
>
>
> This would finally tidy up the enhancements that were made months ago.
>
>
>
> Even if this was the final release of Xerte at least it would be left in a
> tidy state.
>
>
>
> Kind regards
>
>
>
> Johnathan
>
>
>
>
> _______________________________________________
> 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: 

From ronm at mitchellmedia.co.uk  Mon Dec  3 15:37:39 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Mon, 3 Dec 2012 15:37:39 -0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: <00b501cdd16c$21abc1f0$650345d0$@co.uk>

I've just spent 20 minutes online with Tom demonstrating the issues and
explaining what I've looked at so far. Tom has been able to replicate this
on a Linux server too but there are some differences also. We're both going
to try again with the very latest trunk code on both xampp and linux later
tonight and report back. I'll also do a quick Camtasia recording to
demonstrate the issue and share that via the list but also happy to do a
screenshare via skype or some other tool to demo what's happening live.

 

Cheers

Ron

 

 

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 03 December 2012 14:08
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

 

Hi,

 

Starting a new thread on the current issues with the integration path stuff.
I'm afraid my own technical knowledge doesn't go far in the relevant areas,
but it is clear that we have a problem that needs resolving before we can
make the Xenith code available to everyone, and it seems to me that recent
changes have introduced the problem. Ron has done a lot to try and isolate
the problem, thanks a lot for persisting Ron! 

 

Somehow we need to resolve it. I'm open for ideas on how we can best work
through it: in an ideal world I'd get Ron to sit with Pat at a computer
until the problem is cracked, but since that's not possible, is this
something we can do online somehow? Anyone got any better ideas?

 

Julian





-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From J.J.Smith at gcu.ac.uk  Mon Dec  3 15:37:58 2012
From: J.J.Smith at gcu.ac.uk (Smith, John)
Date: Mon, 3 Dec 2012 15:37:58 +0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

Hi,

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran out of time and into problems figuring out where to put passwords into the database using phpMyAdmin, setting up the integration path etc...

If someone wants to share a VM which exhibits the problem and share it then I'll definitely take a look at debugging...

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

Hi,

Starting a new thread on the current issues with the integration path stuff. I'm afraid my own technical knowledge doesn't go far in the relevant areas, but it is clear that we have a problem that needs resolving before we can make the Xenith code available to everyone, and it seems to me that recent changes have introduced the problem. Ron has done a lot to try and isolate the problem, thanks a lot for persisting Ron!

Somehow we need to resolve it. I'm open for ideas on how we can best work through it: in an ideal world I'd get Ron to sit with Pat at a computer until the problem is cracked, but since that's not possible, is this something we can do online somehow? Anyone got any better ideas?

Julian



Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From patrick.lockley at googlemail.com  Mon Dec  3 15:58:35 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Mon, 3 Dec 2012 15:58:35 +0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <00b501cdd16c$21abc1f0$650345d0$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	<00b501cdd16c$21abc1f0$650345d0$@co.uk>
Message-ID: 

I've just added a fresh SVN trunk XOT to localhost/moodle/XOT (on XAMPP)

Tested it without integration path, works fine
Tested it with moodle integration after setting integration path, works fine


On Mon, Dec 3, 2012 at 3:37 PM, Ron Mitchell wrote:

> I've just spent 20 minutes online with Tom demonstrating the issues and
> explaining what I've looked at so far. Tom has been able to replicate this
> on a Linux server too but there are some differences also. We're both going
> to try again with the very latest trunk code on both xampp and linux later
> tonight and report back. I'll also do a quick Camtasia recording to
> demonstrate the issue and share that via the list but also happy to do a
> screenshare via skype or some other tool to demo what's happening live.***
> *
>
> ** **
>
> Cheers****
>
> Ron****
>
> ** **
>
> ** **
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Julian Tenney
> *Sent:* 03 December 2012 14:08
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Current Issues****
>
> ** **
>
> Hi,****
>
> ** **
>
> Starting a new thread on the current issues with the integration path
> stuff. I?m afraid my own technical knowledge doesn?t go far in the relevant
> areas, but it is clear that we have a problem that needs resolving before
> we can make the Xenith code available to everyone, and it seems to me that
> recent changes have introduced the problem. Ron has done a lot to try and
> isolate the problem, thanks a lot for persisting Ron! ****
>
> ** **
>
> Somehow we need to resolve it. I?m open for ideas on how we can best work
> through it: in an ideal world I?d get Ron to sit with Pat at a computer
> until the problem is cracked, but since that?s not possible, is this
> something we can do online somehow? Anyone got any better ideas?****
>
> ** **
>
> Julian****
>
>
>
> ****
>
>
>
>
> _______________________________________________
> 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: 

From ronm at mitchellmedia.co.uk  Mon Dec  3 16:46:19 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Mon, 3 Dec 2012 16:46:19 -0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>	<00b501cdd16c$21abc1f0$650345d0$@co.uk>
	
Message-ID: <00d601cdd175$b8ff2480$2afd6d80$@co.uk>

Pat

I know the previous thread got quite long so easy to miss specific points
but what seems clear is that the issue doesn't materialise on xampp. I can't
say it's only on linux with a moodle integration path added because I
haven't tested on a Windows server apart from xampp but I can say it's
replicable on at least two different linux servers and Tom was able to
replicate it on a 3rd linux server too.

We'll both be reporting back again later tonight or tomorrow.

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: 03 December 2012 15:59
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

I've just added a fresh SVN trunk XOT to localhost/moodle/XOT (on XAMPP)

Tested it without integration path, works fine
Tested it with moodle integration after setting integration path, works fine

 

On Mon, Dec 3, 2012 at 3:37 PM, Ron Mitchell 
wrote:

I've just spent 20 minutes online with Tom demonstrating the issues and
explaining what I've looked at so far. Tom has been able to replicate this
on a Linux server too but there are some differences also. We're both going
to try again with the very latest trunk code on both xampp and linux later
tonight and report back. I'll also do a quick Camtasia recording to
demonstrate the issue and share that via the list but also happy to do a
screenshare via skype or some other tool to demo what's happening live.

 

Cheers

Ron

 

 

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 03 December 2012 14:08
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

 

Hi,

 

Starting a new thread on the current issues with the integration path stuff.
I'm afraid my own technical knowledge doesn't go far in the relevant areas,
but it is clear that we have a problem that needs resolving before we can
make the Xenith code available to everyone, and it seems to me that recent
changes have introduced the problem. Ron has done a lot to try and isolate
the problem, thanks a lot for persisting Ron! 

 

Somehow we need to resolve it. I'm open for ideas on how we can best work
through it: in an ideal world I'd get Ron to sit with Pat at a computer
until the problem is cracked, but since that's not possible, is this
something we can do online somehow? Anyone got any better ideas?

 

Julian

 






_______________________________________________
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: 

From ronm at mitchellmedia.co.uk  Mon Dec  3 16:57:18 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Mon, 3 Dec 2012 16:57:18 -0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
Message-ID: <00e101cdd177$41e3e460$c5abad20$@co.uk>

Hi John

I can't help with a VM but here's the steps to replicate...

 

1. Create a directory in the web root and copy across an export from the
latest svn trunk e.g. xot19

2. Create a new database and user with the relevant privileges or use the
mysql root account if only a test

3. Browse to /xot19/setup/ and follows the tests or go straight to
/xot19/setup/page1.php

4. During setup add the admin account credentials (whatever you want) and
leave integration_config_path empty

5. Upon completion browse to the xot19 url which by default should be guest
access and create a couple of tests LO's

All should be fine at this point.

6. Visit /xot19/management.php and add the path to moodle config.php

7. Now whether you leave authentication set to guest or change it to moodle
you should see the problem with creating new LO's etc. I'll send a link to a
screencast of that later.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Hi,

 

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran
out of time and into problems figuring out where to put passwords into the
database using phpMyAdmin, setting up the integration path etc.

 

If someone wants to share a VM which exhibits the problem and share it then
I'll definitely take a look at debugging. 

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

 

Hi,

 

Starting a new thread on the current issues with the integration path stuff.
I'm afraid my own technical knowledge doesn't go far in the relevant areas,
but it is clear that we have a problem that needs resolving before we can
make the Xenith code available to everyone, and it seems to me that recent
changes have introduced the problem. Ron has done a lot to try and isolate
the problem, thanks a lot for persisting Ron! 

 

Somehow we need to resolve it. I'm open for ideas on how we can best work
through it: in an ideal world I'd get Ron to sit with Pat at a computer
until the problem is cracked, but since that's not possible, is this
something we can do online somehow? Anyone got any better ideas?

 

Julian

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html




-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From reijnders at tor.nl  Mon Dec  3 19:03:13 2012
From: reijnders at tor.nl (Tom Reijnders)
Date: Mon, 03 Dec 2012 20:03:13 +0100
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <00e101cdd177$41e3e460$c5abad20$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk>
Message-ID: <50BCF771.9020800@tor.nl>

Ron,

Just to be sure, in step 6, this is the full Linux file path to the 
moodle config.php, right?

It is definitely not working, I get a blank page, until I remove the 
config path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and 
nothing in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close 
preview and try to select a different image....

Tom

Tom



Op 3-12-2012 17:57, Ron Mitchell schreef:
>
> Hi John
>
> I can't help with a VM but here's the steps to replicate...
>
> 1. Create a directory in the web root and copy across an export from 
> the latest svn trunk e.g. xot19
>
> 2. Create a new database and user with the relevant privileges or use 
> the mysql root account if only a test
>
> 3. Browse to /xot19/setup/ and follows the tests or go straight to 
> /xot19/setup/page1.php
>
> 4. During setup add the admin account credentials (whatever you want) 
> and leave integration_config_path empty
>
> 5. Upon completion browse to the xot19 url which by default should be 
> guest access and create a couple of tests LO's
>
> All should be fine at this point.
>
> 6. Visit /xot19/management.php and add the path to moodle config.php
>
> 7. Now whether you leave authentication set to guest or change it to 
> moodle you should see the problem with creating new LO's etc. I'll 
> send a link to a screencast of that later.
>
> HTH
>
> Ron
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of 
> *Smith, John
> *Sent:* 03 December 2012 15:38
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues
>
> Hi,
>
> I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend 
> but ran out of time and into problems figuring out where to put 
> passwords into the database using phpMyAdmin, setting up the 
> integration path etc...
>
> If someone wants to share a VM which exhibits the problem and share it 
> then I'll definitely take a look at debugging...
>
> Regards,
>
> John Smith
>
> Learning Technologist
>
> School of Health & Life Sciences
>
> Glasgow Caledonian University
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk 
>  
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of 
> *Julian Tenney
> *Sent:* Monday, December 03, 2012 2:08 PM
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Current Issues
>
> Hi,
>
> Starting a new thread on the current issues with the integration path 
> stuff. I'm afraid my own technical knowledge doesn't go far in the 
> relevant areas, but it is clear that we have a problem that needs 
> resolving before we can make the Xenith code available to everyone, 
> and it seems to me that recent changes have introduced the problem. 
> Ron has done a lot to try and isolate the problem, thanks a lot for 
> persisting Ron!
>
> Somehow we need to resolve it. I'm open for ideas on how we can best 
> work through it: in an ideal world I'd get Ron to sit with Pat at a 
> computer until the problem is cracked, but since that's not possible, 
> is this something we can do online somehow? Anyone got any better ideas?
>
> Julian
>
>
> Glasgow Caledonian University is a registered Scottish charity, number 
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of 
> the Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career 
> Researchers of the Year 2010, GCU as a lead with Universities Scotland 
> partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
>
>
>
>
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From patrick.lockley at googlemail.com  Mon Dec  3 19:28:35 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Mon, 3 Dec 2012 19:28:35 +0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <50BCF771.9020800@tor.nl>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk> <50BCF771.9020800@tor.nl>
Message-ID: 

What if you turn error reporting on?

On 3 Dec 2012, at 19:03, Tom Reijnders  wrote:

> Ron,
> 
> Just to be sure, in step 6, this is the full Linux file path to the moodle config.php, right?
> 
> It is definitely not working, I get a blank page, until I remove the config path from the sitedetails page.
> 
> Nothing shows up in the debug.log, not in the apache errorlog, and nothing in the javascript console.
> 
> I will try to start all this in the debugger (xdebug).
> 
> 
> There are two other issues in my install:
> 1. Sometimes the editor disappears behind the browser window.
> 2. In a Media page with an image, preview, all is fine, now close preview and try to select a different image....
> 
> Tom
> 
> Tom
> 
> 
> 
> Op 3-12-2012 17:57, Ron Mitchell schreef:
>> Hi John
>> I can't help with a VM but here's the steps to replicate...
>>  
>> 1. Create a directory in the web root and copy across an export from the latest svn trunk e.g. xot19
>> 2. Create a new database and user with the relevant privileges or use the mysql root account if only a test
>> 3. Browse to /xot19/setup/ and follows the tests or go straight to /xot19/setup/page1.php
>> 4. During setup add the admin account credentials (whatever you want) and leave integration_config_path empty
>> 5. Upon completion browse to the xot19 url which by default should be guest access and create a couple of tests LO's
>> All should be fine at this point.
>> 6. Visit /xot19/management.php and add the path to moodle config.php
>> 7. Now whether you leave authentication set to guest or change it to moodle you should see the problem with creating new LO's etc. I'll send a link to a screencast of that later.
>>  
>> HTH
>> Ron
>>  
>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
>> Sent: 03 December 2012 15:38
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: Current Issues
>>  
>> Hi,
>>  
>> I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran out of time and into problems figuring out where to put passwords into the database using phpMyAdmin, setting up the integration path etc?
>>  
>> If someone wants to share a VM which exhibits the problem and share it then I?ll definitely take a look at debugging?
>>  
>> Regards,
>>  
>> John Smith
>> Learning Technologist
>> School of Health & Life Sciences
>> Glasgow Caledonian University
>>  
>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
>> Sent: Monday, December 03, 2012 2:08 PM
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Current Issues
>>  
>> Hi,
>>  
>> Starting a new thread on the current issues with the integration path stuff. I?m afraid my own technical knowledge doesn?t go far in the relevant areas, but it is clear that we have a problem that needs resolving before we can make the Xenith code available to everyone, and it seems to me that recent changes have introduced the problem. Ron has done a lot to try and isolate the problem, thanks a lot for persisting Ron!
>>  
>> Somehow we need to resolve it. I?m open for ideas on how we can best work through it: in an ideal world I?d get Ron to sit with Pat at a computer until the problem is cracked, but since that?s not possible, is this something we can do online somehow? Anyone got any better ideas?
>>  
>> Julian
>>  
>> 
>> 
>> Glasgow Caledonian University is a registered Scottish charity, number SC021474
>> 
>> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>> 
>> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Xerte-dev mailing list
>> Xerte-dev at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> 
> -- 
> --
> 
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
> 
> 
> 
> 
> _______________________________________________
> 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: 

From ronm at mitchellmedia.co.uk  Mon Dec  3 19:38:58 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Mon, 3 Dec 2012 19:38:58 -0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <50BCF771.9020800@tor.nl>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>
	<50BCF771.9020800@tor.nl>
Message-ID: <003001cdd18d$d7c77760$87566620$@co.uk>

Hi Tom

yes so for example /var/www/moodle/config.php 

or on shared hosting might be /home/user/public_html/moodle/config.php

 

Not sure why you get a blank page - at least I get to see the workspace! ;-)

 

If you change authentication to moodle and restart the browser do you get
prompted to login to moodle? If you do then the path you have entered is
correct.

 

HTH
Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle
config.php, right?

It is definitely not working, I get a blank page, until I remove the config
path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing
in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview
and try to select a different image....

Tom

Tom




Op 3-12-2012 17:57, Ron Mitchell schreef:

Hi John

I can't help with a VM but here's the steps to replicate...

 

1. Create a directory in the web root and copy across an export from the
latest svn trunk e.g. xot19

2. Create a new database and user with the relevant privileges or use the
mysql root account if only a test

3. Browse to /xot19/setup/ and follows the tests or go straight to
/xot19/setup/page1.php

4. During setup add the admin account credentials (whatever you want) and
leave integration_config_path empty

5. Upon completion browse to the xot19 url which by default should be guest
access and create a couple of tests LO's

All should be fine at this point.

6. Visit /xot19/management.php and add the path to moodle config.php

7. Now whether you leave authentication set to guest or change it to moodle
you should see the problem with creating new LO's etc. I'll send a link to a
screencast of that later.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Hi,

 

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran
out of time and into problems figuring out where to put passwords into the
database using phpMyAdmin, setting up the integration path etc.

 

If someone wants to share a VM which exhibits the problem and share it then
I'll definitely take a look at debugging. 

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

 

Hi,

 

Starting a new thread on the current issues with the integration path stuff.
I'm afraid my own technical knowledge doesn't go far in the relevant areas,
but it is clear that we have a problem that needs resolving before we can
make the Xenith code available to everyone, and it seems to me that recent
changes have introduced the problem. Ron has done a lot to try and isolate
the problem, thanks a lot for persisting Ron! 

 

Somehow we need to resolve it. I'm open for ideas on how we can best work
through it: in an ideal world I'd get Ron to sit with Pat at a computer
until the problem is cracked, but since that's not possible, is this
something we can do online somehow? Anyone got any better ideas?

 

Julian

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html













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





-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From reijnders at tor.nl  Mon Dec  3 19:46:20 2012
From: reijnders at tor.nl (Tom Reijnders)
Date: Mon, 03 Dec 2012 20:46:20 +0100
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <003001cdd18d$d7c77760$87566620$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>
	<50BCF771.9020800@tor.nl> <003001cdd18d$d7c77760$87566620$@co.uk>
Message-ID: <50BD018C.7040700@tor.nl>

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend 
installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in 
moodle_request_shutdown() .....

Tom


Op 3-12-2012 20:38, Ron Mitchell schreef:
>
> Hi Tom
>
> yes so for example /var/www/moodle/config.php
>
> or on shared hosting might be /home/user/public_html/moodle/config.php
>
> Not sure why you get a blank page - at least I get to see the 
> workspace! ;-)
>
> If you change authentication to moodle and restart the browser do you 
> get prompted to login to moodle? If you do then the path you have 
> entered is correct.
>
> HTH
> Ron
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom 
> Reijnders
> *Sent:* 03 December 2012 19:03
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues
>
> Ron,
>
> Just to be sure, in step 6, this is the full Linux file path to the 
> moodle config.php, right?
>
> It is definitely not working, I get a blank page, until I remove the 
> config path from the sitedetails page.
>
> Nothing shows up in the debug.log, not in the apache errorlog, and 
> nothing in the javascript console.
>
> I will try to start all this in the debugger (xdebug).
>
>
> There are two other issues in my install:
> 1. Sometimes the editor disappears behind the browser window.
> 2. In a Media page with an image, preview, all is fine, now close 
> preview and try to select a different image....
>
> Tom
>
> Tom
>
>
> Op 3-12-2012 17:57, Ron Mitchell schreef:
>
>     Hi John
>
>     I can't help with a VM but here's the steps to replicate...
>
>     1. Create a directory in the web root and copy across an export
>     from the latest svn trunk e.g. xot19
>
>     2. Create a new database and user with the relevant privileges or
>     use the mysql root account if only a test
>
>     3. Browse to /xot19/setup/ and follows the tests or go straight to
>     /xot19/setup/page1.php
>
>     4. During setup add the admin account credentials (whatever you
>     want) and leave integration_config_path empty
>
>     5. Upon completion browse to the xot19 url which by default should
>     be guest access and create a couple of tests LO's
>
>     All should be fine at this point.
>
>     6. Visit /xot19/management.php and add the path to moodle config.php
>
>     7. Now whether you leave authentication set to guest or change it
>     to moodle you should see the problem with creating new LO's etc.
>     I'll send a link to a screencast of that later.
>
>     HTH
>
>     Ron
>
>     *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>     
>     [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of
>     *Smith, John
>     *Sent:* 03 December 2012 15:38
>     *To:* For Xerte technical developers
>     *Subject:* [Xerte-dev] Re: Current Issues
>
>     Hi,
>
>     I had a go at setting up on a Ubuntu VM on VirtualBox at the
>     weekend but ran out of time and into problems figuring out where
>     to put passwords into the database using phpMyAdmin, setting up
>     the integration path etc...
>
>     If someone wants to share a VM which exhibits the problem and
>     share it then I'll definitely take a look at debugging...
>
>     Regards,
>
>     John Smith
>
>     Learning Technologist
>
>     School of Health & Life Sciences
>
>     Glasgow Caledonian University
>
>     *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>     
>     [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of
>     *Julian Tenney
>     *Sent:* Monday, December 03, 2012 2:08 PM
>     *To:* For Xerte technical developers
>     *Subject:* [Xerte-dev] Current Issues
>
>     Hi,
>
>     Starting a new thread on the current issues with the integration
>     path stuff. I'm afraid my own technical knowledge doesn't go far
>     in the relevant areas, but it is clear that we have a problem that
>     needs resolving before we can make the Xenith code available to
>     everyone, and it seems to me that recent changes have introduced
>     the problem. Ron has done a lot to try and isolate the problem,
>     thanks a lot for persisting Ron!
>
>     Somehow we need to resolve it. I'm open for ideas on how we can
>     best work through it: in an ideal world I'd get Ron to sit with
>     Pat at a computer until the problem is cracked, but since that's
>     not possible, is this something we can do online somehow? Anyone
>     got any better ideas?
>
>     Julian
>
>
>     Glasgow Caledonian University is a registered Scottish charity,
>     number SC021474
>
>     Winner: Times Higher Education's Widening Participation Initiative
>     of the Year 2009 and Herald Society's Education Initiative of the
>     Year 2009.
>     http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
>     Winner: Times Higher Education's Outstanding Support for Early
>     Career Researchers of the Year 2010, GCU as a lead with
>     Universities Scotland partners.
>     http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
>
>
>
>
>
>
>
>
>
>     _______________________________________________
>
>     Xerte-dev mailing list
>
>     Xerte-dev at lists.nottingham.ac.uk  
>
>     http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
> -- 
> --
>   
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>   
>
>
>
>
>
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From reijnders at tor.nl  Mon Dec  3 19:55:01 2012
From: reijnders at tor.nl (Tom Reijnders)
Date: Mon, 03 Dec 2012 20:55:01 +0100
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk> <50BCF771.9020800@tor.nl>
	
Message-ID: <50BD0395.6060601@tor.nl>

I did... nothing showed up.

Op 3-12-2012 20:28, Pat Lockley schreef:
> What if you turn error reporting on?
>
> On 3 Dec 2012, at 19:03, Tom Reijnders  > wrote:
>
>> Ron,
>>
>> Just to be sure, in step 6, this is the full Linux file path to the 
>> moodle config.php, right?
>>
>> It is definitely not working, I get a blank page, until I remove the 
>> config path from the sitedetails page.
>>
>> Nothing shows up in the debug.log, not in the apache errorlog, and 
>> nothing in the javascript console.
>>
>> I will try to start all this in the debugger (xdebug).
>>
>>
>> There are two other issues in my install:
>> 1. Sometimes the editor disappears behind the browser window.
>> 2. In a Media page with an image, preview, all is fine, now close 
>> preview and try to select a different image....
>>
>> Tom
>>
>> Tom
>>
>>
>>
>> Op 3-12-2012 17:57, Ron Mitchell schreef:
>>>
>>> Hi John
>>>
>>> I can't help with a VM but here's the steps to replicate...
>>>
>>> 1. Create a directory in the web root and copy across an export from 
>>> the latest svn trunk e.g. xot19
>>>
>>> 2. Create a new database and user with the relevant privileges or 
>>> use the mysql root account if only a test
>>>
>>> 3. Browse to /xot19/setup/ and follows the tests or go straight to 
>>> /xot19/setup/page1.php
>>>
>>> 4. During setup add the admin account credentials (whatever you 
>>> want) and leave integration_config_path empty
>>>
>>> 5. Upon completion browse to the xot19 url which by default should 
>>> be guest access and create a couple of tests LO's
>>>
>>> All should be fine at this point.
>>>
>>> 6. Visit /xot19/management.php and add the path to moodle config.php
>>>
>>> 7. Now whether you leave authentication set to guest or change it to 
>>> moodle you should see the problem with creating new LO's etc. I'll 
>>> send a link to a screencast of that later.
>>>
>>> HTH
>>>
>>> Ron
>>>
>>> *From:*xerte-dev-bounces at lists.nottingham.ac.uk 
>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of 
>>> *Smith, John
>>> *Sent:* 03 December 2012 15:38
>>> *To:* For Xerte technical developers
>>> *Subject:* [Xerte-dev] Re: Current Issues
>>>
>>> Hi,
>>>
>>> I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend 
>>> but ran out of time and into problems figuring out where to put 
>>> passwords into the database using phpMyAdmin, setting up the 
>>> integration path etc...
>>>
>>> If someone wants to share a VM which exhibits the problem and share 
>>> it then I'll definitely take a look at debugging...
>>>
>>> Regards,
>>>
>>> John Smith
>>>
>>> Learning Technologist
>>>
>>> School of Health & Life Sciences
>>>
>>> Glasgow Caledonian University
>>>
>>> *From:*xerte-dev-bounces at lists.nottingham.ac.uk 
>>>  
>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of 
>>> *Julian Tenney
>>> *Sent:* Monday, December 03, 2012 2:08 PM
>>> *To:* For Xerte technical developers
>>> *Subject:* [Xerte-dev] Current Issues
>>>
>>> Hi,
>>>
>>> Starting a new thread on the current issues with the integration 
>>> path stuff. I'm afraid my own technical knowledge doesn't go far in 
>>> the relevant areas, but it is clear that we have a problem that 
>>> needs resolving before we can make the Xenith code available to 
>>> everyone, and it seems to me that recent changes have introduced the 
>>> problem. Ron has done a lot to try and isolate the problem, thanks a 
>>> lot for persisting Ron!
>>>
>>> Somehow we need to resolve it. I'm open for ideas on how we can best 
>>> work through it: in an ideal world I'd get Ron to sit with Pat at a 
>>> computer until the problem is cracked, but since that's not 
>>> possible, is this something we can do online somehow? Anyone got any 
>>> better ideas?
>>>
>>> Julian
>>>
>>>
>>> Glasgow Caledonian University is a registered Scottish charity, 
>>> number SC021474
>>>
>>> Winner: Times Higher Education's Widening Participation Initiative 
>>> of the Year 2009 and Herald Society's Education Initiative of the 
>>> Year 2009.
>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>>>
>>> Winner: Times Higher Education's Outstanding Support for Early 
>>> Career Researchers of the Year 2010, GCU as a lead with Universities 
>>> Scotland partners.
>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Xerte-dev mailing list
>>> Xerte-dev at lists.nottingham.ac.uk
>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>> -- 
>> --
>>
>> Tom Reijnders
>> TOR Informatica
>> Chopinlaan 27
>> 5242HM Rosmalen
>> Tel: 073 5226191
>> Fax: 073 5226196
>>
>>
>>
>>
>> _______________________________________________
>> 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

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From reijnders at tor.nl  Mon Dec  3 20:02:54 2012
From: reijnders at tor.nl (Tom Reijnders)
Date: Mon, 03 Dec 2012 21:02:54 +0100
Subject: [Xerte-dev] Re: Xerte release
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48CD82C2@EXCHANGE1.ad.nottingham.ac.uk>
References: 
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD82C2@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: <50BD056E.1030303@tor.nl>

Yes...,

See lines 1453 and further of the editor:

// --------------------------- Pages menu ----------------------
pagesMenu = menuBar.addMenu("Pages");
pagesMenuListener = {};
pagesMenuListener.change = function(obj) {

     clearInterval(menuInt);
     editor.menuHelper.removeMovieClip();

     //pagesMenu.addMenuItem({label: 'Create Template Project from 
Pages', icon:'icTemplate'});
     //pagesMenu.addMenuItem((label: 'Create new Page Project', 
icon:'icNew'));
     //pagesMenu.addMenuItem({label: 'Install Page Template', 
icon:'icInstallTemplate'});

     if (obj.menuItem.attributes.label == 'Create Template Project from 
Pages')
     {
         makePagesMenu(true, editor.language);
         makeTemplateProjectFromPages(editor.language);
         return;
     }
     if (obj.menuItem.attributes.label == 'Create new Page Project')
     {
         makePagesMenu(true, editor.language);
         makePagesProject(editor.language);
         return;
     }
Op 3-12-2012 16:07, Julian Tenney schreef:
>
> Do you happen to know if there are already functions in the editor to 
> create those different types of project?
>
> Otherwise, which menu commands do it? Then I can add the new items and 
> link them to the existing code,
>
> Cheers,
>
> Julian
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Kemp 
> Johnathan
> *Sent:* 29 November 2012 10:58
> *To:* Xerte Developers Discussion List
> *Subject:* [Xerte-dev] Xerte release
>
> I know that the focus is now on retiring Xerte and moving to HTML5 and 
> XOT but from recent posts it is clear that some people are still using 
> Xerte and are hitting problems when they publish.
>
> Would it be worth releasing a latest version of Xerte that has this 
> bug fixed as well as incorporating the pageList and navigation changes 
> (historic navigation option and control over buttons for individual pages?
>
> If so could someone with Flash capability please change the File / New 
> menu options so that there are three meaningful alternatives that will 
> allow the user to create either an ordinary Xerte project, a Xerte 
> Pages project or a Page Templates project?
>
> My personal preference would be something like
>
> File / New /
>
>    Standard Xerte Project
>
>    Pages Project (Page Templates and Editor Access)  [ or 
> alternatively in the brackets (Page Wizards and Editor Access) ] [ or 
> alternatively just Pages Project]
>
>    Page Templates Project (XOT Style)
>
> The options in the Pages menu
>
> Create new Page Project
>
> and
>
> Create Template Project from Pages
>
> could then be removed.
>
> This would finally tidy up the enhancements that were made months ago.
>
> Even if this was the final release of Xerte at least it would be left 
> in a tidy state.
>
> Kind regards
>
> Johnathan
>
>
>
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From patrick.lockley at googlemail.com  Mon Dec  3 20:06:04 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Mon, 3 Dec 2012 20:06:04 +0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <50BD0395.6060601@tor.nl>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk> <50BCF771.9020800@tor.nl>
	
	<50BD0395.6060601@tor.nl>
Message-ID: 

the moodle shutdown looks like the problem


On Mon, Dec 3, 2012 at 7:55 PM, Tom Reijnders  wrote:

>  I did... nothing showed up.
>
> Op 3-12-2012 20:28, Pat Lockley schreef:
>
> What if you turn error reporting on?
>
> On 3 Dec 2012, at 19:03, Tom Reijnders  wrote:
>
>   Ron,
>
> Just to be sure, in step 6, this is the full Linux file path to the moodle
> config.php, right?
>
> It is definitely not working, I get a blank page, until I remove the
> config path from the sitedetails page.
>
> Nothing shows up in the debug.log, not in the apache errorlog, and nothing
> in the javascript console.
>
> I will try to start all this in the debugger (xdebug).
>
>
> There are two other issues in my install:
> 1. Sometimes the editor disappears behind the browser window.
> 2. In a Media page with an image, preview, all is fine, now close preview
> and try to select a different image....
>
> Tom
>
> Tom
>
>
>
> Op 3-12-2012 17:57, Ron Mitchell schreef:
>
>  Hi John****
>
> I can't help with a VM but here's the steps to replicate...****
>
> ** **
>
> 1. Create a directory in the web root and copy across an export from the
> latest svn trunk e.g. xot19****
>
> 2. Create a new database and user with the relevant privileges or use the
> mysql root account if only a test****
>
> 3. Browse to /xot19/setup/ and follows the tests or go straight to
> /xot19/setup/page1.php****
>
> 4. During setup add the admin account credentials (whatever you want) and
> leave integration_config_path empty****
>
> 5. Upon completion browse to the xot19 url which by default should be
> guest access and create a couple of tests LO's****
>
> All should be fine at this point.****
>
> 6. Visit /xot19/management.php and add the path to moodle config.php****
>
> 7. Now whether you leave authentication set to guest or change it to
> moodle you should see the problem with creating new LO's etc. I'll send a
> link to a screencast of that later.****
>
> ** **
>
> HTH****
>
> Ron****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Smith, John
> *Sent:* 03 December 2012 15:38
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
> ** **
>
> Hi,****
>
> ** **
>
> I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but
> ran out of time and into problems figuring out where to put passwords into
> the database using phpMyAdmin, setting up the integration path etc?****
>
> ** **
>
> If someone wants to share a VM which exhibits the problem and share it
> then I?ll definitely take a look at debugging? ****
>
> ** **
>
> Regards,****
>
> ** **
>
> John Smith****
>
> Learning Technologist****
>
> School of Health & Life Sciences****
>
> Glasgow Caledonian University****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Julian Tenney
> *Sent:* Monday, December 03, 2012 2:08 PM
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Current Issues****
>
> ** **
>
> Hi,****
>
> ** **
>
> Starting a new thread on the current issues with the integration path
> stuff. I?m afraid my own technical knowledge doesn?t go far in the relevant
> areas, but it is clear that we have a problem that needs resolving before
> we can make the Xenith code available to everyone, and it seems to me that
> recent changes have introduced the problem. Ron has done a lot to try and
> isolate the problem, thanks a lot for persisting Ron! ****
>
> ** **
>
> Somehow we need to resolve it. I?m open for ideas on how we can best work
> through it: in an ideal world I?d get Ron to sit with Pat at a computer
> until the problem is cracked, but since that?s not possible, is this
> something we can do online somehow? Anyone got any better ideas?****
>
> ** **
>
> Julian****
>
> ** **
>
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the
> Year 2009 and Herald Society?s Education Initiative of the Year 2009.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
>
>
> ****
>
>
>
>
>
> _______________________________________________
> Xerte-dev mailing listXerte-dev at lists.nottingham.ac.ukhttp://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
> --
> --
>
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>
>
>
>
>
>   _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
>
>
>
> _______________________________________________
> Xerte-dev mailing listXerte-dev at lists.nottingham.ac.ukhttp://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
> --
> --
>
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>
>
>
>
>
>
> _______________________________________________
> 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: 

From ronm at mitchellmedia.co.uk  Mon Dec  3 20:32:13 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Mon, 3 Dec 2012 20:32:13 -0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <50BD018C.7040700@tor.nl>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>
	<003001cdd18d$d7c77760$87566620$@co.uk> <50BD018C.7040700@tor.nl>
Message-ID: <005a01cdd195$4826d850$d87488f0$@co.uk>

Hi Tom

unfortunately this doesn't fix it for me :-(

I've cleared cache and restarted the browser but still the same problem.

Does that change require an Apache restart?

Did you get to a point where you were no longer getting a blank screen and
seeing the workspace clear when creating a new LO?

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To 

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend
installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in
moodle_request_shutdown() .....

Tom



Op 3-12-2012 20:38, Ron Mitchell schreef:

Hi Tom

yes so for example /var/www/moodle/config.php 

or on shared hosting might be /home/user/public_html/moodle/config.php

 

Not sure why you get a blank page - at least I get to see the workspace! ;-)

 

If you change authentication to moodle and restart the browser do you get
prompted to login to moodle? If you do then the path you have entered is
correct.

 

HTH
Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle
config.php, right?

It is definitely not working, I get a blank page, until I remove the config
path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing
in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview
and try to select a different image....

Tom

Tom





Op 3-12-2012 17:57, Ron Mitchell schreef:

Hi John

I can't help with a VM but here's the steps to replicate...

 

1. Create a directory in the web root and copy across an export from the
latest svn trunk e.g. xot19

2. Create a new database and user with the relevant privileges or use the
mysql root account if only a test

3. Browse to /xot19/setup/ and follows the tests or go straight to
/xot19/setup/page1.php

4. During setup add the admin account credentials (whatever you want) and
leave integration_config_path empty

5. Upon completion browse to the xot19 url which by default should be guest
access and create a couple of tests LO's

All should be fine at this point.

6. Visit /xot19/management.php and add the path to moodle config.php

7. Now whether you leave authentication set to guest or change it to moodle
you should see the problem with creating new LO's etc. I'll send a link to a
screencast of that later.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Hi,

 

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran
out of time and into problems figuring out where to put passwords into the
database using phpMyAdmin, setting up the integration path etc.

 

If someone wants to share a VM which exhibits the problem and share it then
I'll definitely take a look at debugging. 

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

 

Hi,

 

Starting a new thread on the current issues with the integration path stuff.
I'm afraid my own technical knowledge doesn't go far in the relevant areas,
but it is clear that we have a problem that needs resolving before we can
make the Xenith code available to everyone, and it seems to me that recent
changes have introduced the problem. Ron has done a lot to try and isolate
the problem, thanks a lot for persisting Ron! 

 

Somehow we need to resolve it. I'm open for ideas on how we can best work
through it: in an ideal world I'd get Ron to sit with Pat at a computer
until the problem is cracked, but since that's not possible, is this
something we can do online somehow? Anyone got any better ideas?

 

Julian

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html















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






-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 














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





-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From reijnders at tor.nl  Mon Dec  3 20:49:20 2012
From: reijnders at tor.nl (Tom Reijnders)
Date: Mon, 03 Dec 2012 21:49:20 +0100
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <005a01cdd195$4826d850$d87488f0$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>
	<003001cdd18d$d7c77760$87566620$@co.uk> <50BD018C.7040700@tor.nl>
	<005a01cdd195$4826d850$d87488f0$@co.uk>
Message-ID: <50BD1050.1030508@tor.nl>

It's working for me now.

And whether you have to restart apache depends a bit on whether you have 
eAccelerator or something active. Sometimes it helps to restart apache 
(php).

Tom

Op 3-12-2012 21:32, Ron Mitchell schreef:
>
> Hi Tom
>
> unfortunately this doesn't fix it for me :-(
>
> I've cleared cache and restarted the browser but still the same problem.
>
> Does that change require an Apache restart?
>
> Did you get to a point where you were no longer getting a blank screen 
> and seeing the workspace clear when creating a new LO?
>
> Ron
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom 
> Reijnders
> *Sent:* 03 December 2012 19:46
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues
>
> Ok...
>
> I've got it working here, if I change line 48 of functions.php
>
> $language = new Zend_Locale();
>
> To
>
> $language = 'en-GB';   (and yes I realize it is doing something else)
>
>
> If this also works for you, than something has changed in the Zend 
> installation.
>
> Somewhere in tracing through the constructor of Zend_Locale I end up 
> in moodle_request_shutdown() .....
>
> Tom
>
> Op 3-12-2012 20:38, Ron Mitchell schreef:
>
>     Hi Tom
>
>     yes so for example /var/www/moodle/config.php
>
>     or on shared hosting might be /home/user/public_html/moodle/config.php
>
>     Not sure why you get a blank page - at least I get to see the
>     workspace! ;-)
>
>     If you change authentication to moodle and restart the browser do
>     you get prompted to login to moodle? If you do then the path you
>     have entered is correct.
>
>     HTH
>     Ron
>
>     *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>     
>     [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of
>     *Tom Reijnders
>     *Sent:* 03 December 2012 19:03
>     *To:* For Xerte technical developers
>     *Subject:* [Xerte-dev] Re: Current Issues
>
>     Ron,
>
>     Just to be sure, in step 6, this is the full Linux file path to
>     the moodle config.php, right?
>
>     It is definitely not working, I get a blank page, until I remove
>     the config path from the sitedetails page.
>
>     Nothing shows up in the debug.log, not in the apache errorlog, and
>     nothing in the javascript console.
>
>     I will try to start all this in the debugger (xdebug).
>
>
>     There are two other issues in my install:
>     1. Sometimes the editor disappears behind the browser window.
>     2. In a Media page with an image, preview, all is fine, now close
>     preview and try to select a different image....
>
>     Tom
>
>     Tom
>
>
>
>     Op 3-12-2012 17:57, Ron Mitchell schreef:
>
>         Hi John
>
>         I can't help with a VM but here's the steps to replicate...
>
>         1. Create a directory in the web root and copy across an
>         export from the latest svn trunk e.g. xot19
>
>         2. Create a new database and user with the relevant privileges
>         or use the mysql root account if only a test
>
>         3. Browse to /xot19/setup/ and follows the tests or go
>         straight to /xot19/setup/page1.php
>
>         4. During setup add the admin account credentials (whatever
>         you want) and leave integration_config_path empty
>
>         5. Upon completion browse to the xot19 url which by default
>         should be guest access and create a couple of tests LO's
>
>         All should be fine at this point.
>
>         6. Visit /xot19/management.php and add the path to moodle
>         config.php
>
>         7. Now whether you leave authentication set to guest or change
>         it to moodle you should see the problem with creating new LO's
>         etc. I'll send a link to a screencast of that later.
>
>         HTH
>
>         Ron
>
>         *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>         
>         [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf
>         Of *Smith, John
>         *Sent:* 03 December 2012 15:38
>         *To:* For Xerte technical developers
>         *Subject:* [Xerte-dev] Re: Current Issues
>
>         Hi,
>
>         I had a go at setting up on a Ubuntu VM on VirtualBox at the
>         weekend but ran out of time and into problems figuring out
>         where to put passwords into the database using phpMyAdmin,
>         setting up the integration path etc...
>
>         If someone wants to share a VM which exhibits the problem and
>         share it then I'll definitely take a look at debugging...
>
>         Regards,
>
>         John Smith
>
>         Learning Technologist
>
>         School of Health & Life Sciences
>
>         Glasgow Caledonian University
>
>         *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>         
>         [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf
>         Of *Julian Tenney
>         *Sent:* Monday, December 03, 2012 2:08 PM
>         *To:* For Xerte technical developers
>         *Subject:* [Xerte-dev] Current Issues
>
>         Hi,
>
>         Starting a new thread on the current issues with the
>         integration path stuff. I'm afraid my own technical knowledge
>         doesn't go far in the relevant areas, but it is clear that we
>         have a problem that needs resolving before we can make the
>         Xenith code available to everyone, and it seems to me that
>         recent changes have introduced the problem. Ron has done a lot
>         to try and isolate the problem, thanks a lot for persisting Ron!
>
>         Somehow we need to resolve it. I'm open for ideas on how we
>         can best work through it: in an ideal world I'd get Ron to sit
>         with Pat at a computer until the problem is cracked, but since
>         that's not possible, is this something we can do online
>         somehow? Anyone got any better ideas?
>
>         Julian
>
>
>         Glasgow Caledonian University is a registered Scottish
>         charity, number SC021474
>
>         Winner: Times Higher Education's Widening Participation
>         Initiative of the Year 2009 and Herald Society's Education
>         Initiative of the Year 2009.
>         http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
>         Winner: Times Higher Education's Outstanding Support for Early
>         Career Researchers of the Year 2010, GCU as a lead with
>         Universities Scotland partners.
>         http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
>
>
>
>
>
>
>
>
>
>
>
>         _______________________________________________
>
>         Xerte-dev mailing list
>
>         Xerte-dev at lists.nottingham.ac.uk  
>
>         http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
>
>     -- 
>
>     --
>
>       
>
>     Tom Reijnders
>
>     TOR Informatica
>
>     Chopinlaan 27
>
>     5242HM Rosmalen
>
>     Tel: 073 5226191
>
>     Fax: 073 5226196
>
>       
>
>
>
>
>
>
>
>
>
>
>     _______________________________________________
>
>     Xerte-dev mailing list
>
>     Xerte-dev at lists.nottingham.ac.uk  
>
>     http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
> -- 
> --
>   
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>   
>
>
>
>
>
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From ronm at mitchellmedia.co.uk  Mon Dec  3 21:02:16 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Mon, 3 Dec 2012 21:02:16 -0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <50BD1050.1030508@tor.nl>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>
	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>
	<50BD1050.1030508@tor.nl>
Message-ID: <006b01cdd199$7a6ce210$6f46a630$@co.uk>

I changed functions.php and restarted Apache but it hasn't fixed the create
new project issue for me.

 

You had a blank screen previously - could this be a separate issue? 

Did you ever see the create a new project workspace clears issue?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 20:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

It's working for me now.

And whether you have to restart apache depends a bit on whether you have
eAccelerator or something active. Sometimes it helps to restart apache
(php).

Tom

Op 3-12-2012 21:32, Ron Mitchell schreef:

Hi Tom

unfortunately this doesn't fix it for me :-(

I've cleared cache and restarted the browser but still the same problem.

Does that change require an Apache restart?

Did you get to a point where you were no longer getting a blank screen and
seeing the workspace clear when creating a new LO?

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To 

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend
installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in
moodle_request_shutdown() .....

Tom




Op 3-12-2012 20:38, Ron Mitchell schreef:

Hi Tom

yes so for example /var/www/moodle/config.php 

or on shared hosting might be /home/user/public_html/moodle/config.php

 

Not sure why you get a blank page - at least I get to see the workspace! ;-)

 

If you change authentication to moodle and restart the browser do you get
prompted to login to moodle? If you do then the path you have entered is
correct.

 

HTH
Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle
config.php, right?

It is definitely not working, I get a blank page, until I remove the config
path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing
in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview
and try to select a different image....

Tom

Tom






Op 3-12-2012 17:57, Ron Mitchell schreef:

Hi John

I can't help with a VM but here's the steps to replicate...

 

1. Create a directory in the web root and copy across an export from the
latest svn trunk e.g. xot19

2. Create a new database and user with the relevant privileges or use the
mysql root account if only a test

3. Browse to /xot19/setup/ and follows the tests or go straight to
/xot19/setup/page1.php

4. During setup add the admin account credentials (whatever you want) and
leave integration_config_path empty

5. Upon completion browse to the xot19 url which by default should be guest
access and create a couple of tests LO's

All should be fine at this point.

6. Visit /xot19/management.php and add the path to moodle config.php

7. Now whether you leave authentication set to guest or change it to moodle
you should see the problem with creating new LO's etc. I'll send a link to a
screencast of that later.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Hi,

 

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran
out of time and into problems figuring out where to put passwords into the
database using phpMyAdmin, setting up the integration path etc.

 

If someone wants to share a VM which exhibits the problem and share it then
I'll definitely take a look at debugging. 

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

 

Hi,

 

Starting a new thread on the current issues with the integration path stuff.
I'm afraid my own technical knowledge doesn't go far in the relevant areas,
but it is clear that we have a problem that needs resolving before we can
make the Xenith code available to everyone, and it seems to me that recent
changes have introduced the problem. Ron has done a lot to try and isolate
the problem, thanks a lot for persisting Ron! 

 

Somehow we need to resolve it. I'm open for ideas on how we can best work
through it: in an ideal world I'd get Ron to sit with Pat at a computer
until the problem is cracked, but since that's not possible, is this
something we can do online somehow? Anyone got any better ideas?

 

Julian

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html

















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







-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 
















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






-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 














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





-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From ronm at mitchellmedia.co.uk  Mon Dec  3 21:11:48 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Mon, 3 Dec 2012 21:11:48 -0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <006b01cdd199$7a6ce210$6f46a630$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>
	<006b01cdd199$7a6ce210$6f46a630$@co.uk>
Message-ID: <007601cdd19a$cf28aa90$6d79ffb0$@co.uk>

Also as far as I can see the last change to /trunk/functions.php was a
change you made on 23rd of October Tom way before these problems started.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 December 2012 21:02
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

I changed functions.php and restarted Apache but it hasn't fixed the create
new project issue for me.

 

You had a blank screen previously - could this be a separate issue? 

Did you ever see the create a new project workspace clears issue?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 20:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

It's working for me now.

And whether you have to restart apache depends a bit on whether you have
eAccelerator or something active. Sometimes it helps to restart apache
(php).

Tom

Op 3-12-2012 21:32, Ron Mitchell schreef:

Hi Tom

unfortunately this doesn't fix it for me :-(

I've cleared cache and restarted the browser but still the same problem.

Does that change require an Apache restart?

Did you get to a point where you were no longer getting a blank screen and
seeing the workspace clear when creating a new LO?

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To 

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend
installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in
moodle_request_shutdown() .....

Tom



Op 3-12-2012 20:38, Ron Mitchell schreef:

Hi Tom

yes so for example /var/www/moodle/config.php 

or on shared hosting might be /home/user/public_html/moodle/config.php

 

Not sure why you get a blank page - at least I get to see the workspace! ;-)

 

If you change authentication to moodle and restart the browser do you get
prompted to login to moodle? If you do then the path you have entered is
correct.

 

HTH
Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle
config.php, right?

It is definitely not working, I get a blank page, until I remove the config
path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing
in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview
and try to select a different image....

Tom

Tom





Op 3-12-2012 17:57, Ron Mitchell schreef:

Hi John

I can't help with a VM but here's the steps to replicate...

 

1. Create a directory in the web root and copy across an export from the
latest svn trunk e.g. xot19

2. Create a new database and user with the relevant privileges or use the
mysql root account if only a test

3. Browse to /xot19/setup/ and follows the tests or go straight to
/xot19/setup/page1.php

4. During setup add the admin account credentials (whatever you want) and
leave integration_config_path empty

5. Upon completion browse to the xot19 url which by default should be guest
access and create a couple of tests LO's

All should be fine at this point.

6. Visit /xot19/management.php and add the path to moodle config.php

7. Now whether you leave authentication set to guest or change it to moodle
you should see the problem with creating new LO's etc. I'll send a link to a
screencast of that later.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Hi,

 

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran
out of time and into problems figuring out where to put passwords into the
database using phpMyAdmin, setting up the integration path etc.

 

If someone wants to share a VM which exhibits the problem and share it then
I'll definitely take a look at debugging. 

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

 

Hi,

 

Starting a new thread on the current issues with the integration path stuff.
I'm afraid my own technical knowledge doesn't go far in the relevant areas,
but it is clear that we have a problem that needs resolving before we can
make the Xenith code available to everyone, and it seems to me that recent
changes have introduced the problem. Ron has done a lot to try and isolate
the problem, thanks a lot for persisting Ron! 

 

Somehow we need to resolve it. I'm open for ideas on how we can best work
through it: in an ideal world I'd get Ron to sit with Pat at a computer
until the problem is cracked, but since that's not possible, is this
something we can do online somehow? Anyone got any better ideas?

 

Julian

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html















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






-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 














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





-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 












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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From reijnders at tor.nl  Mon Dec  3 21:11:54 2012
From: reijnders at tor.nl (Tom Reijnders)
Date: Mon, 03 Dec 2012 22:11:54 +0100
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <006b01cdd199$7a6ce210$6f46a630$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>
	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>
	<50BD1050.1030508@tor.nl> <006b01cdd199$7a6ce210$6f46a630$@co.uk>
Message-ID: <50BD159A.7040408@tor.nl>

No. I did have a situation, that the newly created LO's were only 
visible after a refresh, but like you said, that might be the popup 
business.

Tom
Op 3-12-2012 22:02, Ron Mitchell schreef:
>
> I changed functions.php and restarted Apache but it hasn't fixed the 
> create new project issue for me.
>
> You had a blank screen previously - could this be a separate issue?
>
> Did you ever see the create a new project workspace clears issue?
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom 
> Reijnders
> *Sent:* 03 December 2012 20:49
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues
>
> It's working for me now.
>
> And whether you have to restart apache depends a bit on whether you 
> have eAccelerator or something active. Sometimes it helps to restart 
> apache (php).
>
> Tom
>
> Op 3-12-2012 21:32, Ron Mitchell schreef:
>
>     Hi Tom
>
>     unfortunately this doesn't fix it for me :-(
>
>     I've cleared cache and restarted the browser but still the same
>     problem.
>
>     Does that change require an Apache restart?
>
>     Did you get to a point where you were no longer getting a blank
>     screen and seeing the workspace clear when creating a new LO?
>
>     Ron
>
>     *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>     
>     [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of
>     *Tom Reijnders
>     *Sent:* 03 December 2012 19:46
>     *To:* For Xerte technical developers
>     *Subject:* [Xerte-dev] Re: Current Issues
>
>     Ok...
>
>     I've got it working here, if I change line 48 of functions.php
>
>     $language = new Zend_Locale();
>
>     To
>
>     $language = 'en-GB';   (and yes I realize it is doing something else)
>
>
>     If this also works for you, than something has changed in the Zend
>     installation.
>
>     Somewhere in tracing through the constructor of Zend_Locale I end
>     up in moodle_request_shutdown() .....
>
>     Tom
>
>
>     Op 3-12-2012 20:38, Ron Mitchell schreef:
>
>         Hi Tom
>
>         yes so for example /var/www/moodle/config.php
>
>         or on shared hosting might be
>         /home/user/public_html/moodle/config.php
>
>         Not sure why you get a blank page - at least I get to see the
>         workspace! ;-)
>
>         If you change authentication to moodle and restart the browser
>         do you get prompted to login to moodle? If you do then the
>         path you have entered is correct.
>
>         HTH
>         Ron
>
>         *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>         
>         [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf
>         Of *Tom Reijnders
>         *Sent:* 03 December 2012 19:03
>         *To:* For Xerte technical developers
>         *Subject:* [Xerte-dev] Re: Current Issues
>
>         Ron,
>
>         Just to be sure, in step 6, this is the full Linux file path
>         to the moodle config.php, right?
>
>         It is definitely not working, I get a blank page, until I
>         remove the config path from the sitedetails page.
>
>         Nothing shows up in the debug.log, not in the apache errorlog,
>         and nothing in the javascript console.
>
>         I will try to start all this in the debugger (xdebug).
>
>
>         There are two other issues in my install:
>         1. Sometimes the editor disappears behind the browser window.
>         2. In a Media page with an image, preview, all is fine, now
>         close preview and try to select a different image....
>
>         Tom
>
>         Tom
>
>
>
>
>         Op 3-12-2012 17:57, Ron Mitchell schreef:
>
>             Hi John
>
>             I can't help with a VM but here's the steps to replicate...
>
>             1. Create a directory in the web root and copy across an
>             export from the latest svn trunk e.g. xot19
>
>             2. Create a new database and user with the relevant
>             privileges or use the mysql root account if only a test
>
>             3. Browse to /xot19/setup/ and follows the tests or go
>             straight to /xot19/setup/page1.php
>
>             4. During setup add the admin account credentials
>             (whatever you want) and leave integration_config_path empty
>
>             5. Upon completion browse to the xot19 url which by
>             default should be guest access and create a couple of
>             tests LO's
>
>             All should be fine at this point.
>
>             6. Visit /xot19/management.php and add the path to moodle
>             config.php
>
>             7. Now whether you leave authentication set to guest or
>             change it to moodle you should see the problem with
>             creating new LO's etc. I'll send a link to a screencast of
>             that later.
>
>             HTH
>
>             Ron
>
>             *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>             
>             [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On
>             Behalf Of *Smith, John
>             *Sent:* 03 December 2012 15:38
>             *To:* For Xerte technical developers
>             *Subject:* [Xerte-dev] Re: Current Issues
>
>             Hi,
>
>             I had a go at setting up on a Ubuntu VM on VirtualBox at
>             the weekend but ran out of time and into problems figuring
>             out where to put passwords into the database using
>             phpMyAdmin, setting up the integration path etc...
>
>             If someone wants to share a VM which exhibits the problem
>             and share it then I'll definitely take a look at debugging...
>
>             Regards,
>
>             John Smith
>
>             Learning Technologist
>
>             School of Health & Life Sciences
>
>             Glasgow Caledonian University
>
>             *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>             
>             [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On
>             Behalf Of *Julian Tenney
>             *Sent:* Monday, December 03, 2012 2:08 PM
>             *To:* For Xerte technical developers
>             *Subject:* [Xerte-dev] Current Issues
>
>             Hi,
>
>             Starting a new thread on the current issues with the
>             integration path stuff. I'm afraid my own technical
>             knowledge doesn't go far in the relevant areas, but it is
>             clear that we have a problem that needs resolving before
>             we can make the Xenith code available to everyone, and it
>             seems to me that recent changes have introduced the
>             problem. Ron has done a lot to try and isolate the
>             problem, thanks a lot for persisting Ron!
>
>             Somehow we need to resolve it. I'm open for ideas on how
>             we can best work through it: in an ideal world I'd get Ron
>             to sit with Pat at a computer until the problem is
>             cracked, but since that's not possible, is this something
>             we can do online somehow? Anyone got any better ideas?
>
>             Julian
>
>
>             Glasgow Caledonian University is a registered Scottish
>             charity, number SC021474
>
>             Winner: Times Higher Education's Widening Participation
>             Initiative of the Year 2009 and Herald Society's Education
>             Initiative of the Year 2009.
>             http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
>             Winner: Times Higher Education's Outstanding Support for
>             Early Career Researchers of the Year 2010, GCU as a lead
>             with Universities Scotland partners.
>             http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
>
>
>
>
>
>
>
>
>
>
>
>
>
>             _______________________________________________
>
>             Xerte-dev mailing list
>
>             Xerte-dev at lists.nottingham.ac.uk  
>
>             http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
>
>
>         -- 
>
>         --
>
>           
>
>         Tom Reijnders
>
>         TOR Informatica
>
>         Chopinlaan 27
>
>         5242HM Rosmalen
>
>         Tel: 073 5226191
>
>         Fax: 073 5226196
>
>           
>
>
>
>
>
>
>
>
>
>
>
>
>         _______________________________________________
>
>         Xerte-dev mailing list
>
>         Xerte-dev at lists.nottingham.ac.uk  
>
>         http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
>
>     -- 
>
>     --
>
>       
>
>     Tom Reijnders
>
>     TOR Informatica
>
>     Chopinlaan 27
>
>     5242HM Rosmalen
>
>     Tel: 073 5226191
>
>     Fax: 073 5226196
>
>       
>
>
>
>
>
>
>
>
>
>
>     _______________________________________________
>
>     Xerte-dev mailing list
>
>     Xerte-dev at lists.nottingham.ac.uk  
>
>     http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
> -- 
> --
>   
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>   
>
>
>
>
>
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From reijnders at tor.nl  Mon Dec  3 21:14:59 2012
From: reijnders at tor.nl (Tom Reijnders)
Date: Mon, 03 Dec 2012 22:14:59 +0100
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <007601cdd19a$cf28aa90$6d79ffb0$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>
	<006b01cdd199$7a6ce210$6f46a630$@co.uk>
	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>
Message-ID: <50BD1653.50705@tor.nl>

Yes, but is the Zend folder changed recently? (I am currently not behind 
my PC, so can't check)

I did have a situation where MySQL statements took so long, that the 
workspace was not complete. But then you would have to have 10ths of 
LO's in your workspace.

Can it have anything to do with the version of Moodle used?

Tom

Op 3-12-2012 22:11, Ron Mitchell schreef:
>
> Also as far as I can see the last change to /trunk/functions.php was a 
> change you made on 23rd of October Tom way before these problems started.
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron 
> Mitchell
> *Sent:* 03 December 2012 21:02
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: Current Issues
>
> I changed functions.php and restarted Apache but it hasn't fixed the 
> create new project issue for me.
>
> You had a blank screen previously - could this be a separate issue?
>
> Did you ever see the create a new project workspace clears issue?
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk 
>  
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom 
> Reijnders
> *Sent:* 03 December 2012 20:49
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues
>
> It's working for me now.
>
> And whether you have to restart apache depends a bit on whether you 
> have eAccelerator or something active. Sometimes it helps to restart 
> apache (php).
>
> Tom
>
> Op 3-12-2012 21:32, Ron Mitchell schreef:
>
>     Hi Tom
>
>     unfortunately this doesn't fix it for me :-(
>
>     I've cleared cache and restarted the browser but still the same
>     problem.
>
>     Does that change require an Apache restart?
>
>     Did you get to a point where you were no longer getting a blank
>     screen and seeing the workspace clear when creating a new LO?
>
>     Ron
>
>     *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>     
>     [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of
>     *Tom Reijnders
>     *Sent:* 03 December 2012 19:46
>     *To:* For Xerte technical developers
>     *Subject:* [Xerte-dev] Re: Current Issues
>
>     Ok...
>
>     I've got it working here, if I change line 48 of functions.php
>
>     $language = new Zend_Locale();
>
>     To
>
>     $language = 'en-GB';   (and yes I realize it is doing something else)
>
>
>     If this also works for you, than something has changed in the Zend
>     installation.
>
>     Somewhere in tracing through the constructor of Zend_Locale I end
>     up in moodle_request_shutdown() .....
>
>     Tom
>
>     Op 3-12-2012 20:38, Ron Mitchell schreef:
>
>         Hi Tom
>
>         yes so for example /var/www/moodle/config.php
>
>         or on shared hosting might be
>         /home/user/public_html/moodle/config.php
>
>         Not sure why you get a blank page - at least I get to see the
>         workspace! ;-)
>
>         If you change authentication to moodle and restart the browser
>         do you get prompted to login to moodle? If you do then the
>         path you have entered is correct.
>
>         HTH
>         Ron
>
>         *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>         
>         [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf
>         Of *Tom Reijnders
>         *Sent:* 03 December 2012 19:03
>         *To:* For Xerte technical developers
>         *Subject:* [Xerte-dev] Re: Current Issues
>
>         Ron,
>
>         Just to be sure, in step 6, this is the full Linux file path
>         to the moodle config.php, right?
>
>         It is definitely not working, I get a blank page, until I
>         remove the config path from the sitedetails page.
>
>         Nothing shows up in the debug.log, not in the apache errorlog,
>         and nothing in the javascript console.
>
>         I will try to start all this in the debugger (xdebug).
>
>
>         There are two other issues in my install:
>         1. Sometimes the editor disappears behind the browser window.
>         2. In a Media page with an image, preview, all is fine, now
>         close preview and try to select a different image....
>
>         Tom
>
>         Tom
>
>
>
>         Op 3-12-2012 17:57, Ron Mitchell schreef:
>
>             Hi John
>
>             I can't help with a VM but here's the steps to replicate...
>
>             1. Create a directory in the web root and copy across an
>             export from the latest svn trunk e.g. xot19
>
>             2. Create a new database and user with the relevant
>             privileges or use the mysql root account if only a test
>
>             3. Browse to /xot19/setup/ and follows the tests or go
>             straight to /xot19/setup/page1.php
>
>             4. During setup add the admin account credentials
>             (whatever you want) and leave integration_config_path empty
>
>             5. Upon completion browse to the xot19 url which by
>             default should be guest access and create a couple of
>             tests LO's
>
>             All should be fine at this point.
>
>             6. Visit /xot19/management.php and add the path to moodle
>             config.php
>
>             7. Now whether you leave authentication set to guest or
>             change it to moodle you should see the problem with
>             creating new LO's etc. I'll send a link to a screencast of
>             that later.
>
>             HTH
>
>             Ron
>
>             *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>             
>             [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On
>             Behalf Of *Smith, John
>             *Sent:* 03 December 2012 15:38
>             *To:* For Xerte technical developers
>             *Subject:* [Xerte-dev] Re: Current Issues
>
>             Hi,
>
>             I had a go at setting up on a Ubuntu VM on VirtualBox at
>             the weekend but ran out of time and into problems figuring
>             out where to put passwords into the database using
>             phpMyAdmin, setting up the integration path etc...
>
>             If someone wants to share a VM which exhibits the problem
>             and share it then I'll definitely take a look at debugging...
>
>             Regards,
>
>             John Smith
>
>             Learning Technologist
>
>             School of Health & Life Sciences
>
>             Glasgow Caledonian University
>
>             *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>             
>             [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On
>             Behalf Of *Julian Tenney
>             *Sent:* Monday, December 03, 2012 2:08 PM
>             *To:* For Xerte technical developers
>             *Subject:* [Xerte-dev] Current Issues
>
>             Hi,
>
>             Starting a new thread on the current issues with the
>             integration path stuff. I'm afraid my own technical
>             knowledge doesn't go far in the relevant areas, but it is
>             clear that we have a problem that needs resolving before
>             we can make the Xenith code available to everyone, and it
>             seems to me that recent changes have introduced the
>             problem. Ron has done a lot to try and isolate the
>             problem, thanks a lot for persisting Ron!
>
>             Somehow we need to resolve it. I'm open for ideas on how
>             we can best work through it: in an ideal world I'd get Ron
>             to sit with Pat at a computer until the problem is
>             cracked, but since that's not possible, is this something
>             we can do online somehow? Anyone got any better ideas?
>
>             Julian
>
>
>             Glasgow Caledonian University is a registered Scottish
>             charity, number SC021474
>
>             Winner: Times Higher Education's Widening Participation
>             Initiative of the Year 2009 and Herald Society's Education
>             Initiative of the Year 2009.
>             http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
>             Winner: Times Higher Education's Outstanding Support for
>             Early Career Researchers of the Year 2010, GCU as a lead
>             with Universities Scotland partners.
>             http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
>
>
>
>
>
>
>
>
>
>
>
>             _______________________________________________
>
>             Xerte-dev mailing list
>
>             Xerte-dev at lists.nottingham.ac.uk  
>
>             http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
>
>         -- 
>
>         --
>
>           
>
>         Tom Reijnders
>
>         TOR Informatica
>
>         Chopinlaan 27
>
>         5242HM Rosmalen
>
>         Tel: 073 5226191
>
>         Fax: 073 5226196
>
>           
>
>
>
>
>
>
>
>
>
>
>         _______________________________________________
>
>         Xerte-dev mailing list
>
>         Xerte-dev at lists.nottingham.ac.uk  
>
>         http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
>     -- 
>
>     --
>
>       
>
>     Tom Reijnders
>
>     TOR Informatica
>
>     Chopinlaan 27
>
>     5242HM Rosmalen
>
>     Tel: 073 5226191
>
>     Fax: 073 5226196
>
>       
>
>
>
>
>
>
>
>
>     _______________________________________________
>
>     Xerte-dev mailing list
>
>     Xerte-dev at lists.nottingham.ac.uk  
>
>     http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> -- 
> --
>   
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>   
>
>
>
>
>
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From ronm at mitchellmedia.co.uk  Mon Dec  3 21:22:48 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Mon, 3 Dec 2012 21:22:48 -0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <50BD159A.7040408@tor.nl>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>
	<006b01cdd199$7a6ce210$6f46a630$@co.uk> <50BD159A.7040408@tor.nl>
Message-ID: <008701cdd19c$58984550$09c8cff0$@co.uk>

Seems like a different issue then.

As you know with the issue I have (on two different servers) the LO gets
created but with the folder value in templaterights set to 0 so it doesn't
appear in the workspace even after refresh.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 21:12
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

No. I did have a situation, that the newly created LO's were only visible
after a refresh, but like you said, that might be the popup business.

Tom

Op 3-12-2012 22:02, Ron Mitchell schreef:

I changed functions.php and restarted Apache but it hasn't fixed the create
new project issue for me.

 

You had a blank screen previously - could this be a separate issue? 

Did you ever see the create a new project workspace clears issue?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 20:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

It's working for me now.

And whether you have to restart apache depends a bit on whether you have
eAccelerator or something active. Sometimes it helps to restart apache
(php).

Tom

Op 3-12-2012 21:32, Ron Mitchell schreef:

Hi Tom

unfortunately this doesn't fix it for me :-(

I've cleared cache and restarted the browser but still the same problem.

Does that change require an Apache restart?

Did you get to a point where you were no longer getting a blank screen and
seeing the workspace clear when creating a new LO?

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To 

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend
installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in
moodle_request_shutdown() .....

Tom





Op 3-12-2012 20:38, Ron Mitchell schreef:

Hi Tom

yes so for example /var/www/moodle/config.php 

or on shared hosting might be /home/user/public_html/moodle/config.php

 

Not sure why you get a blank page - at least I get to see the workspace! ;-)

 

If you change authentication to moodle and restart the browser do you get
prompted to login to moodle? If you do then the path you have entered is
correct.

 

HTH
Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle
config.php, right?

It is definitely not working, I get a blank page, until I remove the config
path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing
in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview
and try to select a different image....

Tom

Tom







Op 3-12-2012 17:57, Ron Mitchell schreef:

Hi John

I can't help with a VM but here's the steps to replicate...

 

1. Create a directory in the web root and copy across an export from the
latest svn trunk e.g. xot19

2. Create a new database and user with the relevant privileges or use the
mysql root account if only a test

3. Browse to /xot19/setup/ and follows the tests or go straight to
/xot19/setup/page1.php

4. During setup add the admin account credentials (whatever you want) and
leave integration_config_path empty

5. Upon completion browse to the xot19 url which by default should be guest
access and create a couple of tests LO's

All should be fine at this point.

6. Visit /xot19/management.php and add the path to moodle config.php

7. Now whether you leave authentication set to guest or change it to moodle
you should see the problem with creating new LO's etc. I'll send a link to a
screencast of that later.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Hi,

 

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran
out of time and into problems figuring out where to put passwords into the
database using phpMyAdmin, setting up the integration path etc.

 

If someone wants to share a VM which exhibits the problem and share it then
I'll definitely take a look at debugging. 

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

 

Hi,

 

Starting a new thread on the current issues with the integration path stuff.
I'm afraid my own technical knowledge doesn't go far in the relevant areas,
but it is clear that we have a problem that needs resolving before we can
make the Xenith code available to everyone, and it seems to me that recent
changes have introduced the problem. Ron has done a lot to try and isolate
the problem, thanks a lot for persisting Ron! 

 

Somehow we need to resolve it. I'm open for ideas on how we can best work
through it: in an ideal world I'd get Ron to sit with Pat at a computer
until the problem is cracked, but since that's not possible, is this
something we can do online somehow? Anyone got any better ideas?

 

Julian

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html



















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








-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 


















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







-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 
















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






-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 














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





-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From ronm at mitchellmedia.co.uk  Mon Dec  3 21:33:00 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Mon, 3 Dec 2012 21:33:00 -0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <50BD1653.50705@tor.nl>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>	<006b01cdd199$7a6ce210$6f46a630$@co.uk>	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>
	<50BD1653.50705@tor.nl>
Message-ID: <009801cdd19d$c57dd080$50797180$@co.uk>

As far as I can see the last change to the zend folder was 29/04/2012

 

On both installations I've been testing the moodle is 1.9x What about yours?

 

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 21:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Yes, but is the Zend folder changed recently? (I am currently not behind my
PC, so can't check)

I did have a situation where MySQL statements took so long, that the
workspace was not complete. But then you would have to have 10ths of LO's in
your workspace.

Can it have anything to do with the version of Moodle used?

Tom

Op 3-12-2012 22:11, Ron Mitchell schreef:

Also as far as I can see the last change to /trunk/functions.php was a
change you made on 23rd of October Tom way before these problems started.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 December 2012 21:02
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

I changed functions.php and restarted Apache but it hasn't fixed the create
new project issue for me.

 

You had a blank screen previously - could this be a separate issue? 

Did you ever see the create a new project workspace clears issue?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 20:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

It's working for me now.

And whether you have to restart apache depends a bit on whether you have
eAccelerator or something active. Sometimes it helps to restart apache
(php).

Tom

Op 3-12-2012 21:32, Ron Mitchell schreef:

Hi Tom

unfortunately this doesn't fix it for me :-(

I've cleared cache and restarted the browser but still the same problem.

Does that change require an Apache restart?

Did you get to a point where you were no longer getting a blank screen and
seeing the workspace clear when creating a new LO?

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To 

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend
installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in
moodle_request_shutdown() .....

Tom




Op 3-12-2012 20:38, Ron Mitchell schreef:

Hi Tom

yes so for example /var/www/moodle/config.php 

or on shared hosting might be /home/user/public_html/moodle/config.php

 

Not sure why you get a blank page - at least I get to see the workspace! ;-)

 

If you change authentication to moodle and restart the browser do you get
prompted to login to moodle? If you do then the path you have entered is
correct.

 

HTH
Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle
config.php, right?

It is definitely not working, I get a blank page, until I remove the config
path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing
in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview
and try to select a different image....

Tom

Tom






Op 3-12-2012 17:57, Ron Mitchell schreef:

Hi John

I can't help with a VM but here's the steps to replicate...

 

1. Create a directory in the web root and copy across an export from the
latest svn trunk e.g. xot19

2. Create a new database and user with the relevant privileges or use the
mysql root account if only a test

3. Browse to /xot19/setup/ and follows the tests or go straight to
/xot19/setup/page1.php

4. During setup add the admin account credentials (whatever you want) and
leave integration_config_path empty

5. Upon completion browse to the xot19 url which by default should be guest
access and create a couple of tests LO's

All should be fine at this point.

6. Visit /xot19/management.php and add the path to moodle config.php

7. Now whether you leave authentication set to guest or change it to moodle
you should see the problem with creating new LO's etc. I'll send a link to a
screencast of that later.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Hi,

 

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran
out of time and into problems figuring out where to put passwords into the
database using phpMyAdmin, setting up the integration path etc.

 

If someone wants to share a VM which exhibits the problem and share it then
I'll definitely take a look at debugging. 

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

 

Hi,

 

Starting a new thread on the current issues with the integration path stuff.
I'm afraid my own technical knowledge doesn't go far in the relevant areas,
but it is clear that we have a problem that needs resolving before we can
make the Xenith code available to everyone, and it seems to me that recent
changes have introduced the problem. Ron has done a lot to try and isolate
the problem, thanks a lot for persisting Ron! 

 

Somehow we need to resolve it. I'm open for ideas on how we can best work
through it: in an ideal world I'd get Ron to sit with Pat at a computer
until the problem is cracked, but since that's not possible, is this
something we can do online somehow? Anyone got any better ideas?

 

Julian

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html

















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







-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 
















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






-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 














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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 














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





-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From ronm at mitchellmedia.co.uk  Mon Dec  3 22:02:18 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Mon, 3 Dec 2012 22:02:18 -0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <009801cdd19d$c57dd080$50797180$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>	<006b01cdd199$7a6ce210$6f46a630$@co.uk>	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>	<50BD1653.50705@tor.nl>
	<009801cdd19d$c57dd080$50797180$@co.uk>
Message-ID: <00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>

Tom

do you have a moodle 1.9 to test with?

 

Your question about moodle version gave me an idea to test locally with
xampp. I'm going to say this with caution because I thought I was able to
reproduce the problem with xampp previously too but I just tested the
following:

 

The test install I was using with xampp was using a moodle2 config path and
not giving the same problems as the linux servers. So I just change that
config path to a moodle 1.9 install and it did then give the same problems.
I then changed the config path back to a 1.9 install and the problem is
there again.

 

So not forgetting that the Techdis server install has been working fine with
a moodle 1.9 config all this time it seems this indicates the following:

 

a recent XOT code change has introduced a clash with moodle 1.9 but not
moodle 2?

 

the problem can be reproduced on Windows via xampp if moodle 1.9 is avilable
to add as the integration_config_path

 

In theory I could upgrade the Moodle on the techdis server to a later
version because we aren't using that install for anything else but that
doesn't help people who want to upgrade xot but can't yet upgrade their
Moodle and it doesn't really help identify the specific
change/cause/solution either.

 

However maybe it's easier to track down with xampp?

 

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: 03 December 2012 21:33
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

As far as I can see the last change to the zend folder was 29/04/2012

 

On both installations I've been testing the moodle is 1.9x What about yours?

 

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 21:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Yes, but is the Zend folder changed recently? (I am currently not behind my
PC, so can't check)

I did have a situation where MySQL statements took so long, that the
workspace was not complete. But then you would have to have 10ths of LO's in
your workspace.

Can it have anything to do with the version of Moodle used?

Tom

Op 3-12-2012 22:11, Ron Mitchell schreef:

Also as far as I can see the last change to /trunk/functions.php was a
change you made on 23rd of October Tom way before these problems started.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 December 2012 21:02
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

I changed functions.php and restarted Apache but it hasn't fixed the create
new project issue for me.

 

You had a blank screen previously - could this be a separate issue? 

Did you ever see the create a new project workspace clears issue?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 20:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

It's working for me now.

And whether you have to restart apache depends a bit on whether you have
eAccelerator or something active. Sometimes it helps to restart apache
(php).

Tom

Op 3-12-2012 21:32, Ron Mitchell schreef:

Hi Tom

unfortunately this doesn't fix it for me :-(

I've cleared cache and restarted the browser but still the same problem.

Does that change require an Apache restart?

Did you get to a point where you were no longer getting a blank screen and
seeing the workspace clear when creating a new LO?

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To 

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend
installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in
moodle_request_shutdown() .....

Tom



Op 3-12-2012 20:38, Ron Mitchell schreef:

Hi Tom

yes so for example /var/www/moodle/config.php 

or on shared hosting might be /home/user/public_html/moodle/config.php

 

Not sure why you get a blank page - at least I get to see the workspace! ;-)

 

If you change authentication to moodle and restart the browser do you get
prompted to login to moodle? If you do then the path you have entered is
correct.

 

HTH
Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle
config.php, right?

It is definitely not working, I get a blank page, until I remove the config
path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing
in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview
and try to select a different image....

Tom

Tom





Op 3-12-2012 17:57, Ron Mitchell schreef:

Hi John

I can't help with a VM but here's the steps to replicate...

 

1. Create a directory in the web root and copy across an export from the
latest svn trunk e.g. xot19

2. Create a new database and user with the relevant privileges or use the
mysql root account if only a test

3. Browse to /xot19/setup/ and follows the tests or go straight to
/xot19/setup/page1.php

4. During setup add the admin account credentials (whatever you want) and
leave integration_config_path empty

5. Upon completion browse to the xot19 url which by default should be guest
access and create a couple of tests LO's

All should be fine at this point.

6. Visit /xot19/management.php and add the path to moodle config.php

7. Now whether you leave authentication set to guest or change it to moodle
you should see the problem with creating new LO's etc. I'll send a link to a
screencast of that later.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Hi,

 

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran
out of time and into problems figuring out where to put passwords into the
database using phpMyAdmin, setting up the integration path etc.

 

If someone wants to share a VM which exhibits the problem and share it then
I'll definitely take a look at debugging. 

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

 

Hi,

 

Starting a new thread on the current issues with the integration path stuff.
I'm afraid my own technical knowledge doesn't go far in the relevant areas,
but it is clear that we have a problem that needs resolving before we can
make the Xenith code available to everyone, and it seems to me that recent
changes have introduced the problem. Ron has done a lot to try and isolate
the problem, thanks a lot for persisting Ron! 

 

Somehow we need to resolve it. I'm open for ideas on how we can best work
through it: in an ideal world I'd get Ron to sit with Pat at a computer
until the problem is cracked, but since that's not possible, is this
something we can do online somehow? Anyone got any better ideas?

 

Julian

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html















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






-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 














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





-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 












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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 












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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From reijnders at tor.nl  Mon Dec  3 22:12:25 2012
From: reijnders at tor.nl (Tom Reijnders)
Date: Mon, 03 Dec 2012 23:12:25 +0100
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>	<006b01cdd199$7a6ce210$6f46a630$@co.uk>	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>	<50BD1653.50705@tor.nl>
	<009801cdd19d$c57dd080$50797180$@co.uk>
	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>
Message-ID: <50BD23C9.8060306@tor.nl>

It's a version 2, but I don't know which one.

I also have a moodle 1.9 (but again, I don't know exactly what version). 
But  that one seems to work as well for me. But I have to clear cache 
etc, to make sure I don't use a different session.

Where can you check the exact version of moodle?

Op 3-12-2012 23:02, Ron Mitchell schreef:
>
> Tom
>
> do you have a moodle 1.9 to test with?
>
> Your question about moodle version gave me an idea to test locally 
> with xampp. I'm going to say this with caution because I thought I was 
> able to reproduce the problem with xampp previously too but I just 
> tested the following:
>
> The test install I was using with xampp was using a moodle2 config 
> path and not giving the same problems as the linux servers. So I just 
> change that config path to a moodle 1.9 install and it did then give 
> the same problems. I then changed the config path back to a 1.9 
> install and the problem is there again.
>
> So not forgetting that the Techdis server install has been working 
> fine with a moodle 1.9 config all this time it seems this indicates 
> the following:
>
> a recent XOT code change has introduced a clash with moodle 1.9 but 
> not moodle 2?
>
> the problem can be reproduced on Windows via xampp if moodle 1.9 is 
> avilable to add as the integration_config_path
>
> In theory I could upgrade the Moodle on the techdis server to a later 
> version because we aren't using that install for anything else but 
> that doesn't help people who want to upgrade xot but can't yet upgrade 
> their Moodle and it doesn't really help identify the specific 
> change/cause/solution either.
>
> However maybe it's easier to track down with xampp?
>
> 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:* 03 December 2012 21:33
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: Current Issues
>
> As far as I can see the last change to the zend folder was 29/04/2012
>
> On both installations I've been testing the moodle is 1.9x What about 
> yours?
>
> Ron
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk 
>  
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom 
> Reijnders
> *Sent:* 03 December 2012 21:15
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues
>
> Yes, but is the Zend folder changed recently? (I am currently not 
> behind my PC, so can't check)
>
> I did have a situation where MySQL statements took so long, that the 
> workspace was not complete. But then you would have to have 10ths of 
> LO's in your workspace.
>
> Can it have anything to do with the version of Moodle used?
>
> Tom
>
> Op 3-12-2012 22:11, Ron Mitchell schreef:
>
>     Also as far as I can see the last change to /trunk/functions.php
>     was a change you made on 23rd of October Tom way before these
>     problems started.
>
>     *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>     
>     [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of
>     *Ron Mitchell
>     *Sent:* 03 December 2012 21:02
>     *To:* 'For Xerte technical developers'
>     *Subject:* [Xerte-dev] Re: Current Issues
>
>     I changed functions.php and restarted Apache but it hasn't fixed
>     the create new project issue for me.
>
>     You had a blank screen previously - could this be a separate issue?
>
>     Did you ever see the create a new project workspace clears issue?
>
>     *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>     
>     [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of
>     *Tom Reijnders
>     *Sent:* 03 December 2012 20:49
>     *To:* For Xerte technical developers
>     *Subject:* [Xerte-dev] Re: Current Issues
>
>     It's working for me now.
>
>     And whether you have to restart apache depends a bit on whether
>     you have eAccelerator or something active. Sometimes it helps to
>     restart apache (php).
>
>     Tom
>
>     Op 3-12-2012 21:32, Ron Mitchell schreef:
>
>         Hi Tom
>
>         unfortunately this doesn't fix it for me :-(
>
>         I've cleared cache and restarted the browser but still the
>         same problem.
>
>         Does that change require an Apache restart?
>
>         Did you get to a point where you were no longer getting a
>         blank screen and seeing the workspace clear when creating a
>         new LO?
>
>         Ron
>
>         *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>         
>         [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf
>         Of *Tom Reijnders
>         *Sent:* 03 December 2012 19:46
>         *To:* For Xerte technical developers
>         *Subject:* [Xerte-dev] Re: Current Issues
>
>         Ok...
>
>         I've got it working here, if I change line 48 of functions.php
>
>         $language = new Zend_Locale();
>
>         To
>
>         $language = 'en-GB';   (and yes I realize it is doing
>         something else)
>
>
>         If this also works for you, than something has changed in the
>         Zend installation.
>
>         Somewhere in tracing through the constructor of Zend_Locale I
>         end up in moodle_request_shutdown() .....
>
>         Tom
>
>         Op 3-12-2012 20:38, Ron Mitchell schreef:
>
>             Hi Tom
>
>             yes so for example /var/www/moodle/config.php
>
>             or on shared hosting might be
>             /home/user/public_html/moodle/config.php
>
>             Not sure why you get a blank page - at least I get to see
>             the workspace! ;-)
>
>             If you change authentication to moodle and restart the
>             browser do you get prompted to login to moodle? If you do
>             then the path you have entered is correct.
>
>             HTH
>             Ron
>
>             *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>             
>             [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On
>             Behalf Of *Tom Reijnders
>             *Sent:* 03 December 2012 19:03
>             *To:* For Xerte technical developers
>             *Subject:* [Xerte-dev] Re: Current Issues
>
>             Ron,
>
>             Just to be sure, in step 6, this is the full Linux file
>             path to the moodle config.php, right?
>
>             It is definitely not working, I get a blank page, until I
>             remove the config path from the sitedetails page.
>
>             Nothing shows up in the debug.log, not in the apache
>             errorlog, and nothing in the javascript console.
>
>             I will try to start all this in the debugger (xdebug).
>
>
>             There are two other issues in my install:
>             1. Sometimes the editor disappears behind the browser window.
>             2. In a Media page with an image, preview, all is fine,
>             now close preview and try to select a different image....
>
>             Tom
>
>             Tom
>
>
>
>             Op 3-12-2012 17:57, Ron Mitchell schreef:
>
>                 Hi John
>
>                 I can't help with a VM but here's the steps to
>                 replicate...
>
>                 1. Create a directory in the web root and copy across
>                 an export from the latest svn trunk e.g. xot19
>
>                 2. Create a new database and user with the relevant
>                 privileges or use the mysql root account if only a test
>
>                 3. Browse to /xot19/setup/ and follows the tests or go
>                 straight to /xot19/setup/page1.php
>
>                 4. During setup add the admin account credentials
>                 (whatever you want) and leave integration_config_path
>                 empty
>
>                 5. Upon completion browse to the xot19 url which by
>                 default should be guest access and create a couple of
>                 tests LO's
>
>                 All should be fine at this point.
>
>                 6. Visit /xot19/management.php and add the path to
>                 moodle config.php
>
>                 7. Now whether you leave authentication set to guest
>                 or change it to moodle you should see the problem with
>                 creating new LO's etc. I'll send a link to a
>                 screencast of that later.
>
>                 HTH
>
>                 Ron
>
>                 *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>                 
>                 [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On
>                 Behalf Of *Smith, John
>                 *Sent:* 03 December 2012 15:38
>                 *To:* For Xerte technical developers
>                 *Subject:* [Xerte-dev] Re: Current Issues
>
>                 Hi,
>
>                 I had a go at setting up on a Ubuntu VM on VirtualBox
>                 at the weekend but ran out of time and into problems
>                 figuring out where to put passwords into the database
>                 using phpMyAdmin, setting up the integration path etc...
>
>                 If someone wants to share a VM which exhibits the
>                 problem and share it then I'll definitely take a look
>                 at debugging...
>
>                 Regards,
>
>                 John Smith
>
>                 Learning Technologist
>
>                 School of Health & Life Sciences
>
>                 Glasgow Caledonian University
>
>                 *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>                 
>                 [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On
>                 Behalf Of *Julian Tenney
>                 *Sent:* Monday, December 03, 2012 2:08 PM
>                 *To:* For Xerte technical developers
>                 *Subject:* [Xerte-dev] Current Issues
>
>                 Hi,
>
>                 Starting a new thread on the current issues with the
>                 integration path stuff. I'm afraid my own technical
>                 knowledge doesn't go far in the relevant areas, but it
>                 is clear that we have a problem that needs resolving
>                 before we can make the Xenith code available to
>                 everyone, and it seems to me that recent changes have
>                 introduced the problem. Ron has done a lot to try and
>                 isolate the problem, thanks a lot for persisting Ron!
>
>                 Somehow we need to resolve it. I'm open for ideas on
>                 how we can best work through it: in an ideal world I'd
>                 get Ron to sit with Pat at a computer until the
>                 problem is cracked, but since that's not possible, is
>                 this something we can do online somehow? Anyone got
>                 any better ideas?
>
>                 Julian
>
>
>                 Glasgow Caledonian University is a registered Scottish
>                 charity, number SC021474
>
>                 Winner: Times Higher Education's Widening
>                 Participation Initiative of the Year 2009 and Herald
>                 Society's Education Initiative of the Year 2009.
>                 http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
>                 Winner: Times Higher Education's Outstanding Support
>                 for Early Career Researchers of the Year 2010, GCU as
>                 a lead with Universities Scotland partners.
>                 http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
>
>
>
>
>
>
>
>
>
>
>
>                 _______________________________________________
>
>                 Xerte-dev mailing list
>
>                 Xerte-dev at lists.nottingham.ac.uk  
>
>                 http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
>
>             -- 
>
>             --
>
>               
>
>             Tom Reijnders
>
>             TOR Informatica
>
>             Chopinlaan 27
>
>             5242HM Rosmalen
>
>             Tel: 073 5226191
>
>             Fax: 073 5226196
>
>               
>
>
>
>
>
>
>
>
>
>
>             _______________________________________________
>
>             Xerte-dev mailing list
>
>             Xerte-dev at lists.nottingham.ac.uk  
>
>             http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
>         -- 
>
>         --
>
>           
>
>         Tom Reijnders
>
>         TOR Informatica
>
>         Chopinlaan 27
>
>         5242HM Rosmalen
>
>         Tel: 073 5226191
>
>         Fax: 073 5226196
>
>           
>
>
>
>
>
>
>
>
>         _______________________________________________
>
>         Xerte-dev mailing list
>
>         Xerte-dev at lists.nottingham.ac.uk  
>
>         http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>     -- 
>
>     --
>
>       
>
>     Tom Reijnders
>
>     TOR Informatica
>
>     Chopinlaan 27
>
>     5242HM Rosmalen
>
>     Tel: 073 5226191
>
>     Fax: 073 5226196
>
>       
>
>
>
>
>
>
>
>
>     _______________________________________________
>
>     Xerte-dev mailing list
>
>     Xerte-dev at lists.nottingham.ac.uk  
>
>     http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> -- 
> --
>   
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>   
>
>
>
>
>
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From reijnders at tor.nl  Mon Dec  3 22:18:44 2012
From: reijnders at tor.nl (Tom Reijnders)
Date: Mon, 03 Dec 2012 23:18:44 +0100
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <50BD23C9.8060306@tor.nl>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>	<006b01cdd199$7a6ce210$6f46a630$@co.uk>	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>	<50BD1653.50705@tor.nl>
	<009801cdd19d$c57dd080$50797180$@co.uk>
	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk> <50BD23C9.8060306@tor.nl>
Message-ID: <50BD2544.8000205@tor.nl>

Version 1.9 is not working either if I use the functions.php from svn. 
White screen again. (When using Moodle intergration).

Tom

Op 3-12-2012 23:12, Tom Reijnders schreef:
> It's a version 2, but I don't know which one.
>
> I also have a moodle 1.9 (but again, I don't know exactly what 
> version). But  that one seems to work as well for me. But I have to 
> clear cache etc, to make sure I don't use a different session.
>
> Where can you check the exact version of moodle?
>
> Op 3-12-2012 23:02, Ron Mitchell schreef:
>>
>> Tom
>>
>> do you have a moodle 1.9 to test with?
>>
>> Your question about moodle version gave me an idea to test locally 
>> with xampp. I'm going to say this with caution because I thought I 
>> was able to reproduce the problem with xampp previously too but I 
>> just tested the following:
>>
>> The test install I was using with xampp was using a moodle2 config 
>> path and not giving the same problems as the linux servers. So I just 
>> change that config path to a moodle 1.9 install and it did then give 
>> the same problems. I then changed the config path back to a 1.9 
>> install and the problem is there again.
>>
>> So not forgetting that the Techdis server install has been working 
>> fine with a moodle 1.9 config all this time it seems this indicates 
>> the following:
>>
>> a recent XOT code change has introduced a clash with moodle 1.9 but 
>> not moodle 2?
>>
>> the problem can be reproduced on Windows via xampp if moodle 1.9 is 
>> avilable to add as the integration_config_path
>>
>> In theory I could upgrade the Moodle on the techdis server to a later 
>> version because we aren't using that install for anything else but 
>> that doesn't help people who want to upgrade xot but can't yet 
>> upgrade their Moodle and it doesn't really help identify the specific 
>> change/cause/solution either.
>>
>> However maybe it's easier to track down with xampp?
>>
>> 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:* 03 December 2012 21:33
>> *To:* 'For Xerte technical developers'
>> *Subject:* [Xerte-dev] Re: Current Issues
>>
>> As far as I can see the last change to the zend folder was 29/04/2012
>>
>> On both installations I've been testing the moodle is 1.9x What about 
>> yours?
>>
>> Ron
>>
>> *From:*xerte-dev-bounces at lists.nottingham.ac.uk 
>>  
>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom 
>> Reijnders
>> *Sent:* 03 December 2012 21:15
>> *To:* For Xerte technical developers
>> *Subject:* [Xerte-dev] Re: Current Issues
>>
>> Yes, but is the Zend folder changed recently? (I am currently not 
>> behind my PC, so can't check)
>>
>> I did have a situation where MySQL statements took so long, that the 
>> workspace was not complete. But then you would have to have 10ths of 
>> LO's in your workspace.
>>
>> Can it have anything to do with the version of Moodle used?
>>
>> Tom
>>
>> Op 3-12-2012 22:11, Ron Mitchell schreef:
>>
>>     Also as far as I can see the last change to /trunk/functions.php
>>     was a change you made on 23rd of October Tom way before these
>>     problems started.
>>
>>     *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>>     
>>     [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of
>>     *Ron Mitchell
>>     *Sent:* 03 December 2012 21:02
>>     *To:* 'For Xerte technical developers'
>>     *Subject:* [Xerte-dev] Re: Current Issues
>>
>>     I changed functions.php and restarted Apache but it hasn't fixed
>>     the create new project issue for me.
>>
>>     You had a blank screen previously - could this be a separate issue?
>>
>>     Did you ever see the create a new project workspace clears issue?
>>
>>     *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>>     
>>     [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of
>>     *Tom Reijnders
>>     *Sent:* 03 December 2012 20:49
>>     *To:* For Xerte technical developers
>>     *Subject:* [Xerte-dev] Re: Current Issues
>>
>>     It's working for me now.
>>
>>     And whether you have to restart apache depends a bit on whether
>>     you have eAccelerator or something active. Sometimes it helps to
>>     restart apache (php).
>>
>>     Tom
>>
>>     Op 3-12-2012 21:32, Ron Mitchell schreef:
>>
>>         Hi Tom
>>
>>         unfortunately this doesn't fix it for me :-(
>>
>>         I've cleared cache and restarted the browser but still the
>>         same problem.
>>
>>         Does that change require an Apache restart?
>>
>>         Did you get to a point where you were no longer getting a
>>         blank screen and seeing the workspace clear when creating a
>>         new LO?
>>
>>         Ron
>>
>>         *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>>         
>>         [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf
>>         Of *Tom Reijnders
>>         *Sent:* 03 December 2012 19:46
>>         *To:* For Xerte technical developers
>>         *Subject:* [Xerte-dev] Re: Current Issues
>>
>>         Ok...
>>
>>         I've got it working here, if I change line 48 of functions.php
>>
>>         $language = new Zend_Locale();
>>
>>         To
>>
>>         $language = 'en-GB';   (and yes I realize it is doing
>>         something else)
>>
>>
>>         If this also works for you, than something has changed in the
>>         Zend installation.
>>
>>         Somewhere in tracing through the constructor of Zend_Locale I
>>         end up in moodle_request_shutdown() .....
>>
>>         Tom
>>
>>         Op 3-12-2012 20:38, Ron Mitchell schreef:
>>
>>             Hi Tom
>>
>>             yes so for example /var/www/moodle/config.php
>>
>>             or on shared hosting might be
>>             /home/user/public_html/moodle/config.php
>>
>>             Not sure why you get a blank page - at least I get to see
>>             the workspace! ;-)
>>
>>             If you change authentication to moodle and restart the
>>             browser do you get prompted to login to moodle? If you do
>>             then the path you have entered is correct.
>>
>>             HTH
>>             Ron
>>
>>             *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>>             
>>             [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On
>>             Behalf Of *Tom Reijnders
>>             *Sent:* 03 December 2012 19:03
>>             *To:* For Xerte technical developers
>>             *Subject:* [Xerte-dev] Re: Current Issues
>>
>>             Ron,
>>
>>             Just to be sure, in step 6, this is the full Linux file
>>             path to the moodle config.php, right?
>>
>>             It is definitely not working, I get a blank page, until I
>>             remove the config path from the sitedetails page.
>>
>>             Nothing shows up in the debug.log, not in the apache
>>             errorlog, and nothing in the javascript console.
>>
>>             I will try to start all this in the debugger (xdebug).
>>
>>
>>             There are two other issues in my install:
>>             1. Sometimes the editor disappears behind the browser window.
>>             2. In a Media page with an image, preview, all is fine,
>>             now close preview and try to select a different image....
>>
>>             Tom
>>
>>             Tom
>>
>>
>>
>>             Op 3-12-2012 17:57, Ron Mitchell schreef:
>>
>>                 Hi John
>>
>>                 I can't help with a VM but here's the steps to
>>                 replicate...
>>
>>                 1. Create a directory in the web root and copy across
>>                 an export from the latest svn trunk e.g. xot19
>>
>>                 2. Create a new database and user with the relevant
>>                 privileges or use the mysql root account if only a test
>>
>>                 3. Browse to /xot19/setup/ and follows the tests or
>>                 go straight to /xot19/setup/page1.php
>>
>>                 4. During setup add the admin account credentials
>>                 (whatever you want) and leave integration_config_path
>>                 empty
>>
>>                 5. Upon completion browse to the xot19 url which by
>>                 default should be guest access and create a couple of
>>                 tests LO's
>>
>>                 All should be fine at this point.
>>
>>                 6. Visit /xot19/management.php and add the path to
>>                 moodle config.php
>>
>>                 7. Now whether you leave authentication set to guest
>>                 or change it to moodle you should see the problem
>>                 with creating new LO's etc. I'll send a link to a
>>                 screencast of that later.
>>
>>                 HTH
>>
>>                 Ron
>>
>>                 *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>>                 
>>                 [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On
>>                 Behalf Of *Smith, John
>>                 *Sent:* 03 December 2012 15:38
>>                 *To:* For Xerte technical developers
>>                 *Subject:* [Xerte-dev] Re: Current Issues
>>
>>                 Hi,
>>
>>                 I had a go at setting up on a Ubuntu VM on VirtualBox
>>                 at the weekend but ran out of time and into problems
>>                 figuring out where to put passwords into the database
>>                 using phpMyAdmin, setting up the integration path etc...
>>
>>                 If someone wants to share a VM which exhibits the
>>                 problem and share it then I'll definitely take a look
>>                 at debugging...
>>
>>                 Regards,
>>
>>                 John Smith
>>
>>                 Learning Technologist
>>
>>                 School of Health & Life Sciences
>>
>>                 Glasgow Caledonian University
>>
>>                 *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>>                 
>>                 [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On
>>                 Behalf Of *Julian Tenney
>>                 *Sent:* Monday, December 03, 2012 2:08 PM
>>                 *To:* For Xerte technical developers
>>                 *Subject:* [Xerte-dev] Current Issues
>>
>>                 Hi,
>>
>>                 Starting a new thread on the current issues with the
>>                 integration path stuff. I'm afraid my own technical
>>                 knowledge doesn't go far in the relevant areas, but
>>                 it is clear that we have a problem that needs
>>                 resolving before we can make the Xenith code
>>                 available to everyone, and it seems to me that recent
>>                 changes have introduced the problem. Ron has done a
>>                 lot to try and isolate the problem, thanks a lot for
>>                 persisting Ron!
>>
>>                 Somehow we need to resolve it. I'm open for ideas on
>>                 how we can best work through it: in an ideal world
>>                 I'd get Ron to sit with Pat at a computer until the
>>                 problem is cracked, but since that's not possible, is
>>                 this something we can do online somehow? Anyone got
>>                 any better ideas?
>>
>>                 Julian
>>
>>
>>                 Glasgow Caledonian University is a registered
>>                 Scottish charity, number SC021474
>>
>>                 Winner: Times Higher Education's Widening
>>                 Participation Initiative of the Year 2009 and Herald
>>                 Society's Education Initiative of the Year 2009.
>>                 http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>>
>>                 Winner: Times Higher Education's Outstanding Support
>>                 for Early Career Researchers of the Year 2010, GCU as
>>                 a lead with Universities Scotland partners.
>>                 http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>                 _______________________________________________
>>
>>                 Xerte-dev mailing list
>>
>>                 Xerte-dev at lists.nottingham.ac.uk  
>>
>>                 http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>>
>>
>>
>>             -- 
>>
>>             --
>>
>>               
>>
>>             Tom Reijnders
>>
>>             TOR Informatica
>>
>>             Chopinlaan 27
>>
>>             5242HM Rosmalen
>>
>>             Tel: 073 5226191
>>
>>             Fax: 073 5226196
>>
>>               
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>             _______________________________________________
>>
>>             Xerte-dev mailing list
>>
>>             Xerte-dev at lists.nottingham.ac.uk  
>>
>>             http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>>
>>
>>         -- 
>>
>>         --
>>
>>           
>>
>>         Tom Reijnders
>>
>>         TOR Informatica
>>
>>         Chopinlaan 27
>>
>>         5242HM Rosmalen
>>
>>         Tel: 073 5226191
>>
>>         Fax: 073 5226196
>>
>>           
>>
>>
>>
>>
>>
>>
>>
>>
>>         _______________________________________________
>>
>>         Xerte-dev mailing list
>>
>>         Xerte-dev at lists.nottingham.ac.uk  
>>
>>         http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>>     -- 
>>
>>     --
>>
>>       
>>
>>     Tom Reijnders
>>
>>     TOR Informatica
>>
>>     Chopinlaan 27
>>
>>     5242HM Rosmalen
>>
>>     Tel: 073 5226191
>>
>>     Fax: 073 5226196
>>
>>       
>>
>>
>>
>>
>>
>>
>>
>>
>>     _______________________________________________
>>
>>     Xerte-dev mailing list
>>
>>     Xerte-dev at lists.nottingham.ac.uk  
>>
>>     http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>> -- 
>> --
>>   
>> Tom Reijnders
>> TOR Informatica
>> Chopinlaan 27
>> 5242HM Rosmalen
>> Tel: 073 5226191
>> Fax: 073 5226196
>>   
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Xerte-dev mailing list
>> Xerte-dev at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> -- 
> --
>
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>
>
>
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From ronm at mitchellmedia.co.uk  Mon Dec  3 22:28:23 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Mon, 3 Dec 2012 22:28:23 -0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>	<006b01cdd199$7a6ce210$6f46a630$@co.uk>	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>	<50BD1653.50705@tor.nl>	<009801cdd19d$c57dd080$50797180$@co.uk>
	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>
Message-ID: <00ba01cdd1a5$825db240$871916c0$@co.uk>

Quick update..

 

I can reliably replicate the issue on xampp now...

 

Change integration_config_path to moodle 1.9x problem exists

Change integration_config_path to moodle 2x problem exists

 

Seems clear that a recent change has introduced a conflict with moodle
integration but that the conflict doesn't exist if moodle 2.x. 

 

However could the difference be zend/language string related rather than
specifically moodle?

 

In my experience there are still plenty of organisations who can't yet
upgrade to Moodle 2x for various reasons and the Techdis install has worked
all this time with Moodle 1.9 so it would be better to track down the
conflict if possible.

 

Tom - re versions

you can check via /admin/ e.g. http://localhost/moodle/admin/index.php

My local 1.9 is 1.9.9+

The Techdis install is 1.9.9

My local 2.x install is 2.2.6 or at least the one I've been testing with. I
have 2.3 so will test with that too but I suspect it's only going to be a
difference between major revisions e.g. 2.x works 1.9x doesn't. But
obviously 1.9 did before whatever has caused the conflict.

 

 

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 December 2012 22:02
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

Tom

do you have a moodle 1.9 to test with?

 

Your question about moodle version gave me an idea to test locally with
xampp. I'm going to say this with caution because I thought I was able to
reproduce the problem with xampp previously too but I just tested the
following:

 

The test install I was using with xampp was using a moodle2 config path and
not giving the same problems as the linux servers. So I just change that
config path to a moodle 1.9 install and it did then give the same problems.
I then changed the config path back to a 1.9 install and the problem is
there again.

 

So not forgetting that the Techdis server install has been working fine with
a moodle 1.9 config all this time it seems this indicates the following:

 

a recent XOT code change has introduced a clash with moodle 1.9 but not
moodle 2?

 

the problem can be reproduced on Windows via xampp if moodle 1.9 is avilable
to add as the integration_config_path

 

In theory I could upgrade the Moodle on the techdis server to a later
version because we aren't using that install for anything else but that
doesn't help people who want to upgrade xot but can't yet upgrade their
Moodle and it doesn't really help identify the specific
change/cause/solution either.

 

However maybe it's easier to track down with xampp?

 

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: 03 December 2012 21:33
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

As far as I can see the last change to the zend folder was 29/04/2012

 

On both installations I've been testing the moodle is 1.9x What about yours?

 

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 21:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Yes, but is the Zend folder changed recently? (I am currently not behind my
PC, so can't check)

I did have a situation where MySQL statements took so long, that the
workspace was not complete. But then you would have to have 10ths of LO's in
your workspace.

Can it have anything to do with the version of Moodle used?

Tom

Op 3-12-2012 22:11, Ron Mitchell schreef:

Also as far as I can see the last change to /trunk/functions.php was a
change you made on 23rd of October Tom way before these problems started.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 December 2012 21:02
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

I changed functions.php and restarted Apache but it hasn't fixed the create
new project issue for me.

 

You had a blank screen previously - could this be a separate issue? 

Did you ever see the create a new project workspace clears issue?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 20:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

It's working for me now.

And whether you have to restart apache depends a bit on whether you have
eAccelerator or something active. Sometimes it helps to restart apache
(php).

Tom

Op 3-12-2012 21:32, Ron Mitchell schreef:

Hi Tom

unfortunately this doesn't fix it for me :-(

I've cleared cache and restarted the browser but still the same problem.

Does that change require an Apache restart?

Did you get to a point where you were no longer getting a blank screen and
seeing the workspace clear when creating a new LO?

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To 

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend
installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in
moodle_request_shutdown() .....

Tom

Op 3-12-2012 20:38, Ron Mitchell schreef:

Hi Tom

yes so for example /var/www/moodle/config.php 

or on shared hosting might be /home/user/public_html/moodle/config.php

 

Not sure why you get a blank page - at least I get to see the workspace! ;-)

 

If you change authentication to moodle and restart the browser do you get
prompted to login to moodle? If you do then the path you have entered is
correct.

 

HTH
Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle
config.php, right?

It is definitely not working, I get a blank page, until I remove the config
path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing
in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview
and try to select a different image....

Tom

Tom




Op 3-12-2012 17:57, Ron Mitchell schreef:

Hi John

I can't help with a VM but here's the steps to replicate...

 

1. Create a directory in the web root and copy across an export from the
latest svn trunk e.g. xot19

2. Create a new database and user with the relevant privileges or use the
mysql root account if only a test

3. Browse to /xot19/setup/ and follows the tests or go straight to
/xot19/setup/page1.php

4. During setup add the admin account credentials (whatever you want) and
leave integration_config_path empty

5. Upon completion browse to the xot19 url which by default should be guest
access and create a couple of tests LO's

All should be fine at this point.

6. Visit /xot19/management.php and add the path to moodle config.php

7. Now whether you leave authentication set to guest or change it to moodle
you should see the problem with creating new LO's etc. I'll send a link to a
screencast of that later.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Hi,

 

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran
out of time and into problems figuring out where to put passwords into the
database using phpMyAdmin, setting up the integration path etc.

 

If someone wants to share a VM which exhibits the problem and share it then
I'll definitely take a look at debugging. 

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

 

Hi,

 

Starting a new thread on the current issues with the integration path stuff.
I'm afraid my own technical knowledge doesn't go far in the relevant areas,
but it is clear that we have a problem that needs resolving before we can
make the Xenith code available to everyone, and it seems to me that recent
changes have introduced the problem. Ron has done a lot to try and isolate
the problem, thanks a lot for persisting Ron! 

 

Somehow we need to resolve it. I'm open for ideas on how we can best work
through it: in an ideal world I'd get Ron to sit with Pat at a computer
until the problem is cracked, but since that's not possible, is this
something we can do online somehow? Anyone got any better ideas?

 

Julian

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html













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





-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 












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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 







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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 

 







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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 

 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From ronm at mitchellmedia.co.uk  Mon Dec  3 22:31:30 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Mon, 3 Dec 2012 22:31:30 -0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <50BD2544.8000205@tor.nl>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>	<006b01cdd199$7a6ce210$6f46a630$@co.uk>	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>	<50BD1653.50705@tor.nl>	<009801cdd19d$c57dd080$50797180$@co.uk>	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>
	<50BD23C9.8060306@tor.nl> <50BD2544.8000205@tor.nl>
Message-ID: <00c501cdd1a5$f177ed30$d467c790$@co.uk>

If you refresh do you then see the project you tried to create? Is that not
the pop-up issue again?

 

If you use your amended functions.php does that mean it all works or can you
then reproduce the issue of not being able to create a project or at least
not having that appear even after refresh because the folder value isn't
inserted in the db?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 22:19
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Version 1.9 is not working either if I use the functions.php from svn. White
screen again. (When using Moodle intergration).

Tom

Op 3-12-2012 23:12, Tom Reijnders schreef:

It's a version 2, but I don't know which one.

I also have a moodle 1.9 (but again, I don't know exactly what version). But
that one seems to work as well for me. But I have to clear cache etc, to
make sure I don't use a different session.

Where can you check the exact version of moodle?

Op 3-12-2012 23:02, Ron Mitchell schreef:

Tom

do you have a moodle 1.9 to test with?

 

Your question about moodle version gave me an idea to test locally with
xampp. I'm going to say this with caution because I thought I was able to
reproduce the problem with xampp previously too but I just tested the
following:

 

The test install I was using with xampp was using a moodle2 config path and
not giving the same problems as the linux servers. So I just change that
config path to a moodle 1.9 install and it did then give the same problems.
I then changed the config path back to a 1.9 install and the problem is
there again.

 

So not forgetting that the Techdis server install has been working fine with
a moodle 1.9 config all this time it seems this indicates the following:

 

a recent XOT code change has introduced a clash with moodle 1.9 but not
moodle 2?

 

the problem can be reproduced on Windows via xampp if moodle 1.9 is avilable
to add as the integration_config_path

 

In theory I could upgrade the Moodle on the techdis server to a later
version because we aren't using that install for anything else but that
doesn't help people who want to upgrade xot but can't yet upgrade their
Moodle and it doesn't really help identify the specific
change/cause/solution either.

 

However maybe it's easier to track down with xampp?

 

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: 03 December 2012 21:33
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

As far as I can see the last change to the zend folder was 29/04/2012

 

On both installations I've been testing the moodle is 1.9x What about yours?

 

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 21:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Yes, but is the Zend folder changed recently? (I am currently not behind my
PC, so can't check)

I did have a situation where MySQL statements took so long, that the
workspace was not complete. But then you would have to have 10ths of LO's in
your workspace.

Can it have anything to do with the version of Moodle used?

Tom

Op 3-12-2012 22:11, Ron Mitchell schreef:

Also as far as I can see the last change to /trunk/functions.php was a
change you made on 23rd of October Tom way before these problems started.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 December 2012 21:02
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

I changed functions.php and restarted Apache but it hasn't fixed the create
new project issue for me.

 

You had a blank screen previously - could this be a separate issue? 

Did you ever see the create a new project workspace clears issue?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 20:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

It's working for me now.

And whether you have to restart apache depends a bit on whether you have
eAccelerator or something active. Sometimes it helps to restart apache
(php).

Tom

Op 3-12-2012 21:32, Ron Mitchell schreef:

Hi Tom

unfortunately this doesn't fix it for me :-(

I've cleared cache and restarted the browser but still the same problem.

Does that change require an Apache restart?

Did you get to a point where you were no longer getting a blank screen and
seeing the workspace clear when creating a new LO?

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To 

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend
installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in
moodle_request_shutdown() .....

Tom




Op 3-12-2012 20:38, Ron Mitchell schreef:

Hi Tom

yes so for example /var/www/moodle/config.php 

or on shared hosting might be /home/user/public_html/moodle/config.php

 

Not sure why you get a blank page - at least I get to see the workspace! ;-)

 

If you change authentication to moodle and restart the browser do you get
prompted to login to moodle? If you do then the path you have entered is
correct.

 

HTH
Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle
config.php, right?

It is definitely not working, I get a blank page, until I remove the config
path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing
in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview
and try to select a different image....

Tom

Tom






Op 3-12-2012 17:57, Ron Mitchell schreef:

Hi John

I can't help with a VM but here's the steps to replicate...

 

1. Create a directory in the web root and copy across an export from the
latest svn trunk e.g. xot19

2. Create a new database and user with the relevant privileges or use the
mysql root account if only a test

3. Browse to /xot19/setup/ and follows the tests or go straight to
/xot19/setup/page1.php

4. During setup add the admin account credentials (whatever you want) and
leave integration_config_path empty

5. Upon completion browse to the xot19 url which by default should be guest
access and create a couple of tests LO's

All should be fine at this point.

6. Visit /xot19/management.php and add the path to moodle config.php

7. Now whether you leave authentication set to guest or change it to moodle
you should see the problem with creating new LO's etc. I'll send a link to a
screencast of that later.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Hi,

 

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran
out of time and into problems figuring out where to put passwords into the
database using phpMyAdmin, setting up the integration path etc.

 

If someone wants to share a VM which exhibits the problem and share it then
I'll definitely take a look at debugging. 

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

 

Hi,

 

Starting a new thread on the current issues with the integration path stuff.
I'm afraid my own technical knowledge doesn't go far in the relevant areas,
but it is clear that we have a problem that needs resolving before we can
make the Xenith code available to everyone, and it seems to me that recent
changes have introduced the problem. Ron has done a lot to try and isolate
the problem, thanks a lot for persisting Ron! 

 

Somehow we need to resolve it. I'm open for ideas on how we can best work
through it: in an ideal world I'd get Ron to sit with Pat at a computer
until the problem is cracked, but since that's not possible, is this
something we can do online somehow? Anyone got any better ideas?

 

Julian

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html

















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







-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 
















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






-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 














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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 














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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 














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





-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 









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





-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From reijnders at tor.nl  Mon Dec  3 22:40:03 2012
From: reijnders at tor.nl (Tom Reijnders)
Date: Mon, 03 Dec 2012 23:40:03 +0100
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <00c501cdd1a5$f177ed30$d467c790$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>	<006b01cdd199$7a6ce210$6f46a630$@co.uk>	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>	<50BD1653.50705@tor.nl>	<009801cdd19d$c57dd080$50797180$@co.uk>	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>
	<50BD23C9.8060306@tor.nl> <50BD2544.8000205@tor.nl>
	<00c501cdd1a5$f177ed30$d467c790$@co.uk>
Message-ID: <50BD2A43.6060008@tor.nl>

No, refresh doesn't work. If I use the changed functions.php, all seems 
to work fine for me.

Moodle 1.9.11 and 2.0.2

php 5.2.14

Op 3-12-2012 23:31, Ron Mitchell schreef:
>
> If you refresh do you then see the project you tried to create? Is 
> that not the pop-up issue again?
>
> If you use your amended functions.php does that mean it all works or 
> can you then reproduce the issue of not being able to create a project 
> or at least not having that appear even after refresh because the 
> folder value isn't inserted in the db?
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom 
> Reijnders
> *Sent:* 03 December 2012 22:19
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues
>
> Version 1.9 is not working either if I use the functions.php from svn. 
> White screen again. (When using Moodle intergration).
>
> Tom
>
> Op 3-12-2012 23:12, Tom Reijnders schreef:
>
>     It's a version 2, but I don't know which one.
>
>     I also have a moodle 1.9 (but again, I don't know exactly what
>     version). But  that one seems to work as well for me. But I have
>     to clear cache etc, to make sure I don't use a different session.
>
>     Where can you check the exact version of moodle?
>
>     Op 3-12-2012 23:02, Ron Mitchell schreef:
>
>         Tom
>
>         do you have a moodle 1.9 to test with?
>
>         Your question about moodle version gave me an idea to test
>         locally with xampp. I'm going to say this with caution because
>         I thought I was able to reproduce the problem with xampp
>         previously too but I just tested the following:
>
>         The test install I was using with xampp was using a moodle2
>         config path and not giving the same problems as the linux
>         servers. So I just change that config path to a moodle 1.9
>         install and it did then give the same problems. I then changed
>         the config path back to a 1.9 install and the problem is there
>         again.
>
>         So not forgetting that the Techdis server install has been
>         working fine with a moodle 1.9 config all this time it seems
>         this indicates the following:
>
>         a recent XOT code change has introduced a clash with moodle
>         1.9 but not moodle 2?
>
>         the problem can be reproduced on Windows via xampp if moodle
>         1.9 is avilable to add as the integration_config_path
>
>         In theory I could upgrade the Moodle on the techdis server to
>         a later version because we aren't using that install for
>         anything else but that doesn't help people who want to upgrade
>         xot but can't yet upgrade their Moodle and it doesn't really
>         help identify the specific change/cause/solution either.
>
>         However maybe it's easier to track down with xampp?
>
>         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:* 03 December 2012 21:33
>         *To:* 'For Xerte technical developers'
>         *Subject:* [Xerte-dev] Re: Current Issues
>
>         As far as I can see the last change to the zend folder was
>         29/04/2012
>
>         On both installations I've been testing the moodle is 1.9x
>         What about yours?
>
>         Ron
>
>         *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>         
>         [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf
>         Of *Tom Reijnders
>         *Sent:* 03 December 2012 21:15
>         *To:* For Xerte technical developers
>         *Subject:* [Xerte-dev] Re: Current Issues
>
>         Yes, but is the Zend folder changed recently? (I am currently
>         not behind my PC, so can't check)
>
>         I did have a situation where MySQL statements took so long,
>         that the workspace was not complete. But then you would have
>         to have 10ths of LO's in your workspace.
>
>         Can it have anything to do with the version of Moodle used?
>
>         Tom
>
>         Op 3-12-2012 22:11, Ron Mitchell schreef:
>
>             Also as far as I can see the last change to
>             /trunk/functions.php was a change you made on 23rd of
>             October Tom way before these problems started.
>
>             *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>             
>             [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On
>             Behalf Of *Ron Mitchell
>             *Sent:* 03 December 2012 21:02
>             *To:* 'For Xerte technical developers'
>             *Subject:* [Xerte-dev] Re: Current Issues
>
>             I changed functions.php and restarted Apache but it hasn't
>             fixed the create new project issue for me.
>
>             You had a blank screen previously - could this be a
>             separate issue?
>
>             Did you ever see the create a new project workspace clears
>             issue?
>
>             *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>             
>             [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On
>             Behalf Of *Tom Reijnders
>             *Sent:* 03 December 2012 20:49
>             *To:* For Xerte technical developers
>             *Subject:* [Xerte-dev] Re: Current Issues
>
>             It's working for me now.
>
>             And whether you have to restart apache depends a bit on
>             whether you have eAccelerator or something active.
>             Sometimes it helps to restart apache (php).
>
>             Tom
>
>             Op 3-12-2012 21:32, Ron Mitchell schreef:
>
>                 Hi Tom
>
>                 unfortunately this doesn't fix it for me :-(
>
>                 I've cleared cache and restarted the browser but still
>                 the same problem.
>
>                 Does that change require an Apache restart?
>
>                 Did you get to a point where you were no longer
>                 getting a blank screen and seeing the workspace clear
>                 when creating a new LO?
>
>                 Ron
>
>                 *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>                 
>                 [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On
>                 Behalf Of *Tom Reijnders
>                 *Sent:* 03 December 2012 19:46
>                 *To:* For Xerte technical developers
>                 *Subject:* [Xerte-dev] Re: Current Issues
>
>                 Ok...
>
>                 I've got it working here, if I change line 48 of
>                 functions.php
>
>                 $language = new Zend_Locale();
>
>                 To
>
>                 $language = 'en-GB';   (and yes I realize it is doing
>                 something else)
>
>
>                 If this also works for you, than something has changed
>                 in the Zend installation.
>
>                 Somewhere in tracing through the constructor of
>                 Zend_Locale I end up in moodle_request_shutdown() .....
>
>                 Tom
>
>
>                 Op 3-12-2012 20:38, Ron Mitchell schreef:
>
>                     Hi Tom
>
>                     yes so for example /var/www/moodle/config.php
>
>                     or on shared hosting might be
>                     /home/user/public_html/moodle/config.php
>
>                     Not sure why you get a blank page - at least I get
>                     to see the workspace! ;-)
>
>                     If you change authentication to moodle and restart
>                     the browser do you get prompted to login to
>                     moodle? If you do then the path you have entered
>                     is correct.
>
>                     HTH
>                     Ron
>
>                     *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>                     
>                     [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
>                     *On Behalf Of *Tom Reijnders
>                     *Sent:* 03 December 2012 19:03
>                     *To:* For Xerte technical developers
>                     *Subject:* [Xerte-dev] Re: Current Issues
>
>                     Ron,
>
>                     Just to be sure, in step 6, this is the full Linux
>                     file path to the moodle config.php, right?
>
>                     It is definitely not working, I get a blank page,
>                     until I remove the config path from the
>                     sitedetails page.
>
>                     Nothing shows up in the debug.log, not in the
>                     apache errorlog, and nothing in the javascript
>                     console.
>
>                     I will try to start all this in the debugger (xdebug).
>
>
>                     There are two other issues in my install:
>                     1. Sometimes the editor disappears behind the
>                     browser window.
>                     2. In a Media page with an image, preview, all is
>                     fine, now close preview and try to select a
>                     different image....
>
>                     Tom
>
>                     Tom
>
>
>
>
>                     Op 3-12-2012 17:57, Ron Mitchell schreef:
>
>                         Hi John
>
>                         I can't help with a VM but here's the steps to
>                         replicate...
>
>                         1. Create a directory in the web root and copy
>                         across an export from the latest svn trunk
>                         e.g. xot19
>
>                         2. Create a new database and user with the
>                         relevant privileges or use the mysql root
>                         account if only a test
>
>                         3. Browse to /xot19/setup/ and follows the
>                         tests or go straight to /xot19/setup/page1.php
>
>                         4. During setup add the admin account
>                         credentials (whatever you want) and leave
>                         integration_config_path empty
>
>                         5. Upon completion browse to the xot19 url
>                         which by default should be guest access and
>                         create a couple of tests LO's
>
>                         All should be fine at this point.
>
>                         6. Visit /xot19/management.php and add the
>                         path to moodle config.php
>
>                         7. Now whether you leave authentication set to
>                         guest or change it to moodle you should see
>                         the problem with creating new LO's etc. I'll
>                         send a link to a screencast of that later.
>
>                         HTH
>
>                         Ron
>
>                         *From:*xerte-dev-bounces at lists.nottingham.ac.uk 
>                         [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
>                         *On Behalf Of *Smith, John
>                         *Sent:* 03 December 2012 15:38
>                         *To:* For Xerte technical developers
>                         *Subject:* [Xerte-dev] Re: Current Issues
>
>                         Hi,
>
>                         I had a go at setting up on a Ubuntu VM on
>                         VirtualBox at the weekend but ran out of time
>                         and into problems figuring out where to put
>                         passwords into the database using phpMyAdmin,
>                         setting up the integration path etc...
>
>                         If someone wants to share a VM which exhibits
>                         the problem and share it then I'll definitely
>                         take a look at debugging...
>
>                         Regards,
>
>                         John Smith
>
>                         Learning Technologist
>
>                         School of Health & Life Sciences
>
>                         Glasgow Caledonian University
>
>                         *From:*xerte-dev-bounces at lists.nottingham.ac.uk 
>                         [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
>                         *On Behalf Of *Julian Tenney
>                         *Sent:* Monday, December 03, 2012 2:08 PM
>                         *To:* For Xerte technical developers
>                         *Subject:* [Xerte-dev] Current Issues
>
>                         Hi,
>
>                         Starting a new thread on the current issues
>                         with the integration path stuff. I'm afraid my
>                         own technical knowledge doesn't go far in the
>                         relevant areas, but it is clear that we have a
>                         problem that needs resolving before we can
>                         make the Xenith code available to everyone,
>                         and it seems to me that recent changes have
>                         introduced the problem. Ron has done a lot to
>                         try and isolate the problem, thanks a lot for
>                         persisting Ron!
>
>                         Somehow we need to resolve it. I'm open for
>                         ideas on how we can best work through it: in
>                         an ideal world I'd get Ron to sit with Pat at
>                         a computer until the problem is cracked, but
>                         since that's not possible, is this something
>                         we can do online somehow? Anyone got any
>                         better ideas?
>
>                         Julian
>
>
>                         Glasgow Caledonian University is a registered
>                         Scottish charity, number SC021474
>
>                         Winner: Times Higher Education's Widening
>                         Participation Initiative of the Year 2009 and
>                         Herald Society's Education Initiative of the
>                         Year 2009.
>                         http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
>                         Winner: Times Higher Education's Outstanding
>                         Support for Early Career Researchers of the
>                         Year 2010, GCU as a lead with Universities
>                         Scotland partners.
>                         http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
>
>
>
>
>
>
>
>
>
>
>
>
>
>                         _______________________________________________
>
>                         Xerte-dev mailing list
>
>                         Xerte-dev at lists.nottingham.ac.uk  
>
>                         http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
>
>
>                     -- 
>
>                     --
>
>                       
>
>                     Tom Reijnders
>
>                     TOR Informatica
>
>                     Chopinlaan 27
>
>                     5242HM Rosmalen
>
>                     Tel: 073 5226191
>
>                     Fax: 073 5226196
>
>                       
>
>
>
>
>
>
>
>
>
>
>
>
>                     _______________________________________________
>
>                     Xerte-dev mailing list
>
>                     Xerte-dev at lists.nottingham.ac.uk  
>
>                     http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
>
>                 -- 
>
>                 --
>
>                   
>
>                 Tom Reijnders
>
>                 TOR Informatica
>
>                 Chopinlaan 27
>
>                 5242HM Rosmalen
>
>                 Tel: 073 5226191
>
>                 Fax: 073 5226196
>
>                   
>
>
>
>
>
>
>
>
>
>
>                 _______________________________________________
>
>                 Xerte-dev mailing list
>
>                 Xerte-dev at lists.nottingham.ac.uk  
>
>                 http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>             -- 
>
>             --
>
>               
>
>             Tom Reijnders
>
>             TOR Informatica
>
>             Chopinlaan 27
>
>             5242HM Rosmalen
>
>             Tel: 073 5226191
>
>             Fax: 073 5226196
>
>               
>
>
>
>
>
>
>
>
>
>
>             _______________________________________________
>
>             Xerte-dev mailing list
>
>             Xerte-dev at lists.nottingham.ac.uk  
>
>             http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>         -- 
>
>         --
>
>           
>
>         Tom Reijnders
>
>         TOR Informatica
>
>         Chopinlaan 27
>
>         5242HM Rosmalen
>
>         Tel: 073 5226191
>
>         Fax: 073 5226196
>
>           
>
>
>
>
>
>
>
>
>
>
>         _______________________________________________
>
>         Xerte-dev mailing list
>
>         Xerte-dev at lists.nottingham.ac.uk  
>
>         http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
>     -- 
>
>     --
>
>       
>
>     Tom Reijnders
>
>     TOR Informatica
>
>     Chopinlaan 27
>
>     5242HM Rosmalen
>
>     Tel: 073 5226191
>
>     Fax: 073 5226196
>
>       
>
>
>
>
>
>
>
>     _______________________________________________
>
>     Xerte-dev mailing list
>
>     Xerte-dev at lists.nottingham.ac.uk  
>
>     http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
> -- 
> --
>   
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>   
>
>
>
>
>
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From ronm at mitchellmedia.co.uk  Mon Dec  3 22:56:42 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Mon, 3 Dec 2012 22:56:42 -0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <50BD2A43.6060008@tor.nl>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>	<006b01cdd199$7a6ce210$6f46a630$@co.uk>	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>	<50BD1653.50705@tor.nl>	<009801cdd19d$c57dd080$50797180$@co.uk>	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>	<50BD23C9.8060306@tor.nl>
	<50BD2544.8000205@tor.nl>	<00c501cdd1a5$f177ed30$d467c790$@co.uk>
	<50BD2A43.6060008@tor.nl>
Message-ID: <00d901cdd1a9$77393b10$65abb130$@co.uk>

It gets even more complicated :-(

 

Unfortunately it's not as simple as saying the conflict doesn't exist with
moodle 2 or later because I just tested with a moodle 2.3x config and the
problem/conflict exists with that too.

 

My xampp php is 5.3.5

Techdis server is 5.3.2

 

On my xampp I can reproduce the issue with the latest svn code and unchanged
functions.php with the following moodle configs

1.9

2.3

but no conflict with 2.2

 

Anyone got a time machine! ;-)

 

 

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 22:40
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

No, refresh doesn't work. If I use the changed functions.php, all seems to
work fine for me.

Moodle 1.9.11 and 2.0.2

php 5.2.14

Op 3-12-2012 23:31, Ron Mitchell schreef:

If you refresh do you then see the project you tried to create? Is that not
the pop-up issue again?

 

If you use your amended functions.php does that mean it all works or can you
then reproduce the issue of not being able to create a project or at least
not having that appear even after refresh because the folder value isn't
inserted in the db?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 22:19
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Version 1.9 is not working either if I use the functions.php from svn. White
screen again. (When using Moodle intergration).

Tom

Op 3-12-2012 23:12, Tom Reijnders schreef:

It's a version 2, but I don't know which one.

I also have a moodle 1.9 (but again, I don't know exactly what version). But
that one seems to work as well for me. But I have to clear cache etc, to
make sure I don't use a different session.

Where can you check the exact version of moodle?

Op 3-12-2012 23:02, Ron Mitchell schreef:

Tom

do you have a moodle 1.9 to test with?

 

Your question about moodle version gave me an idea to test locally with
xampp. I'm going to say this with caution because I thought I was able to
reproduce the problem with xampp previously too but I just tested the
following:

 

The test install I was using with xampp was using a moodle2 config path and
not giving the same problems as the linux servers. So I just change that
config path to a moodle 1.9 install and it did then give the same problems.
I then changed the config path back to a 1.9 install and the problem is
there again.

 

So not forgetting that the Techdis server install has been working fine with
a moodle 1.9 config all this time it seems this indicates the following:

 

a recent XOT code change has introduced a clash with moodle 1.9 but not
moodle 2?

 

the problem can be reproduced on Windows via xampp if moodle 1.9 is avilable
to add as the integration_config_path

 

In theory I could upgrade the Moodle on the techdis server to a later
version because we aren't using that install for anything else but that
doesn't help people who want to upgrade xot but can't yet upgrade their
Moodle and it doesn't really help identify the specific
change/cause/solution either.

 

However maybe it's easier to track down with xampp?

 

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: 03 December 2012 21:33
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

As far as I can see the last change to the zend folder was 29/04/2012

 

On both installations I've been testing the moodle is 1.9x What about yours?

 

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 21:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Yes, but is the Zend folder changed recently? (I am currently not behind my
PC, so can't check)

I did have a situation where MySQL statements took so long, that the
workspace was not complete. But then you would have to have 10ths of LO's in
your workspace.

Can it have anything to do with the version of Moodle used?

Tom

Op 3-12-2012 22:11, Ron Mitchell schreef:

Also as far as I can see the last change to /trunk/functions.php was a
change you made on 23rd of October Tom way before these problems started.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 December 2012 21:02
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

I changed functions.php and restarted Apache but it hasn't fixed the create
new project issue for me.

 

You had a blank screen previously - could this be a separate issue? 

Did you ever see the create a new project workspace clears issue?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 20:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

It's working for me now.

And whether you have to restart apache depends a bit on whether you have
eAccelerator or something active. Sometimes it helps to restart apache
(php).

Tom

Op 3-12-2012 21:32, Ron Mitchell schreef:

Hi Tom

unfortunately this doesn't fix it for me :-(

I've cleared cache and restarted the browser but still the same problem.

Does that change require an Apache restart?

Did you get to a point where you were no longer getting a blank screen and
seeing the workspace clear when creating a new LO?

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To 

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend
installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in
moodle_request_shutdown() .....

Tom





Op 3-12-2012 20:38, Ron Mitchell schreef:

Hi Tom

yes so for example /var/www/moodle/config.php 

or on shared hosting might be /home/user/public_html/moodle/config.php

 

Not sure why you get a blank page - at least I get to see the workspace! ;-)

 

If you change authentication to moodle and restart the browser do you get
prompted to login to moodle? If you do then the path you have entered is
correct.

 

HTH
Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle
config.php, right?

It is definitely not working, I get a blank page, until I remove the config
path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing
in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview
and try to select a different image....

Tom

Tom







Op 3-12-2012 17:57, Ron Mitchell schreef:

Hi John

I can't help with a VM but here's the steps to replicate...

 

1. Create a directory in the web root and copy across an export from the
latest svn trunk e.g. xot19

2. Create a new database and user with the relevant privileges or use the
mysql root account if only a test

3. Browse to /xot19/setup/ and follows the tests or go straight to
/xot19/setup/page1.php

4. During setup add the admin account credentials (whatever you want) and
leave integration_config_path empty

5. Upon completion browse to the xot19 url which by default should be guest
access and create a couple of tests LO's

All should be fine at this point.

6. Visit /xot19/management.php and add the path to moodle config.php

7. Now whether you leave authentication set to guest or change it to moodle
you should see the problem with creating new LO's etc. I'll send a link to a
screencast of that later.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Hi,

 

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran
out of time and into problems figuring out where to put passwords into the
database using phpMyAdmin, setting up the integration path etc.

 

If someone wants to share a VM which exhibits the problem and share it then
I'll definitely take a look at debugging. 

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

 

Hi,

 

Starting a new thread on the current issues with the integration path stuff.
I'm afraid my own technical knowledge doesn't go far in the relevant areas,
but it is clear that we have a problem that needs resolving before we can
make the Xenith code available to everyone, and it seems to me that recent
changes have introduced the problem. Ron has done a lot to try and isolate
the problem, thanks a lot for persisting Ron! 

 

Somehow we need to resolve it. I'm open for ideas on how we can best work
through it: in an ideal world I'd get Ron to sit with Pat at a computer
until the problem is cracked, but since that's not possible, is this
something we can do online somehow? Anyone got any better ideas?

 

Julian

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html



















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








-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 


















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







-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 
















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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 
















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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 
















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






-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 










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






-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 














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





-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From david at palepurple.co.uk  Mon Dec  3 23:01:39 2012
From: david at palepurple.co.uk (David Goodwin)
Date: Mon, 3 Dec 2012 23:01:39 +0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <00d901cdd1a9$77393b10$65abb130$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>	<006b01cdd199$7a6ce210$6f46a630$@co.uk>	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>	<50BD1653.50705@tor.nl>	<009801cdd19d$c57dd080$50797180$@co.uk>	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>	<50BD23C9.8060306@tor.nl>
	<50BD2544.8000205@tor.nl>	<00c501cdd1a5$f177ed30$d467c790$@co.uk>
	<50BD2A43.6060008@tor.nl> <00d901cdd1a9$77393b10$65abb130$@co.uk>
Message-ID: <5B18C24A-44A5-4452-B064-D0B584815C1D@palepurple.co.uk>


On 3 Dec 2012, at 22:56, Ron Mitchell  wrote:

> It gets even more complicated :-(
>  
> Unfortunately it's not as simple as saying the conflict doesn't exist with moodle 2 or later because I just tested with a moodle 2.3x config and the problem/conflict exists with that too.
>  
> My xampp php is 5.3.5
> Techdis server is 5.3.2
>  
> On my xampp I can reproduce the issue with the latest svn code and unchanged functions.php with the following moodle configs
> 1.9
> 2.3
> but no conflict with 2.2
>  
> Anyone got a time machine! ;-)
>  


Are you able to give someone (hopefully technical) remote access to the server?

Random guesses:

1. It's an issue with PHP+APC - I've seen it output blank pages before with no error being logged (especially PHP 5.4.x) .. restarting Apache will fix the problem; normally something will be logged though. Upgrading PHP/APC may help - or switching to use e.g. XCache.

2. Your error reporting settings are somehow unhelpful, or moodle/something is changing the error reporting settings so nothing useful is being logged.

3. Moodle could perhaps be using/bundling their own version of the Zend Framework - and if they're explicitly loading Zend_Locale (or whatever) as well as how XOT is then there could be a clash - one option may be to wrap some of the require calls for Zend_* in if(!class_exists('Zend_Locale')) { require_once ('Zend/Locale.php'); } etc.


David.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From ronm at mitchellmedia.co.uk  Mon Dec  3 23:36:34 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Mon, 3 Dec 2012 23:36:34 -0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <5B18C24A-44A5-4452-B064-D0B584815C1D@palepurple.co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>	<006b01cdd199$7a6ce210$6f46a630$@co.uk>	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>	<50BD1653.50705@tor.nl>	<009801cdd19d$c57dd080$50797180$@co.uk>	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>	<50BD23C9.8060306@tor.nl>	<50BD2544.8000205@tor.nl>	<00c501cdd1a5$f177ed30$d467c790$@co.uk>	<50BD2A43.6060008@tor.nl>
	<00d901cdd1a9$77393b10$65abb130$@co.uk>
	<5B18C24A-44A5-4452-B064-D0B584815C1D@palepurple.co.uk>
Message-ID: <00ef01cdd1af$088cce60$19a66b20$@co.uk>

Hi David

unfortunately my access to the techdis install is restricted to my home IP
and also is being used for other things daily so not a good environment for
testing and changing things.

 

I just searched my local moodle 1.9 code for Zend_Locale and nothing found.
There are lots of references to Zend_search though.

 

I can probably create a copy of a xampp with this problem existing to run
from usb stick if that would help anyone?

 

Going to shut down for the night now though - can't see the wood for the
trees again. :-(

 

Cheers

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of David Goodwin
Sent: 03 December 2012 23:02
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

 

On 3 Dec 2012, at 22:56, Ron Mitchell  wrote:





It gets even more complicated :-(

 

Unfortunately it's not as simple as saying the conflict doesn't exist with
moodle 2 or later because I just tested with a moodle 2.3x config and the
problem/conflict exists with that too.

 

My xampp php is 5.3.5

Techdis server is 5.3.2

 

On my xampp I can reproduce the issue with the latest svn code and unchanged
functions.php with the following moodle configs

1.9

2.3

but no conflict with 2.2

 

Anyone got a time machine! ;-)

 

 

 

Are you able to give someone (hopefully technical) remote access to the
server?

 

Random guesses:

 

1. It's an issue with PHP+APC - I've seen it output blank pages before with
no error being logged (especially PHP 5.4.x) .. restarting Apache will fix
the problem; normally something will be logged though. Upgrading PHP/APC may
help - or switching to use e.g. XCache.

 

2. Your error reporting settings are somehow unhelpful, or moodle/something
is changing the error reporting settings so nothing useful is being logged.

 

3. Moodle could perhaps be using/bundling their own version of the Zend
Framework - and if they're explicitly loading Zend_Locale (or whatever) as
well as how XOT is then there could be a clash - one option may be to wrap
some of the require calls for Zend_* in if(!class_exists('Zend_Locale')) {
require_once ('Zend/Locale.php'); } etc.

 

 

David.

 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From david at palepurple.co.uk  Mon Dec  3 23:58:25 2012
From: david at palepurple.co.uk (David Goodwin)
Date: Mon, 3 Dec 2012 23:58:25 +0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <00ef01cdd1af$088cce60$19a66b20$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk> <50BCF771.9020800@tor.nl>
	<003001cdd18d$d7c77760$87566620$@co.uk> <50BD018C.7040700@tor.nl>
	<005a01cdd195$4826d850$d87488f0$@co.uk> <50BD1050.1030508@tor.nl>
	<006b01cdd199$7a6ce210$6f46a630$@co.uk>
	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk> <50BD1653.50705@tor.nl>
	<009801cdd19d$c57dd080$50797180$@co.uk>
	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>
	<50BD23C9.8060306@tor.nl> <50BD2544.8000205@tor.nl>
	<00c501cdd1a5$f177ed30$d467c790$@co.uk> <50BD2A43.6060008@tor.nl>
	<00d901cdd1a9$77393b10$65abb130$@co.uk>
	<5B18C24A-44A5-4452-B064-D0B584815C1D@palepurple.co.uk>
	<00ef01cdd1af$088cce60$19a66b20$@co.uk>
Message-ID: <510FDF57-DEFA-4186-843F-1B40420C43C2@palepurple.co.uk>


>  
> 
> I just searched my local moodle 1.9 code for Zend_Locale and nothing found. There are lots of references to Zend_search though.
> 
Looking for 'Zend_Locale' might be a good idea. 

David.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From patrick.lockley at googlemail.com  Tue Dec  4 00:03:09 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Tue, 4 Dec 2012 00:03:09 +0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <510FDF57-DEFA-4186-843F-1B40420C43C2@palepurple.co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk> <50BCF771.9020800@tor.nl>
	<003001cdd18d$d7c77760$87566620$@co.uk> <50BD018C.7040700@tor.nl>
	<005a01cdd195$4826d850$d87488f0$@co.uk> <50BD1050.1030508@tor.nl>
	<006b01cdd199$7a6ce210$6f46a630$@co.uk>
	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk> <50BD1653.50705@tor.nl>
	<009801cdd19d$c57dd080$50797180$@co.uk>
	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>
	<50BD23C9.8060306@tor.nl> <50BD2544.8000205@tor.nl>
	<00c501cdd1a5$f177ed30$d467c790$@co.uk> <50BD2A43.6060008@tor.nl>
	<00d901cdd1a9$77393b10$65abb130$@co.uk>
	<5B18C24A-44A5-4452-B064-D0B584815C1D@palepurple.co.uk>
	<00ef01cdd1af$088cce60$19a66b20$@co.uk>
	<510FDF57-DEFA-4186-843F-1B40420C43C2@palepurple.co.uk>
Message-ID: <069706E4-E670-4F02-97D9-C139A0D23500@googlemail.com>

Doesn't moodle have a developer mode or something? Can that be turned on?

On 3 Dec 2012, at 23:58, David Goodwin  wrote:

> 
>>  
>> 
>> I just searched my local moodle 1.9 code for Zend_Locale and nothing found. There are lots of references to Zend_search though.
>> 
> Looking for 'Zend_Locale' might be a good idea. 
> 
> David.  
> 
> 
> 
> _______________________________________________
> 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: 

From J.J.Smith at gcu.ac.uk  Tue Dec  4 00:27:23 2012
From: J.J.Smith at gcu.ac.uk (Smith, John)
Date: Tue, 4 Dec 2012 00:27:23 +0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <00ef01cdd1af$088cce60$19a66b20$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>
	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>
	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>
	<006b01cdd199$7a6ce210$6f46a630$@co.uk>
	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>	<50BD1653.50705@tor.nl>
	<009801cdd19d$c57dd080$50797180$@co.uk>
	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>	<50BD23C9.8060306@tor.nl>
	<50BD2544.8000205@tor.nl>	<00c501cdd1a5$f177ed30$d467c790$@co.uk>
	<50BD2A43.6060008@tor.nl>	<00d901cdd1a9$77393b10$65abb130$@co.uk>
	<5B18C24A-44A5-4452-B064-D0B584815C1D@palepurple.co.uk>,
	<00ef01cdd1af$088cce60$19a66b20$@co.uk>
Message-ID: 

Hi Ron,

Yes if you package up an XAMPP setup with the problem then i'll take a look tomorrow.

Regards,

John Smith | Learning Technologist
Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University
Cowcaddens Road | Glasgow | G4 0BA
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell [ronm at mitchellmedia.co.uk]
Sent: 03 December 2012 23:36
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

Hi David
unfortunately my access to the techdis install is restricted to my home IP and also is being used for other things daily so not a good environment for testing and changing things.

I just searched my local moodle 1.9 code for Zend_Locale and nothing found. There are lots of references to Zend_search though.

I can probably create a copy of a xampp with this problem existing to run from usb stick if that would help anyone?

Going to shut down for the night now though - can't see the wood for the trees again. :-(

Cheers
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of David Goodwin
Sent: 03 December 2012 23:02
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues


On 3 Dec 2012, at 22:56, Ron Mitchell > wrote:


It gets even more complicated :-(

Unfortunately it's not as simple as saying the conflict doesn't exist with moodle 2 or later because I just tested with a moodle 2.3x config and the problem/conflict exists with that too.

My xampp php is 5.3.5
Techdis server is 5.3.2

On my xampp I can reproduce the issue with the latest svn code and unchanged functions.php with the following moodle configs
1.9
2.3
but no conflict with 2.2

Anyone got a time machine! ;-)



Are you able to give someone (hopefully technical) remote access to the server?

Random guesses:

1. It's an issue with PHP+APC - I've seen it output blank pages before with no error being logged (especially PHP 5.4.x) .. restarting Apache will fix the problem; normally something will be logged though. Upgrading PHP/APC may help - or switching to use e.g. XCache.

2. Your error reporting settings are somehow unhelpful, or moodle/something is changing the error reporting settings so nothing useful is being logged.

3. Moodle could perhaps be using/bundling their own version of the Zend Framework - and if they're explicitly loading Zend_Locale (or whatever) as well as how XOT is then there could be a clash - one option may be to wrap some of the require calls for Zend_* in if(!class_exists('Zend_Locale')) { require_once ('Zend/Locale.php'); } etc.


David.







Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html

From reijnders at tor.nl  Tue Dec  4 07:09:29 2012
From: reijnders at tor.nl (Tom Reijnders)
Date: Tue, 04 Dec 2012 08:09:29 +0100
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <069706E4-E670-4F02-97D9-C139A0D23500@googlemail.com>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk> <50BCF771.9020800@tor.nl>
	<003001cdd18d$d7c77760$87566620$@co.uk> <50BD018C.7040700@tor.nl>
	<005a01cdd195$4826d850$d87488f0$@co.uk> <50BD1050.1030508@tor.nl>
	<006b01cdd199$7a6ce210$6f46a630$@co.uk>
	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk> <50BD1653.50705@tor.nl>
	<009801cdd19d$c57dd080$50797180$@co.uk>
	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>
	<50BD23C9.8060306@tor.nl> <50BD2544.8000205@tor.nl>
	<00c501cdd1a5$f177ed30$d467c790$@co.uk> <50BD2A43.6060008@tor.nl>
	<00d901cdd1a9$77393b10$65abb130$@co.uk>
	<5B18C24A-44A5-4452-B064-D0B584815C1D@palepurple.co.uk>
	<00ef01cdd1af$088cce60$19a66b20$@co.uk>
	<510FDF57-DEFA-4186-843F-1B40420C43C2@palepurple.co.uk>
	<069706E4-E670-4F02-97D9-C139A0D23500@googlemail.com>
Message-ID: <50BDA1A9.9030907@tor.nl>

That was an excellent idea.

Does someone know what this file should contain?

It is not in svn, nor in my xot18 install:

    Failed to load language file for Xerte - 
en-GB/website_code/scripts/screen_display.js

Also I get

[Tue Dec 04 08:01:06 2012] [error] [client 192.168.50.11] PHP Notice:  
Use of undefined constant XERTE_EDIT_TITLE - assumed 'XERTE_EDIT_TITLE' 
in /home/tom/public_html/moodle2/xot19/modules/xerte/edit.php on line 
79, referer: http://server.tor.nl/~tom/moodle2/xot19/
[Tue Dec 04 08:01:06 2012] [error] [client 192.168.50.11] PHP Stack 
trace:, referer: http://server.tor.nl/~tom/moodle2/xot19/
[Tue Dec 04 08:01:06 2012] [error] [client 192.168.50.11] PHP   1. 
{main}() /hom
e/tom/public_html/moodle2/xot19/edit.php:0, referer: 
http://server.tor.nl/~tom/moodle2/xot19/
[Tue Dec 04 08:01:06 2012] [error] [client 192.168.50.11] PHP   2. 
output_editor_code() /home/tom/public_html/moodle2/xot19/edit.php:164,  
referer: http://server.tor.nl/~tom/moodle2/xot19/


Op 4-12-2012 1:03, Pat Lockley schreef:
> Doesn't moodle have a developer mode or something? Can that be turned on?
>
> On 3 Dec 2012, at 23:58, David Goodwin  > wrote:
>
>>
>>> I just searched my local moodle 1.9 code for Zend_Locale and nothing 
>>> found. There are lots of references to Zend_search though.
>>>
>> Looking for 'Zend_Locale' might be a good idea.
>>
>> David.
>>
>>
>>
>> _______________________________________________
>> 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

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From reijnders at tor.nl  Tue Dec  4 07:27:08 2012
From: reijnders at tor.nl (Tom Reijnders)
Date: Tue, 04 Dec 2012 08:27:08 +0100
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <069706E4-E670-4F02-97D9-C139A0D23500@googlemail.com>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk> <50BCF771.9020800@tor.nl>
	<003001cdd18d$d7c77760$87566620$@co.uk> <50BD018C.7040700@tor.nl>
	<005a01cdd195$4826d850$d87488f0$@co.uk> <50BD1050.1030508@tor.nl>
	<006b01cdd199$7a6ce210$6f46a630$@co.uk>
	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk> <50BD1653.50705@tor.nl>
	<009801cdd19d$c57dd080$50797180$@co.uk>
	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>
	<50BD23C9.8060306@tor.nl> <50BD2544.8000205@tor.nl>
	<00c501cdd1a5$f177ed30$d467c790$@co.uk> <50BD2A43.6060008@tor.nl>
	<00d901cdd1a9$77393b10$65abb130$@co.uk>
	<5B18C24A-44A5-4452-B064-D0B584815C1D@palepurple.co.uk>
	<00ef01cdd1af$088cce60$19a66b20$@co.uk>
	<510FDF57-DEFA-4186-843F-1B40420C43C2@palepurple.co.uk>
	<069706E4-E670-4F02-97D9-C139A0D23500@googlemail.com>
Message-ID: <50BDA5CC.2080009@tor.nl>

My unpatched functions.php gives the following error:

[Tue Dec 04 08:22:44 2012] [error] [client 192.168.50.11] PHP Fatal 
error:  Acce
ss to undeclared static property: 
Zend_Locale_Data_Translation::$localeTranslation in 
/home/tom/public_html/moodle2/xot19/library/Zend/Locale.php on line 343, 
referer: http://server.tor.nl/~tom/moodle2/xot19/
[Tue Dec 04 08:22:44 2012] [error] [client 192.168.50.11] PHP Stack 
trace:, referer: http://server.tor.nl/~tom/moodle2/xot19/
[Tue Dec 04 08:22:44 2012] [error] [client 192.168.50.11] PHP   1. 
{main}() /home/tom/public_html/moodle2/xot19/index.php:0, referer: 
http://server.tor.nl/~tom/moodle2/xot19/
[Tue Dec 04 08:22:44 2012] [error] [client 192.168.50.11] PHP   2. 
_load_language_file() /home/tom/public_html/moodle2/xot19/index.php:4, 
referer: http://server.tor.nl/~tom/moodle2/xot19/
[Tue Dec 04 08:22:44 2012] [error] [client 192.168.50.11] PHP   3. 
Zend_Locale->__construct() 
/home/tom/public_html/moodle2/xot19/functions.php:48, referer: 
http://server.tor.nl/~tom/moodle2/xot19/
[Tue Dec 04 08:22:44 2012] [error] [client 192.168.50.11] PHP   4. 
Zend_Locale->getDefault() 
/home/tom/public_html/moodle2/xot19/library/Zend/Locale.php:175, 
referer: http://server.tor.nl/~tom/moodle2/xot19/[Tue Dec 04 08:22:44 
2012] [error] [client 192.168.50.11] PHP   5. 
Zend_Locale->getEnvironment() 
/home/tom/public_html/moodle2/xot19/library/Zend/Locale.php:255, 
referer: http://server.tor.nl/~tom/moodle2/xot19/

And also:

[Tue Dec 04 08:18:06 2012] [error] [client 192.168.50.11] PHP Fatal 
error:  Call to undefined method stdClass::username() in 
/home/tom/public_html/moodle2/xot19/auth_config.php on line 21, referer: 
http://server.tor.nl/~tom/moodle2/xot19/
[Tue Dec 04 08:18:06 2012] [error] [client 192.168.50.11] PHP Stack 
trace:, referer: http://server.tor.nl/~tom/moodle2/xot19/
[Tue Dec 04 08:18:06 2012] [error] [client 192.168.50.11] PHP   1. 
{main}() /home/tom/public_html/moodle2/xot19/index.php:0, referer: 
http://server.tor.nl/~tom/moodle2/xot19/
[Tue Dec 04 08:18:06 2012] [error] [client 192.168.50.11] PHP   2. 
require_once() /home/tom/public_html/moodle2/xot19/index.php:2, referer: 
http://server.tor.nl/~tom/moodle2/xot19/
[Tue Dec 04 08:18:06 2012] [error] [client 192.168.50.11] PHP   3. 
require_once() /home/tom/public_html/moodle2/xot19/config.php:174, 
referer: http://server.tor.nl/~tom/moodle2/xot19/


Op 4-12-2012 1:03, Pat Lockley schreef:
> Doesn't moodle have a developer mode or something? Can that be turned on?
>
> On 3 Dec 2012, at 23:58, David Goodwin  > wrote:
>
>>
>>> I just searched my local moodle 1.9 code for Zend_Locale and nothing 
>>> found. There are lots of references to Zend_search though.
>>>
>> Looking for 'Zend_Locale' might be a good idea.
>>
>> David.
>>
>>
>>
>> _______________________________________________
>> 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

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From johnathan.kemp at ntlworld.com  Tue Dec  4 08:22:24 2012
From: johnathan.kemp at ntlworld.com (Kemp Johnathan)
Date: Tue, 4 Dec 2012 08:22:24 +0000
Subject: [Xerte-dev] Current Issues - xwd forms
Message-ID: 

Last night I discovered an issue with the Scenario and Hotspot Image
Connector xwd forms. I am hoping it is limited to just these two pages.

The symptoms are the form will display correctly until you display the
language settings and then some of the language sections are hidden or
partly hidden. It is as if the controls are there, the mouse icon responds
to their presence, by changing its icon, as you mouse over them, but they
don't display. If you reduce the height of text blocks higher up in the
form then more of the controls are revealed. In addition if the page has
child elements the click-able link to add a child element is not displayed.
This child element link will be displayed again if the language check box
is unticked.

I don't know if it is a bug in the code reading the xwd data or in the xwd
forms. The Quiz page has a lot of language data in it and some large text
blocks and it displays just fine which points to the problem being in the
xwd file. But simple editing out of lines of code so far is not proving
helpful. I have even copied lines of code from the Connector page to the
Quiz page and they have displayed fine in the Quiz.

The problem does not appear to affect the xml data generated for the page
so it would appear that the problem will only prevent authors from editing
the language settings.

If anyone wants to duplicate it the easiest way is to create a "pages" type
of project and add a quiz page and a connector hotspot page.

You can then go into the pages folder for the project where there will be a
folder for each page. This allows you to examine and edit and test changes
in the xwd file used for each page. In a pages project each page gets its
own copy of the xwd form file.

I am continuing to look into this but at present it is proving difficult to
track down.

I will continue to try to debug this one. Though will be unavailable for
some time this morning.

In the meantime if anyone has any bright ideas as to what might cause the
xwd reader code to respond in this way i.e. if you wanted to make it happen
what would you do to the xwd file? These ideas would be most welcome.

Also if anyone is testing the pages in XOT keep an eye out for any half
displayed fields in the language section of a form or for any missing
click-able add a child element links. Let me know if any other xwd forms
are affected.

Kind regards

Johnathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From patrick.lockley at googlemail.com  Tue Dec  4 09:57:34 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Tue, 4 Dec 2012 09:57:34 +0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <50BDA5CC.2080009@tor.nl>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk> <50BCF771.9020800@tor.nl>
	<003001cdd18d$d7c77760$87566620$@co.uk> <50BD018C.7040700@tor.nl>
	<005a01cdd195$4826d850$d87488f0$@co.uk> <50BD1050.1030508@tor.nl>
	<006b01cdd199$7a6ce210$6f46a630$@co.uk>
	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk> <50BD1653.50705@tor.nl>
	<009801cdd19d$c57dd080$50797180$@co.uk>
	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk> <50BD23C9.8060306@tor.nl>
	<50BD2544.8000205@tor.nl> <00c501cdd1a5$f177ed30$d467c790$@co.uk>
	<50BD2A43.6060008@tor.nl> <00d901cdd1a9$77393b10$65abb130$@co.uk>
	<5B18C24A-44A5-4452-B064-D0B584815C1D@palepurple.co.uk>
	<00ef01cdd1af$088cce60$19a66b20$@co.uk>
	<510FDF57-DEFA-4186-843F-1B40420C43C2@palepurple.co.uk>
	<069706E4-E670-4F02-97D9-C139A0D23500@googlemail.com>
	<50BDA5CC.2080009@tor.nl>
Message-ID: 

They book look like zend / moodle auth problems?


On Tue, Dec 4, 2012 at 7:27 AM, Tom Reijnders  wrote:

>  My unpatched functions.php gives the following error:
>
> [Tue Dec 04 08:22:44 2012] [error] [client 192.168.50.11] PHP Fatal
> error:  Acce
> ss to undeclared static property:
> Zend_Locale_Data_Translation::$localeTranslation in
> /home/tom/public_html/moodle2/xot19/library/Zend/Locale.php on line 343,
> referer: http://server.tor.nl/~tom/moodle2/xot19/
> [Tue Dec 04 08:22:44 2012] [error] [client 192.168.50.11] PHP Stack
> trace:, referer: http://server.tor.nl/~tom/moodle2/xot19/
> [Tue Dec 04 08:22:44 2012] [error] [client 192.168.50.11] PHP   1.
> {main}() /home/tom/public_html/moodle2/xot19/index.php:0, referer:
> http://server.tor.nl/~tom/moodle2/xot19/
> [Tue Dec 04 08:22:44 2012] [error] [client 192.168.50.11] PHP   2.
> _load_language_file() /home/tom/public_html/moodle2/xot19/index.php:4,
> referer: http://server.tor.nl/~tom/moodle2/xot19/
> [Tue Dec 04 08:22:44 2012] [error] [client 192.168.50.11] PHP   3.
> Zend_Locale->__construct()
> /home/tom/public_html/moodle2/xot19/functions.php:48, referer:
> http://server.tor.nl/~tom/moodle2/xot19/
> [Tue Dec 04 08:22:44 2012] [error] [client 192.168.50.11] PHP   4.
> Zend_Locale->getDefault()
> /home/tom/public_html/moodle2/xot19/library/Zend/Locale.php:175, referer:
> http://server.tor.nl/~tom/moodle2/xot19/[Tue Dec 04 08:22:44 2012]
> [error] [client 192.168.50.11] PHP   5. Zend_Locale->getEnvironment()
> /home/tom/public_html/moodle2/xot19/library/Zend/Locale.php:255, referer:
> http://server.tor.nl/~tom/moodle2/xot19/
>
> And also:
>
> [Tue Dec 04 08:18:06 2012] [error] [client 192.168.50.11] PHP Fatal
> error:  Call to undefined method stdClass::username() in
> /home/tom/public_html/moodle2/xot19/auth_config.php on line 21, referer:
> http://server.tor.nl/~tom/moodle2/xot19/
> [Tue Dec 04 08:18:06 2012] [error] [client 192.168.50.11] PHP Stack
> trace:, referer: http://server.tor.nl/~tom/moodle2/xot19/
> [Tue Dec 04 08:18:06 2012] [error] [client 192.168.50.11] PHP   1.
> {main}() /home/tom/public_html/moodle2/xot19/index.php:0, referer:
> http://server.tor.nl/~tom/moodle2/xot19/
> [Tue Dec 04 08:18:06 2012] [error] [client 192.168.50.11] PHP   2.
> require_once() /home/tom/public_html/moodle2/xot19/index.php:2, referer:
> http://server.tor.nl/~tom/moodle2/xot19/
> [Tue Dec 04 08:18:06 2012] [error] [client 192.168.50.11] PHP   3.
> require_once() /home/tom/public_html/moodle2/xot19/config.php:174, referer:
> http://server.tor.nl/~tom/moodle2/xot19/
>
>
>
> Op 4-12-2012 1:03, Pat Lockley schreef:
>
> Doesn't moodle have a developer mode or something? Can that be turned on?
>
>
> On 3 Dec 2012, at 23:58, David Goodwin  wrote:
>
>
>   ** **
>
> I just searched my local moodle 1.9 code for Zend_Locale and nothing
> found. There are lots of references to Zend_search though.
>
> Looking for 'Zend_Locale' might be a good idea.
>
>  David.
>
>
>
>   _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
>
>
>
> _______________________________________________
> Xerte-dev mailing listXerte-dev at lists.nottingham.ac.ukhttp://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
> --
> --
>
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>
>
>
>
>
>
> _______________________________________________
> 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: 

From patrick.lockley at googlemail.com  Tue Dec  4 09:58:40 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Tue, 4 Dec 2012 09:58:40 +0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <50BDA1A9.9030907@tor.nl>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk> <50BCF771.9020800@tor.nl>
	<003001cdd18d$d7c77760$87566620$@co.uk> <50BD018C.7040700@tor.nl>
	<005a01cdd195$4826d850$d87488f0$@co.uk> <50BD1050.1030508@tor.nl>
	<006b01cdd199$7a6ce210$6f46a630$@co.uk>
	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk> <50BD1653.50705@tor.nl>
	<009801cdd19d$c57dd080$50797180$@co.uk>
	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk> <50BD23C9.8060306@tor.nl>
	<50BD2544.8000205@tor.nl> <00c501cdd1a5$f177ed30$d467c790$@co.uk>
	<50BD2A43.6060008@tor.nl> <00d901cdd1a9$77393b10$65abb130$@co.uk>
	<5B18C24A-44A5-4452-B064-D0B584815C1D@palepurple.co.uk>
	<00ef01cdd1af$088cce60$19a66b20$@co.uk>
	<510FDF57-DEFA-4186-843F-1B40420C43C2@palepurple.co.uk>
	<069706E4-E670-4F02-97D9-C139A0D23500@googlemail.com>
	<50BDA1A9.9030907@tor.nl>
Message-ID: 

screen_display.js isn't internationalised, so you can remove the line from
index.php that includes it.

The XERTE_EDIT_TITLE one looks like a typo in edit or the language file -
should be easy to spot


On Tue, Dec 4, 2012 at 7:09 AM, Tom Reijnders  wrote:

>  That was an excellent idea.
>
> Does someone know what this file should contain?
>
> It is not in svn, nor in my xot18 install:
>
>    Failed to load language file for Xerte -
> en-GB/website_code/scripts/screen_display.js
>
> Also I get
>
> [Tue Dec 04 08:01:06 2012] [error] [client 192.168.50.11] PHP Notice:  Use
> of undefined constant XERTE_EDIT_TITLE - assumed 'XERTE_EDIT_TITLE' in
> /home/tom/public_html/moodle2/xot19/modules/xerte/edit.php on line 79,
> referer: http://server.tor.nl/~tom/moodle2/xot19/
> [Tue Dec 04 08:01:06 2012] [error] [client 192.168.50.11] PHP Stack
> trace:, referer: http://server.tor.nl/~tom/moodle2/xot19/
> [Tue Dec 04 08:01:06 2012] [error] [client 192.168.50.11] PHP   1.
> {main}() /hom
> e/tom/public_html/moodle2/xot19/edit.php:0, referer:
> http://server.tor.nl/~tom/moodle2/xot19/
> [Tue Dec 04 08:01:06 2012] [error] [client 192.168.50.11] PHP   2.
> output_editor_code() /home/tom/public_html/moodle2/xot19/edit.php:164,
> referer: http://server.tor.nl/~tom/moodle2/xot19/
>
>
> Op 4-12-2012 1:03, Pat Lockley schreef:
>
> Doesn't moodle have a developer mode or something? Can that be turned on?
>
> On 3 Dec 2012, at 23:58, David Goodwin  wrote:
>
>
>   ** **
>
> I just searched my local moodle 1.9 code for Zend_Locale and nothing
> found. There are lots of references to Zend_search though.
>
> Looking for 'Zend_Locale' might be a good idea.
>
>  David.
>
>
>
>   _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
>
>
>
> _______________________________________________
> Xerte-dev mailing listXerte-dev at lists.nottingham.ac.ukhttp://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
> --
> --
>
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>
>
>
>
>
>
> _______________________________________________
> 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: 

From Julian.Tenney at nottingham.ac.uk  Tue Dec  4 10:35:38 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Tue, 4 Dec 2012 10:35:38 +0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <50BD2544.8000205@tor.nl>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>
	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>
	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>
	<006b01cdd199$7a6ce210$6f46a630$@co.uk>
	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>	<50BD1653.50705@tor.nl>
	<009801cdd19d$c57dd080$50797180$@co.uk>
	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk> <50BD23C9.8060306@tor.nl>
	<50BD2544.8000205@tor.nl>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8531@EXCHANGE1.ad.nottingham.ac.uk>

I've read over the posts, thanks for all the work you guys have put in to this.

Would it be fair to summarise that things work fine in Moodle 2.x, but not moodle 1.9?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 22:19
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Version 1.9 is not working either if I use the functions.php from svn. White screen again. (When using Moodle intergration).

Tom
Op 3-12-2012 23:12, Tom Reijnders schreef:
It's a version 2, but I don't know which one.

I also have a moodle 1.9 (but again, I don't know exactly what version). But  that one seems to work as well for me. But I have to clear cache etc, to make sure I don't use a different session.

Where can you check the exact version of moodle?
Op 3-12-2012 23:02, Ron Mitchell schreef:
Tom
do you have a moodle 1.9 to test with?

Your question about moodle version gave me an idea to test locally with xampp. I'm going to say this with caution because I thought I was able to reproduce the problem with xampp previously too but I just tested the following:

The test install I was using with xampp was using a moodle2 config path and not giving the same problems as the linux servers. So I just change that config path to a moodle 1.9 install and it did then give the same problems. I then changed the config path back to a 1.9 install and the problem is there again.

So not forgetting that the Techdis server install has been working fine with a moodle 1.9 config all this time it seems this indicates the following:

a recent XOT code change has introduced a clash with moodle 1.9 but not moodle 2?

the problem can be reproduced on Windows via xampp if moodle 1.9 is avilable to add as the integration_config_path

In theory I could upgrade the Moodle on the techdis server to a later version because we aren't using that install for anything else but that doesn't help people who want to upgrade xot but can't yet upgrade their Moodle and it doesn't really help identify the specific change/cause/solution either.

However maybe it's easier to track down with xampp?

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: 03 December 2012 21:33
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

As far as I can see the last change to the zend folder was 29/04/2012

On both installations I've been testing the moodle is 1.9x What about yours?

Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 21:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Yes, but is the Zend folder changed recently? (I am currently not behind my PC, so can't check)

I did have a situation where MySQL statements took so long, that the workspace was not complete. But then you would have to have 10ths of LO's in your workspace.

Can it have anything to do with the version of Moodle used?

Tom
Op 3-12-2012 22:11, Ron Mitchell schreef:
Also as far as I can see the last change to /trunk/functions.php was a change you made on 23rd of October Tom way before these problems started.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 December 2012 21:02
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

I changed functions.php and restarted Apache but it hasn't fixed the create new project issue for me.

You had a blank screen previously - could this be a separate issue?
Did you ever see the create a new project workspace clears issue?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 20:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

It's working for me now.

And whether you have to restart apache depends a bit on whether you have eAccelerator or something active. Sometimes it helps to restart apache (php).

Tom
Op 3-12-2012 21:32, Ron Mitchell schreef:
Hi Tom
unfortunately this doesn't fix it for me :-(
I've cleared cache and restarted the browser but still the same problem.
Does that change require an Apache restart?
Did you get to a point where you were no longer getting a blank screen and seeing the workspace clear when creating a new LO?
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in moodle_request_shutdown() .....

Tom


Op 3-12-2012 20:38, Ron Mitchell schreef:
Hi Tom
yes so for example /var/www/moodle/config.php
or on shared hosting might be /home/user/public_html/moodle/config.php

Not sure why you get a blank page - at least I get to see the workspace! ;-)

If you change authentication to moodle and restart the browser do you get prompted to login to moodle? If you do then the path you have entered is correct.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle config.php, right?

It is definitely not working, I get a blank page, until I remove the config path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview and try to select a different image....

Tom

Tom




Op 3-12-2012 17:57, Ron Mitchell schreef:
Hi John
I can't help with a VM but here's the steps to replicate...

1. Create a directory in the web root and copy across an export from the latest svn trunk e.g. xot19
2. Create a new database and user with the relevant privileges or use the mysql root account if only a test
3. Browse to /xot19/setup/ and follows the tests or go straight to /xot19/setup/page1.php
4. During setup add the admin account credentials (whatever you want) and leave integration_config_path empty
5. Upon completion browse to the xot19 url which by default should be guest access and create a couple of tests LO's
All should be fine at this point.
6. Visit /xot19/management.php and add the path to moodle config.php
7. Now whether you leave authentication set to guest or change it to moodle you should see the problem with creating new LO's etc. I'll send a link to a screencast of that later.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Hi,

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran out of time and into problems figuring out where to put passwords into the database using phpMyAdmin, setting up the integration path etc...

If someone wants to share a VM which exhibits the problem and share it then I'll definitely take a look at debugging...

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

Hi,

Starting a new thread on the current issues with the integration path stuff. I'm afraid my own technical knowledge doesn't go far in the relevant areas, but it is clear that we have a problem that needs resolving before we can make the Xenith code available to everyone, and it seems to me that recent changes have introduced the problem. Ron has done a lot to try and isolate the problem, thanks a lot for persisting Ron!

Somehow we need to resolve it. I'm open for ideas on how we can best work through it: in an ideal world I'd get Ron to sit with Pat at a computer until the problem is cracked, but since that's not possible, is this something we can do online somehow? Anyone got any better ideas?

Julian


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html














_______________________________________________

Xerte-dev mailing list

Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev





--

--



Tom Reijnders

TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196














_______________________________________________

Xerte-dev mailing list

Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




--

--



Tom Reijnders

TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196












_______________________________________________

Xerte-dev mailing list

Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


--

--



Tom Reijnders

TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196













_______________________________________________

Xerte-dev mailing list

Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


--

--



Tom Reijnders

TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196













_______________________________________________

Xerte-dev mailing list

Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev



--

--



Tom Reijnders

TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196









_______________________________________________

Xerte-dev mailing list

Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev



--

--



Tom Reijnders

TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From johnathan.kemp at ntlworld.com  Tue Dec  4 10:56:11 2012
From: johnathan.kemp at ntlworld.com (Kemp Johnathan)
Date: Tue, 4 Dec 2012 10:56:11 +0000
Subject: [Xerte-dev] Use of the  tag and correct syntax
Message-ID: 

I posted earlier of some display issues in the xwd form of some of the
Connector pages.

I have now established that the problem lies with the use of the  tag.
When an  tag is included in an xwd the last few entries in the xwd
form fail to display, space is left for them and the mouse pointer responds
to their presence but the form just displays as a grey block. I have
attached an image file to show you the output that results.

The problem caused by the  tag was hidden at first as the Language
section is collapsed by default, so the none-display of attribute fields
only showed when the Language check box was ticked. However the language
attribute feature is not part of the problem as the same effect can be
achieved in a page that has no attributes flagged as language="true".

Am I using the correct syntax for the  tag?

I have tried all of the following but they all result in the disappearance
of fields.

In the Xerte help there is an example

  
In an example that Ron sent to me he used the syntax below (which is the
one currently used in the xwd files)

Help for plain text connector. Click
here]]>

I have also tried the syntax copied from the title page

Enter title
here]]>

and the syntax

some text

I have also tried placing the  tag above the  section and
below the  section.

Options.

   1. If anyone can give me the correct syntax for the Info tag then I will
   try it out - but I am not convinced that incorrect syntax is the problem.
   2. If the problem is in the code that process the xwd file - can it be
   fixed in time for the release?
   3. If the problem cannot be resolved in time for the next XOT release
   which would you prefer a) remove all the info tags and lose the linking to
   the help files on the Xerte.org.uk web site. b)leave the info tags in
   place, knowing that this will temporarily prevent editing of some of the
   language attributes - which probably would be left with their default
   values anyway, in the belief that the problem can be resolved by a
   subsequent fix applied to the code that processes the xwd files.

Kind regards

Johnathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: infoIssue.PNG
Type: image/png
Size: 9943 bytes
Desc: not available
URL: 

From ronm at mitchellmedia.co.uk  Tue Dec  4 11:06:42 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Tue, 4 Dec 2012 11:06:42 -0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>	<006b01cdd199$7a6ce210$6f46a630$@co.uk>	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>	<50BD1653.50705@tor.nl>	<009801cdd19d$c57dd080$50797180$@co.uk>	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>	<50BD23C9.8060306@tor.nl>	<50BD2544.8000205@tor.nl>	<00c501cdd1a5$f177ed30$d467c790$@co.uk>	<50BD2A43.6060008@tor.nl>	<00d901cdd1a9$77393b10$65abb130$@co.uk>	<5B18C24A-44A5-4452-B064-D0B584815C1D@palepurple.co.uk>,
	<00ef01cdd1af$088cce60$19a66b20$@co.uk>
	
Message-ID: <007201cdd20f$720a1c20$561e5460$@co.uk>

Hi John/all
Here's a link to a copy of xampp with this issue replicated http://vle.jisctechdis.ac.uk/xampp.zip

It's about 308MB so depending on your connection speed may take a while to download. I'll leave it in place for a day or so.

Extract the zip to the root of a drive or USB e.g. so that you have something like G:\xampp
Then run G:\xampp\xampp-control.exe
On the landing page at http://localhost/xampp/ you'll find links and account details for Moodle 1.9 | Moodle 2 | Mahara 1.4 | Xerte Online Toolkits 1.9beta

The xot install is inside the moodle directory e.g. http://localhost/moodle/xerte but at the moment is configured as guest access

In the sitedetails table the integration_config_path is currently set to /xampp/htdocs/moodle19/config.php so it's pointing to a 1.9 moodle install and will exhibit the main problem of not being able to create new projects, clearing the workspace etc etc

Try creating a new project to see this.

If you then use phpmyadmin to change the integration_config_path to /xampp/htdocs/moodle/config.php which is moodle 2.3 and refresh you should find that all works ok

Change back to xampp/htdocs/moodle19/config.php refresh and the problem will re-occur

HTH
Ron


-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 04 December 2012 00:27
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Hi Ron,

Yes if you package up an XAMPP setup with the problem then i'll take a look tomorrow.

Regards,

John Smith | Learning Technologist
Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell [ronm at mitchellmedia.co.uk]
Sent: 03 December 2012 23:36
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

Hi David
unfortunately my access to the techdis install is restricted to my home IP and also is being used for other things daily so not a good environment for testing and changing things.

I just searched my local moodle 1.9 code for Zend_Locale and nothing found. There are lots of references to Zend_search though.

I can probably create a copy of a xampp with this problem existing to run from usb stick if that would help anyone?

Going to shut down for the night now though - can't see the wood for the trees again. :-(

Cheers
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of David Goodwin
Sent: 03 December 2012 23:02
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues


On 3 Dec 2012, at 22:56, Ron Mitchell > wrote:


It gets even more complicated :-(

Unfortunately it's not as simple as saying the conflict doesn't exist with moodle 2 or later because I just tested with a moodle 2.3x config and the problem/conflict exists with that too.

My xampp php is 5.3.5
Techdis server is 5.3.2

On my xampp I can reproduce the issue with the latest svn code and unchanged functions.php with the following moodle configs
1.9
2.3
but no conflict with 2.2

Anyone got a time machine! ;-)



Are you able to give someone (hopefully technical) remote access to the server?

Random guesses:

1. It's an issue with PHP+APC - I've seen it output blank pages before with no error being logged (especially PHP 5.4.x) .. restarting Apache will fix the problem; normally something will be logged though. Upgrading PHP/APC may help - or switching to use e.g. XCache.

2. Your error reporting settings are somehow unhelpful, or moodle/something is changing the error reporting settings so nothing useful is being logged.

3. Moodle could perhaps be using/bundling their own version of the Zend Framework - and if they're explicitly loading Zend_Locale (or whatever) as well as how XOT is then there could be a clash - one option may be to wrap some of the require calls for Zend_* in if(!class_exists('Zend_Locale')) { require_once ('Zend/Locale.php'); } etc.


David.







Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev



From ronm at mitchellmedia.co.uk  Tue Dec  4 11:29:18 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Tue, 4 Dec 2012 11:29:18 -0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8531@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>	<006b01cdd199$7a6ce210$6f46a630$@co.uk>	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>	<50BD1653.50705@tor.nl>	<009801cdd19d$c57dd080$50797180$@co.uk>	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>
	<50BD23C9.8060306@tor.nl>	<50BD2544.8000205@tor.nl>
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8531@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: <007d01cdd212$9aaee590$d00cb0b0$@co.uk>

Unfortunately not. :-(

Firstly prior to last Thursday all was working fine with any version of
Moodle.

At one point last night it looked like whatever the clash is didn't exist
with Moodle 2.x but I then tried with a version of Moodle 2.3 and that had
the same problem. Also as I mentioned there are lots of people using moodle
for authentication and I'm sure keen to get xot 1.9 with the xenith code etc
but many won't be able to upgrade from Moodle 1.9 yet for all sorts of
reasons.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 December 2012 10:36
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

I've read over the posts, thanks for all the work you guys have put in to
this.

 

Would it be fair to summarise that things work fine in Moodle 2.x, but not
moodle 1.9?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 22:19
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Version 1.9 is not working either if I use the functions.php from svn. White
screen again. (When using Moodle intergration).

Tom

Op 3-12-2012 23:12, Tom Reijnders schreef:

It's a version 2, but I don't know which one.

I also have a moodle 1.9 (but again, I don't know exactly what version). But
that one seems to work as well for me. But I have to clear cache etc, to
make sure I don't use a different session.

Where can you check the exact version of moodle?

Op 3-12-2012 23:02, Ron Mitchell schreef:

Tom

do you have a moodle 1.9 to test with?

 

Your question about moodle version gave me an idea to test locally with
xampp. I'm going to say this with caution because I thought I was able to
reproduce the problem with xampp previously too but I just tested the
following:

 

The test install I was using with xampp was using a moodle2 config path and
not giving the same problems as the linux servers. So I just change that
config path to a moodle 1.9 install and it did then give the same problems.
I then changed the config path back to a 1.9 install and the problem is
there again.

 

So not forgetting that the Techdis server install has been working fine with
a moodle 1.9 config all this time it seems this indicates the following:

 

a recent XOT code change has introduced a clash with moodle 1.9 but not
moodle 2?

 

the problem can be reproduced on Windows via xampp if moodle 1.9 is avilable
to add as the integration_config_path

 

In theory I could upgrade the Moodle on the techdis server to a later
version because we aren't using that install for anything else but that
doesn't help people who want to upgrade xot but can't yet upgrade their
Moodle and it doesn't really help identify the specific
change/cause/solution either.

 

However maybe it's easier to track down with xampp?

 

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: 03 December 2012 21:33
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

As far as I can see the last change to the zend folder was 29/04/2012

 

On both installations I've been testing the moodle is 1.9x What about yours?

 

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 21:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Yes, but is the Zend folder changed recently? (I am currently not behind my
PC, so can't check)

I did have a situation where MySQL statements took so long, that the
workspace was not complete. But then you would have to have 10ths of LO's in
your workspace.

Can it have anything to do with the version of Moodle used?

Tom

Op 3-12-2012 22:11, Ron Mitchell schreef:

Also as far as I can see the last change to /trunk/functions.php was a
change you made on 23rd of October Tom way before these problems started.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 December 2012 21:02
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

I changed functions.php and restarted Apache but it hasn't fixed the create
new project issue for me.

 

You had a blank screen previously - could this be a separate issue? 

Did you ever see the create a new project workspace clears issue?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 20:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

It's working for me now.

And whether you have to restart apache depends a bit on whether you have
eAccelerator or something active. Sometimes it helps to restart apache
(php).

Tom

Op 3-12-2012 21:32, Ron Mitchell schreef:

Hi Tom

unfortunately this doesn't fix it for me :-(

I've cleared cache and restarted the browser but still the same problem.

Does that change require an Apache restart?

Did you get to a point where you were no longer getting a blank screen and
seeing the workspace clear when creating a new LO?

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To 

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend
installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in
moodle_request_shutdown() .....

Tom



Op 3-12-2012 20:38, Ron Mitchell schreef:

Hi Tom

yes so for example /var/www/moodle/config.php 

or on shared hosting might be /home/user/public_html/moodle/config.php

 

Not sure why you get a blank page - at least I get to see the workspace! ;-)

 

If you change authentication to moodle and restart the browser do you get
prompted to login to moodle? If you do then the path you have entered is
correct.

 

HTH
Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle
config.php, right?

It is definitely not working, I get a blank page, until I remove the config
path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing
in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview
and try to select a different image....

Tom

Tom





Op 3-12-2012 17:57, Ron Mitchell schreef:

Hi John

I can't help with a VM but here's the steps to replicate...

 

1. Create a directory in the web root and copy across an export from the
latest svn trunk e.g. xot19

2. Create a new database and user with the relevant privileges or use the
mysql root account if only a test

3. Browse to /xot19/setup/ and follows the tests or go straight to
/xot19/setup/page1.php

4. During setup add the admin account credentials (whatever you want) and
leave integration_config_path empty

5. Upon completion browse to the xot19 url which by default should be guest
access and create a couple of tests LO's

All should be fine at this point.

6. Visit /xot19/management.php and add the path to moodle config.php

7. Now whether you leave authentication set to guest or change it to moodle
you should see the problem with creating new LO's etc. I'll send a link to a
screencast of that later.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Hi,

 

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran
out of time and into problems figuring out where to put passwords into the
database using phpMyAdmin, setting up the integration path etc.

 

If someone wants to share a VM which exhibits the problem and share it then
I'll definitely take a look at debugging. 

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

 

Hi,

 

Starting a new thread on the current issues with the integration path stuff.
I'm afraid my own technical knowledge doesn't go far in the relevant areas,
but it is clear that we have a problem that needs resolving before we can
make the Xenith code available to everyone, and it seems to me that recent
changes have introduced the problem. Ron has done a lot to try and isolate
the problem, thanks a lot for persisting Ron! 

 

Somehow we need to resolve it. I'm open for ideas on how we can best work
through it: in an ideal world I'd get Ron to sit with Pat at a computer
until the problem is cracked, but since that's not possible, is this
something we can do online somehow? Anyone got any better ideas?

 

Julian

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html















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






-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 














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





-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 












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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 












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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 












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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 








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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From ronm at mitchellmedia.co.uk  Tue Dec  4 12:45:23 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Tue, 4 Dec 2012 12:45:23 -0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <007d01cdd212$9aaee590$d00cb0b0$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>	<006b01cdd199$7a6ce210$6f46a630$@co.uk>	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>	<50BD1653.50705@tor.nl>	<009801cdd19d$c57dd080$50797180$@co.uk>	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>	<50BD23C9.8060306@tor.nl>	<50BD2544.8000205@tor.nl>	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8531@EXCHANGE1.ad.nottingham.ac.uk>
	<007d01cdd212$9aaee590$d00cb0b0$@co.uk>
Message-ID: <001e01cdd21d$3b45d810$b1d18830$@co.uk>

Hi

I cleared my local xampp error log and then visited my test svn xot install
and tried creating a project. The attached is the error log as a result of
that process.

 

Still reviewing it myself but thought I should share in case it highlights
the cause/solution etc?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 04 December 2012 11:29
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

Unfortunately not. :-(

Firstly prior to last Thursday all was working fine with any version of
Moodle.

At one point last night it looked like whatever the clash is didn't exist
with Moodle 2.x but I then tried with a version of Moodle 2.3 and that had
the same problem. Also as I mentioned there are lots of people using moodle
for authentication and I'm sure keen to get xot 1.9 with the xenith code etc
but many won't be able to upgrade from Moodle 1.9 yet for all sorts of
reasons.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 December 2012 10:36
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

I've read over the posts, thanks for all the work you guys have put in to
this.

 

Would it be fair to summarise that things work fine in Moodle 2.x, but not
moodle 1.9?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 22:19
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Version 1.9 is not working either if I use the functions.php from svn. White
screen again. (When using Moodle intergration).

Tom

Op 3-12-2012 23:12, Tom Reijnders schreef:

It's a version 2, but I don't know which one.

I also have a moodle 1.9 (but again, I don't know exactly what version). But
that one seems to work as well for me. But I have to clear cache etc, to
make sure I don't use a different session.

Where can you check the exact version of moodle?

Op 3-12-2012 23:02, Ron Mitchell schreef:

Tom

do you have a moodle 1.9 to test with?

 

Your question about moodle version gave me an idea to test locally with
xampp. I'm going to say this with caution because I thought I was able to
reproduce the problem with xampp previously too but I just tested the
following:

 

The test install I was using with xampp was using a moodle2 config path and
not giving the same problems as the linux servers. So I just change that
config path to a moodle 1.9 install and it did then give the same problems.
I then changed the config path back to a 1.9 install and the problem is
there again.

 

So not forgetting that the Techdis server install has been working fine with
a moodle 1.9 config all this time it seems this indicates the following:

 

a recent XOT code change has introduced a clash with moodle 1.9 but not
moodle 2?

 

the problem can be reproduced on Windows via xampp if moodle 1.9 is avilable
to add as the integration_config_path

 

In theory I could upgrade the Moodle on the techdis server to a later
version because we aren't using that install for anything else but that
doesn't help people who want to upgrade xot but can't yet upgrade their
Moodle and it doesn't really help identify the specific
change/cause/solution either.

 

However maybe it's easier to track down with xampp?

 

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: 03 December 2012 21:33
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

As far as I can see the last change to the zend folder was 29/04/2012

 

On both installations I've been testing the moodle is 1.9x What about yours?

 

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 21:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Yes, but is the Zend folder changed recently? (I am currently not behind my
PC, so can't check)

I did have a situation where MySQL statements took so long, that the
workspace was not complete. But then you would have to have 10ths of LO's in
your workspace.

Can it have anything to do with the version of Moodle used?

Tom

Op 3-12-2012 22:11, Ron Mitchell schreef:

Also as far as I can see the last change to /trunk/functions.php was a
change you made on 23rd of October Tom way before these problems started.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 December 2012 21:02
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

I changed functions.php and restarted Apache but it hasn't fixed the create
new project issue for me.

 

You had a blank screen previously - could this be a separate issue? 

Did you ever see the create a new project workspace clears issue?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 20:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

It's working for me now.

And whether you have to restart apache depends a bit on whether you have
eAccelerator or something active. Sometimes it helps to restart apache
(php).

Tom

Op 3-12-2012 21:32, Ron Mitchell schreef:

Hi Tom

unfortunately this doesn't fix it for me :-(

I've cleared cache and restarted the browser but still the same problem.

Does that change require an Apache restart?

Did you get to a point where you were no longer getting a blank screen and
seeing the workspace clear when creating a new LO?

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To 

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend
installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in
moodle_request_shutdown() .....

Tom

Op 3-12-2012 20:38, Ron Mitchell schreef:

Hi Tom

yes so for example /var/www/moodle/config.php 

or on shared hosting might be /home/user/public_html/moodle/config.php

 

Not sure why you get a blank page - at least I get to see the workspace! ;-)

 

If you change authentication to moodle and restart the browser do you get
prompted to login to moodle? If you do then the path you have entered is
correct.

 

HTH
Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle
config.php, right?

It is definitely not working, I get a blank page, until I remove the config
path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing
in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview
and try to select a different image....

Tom

Tom




Op 3-12-2012 17:57, Ron Mitchell schreef:

Hi John

I can't help with a VM but here's the steps to replicate...

 

1. Create a directory in the web root and copy across an export from the
latest svn trunk e.g. xot19

2. Create a new database and user with the relevant privileges or use the
mysql root account if only a test

3. Browse to /xot19/setup/ and follows the tests or go straight to
/xot19/setup/page1.php

4. During setup add the admin account credentials (whatever you want) and
leave integration_config_path empty

5. Upon completion browse to the xot19 url which by default should be guest
access and create a couple of tests LO's

All should be fine at this point.

6. Visit /xot19/management.php and add the path to moodle config.php

7. Now whether you leave authentication set to guest or change it to moodle
you should see the problem with creating new LO's etc. I'll send a link to a
screencast of that later.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Hi,

 

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran
out of time and into problems figuring out where to put passwords into the
database using phpMyAdmin, setting up the integration path etc.

 

If someone wants to share a VM which exhibits the problem and share it then
I'll definitely take a look at debugging. 

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

 

Hi,

 

Starting a new thread on the current issues with the integration path stuff.
I'm afraid my own technical knowledge doesn't go far in the relevant areas,
but it is clear that we have a problem that needs resolving before we can
make the Xenith code available to everyone, and it seems to me that recent
changes have introduced the problem. Ron has done a lot to try and isolate
the problem, thanks a lot for persisting Ron! 

 

Somehow we need to resolve it. I'm open for ideas on how we can best work
through it: in an ideal world I'd get Ron to sit with Pat at a computer
until the problem is cracked, but since that's not possible, is this
something we can do online somehow? Anyone got any better ideas?

 

Julian

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html













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





-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 












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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 







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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 

 







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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 

 







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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 







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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: error_log_after_creating_a_new_project.txt
URL: 

From patrick.lockley at googlemail.com  Tue Dec  4 13:57:36 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Tue, 4 Dec 2012 13:57:36 +0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <001e01cdd21d$3b45d810$b1d18830$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk> <50BCF771.9020800@tor.nl>
	<003001cdd18d$d7c77760$87566620$@co.uk> <50BD018C.7040700@tor.nl>
	<005a01cdd195$4826d850$d87488f0$@co.uk> <50BD1050.1030508@tor.nl>
	<006b01cdd199$7a6ce210$6f46a630$@co.uk>
	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk> <50BD1653.50705@tor.nl>
	<009801cdd19d$c57dd080$50797180$@co.uk>
	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk> <50BD23C9.8060306@tor.nl>
	<50BD2544.8000205@tor.nl>
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8531@EXCHANGE1.ad.nottingham.ac.uk>
	<007d01cdd212$9aaee590$d00cb0b0$@co.uk>
	<001e01cdd21d$3b45d810$b1d18830$@co.uk>
Message-ID: 

If moodle is set then line 45 in
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/auth_config.phpshould
never be called?



On Tue, Dec 4, 2012 at 12:45 PM, Ron Mitchell wrote:

> Hi****
>
> I cleared my local xampp error log and then visited my test svn xot
> install and tried creating a project. The attached is the error log as a
> result of that process.****
>
> ** **
>
> Still reviewing it myself but thought I should share in case it highlights
> the cause/solution etc?****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron Mitchell
> *Sent:* 04 December 2012 11:29
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: Current Issues****
>
> ** **
>
> Unfortunately not. :-(****
>
> Firstly prior to last Thursday all was working fine with any version of
> Moodle.****
>
> At one point last night it looked like whatever the clash is didn't exist
> with Moodle 2.x but I then tried with a version of Moodle 2.3 and that had
> the same problem. Also as I mentioned there are lots of people using moodle
> for authentication and I'm sure keen to get xot 1.9 with the xenith code
> etc but many won't be able to upgrade from Moodle 1.9 yet for all sorts of
> reasons.****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Julian Tenney
> *Sent:* 04 December 2012 10:36
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
> ** **
>
> I?ve read over the posts, thanks for all the work you guys have put in to
> this.****
>
> ** **
>
> Would it be fair to summarise that things work fine in Moodle 2.x, but not
> moodle 1.9?****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 22:19
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
> ** **
>
> Version 1.9 is not working either if I use the functions.php from svn.
> White screen again. (When using Moodle intergration).
>
> Tom****
>
> Op 3-12-2012 23:12, Tom Reijnders schreef:****
>
> It's a version 2, but I don't know which one.
>
> I also have a moodle 1.9 (but again, I don't know exactly what version).
> But  that one seems to work as well for me. But I have to clear cache etc,
> to make sure I don't use a different session.
>
> Where can you check the exact version of moodle?****
>
> Op 3-12-2012 23:02, Ron Mitchell schreef:****
>
> Tom****
>
> do you have a moodle 1.9 to test with?****
>
>  ****
>
> Your question about moodle version gave me an idea to test locally with
> xampp. I'm going to say this with caution because I thought I was able to
> reproduce the problem with xampp previously too but I just tested the
> following:****
>
>  ****
>
> The test install I was using with xampp was using a moodle2 config path
> and not giving the same problems as the linux servers. So I just change
> that config path to a moodle 1.9 install and it did then give the same
> problems. I then changed the config path back to a 1.9 install and the
> problem is there again.****
>
>  ****
>
> So not forgetting that the Techdis server install has been working fine
> with a moodle 1.9 config all this time it seems this indicates the
> following:****
>
>  ****
>
> a recent XOT code change has introduced a clash with moodle 1.9 but not
> moodle 2?****
>
>  ****
>
> the problem can be reproduced on Windows via xampp if moodle 1.9 is
> avilable to add as the integration_config_path****
>
>  ****
>
> In theory I could upgrade the Moodle on the techdis server to a later
> version because we aren't using that install for anything else but that
> doesn't help people who want to upgrade xot but can't yet upgrade their
> Moodle and it doesn't really help identify the specific
> change/cause/solution either.****
>
>  ****
>
> However maybe it's easier to track down with xampp?****
>
>  ****
>
> 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:* 03 December 2012 21:33
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> As far as I can see the last change to the zend folder was 29/04/2012****
>
>  ****
>
> On both installations I've been testing the moodle is 1.9x What about
> yours?****
>
>  ****
>
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 21:15
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Yes, but is the Zend folder changed recently? (I am currently not behind
> my PC, so can't check)
>
> I did have a situation where MySQL statements took so long, that the
> workspace was not complete. But then you would have to have 10ths of LO's
> in your workspace.
>
> Can it have anything to do with the version of Moodle used?
>
> Tom****
>
> Op 3-12-2012 22:11, Ron Mitchell schreef:****
>
> Also as far as I can see the last change to /trunk/functions.php was a
> change you made on 23rd of October Tom way before these problems started.*
> ***
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Ron Mitchell
> *Sent:* 03 December 2012 21:02
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> I changed functions.php and restarted Apache but it hasn't fixed the
> create new project issue for me.****
>
>  ****
>
> You had a blank screen previously - could this be a separate issue? ****
>
> Did you ever see the create a new project workspace clears issue?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 20:49
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> It's working for me now.
>
> And whether you have to restart apache depends a bit on whether you have
> eAccelerator or something active. Sometimes it helps to restart apache
> (php).
>
> Tom****
>
> Op 3-12-2012 21:32, Ron Mitchell schreef:****
>
> Hi Tom****
>
> unfortunately this doesn't fix it for me :-(****
>
> I've cleared cache and restarted the browser but still the same problem.**
> **
>
> Does that change require an Apache restart?****
>
> Did you get to a point where you were no longer getting a blank screen and
> seeing the workspace clear when creating a new LO?****
>
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 19:46
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Ok...
>
> I've got it working here, if I change line 48 of functions.php
>
> $language = new Zend_Locale();
>
> To
>
> $language = 'en-GB';   (and yes I realize it is doing something else)
>
>
> If this also works for you, than something has changed in the Zend
> installation.
>
> Somewhere in tracing through the constructor of Zend_Locale I end up in
> moodle_request_shutdown() .....
>
> Tom****
>
> Op 3-12-2012 20:38, Ron Mitchell schreef:****
>
> Hi Tom****
>
> yes so for example /var/www/moodle/config.php ****
>
> or on shared hosting might be /home/user/public_html/moodle/config.php****
>
>  ****
>
> Not sure why you get a blank page - at least I get to see the workspace!
> ;-)****
>
>  ****
>
> If you change authentication to moodle and restart the browser do you get
> prompted to login to moodle? If you do then the path you have entered is
> correct.****
>
>  ****
>
> HTH
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 19:03
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Ron,
>
> Just to be sure, in step 6, this is the full Linux file path to the moodle
> config.php, right?
>
> It is definitely not working, I get a blank page, until I remove the
> config path from the sitedetails page.
>
> Nothing shows up in the debug.log, not in the apache errorlog, and nothing
> in the javascript console.
>
> I will try to start all this in the debugger (xdebug).
>
>
> There are two other issues in my install:
> 1. Sometimes the editor disappears behind the browser window.
> 2. In a Media page with an image, preview, all is fine, now close preview
> and try to select a different image....
>
> Tom
>
> Tom
>
>
> ****
>
> Op 3-12-2012 17:57, Ron Mitchell schreef:****
>
> Hi John****
>
> I can't help with a VM but here's the steps to replicate...****
>
>  ****
>
> 1. Create a directory in the web root and copy across an export from the
> latest svn trunk e.g. xot19****
>
> 2. Create a new database and user with the relevant privileges or use the
> mysql root account if only a test****
>
> 3. Browse to /xot19/setup/ and follows the tests or go straight to
> /xot19/setup/page1.php****
>
> 4. During setup add the admin account credentials (whatever you want) and
> leave integration_config_path empty****
>
> 5. Upon completion browse to the xot19 url which by default should be
> guest access and create a couple of tests LO's****
>
> All should be fine at this point.****
>
> 6. Visit /xot19/management.php and add the path to moodle config.php****
>
> 7. Now whether you leave authentication set to guest or change it to
> moodle you should see the problem with creating new LO's etc. I'll send a
> link to a screencast of that later.****
>
>  ****
>
> HTH****
>
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Smith, John
> *Sent:* 03 December 2012 15:38
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Hi,****
>
>  ****
>
> I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but
> ran out of time and into problems figuring out where to put passwords into
> the database using phpMyAdmin, setting up the integration path etc?****
>
>  ****
>
> If someone wants to share a VM which exhibits the problem and share it
> then I?ll definitely take a look at debugging? ****
>
>  ****
>
> Regards,****
>
>  ****
>
> John Smith****
>
> Learning Technologist****
>
> School of Health & Life Sciences****
>
> Glasgow Caledonian University****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Julian Tenney
> *Sent:* Monday, December 03, 2012 2:08 PM
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Current Issues****
>
>  ****
>
> Hi,****
>
>  ****
>
> Starting a new thread on the current issues with the integration path
> stuff. I?m afraid my own technical knowledge doesn?t go far in the relevant
> areas, but it is clear that we have a problem that needs resolving before
> we can make the Xenith code available to everyone, and it seems to me that
> recent changes have introduced the problem. Ron has done a lot to try and
> isolate the problem, thanks a lot for persisting Ron! ****
>
>  ****
>
> Somehow we need to resolve it. I?m open for ideas on how we can best work
> through it: in an ideal world I?d get Ron to sit with Pat at a computer
> until the problem is cracked, but since that?s not possible, is this
> something we can do online somehow? Anyone got any better ideas?****
>
>  ****
>
> Julian****
>
>  ****
>
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the
> Year 2009 and Herald Society?s Education Initiative of the Year 2009.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
>
>
>
> ****
>
>
>
>
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>
>
> ****
>
> -- ****
>
> --****
>
>  ****
>
> Tom Reijnders****
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
>
>
> ****
>
>
>
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
> ** **
>
> -- ****
>
> --****
>
>  ****
>
> Tom Reijnders****
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
> ** **
>
>
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
> -- ****
>
> --****
>
>  ****
>
> Tom Reijnders****
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
>  ****
>
> ** **
>
>
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
> -- ****
>
> --****
>
>  ****
>
> Tom Reijnders****
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
>  ****
>
> ** **
>
>
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
> ** **
>
> -- ****
>
> --****
>
> ** **
>
> Tom Reijnders****
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
> ** **
>
>
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
> ** **
>
> -- ****
>
> --****
>
> ** **
>
> Tom Reijnders****
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
> ** **
>
> ** **
>
>
>
> ****
>
>
>
>
> _______________________________________________
> 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: 

From ronm at mitchellmedia.co.uk  Tue Dec  4 14:47:12 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Tue, 4 Dec 2012 14:47:12 -0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>
	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>
	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>
	<50BD1050.1030508@tor.nl>	<006b01cdd199$7a6ce210$6f46a630$@co.uk>	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>
	<50BD1653.50705@tor.nl>	<009801cdd19d$c57dd080$50797180$@co.uk>	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>
	<50BD23C9.8060306@tor.nl>	<50BD2544.8000205@tor.nl>	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8531@EXCHANGE1.ad.nottingham.ac.uk>	<007d01cdd212$9aaee590$d00cb0b0$@co.uk>	<001e01cdd21d$3b45d810$b1d18830$@co.uk>
	
Message-ID: <005e01cdd22e$3fee1ab0$bfca5010$@co.uk>

We've been testing with and without moodle auth set Pat. Obviously on the
Techdis server that was always set to Moodle auth but this problem occurs
regardless of what authentication is set.

 

I think there are two slightly separate issues here:

 

1. There is some kind of clash or incompatibility recently introduced
causing this problem. It happens regardless of authentication method.

 

2. It's perhaps a minor point but at the moment integration_config_path is
used/included regardless of the authentication method set. e.g. if an
installation has a value in integration_config_path it's included even if
authentication is set to guest. Maybe with other systems there wouldn't be a
clash but if there's a session_start() it would still be attempted because
there's no relation between the authentication method set and whether the
path is included. But this has been the case for a long time so isn't the
cause of the main error.

 

At least I think this is correct.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 04 December 2012 13:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

If moodle is set then line 45 in
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/auth_config
.php should never be called?

 

On Tue, Dec 4, 2012 at 12:45 PM, Ron Mitchell 
wrote:

Hi

I cleared my local xampp error log and then visited my test svn xot install
and tried creating a project. The attached is the error log as a result of
that process.

 

Still reviewing it myself but thought I should share in case it highlights
the cause/solution etc?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 04 December 2012 11:29
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

Unfortunately not. :-(

Firstly prior to last Thursday all was working fine with any version of
Moodle.

At one point last night it looked like whatever the clash is didn't exist
with Moodle 2.x but I then tried with a version of Moodle 2.3 and that had
the same problem. Also as I mentioned there are lots of people using moodle
for authentication and I'm sure keen to get xot 1.9 with the xenith code etc
but many won't be able to upgrade from Moodle 1.9 yet for all sorts of
reasons.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 December 2012 10:36
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

I've read over the posts, thanks for all the work you guys have put in to
this.

 

Would it be fair to summarise that things work fine in Moodle 2.x, but not
moodle 1.9?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 22:19
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Version 1.9 is not working either if I use the functions.php from svn. White
screen again. (When using Moodle intergration).

Tom

Op 3-12-2012 23:12, Tom Reijnders schreef:

It's a version 2, but I don't know which one.

I also have a moodle 1.9 (but again, I don't know exactly what version). But
that one seems to work as well for me. But I have to clear cache etc, to
make sure I don't use a different session.

Where can you check the exact version of moodle?

Op 3-12-2012 23:02, Ron Mitchell schreef:

Tom

do you have a moodle 1.9 to test with?

 

Your question about moodle version gave me an idea to test locally with
xampp. I'm going to say this with caution because I thought I was able to
reproduce the problem with xampp previously too but I just tested the
following:

 

The test install I was using with xampp was using a moodle2 config path and
not giving the same problems as the linux servers. So I just change that
config path to a moodle 1.9 install and it did then give the same problems.
I then changed the config path back to a 1.9 install and the problem is
there again.

 

So not forgetting that the Techdis server install has been working fine with
a moodle 1.9 config all this time it seems this indicates the following:

 

a recent XOT code change has introduced a clash with moodle 1.9 but not
moodle 2?

 

the problem can be reproduced on Windows via xampp if moodle 1.9 is avilable
to add as the integration_config_path

 

In theory I could upgrade the Moodle on the techdis server to a later
version because we aren't using that install for anything else but that
doesn't help people who want to upgrade xot but can't yet upgrade their
Moodle and it doesn't really help identify the specific
change/cause/solution either.

 

However maybe it's easier to track down with xampp?

 

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: 03 December 2012 21:33
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

As far as I can see the last change to the zend folder was 29/04/2012

 

On both installations I've been testing the moodle is 1.9x What about yours?

 

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 21:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Yes, but is the Zend folder changed recently? (I am currently not behind my
PC, so can't check)

I did have a situation where MySQL statements took so long, that the
workspace was not complete. But then you would have to have 10ths of LO's in
your workspace.

Can it have anything to do with the version of Moodle used?

Tom

Op 3-12-2012 22:11, Ron Mitchell schreef:

Also as far as I can see the last change to /trunk/functions.php was a
change you made on 23rd of October Tom way before these problems started.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 December 2012 21:02
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

I changed functions.php and restarted Apache but it hasn't fixed the create
new project issue for me.

 

You had a blank screen previously - could this be a separate issue? 

Did you ever see the create a new project workspace clears issue?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 20:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

It's working for me now.

And whether you have to restart apache depends a bit on whether you have
eAccelerator or something active. Sometimes it helps to restart apache
(php).

Tom

Op 3-12-2012 21:32, Ron Mitchell schreef:

Hi Tom

unfortunately this doesn't fix it for me :-(

I've cleared cache and restarted the browser but still the same problem.

Does that change require an Apache restart?

Did you get to a point where you were no longer getting a blank screen and
seeing the workspace clear when creating a new LO?

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To 

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend
installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in
moodle_request_shutdown() .....

Tom

Op 3-12-2012 20:38, Ron Mitchell schreef:

Hi Tom

yes so for example /var/www/moodle/config.php 

or on shared hosting might be /home/user/public_html/moodle/config.php

 

Not sure why you get a blank page - at least I get to see the workspace! ;-)

 

If you change authentication to moodle and restart the browser do you get
prompted to login to moodle? If you do then the path you have entered is
correct.

 

HTH
Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle
config.php, right?

It is definitely not working, I get a blank page, until I remove the config
path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing
in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview
and try to select a different image....

Tom

Tom



Op 3-12-2012 17:57, Ron Mitchell schreef:

Hi John

I can't help with a VM but here's the steps to replicate...

 

1. Create a directory in the web root and copy across an export from the
latest svn trunk e.g. xot19

2. Create a new database and user with the relevant privileges or use the
mysql root account if only a test

3. Browse to /xot19/setup/ and follows the tests or go straight to
/xot19/setup/page1.php

4. During setup add the admin account credentials (whatever you want) and
leave integration_config_path empty

5. Upon completion browse to the xot19 url which by default should be guest
access and create a couple of tests LO's

All should be fine at this point.

6. Visit /xot19/management.php and add the path to moodle config.php

7. Now whether you leave authentication set to guest or change it to moodle
you should see the problem with creating new LO's etc. I'll send a link to a
screencast of that later.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Hi,

 

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran
out of time and into problems figuring out where to put passwords into the
database using phpMyAdmin, setting up the integration path etc.

 

If someone wants to share a VM which exhibits the problem and share it then
I'll definitely take a look at debugging. 

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

 

Hi,

 

Starting a new thread on the current issues with the integration path stuff.
I'm afraid my own technical knowledge doesn't go far in the relevant areas,
but it is clear that we have a problem that needs resolving before we can
make the Xenith code available to everyone, and it seems to me that recent
changes have introduced the problem. Ron has done a lot to try and isolate
the problem, thanks a lot for persisting Ron! 

 

Somehow we need to resolve it. I'm open for ideas on how we can best work
through it: in an ideal world I'd get Ron to sit with Pat at a computer
until the problem is cracked, but since that's not possible, is this
something we can do online somehow? Anyone got any better ideas?

 

Julian

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html











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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
 
Tel: 073 5226191
Fax: 073 5226196
 

 







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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 
 

 






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

 

 
-- 
--
 
Tom Reijnders
 
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 

 






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

 

 
-- 
--
 
Tom Reijnders
 
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 

 






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

 

 
-- 
--
 
Tom Reijnders
 
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 






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

 

 
-- 
--
 
Tom Reijnders
 
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 

 





_______________________________________________
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: 

From patrick.lockley at googlemail.com  Tue Dec  4 15:08:50 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Tue, 4 Dec 2012 15:08:50 +0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <005e01cdd22e$3fee1ab0$bfca5010$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk> <50BCF771.9020800@tor.nl>
	<003001cdd18d$d7c77760$87566620$@co.uk> <50BD018C.7040700@tor.nl>
	<005a01cdd195$4826d850$d87488f0$@co.uk> <50BD1050.1030508@tor.nl>
	<006b01cdd199$7a6ce210$6f46a630$@co.uk>
	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk> <50BD1653.50705@tor.nl>
	<009801cdd19d$c57dd080$50797180$@co.uk>
	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk> <50BD23C9.8060306@tor.nl>
	<50BD2544.8000205@tor.nl>
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8531@EXCHANGE1.ad.nottingham.ac.uk>
	<007d01cdd212$9aaee590$d00cb0b0$@co.uk>
	<001e01cdd21d$3b45d810$b1d18830$@co.uk>
	
	<005e01cdd22e$3fee1ab0$bfca5010$@co.uk>
Message-ID: 

2. It's perhaps a minor point but at the moment integration_config_path is
used/included regardless of the authentication method set.

That might be something people want - you might want to include some PHP
libraries, extra features, use cookies, lots of possible stuff - it was
included to be a catch all for any situation really


On Tue, Dec 4, 2012 at 2:47 PM, Ron Mitchell wrote:

> We've been testing with and without moodle auth set Pat. Obviously on the
> Techdis server that was always set to Moodle auth but this problem occurs
> regardless of what authentication is set.****
>
> ** **
>
> I think there are two slightly separate issues here:****
>
> ** **
>
> 1. There is some kind of clash or incompatibility recently introduced
> causing this problem. It happens regardless of authentication method.****
>
> ** **
>
> 2. It's perhaps a minor point but at the moment integration_config_path is
> used/included regardless of the authentication method set. e.g. if an
> installation has a value in integration_config_path it's included even if
> authentication is set to guest. Maybe with other systems there wouldn't be
> a clash but if there's a session_start() it would still be attempted
> because there's no relation between the authentication method set and
> whether the path is included. But this has been the case for a long time so
> isn't the cause of the main error.****
>
> ** **
>
> At least I think this is correct.****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 04 December 2012 13:58
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
> ** **
>
> If moodle is set then line 45 in
> http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/auth_config.phpshould never be called?
> ****
>
> ** **
>
> On Tue, Dec 4, 2012 at 12:45 PM, Ron Mitchell 
> wrote:****
>
> Hi****
>
> I cleared my local xampp error log and then visited my test svn xot
> install and tried creating a project. The attached is the error log as a
> result of that process.****
>
>  ****
>
> Still reviewing it myself but thought I should share in case it highlights
> the cause/solution etc?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron Mitchell
> *Sent:* 04 December 2012 11:29
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Unfortunately not. :-(****
>
> Firstly prior to last Thursday all was working fine with any version of
> Moodle.****
>
> At one point last night it looked like whatever the clash is didn't exist
> with Moodle 2.x but I then tried with a version of Moodle 2.3 and that had
> the same problem. Also as I mentioned there are lots of people using moodle
> for authentication and I'm sure keen to get xot 1.9 with the xenith code
> etc but many won't be able to upgrade from Moodle 1.9 yet for all sorts of
> reasons.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Julian Tenney
> *Sent:* 04 December 2012 10:36
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> I?ve read over the posts, thanks for all the work you guys have put in to
> this.****
>
>  ****
>
> Would it be fair to summarise that things work fine in Moodle 2.x, but not
> moodle 1.9?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 22:19
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Version 1.9 is not working either if I use the functions.php from svn.
> White screen again. (When using Moodle intergration).
>
> Tom****
>
> Op 3-12-2012 23:12, Tom Reijnders schreef:****
>
> It's a version 2, but I don't know which one.
>
> I also have a moodle 1.9 (but again, I don't know exactly what version).
> But  that one seems to work as well for me. But I have to clear cache etc,
> to make sure I don't use a different session.
>
> Where can you check the exact version of moodle?****
>
> Op 3-12-2012 23:02, Ron Mitchell schreef:****
>
> Tom****
>
> do you have a moodle 1.9 to test with?****
>
>  ****
>
> Your question about moodle version gave me an idea to test locally with
> xampp. I'm going to say this with caution because I thought I was able to
> reproduce the problem with xampp previously too but I just tested the
> following:****
>
>  ****
>
> The test install I was using with xampp was using a moodle2 config path
> and not giving the same problems as the linux servers. So I just change
> that config path to a moodle 1.9 install and it did then give the same
> problems. I then changed the config path back to a 1.9 install and the
> problem is there again.****
>
>  ****
>
> So not forgetting that the Techdis server install has been working fine
> with a moodle 1.9 config all this time it seems this indicates the
> following:****
>
>  ****
>
> a recent XOT code change has introduced a clash with moodle 1.9 but not
> moodle 2?****
>
>  ****
>
> the problem can be reproduced on Windows via xampp if moodle 1.9 is
> avilable to add as the integration_config_path****
>
>  ****
>
> In theory I could upgrade the Moodle on the techdis server to a later
> version because we aren't using that install for anything else but that
> doesn't help people who want to upgrade xot but can't yet upgrade their
> Moodle and it doesn't really help identify the specific
> change/cause/solution either.****
>
>  ****
>
> However maybe it's easier to track down with xampp?****
>
>  ****
>
> 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:* 03 December 2012 21:33
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> As far as I can see the last change to the zend folder was 29/04/2012****
>
>  ****
>
> On both installations I've been testing the moodle is 1.9x What about
> yours?****
>
>  ****
>
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 21:15
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Yes, but is the Zend folder changed recently? (I am currently not behind
> my PC, so can't check)
>
> I did have a situation where MySQL statements took so long, that the
> workspace was not complete. But then you would have to have 10ths of LO's
> in your workspace.
>
> Can it have anything to do with the version of Moodle used?
>
> Tom****
>
> Op 3-12-2012 22:11, Ron Mitchell schreef:****
>
> Also as far as I can see the last change to /trunk/functions.php was a
> change you made on 23rd of October Tom way before these problems started.*
> ***
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Ron Mitchell
> *Sent:* 03 December 2012 21:02
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> I changed functions.php and restarted Apache but it hasn't fixed the
> create new project issue for me.****
>
>  ****
>
> You had a blank screen previously - could this be a separate issue? ****
>
> Did you ever see the create a new project workspace clears issue?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 20:49
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> It's working for me now.
>
> And whether you have to restart apache depends a bit on whether you have
> eAccelerator or something active. Sometimes it helps to restart apache
> (php).
>
> Tom****
>
> Op 3-12-2012 21:32, Ron Mitchell schreef:****
>
> Hi Tom****
>
> unfortunately this doesn't fix it for me :-(****
>
> I've cleared cache and restarted the browser but still the same problem.**
> **
>
> Does that change require an Apache restart?****
>
> Did you get to a point where you were no longer getting a blank screen and
> seeing the workspace clear when creating a new LO?****
>
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 19:46
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Ok...
>
> I've got it working here, if I change line 48 of functions.php
>
> $language = new Zend_Locale();
>
> To
>
> $language = 'en-GB';   (and yes I realize it is doing something else)
>
>
> If this also works for you, than something has changed in the Zend
> installation.
>
> Somewhere in tracing through the constructor of Zend_Locale I end up in
> moodle_request_shutdown() .....
>
> Tom****
>
> Op 3-12-2012 20:38, Ron Mitchell schreef:****
>
> Hi Tom****
>
> yes so for example /var/www/moodle/config.php ****
>
> or on shared hosting might be /home/user/public_html/moodle/config.php****
>
>  ****
>
> Not sure why you get a blank page - at least I get to see the workspace!
> ;-)****
>
>  ****
>
> If you change authentication to moodle and restart the browser do you get
> prompted to login to moodle? If you do then the path you have entered is
> correct.****
>
>  ****
>
> HTH
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 19:03
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Ron,
>
> Just to be sure, in step 6, this is the full Linux file path to the moodle
> config.php, right?
>
> It is definitely not working, I get a blank page, until I remove the
> config path from the sitedetails page.
>
> Nothing shows up in the debug.log, not in the apache errorlog, and nothing
> in the javascript console.
>
> I will try to start all this in the debugger (xdebug).
>
>
> There are two other issues in my install:
> 1. Sometimes the editor disappears behind the browser window.
> 2. In a Media page with an image, preview, all is fine, now close preview
> and try to select a different image....
>
> Tom
>
> Tom
>
> ****
>
> Op 3-12-2012 17:57, Ron Mitchell schreef:****
>
> Hi John****
>
> I can't help with a VM but here's the steps to replicate...****
>
>  ****
>
> 1. Create a directory in the web root and copy across an export from the
> latest svn trunk e.g. xot19****
>
> 2. Create a new database and user with the relevant privileges or use the
> mysql root account if only a test****
>
> 3. Browse to /xot19/setup/ and follows the tests or go straight to
> /xot19/setup/page1.php****
>
> 4. During setup add the admin account credentials (whatever you want) and
> leave integration_config_path empty****
>
> 5. Upon completion browse to the xot19 url which by default should be
> guest access and create a couple of tests LO's****
>
> All should be fine at this point.****
>
> 6. Visit /xot19/management.php and add the path to moodle config.php****
>
> 7. Now whether you leave authentication set to guest or change it to
> moodle you should see the problem with creating new LO's etc. I'll send a
> link to a screencast of that later.****
>
>  ****
>
> HTH****
>
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Smith, John
> *Sent:* 03 December 2012 15:38
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Hi,****
>
>  ****
>
> I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but
> ran out of time and into problems figuring out where to put passwords into
> the database using phpMyAdmin, setting up the integration path etc?****
>
>  ****
>
> If someone wants to share a VM which exhibits the problem and share it
> then I?ll definitely take a look at debugging? ****
>
>  ****
>
> Regards,****
>
>  ****
>
> John Smith****
>
> Learning Technologist****
>
> School of Health & Life Sciences****
>
> Glasgow Caledonian University****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Julian Tenney
> *Sent:* Monday, December 03, 2012 2:08 PM
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Current Issues****
>
>  ****
>
> Hi,****
>
>  ****
>
> Starting a new thread on the current issues with the integration path
> stuff. I?m afraid my own technical knowledge doesn?t go far in the relevant
> areas, but it is clear that we have a problem that needs resolving before
> we can make the Xenith code available to everyone, and it seems to me that
> recent changes have introduced the problem. Ron has done a lot to try and
> isolate the problem, thanks a lot for persisting Ron! ****
>
>  ****
>
> Somehow we need to resolve it. I?m open for ideas on how we can best work
> through it: in an ideal world I?d get Ron to sit with Pat at a computer
> until the problem is cracked, but since that?s not possible, is this
> something we can do online somehow? Anyone got any better ideas?****
>
>  ****
>
> Julian****
>
>  ****
>
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the
> Year 2009 and Herald Society?s Education Initiative of the Year 2009.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
>
>
> ****
>
>
>
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
> ** **
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
> ** **
>
> -- ****
>
> --****
>
>  ****
>
> Tom Reijnders****
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> ** **
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
> ** **
>
>
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
> ** **
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
> -- ****
>
> --****
>
>  ****
>
> Tom Reijnders****
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
> ** **
>
>  ****
>
>  ****
>
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
> ** **
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
> ** **
>
> -- ****
>
> --****
>
>  ****
>
> Tom Reijnders****
>
> ** **
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
>  ****
>
>  ****
>
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
> ** **
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
> ** **
>
> -- ****
>
> --****
>
>  ****
>
> Tom Reijnders****
>
> ** **
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
>  ****
>
>  ****
>
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
> ** **
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
> ** **
>
> -- ****
>
> --****
>
>  ****
>
> Tom Reijnders****
>
> ** **
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
> ** **
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
> ** **
>
> -- ****
>
> --****
>
>  ****
>
> Tom Reijnders****
>
> ** **
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
>  ****
>
> ** **
>
>
>
>
>
> _______________________________________________
> 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: 

From Julian.Tenney at nottingham.ac.uk  Tue Dec  4 15:56:16 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Tue, 4 Dec 2012 15:56:16 +0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <005e01cdd22e$3fee1ab0$bfca5010$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>
	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>
	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>
	<006b01cdd199$7a6ce210$6f46a630$@co.uk>
	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>	<50BD1653.50705@tor.nl>
	<009801cdd19d$c57dd080$50797180$@co.uk>
	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>	<50BD23C9.8060306@tor.nl>
	<50BD2544.8000205@tor.nl>
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8531@EXCHANGE1.ad.nottingham.ac.uk>
	<007d01cdd212$9aaee590$d00cb0b0$@co.uk>
	<001e01cdd21d$3b45d810$b1d18830$@co.uk>
	
	<005e01cdd22e$3fee1ab0$bfca5010$@co.uk>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48CD885D@EXCHANGE1.ad.nottingham.ac.uk>

In a vain attempt to help, is this actually helpful? It suggests errors in the code.... This is from auth_config.php

[cid:image001.png at 01CDD237.E4D0DD20]

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 04 December 2012 14:47
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

We've been testing with and without moodle auth set Pat. Obviously on the Techdis server that was always set to Moodle auth but this problem occurs regardless of what authentication is set.

I think there are two slightly separate issues here:

1. There is some kind of clash or incompatibility recently introduced causing this problem. It happens regardless of authentication method.

2. It's perhaps a minor point but at the moment integration_config_path is used/included regardless of the authentication method set. e.g. if an installation has a value in integration_config_path it's included even if authentication is set to guest. Maybe with other systems there wouldn't be a clash but if there's a session_start() it would still be attempted because there's no relation between the authentication method set and whether the path is included. But this has been the case for a long time so isn't the cause of the main error.

At least I think this is correct.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 04 December 2012 13:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

If moodle is set then line 45 in http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/auth_config.php should never be called?

On Tue, Dec 4, 2012 at 12:45 PM, Ron Mitchell > wrote:
Hi
I cleared my local xampp error log and then visited my test svn xot install and tried creating a project. The attached is the error log as a result of that process.

Still reviewing it myself but thought I should share in case it highlights the cause/solution etc?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 04 December 2012 11:29
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

Unfortunately not. :-(
Firstly prior to last Thursday all was working fine with any version of Moodle.
At one point last night it looked like whatever the clash is didn't exist with Moodle 2.x but I then tried with a version of Moodle 2.3 and that had the same problem. Also as I mentioned there are lots of people using moodle for authentication and I'm sure keen to get xot 1.9 with the xenith code etc but many won't be able to upgrade from Moodle 1.9 yet for all sorts of reasons.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 December 2012 10:36
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

I've read over the posts, thanks for all the work you guys have put in to this.

Would it be fair to summarise that things work fine in Moodle 2.x, but not moodle 1.9?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 22:19
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Version 1.9 is not working either if I use the functions.php from svn. White screen again. (When using Moodle intergration).

Tom
Op 3-12-2012 23:12, Tom Reijnders schreef:
It's a version 2, but I don't know which one.

I also have a moodle 1.9 (but again, I don't know exactly what version). But  that one seems to work as well for me. But I have to clear cache etc, to make sure I don't use a different session.

Where can you check the exact version of moodle?
Op 3-12-2012 23:02, Ron Mitchell schreef:
Tom
do you have a moodle 1.9 to test with?

Your question about moodle version gave me an idea to test locally with xampp. I'm going to say this with caution because I thought I was able to reproduce the problem with xampp previously too but I just tested the following:

The test install I was using with xampp was using a moodle2 config path and not giving the same problems as the linux servers. So I just change that config path to a moodle 1.9 install and it did then give the same problems. I then changed the config path back to a 1.9 install and the problem is there again.

So not forgetting that the Techdis server install has been working fine with a moodle 1.9 config all this time it seems this indicates the following:

a recent XOT code change has introduced a clash with moodle 1.9 but not moodle 2?

the problem can be reproduced on Windows via xampp if moodle 1.9 is avilable to add as the integration_config_path

In theory I could upgrade the Moodle on the techdis server to a later version because we aren't using that install for anything else but that doesn't help people who want to upgrade xot but can't yet upgrade their Moodle and it doesn't really help identify the specific change/cause/solution either.

However maybe it's easier to track down with xampp?

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: 03 December 2012 21:33
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

As far as I can see the last change to the zend folder was 29/04/2012

On both installations I've been testing the moodle is 1.9x What about yours?

Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 21:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Yes, but is the Zend folder changed recently? (I am currently not behind my PC, so can't check)

I did have a situation where MySQL statements took so long, that the workspace was not complete. But then you would have to have 10ths of LO's in your workspace.

Can it have anything to do with the version of Moodle used?

Tom
Op 3-12-2012 22:11, Ron Mitchell schreef:
Also as far as I can see the last change to /trunk/functions.php was a change you made on 23rd of October Tom way before these problems started.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 December 2012 21:02
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

I changed functions.php and restarted Apache but it hasn't fixed the create new project issue for me.

You had a blank screen previously - could this be a separate issue?
Did you ever see the create a new project workspace clears issue?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 20:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

It's working for me now.

And whether you have to restart apache depends a bit on whether you have eAccelerator or something active. Sometimes it helps to restart apache (php).

Tom
Op 3-12-2012 21:32, Ron Mitchell schreef:
Hi Tom
unfortunately this doesn't fix it for me :-(
I've cleared cache and restarted the browser but still the same problem.
Does that change require an Apache restart?
Did you get to a point where you were no longer getting a blank screen and seeing the workspace clear when creating a new LO?
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in moodle_request_shutdown() .....

Tom
Op 3-12-2012 20:38, Ron Mitchell schreef:
Hi Tom
yes so for example /var/www/moodle/config.php
or on shared hosting might be /home/user/public_html/moodle/config.php

Not sure why you get a blank page - at least I get to see the workspace! ;-)

If you change authentication to moodle and restart the browser do you get prompted to login to moodle? If you do then the path you have entered is correct.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle config.php, right?

It is definitely not working, I get a blank page, until I remove the config path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview and try to select a different image....

Tom

Tom
Op 3-12-2012 17:57, Ron Mitchell schreef:
Hi John
I can't help with a VM but here's the steps to replicate...

1. Create a directory in the web root and copy across an export from the latest svn trunk e.g. xot19
2. Create a new database and user with the relevant privileges or use the mysql root account if only a test
3. Browse to /xot19/setup/ and follows the tests or go straight to /xot19/setup/page1.php
4. During setup add the admin account credentials (whatever you want) and leave integration_config_path empty
5. Upon completion browse to the xot19 url which by default should be guest access and create a couple of tests LO's
All should be fine at this point.
6. Visit /xot19/management.php and add the path to moodle config.php
7. Now whether you leave authentication set to guest or change it to moodle you should see the problem with creating new LO's etc. I'll send a link to a screencast of that later.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Hi,

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran out of time and into problems figuring out where to put passwords into the database using phpMyAdmin, setting up the integration path etc...

If someone wants to share a VM which exhibits the problem and share it then I'll definitely take a look at debugging...

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

Hi,

Starting a new thread on the current issues with the integration path stuff. I'm afraid my own technical knowledge doesn't go far in the relevant areas, but it is clear that we have a problem that needs resolving before we can make the Xenith code available to everyone, and it seems to me that recent changes have introduced the problem. Ron has done a lot to try and isolate the problem, thanks a lot for persisting Ron!

Somehow we need to resolve it. I'm open for ideas on how we can best work through it: in an ideal world I'd get Ron to sit with Pat at a computer until the problem is cracked, but since that's not possible, is this something we can do online somehow? Anyone got any better ideas?

Julian


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html






_______________________________________________

Xerte-dev mailing list



Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


--

--



Tom Reijnders

TOR Informatica

Chopinlaan 27

5242HM Rosmalen



Tel: 073 5226191

Fax: 073 5226196







_______________________________________________

Xerte-dev mailing list



Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


--

--



Tom Reijnders

TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196








_______________________________________________

Xerte-dev mailing list



Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




--

--



Tom Reijnders



TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196







_______________________________________________

Xerte-dev mailing list



Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




--

--



Tom Reijnders



TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196







_______________________________________________

Xerte-dev mailing list



Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




--

--



Tom Reijnders



TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196





_______________________________________________

Xerte-dev mailing list



Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




--

--



Tom Reijnders



TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196








_______________________________________________
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: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 119003 bytes
Desc: image001.png
URL: 

From Julian.Tenney at nottingham.ac.uk  Tue Dec  4 16:00:01 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Tue, 4 Dec 2012 16:00:01 +0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <005e01cdd22e$3fee1ab0$bfca5010$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>
	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>
	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>
	<006b01cdd199$7a6ce210$6f46a630$@co.uk>
	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>	<50BD1653.50705@tor.nl>
	<009801cdd19d$c57dd080$50797180$@co.uk>
	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>	<50BD23C9.8060306@tor.nl>
	<50BD2544.8000205@tor.nl>
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8531@EXCHANGE1.ad.nottingham.ac.uk>
	<007d01cdd212$9aaee590$d00cb0b0$@co.uk>
	<001e01cdd21d$3b45d810$b1d18830$@co.uk>
	
	<005e01cdd22e$3fee1ab0$bfca5010$@co.uk>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48CD886C@EXCHANGE1.ad.nottingham.ac.uk>

I just fixed this - can't see a reason to say

if (something){
$flag == true;
}

But I don't want to fix 'features'.

[cid:image001.png at 01CDD238.6A976280]

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 04 December 2012 14:47
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

We've been testing with and without moodle auth set Pat. Obviously on the Techdis server that was always set to Moodle auth but this problem occurs regardless of what authentication is set.

I think there are two slightly separate issues here:

1. There is some kind of clash or incompatibility recently introduced causing this problem. It happens regardless of authentication method.

2. It's perhaps a minor point but at the moment integration_config_path is used/included regardless of the authentication method set. e.g. if an installation has a value in integration_config_path it's included even if authentication is set to guest. Maybe with other systems there wouldn't be a clash but if there's a session_start() it would still be attempted because there's no relation between the authentication method set and whether the path is included. But this has been the case for a long time so isn't the cause of the main error.

At least I think this is correct.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 04 December 2012 13:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

If moodle is set then line 45 in http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/auth_config.php should never be called?

On Tue, Dec 4, 2012 at 12:45 PM, Ron Mitchell > wrote:
Hi
I cleared my local xampp error log and then visited my test svn xot install and tried creating a project. The attached is the error log as a result of that process.

Still reviewing it myself but thought I should share in case it highlights the cause/solution etc?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 04 December 2012 11:29
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

Unfortunately not. :-(
Firstly prior to last Thursday all was working fine with any version of Moodle.
At one point last night it looked like whatever the clash is didn't exist with Moodle 2.x but I then tried with a version of Moodle 2.3 and that had the same problem. Also as I mentioned there are lots of people using moodle for authentication and I'm sure keen to get xot 1.9 with the xenith code etc but many won't be able to upgrade from Moodle 1.9 yet for all sorts of reasons.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 December 2012 10:36
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

I've read over the posts, thanks for all the work you guys have put in to this.

Would it be fair to summarise that things work fine in Moodle 2.x, but not moodle 1.9?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 22:19
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Version 1.9 is not working either if I use the functions.php from svn. White screen again. (When using Moodle intergration).

Tom
Op 3-12-2012 23:12, Tom Reijnders schreef:
It's a version 2, but I don't know which one.

I also have a moodle 1.9 (but again, I don't know exactly what version). But  that one seems to work as well for me. But I have to clear cache etc, to make sure I don't use a different session.

Where can you check the exact version of moodle?
Op 3-12-2012 23:02, Ron Mitchell schreef:
Tom
do you have a moodle 1.9 to test with?

Your question about moodle version gave me an idea to test locally with xampp. I'm going to say this with caution because I thought I was able to reproduce the problem with xampp previously too but I just tested the following:

The test install I was using with xampp was using a moodle2 config path and not giving the same problems as the linux servers. So I just change that config path to a moodle 1.9 install and it did then give the same problems. I then changed the config path back to a 1.9 install and the problem is there again.

So not forgetting that the Techdis server install has been working fine with a moodle 1.9 config all this time it seems this indicates the following:

a recent XOT code change has introduced a clash with moodle 1.9 but not moodle 2?

the problem can be reproduced on Windows via xampp if moodle 1.9 is avilable to add as the integration_config_path

In theory I could upgrade the Moodle on the techdis server to a later version because we aren't using that install for anything else but that doesn't help people who want to upgrade xot but can't yet upgrade their Moodle and it doesn't really help identify the specific change/cause/solution either.

However maybe it's easier to track down with xampp?

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: 03 December 2012 21:33
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

As far as I can see the last change to the zend folder was 29/04/2012

On both installations I've been testing the moodle is 1.9x What about yours?

Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 21:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Yes, but is the Zend folder changed recently? (I am currently not behind my PC, so can't check)

I did have a situation where MySQL statements took so long, that the workspace was not complete. But then you would have to have 10ths of LO's in your workspace.

Can it have anything to do with the version of Moodle used?

Tom
Op 3-12-2012 22:11, Ron Mitchell schreef:
Also as far as I can see the last change to /trunk/functions.php was a change you made on 23rd of October Tom way before these problems started.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 December 2012 21:02
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

I changed functions.php and restarted Apache but it hasn't fixed the create new project issue for me.

You had a blank screen previously - could this be a separate issue?
Did you ever see the create a new project workspace clears issue?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 20:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

It's working for me now.

And whether you have to restart apache depends a bit on whether you have eAccelerator or something active. Sometimes it helps to restart apache (php).

Tom
Op 3-12-2012 21:32, Ron Mitchell schreef:
Hi Tom
unfortunately this doesn't fix it for me :-(
I've cleared cache and restarted the browser but still the same problem.
Does that change require an Apache restart?
Did you get to a point where you were no longer getting a blank screen and seeing the workspace clear when creating a new LO?
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in moodle_request_shutdown() .....

Tom
Op 3-12-2012 20:38, Ron Mitchell schreef:
Hi Tom
yes so for example /var/www/moodle/config.php
or on shared hosting might be /home/user/public_html/moodle/config.php

Not sure why you get a blank page - at least I get to see the workspace! ;-)

If you change authentication to moodle and restart the browser do you get prompted to login to moodle? If you do then the path you have entered is correct.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle config.php, right?

It is definitely not working, I get a blank page, until I remove the config path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview and try to select a different image....

Tom

Tom
Op 3-12-2012 17:57, Ron Mitchell schreef:
Hi John
I can't help with a VM but here's the steps to replicate...

1. Create a directory in the web root and copy across an export from the latest svn trunk e.g. xot19
2. Create a new database and user with the relevant privileges or use the mysql root account if only a test
3. Browse to /xot19/setup/ and follows the tests or go straight to /xot19/setup/page1.php
4. During setup add the admin account credentials (whatever you want) and leave integration_config_path empty
5. Upon completion browse to the xot19 url which by default should be guest access and create a couple of tests LO's
All should be fine at this point.
6. Visit /xot19/management.php and add the path to moodle config.php
7. Now whether you leave authentication set to guest or change it to moodle you should see the problem with creating new LO's etc. I'll send a link to a screencast of that later.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Hi,

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran out of time and into problems figuring out where to put passwords into the database using phpMyAdmin, setting up the integration path etc...

If someone wants to share a VM which exhibits the problem and share it then I'll definitely take a look at debugging...

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

Hi,

Starting a new thread on the current issues with the integration path stuff. I'm afraid my own technical knowledge doesn't go far in the relevant areas, but it is clear that we have a problem that needs resolving before we can make the Xenith code available to everyone, and it seems to me that recent changes have introduced the problem. Ron has done a lot to try and isolate the problem, thanks a lot for persisting Ron!

Somehow we need to resolve it. I'm open for ideas on how we can best work through it: in an ideal world I'd get Ron to sit with Pat at a computer until the problem is cracked, but since that's not possible, is this something we can do online somehow? Anyone got any better ideas?

Julian


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html






_______________________________________________

Xerte-dev mailing list



Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


--

--



Tom Reijnders

TOR Informatica

Chopinlaan 27

5242HM Rosmalen



Tel: 073 5226191

Fax: 073 5226196







_______________________________________________

Xerte-dev mailing list



Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


--

--



Tom Reijnders

TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196








_______________________________________________

Xerte-dev mailing list



Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




--

--



Tom Reijnders



TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196







_______________________________________________

Xerte-dev mailing list



Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




--

--



Tom Reijnders



TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196







_______________________________________________

Xerte-dev mailing list



Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




--

--



Tom Reijnders



TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196





_______________________________________________

Xerte-dev mailing list



Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




--

--



Tom Reijnders



TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196








_______________________________________________
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: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 70775 bytes
Desc: image001.png
URL: 

From patrick.lockley at googlemail.com  Tue Dec  4 16:06:54 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Tue, 4 Dec 2012 16:06:54 +0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48CD886C@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk> <50BCF771.9020800@tor.nl>
	<003001cdd18d$d7c77760$87566620$@co.uk> <50BD018C.7040700@tor.nl>
	<005a01cdd195$4826d850$d87488f0$@co.uk> <50BD1050.1030508@tor.nl>
	<006b01cdd199$7a6ce210$6f46a630$@co.uk>
	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk> <50BD1653.50705@tor.nl>
	<009801cdd19d$c57dd080$50797180$@co.uk>
	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk> <50BD23C9.8060306@tor.nl>
	<50BD2544.8000205@tor.nl>
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8531@EXCHANGE1.ad.nottingham.ac.uk>
	<007d01cdd212$9aaee590$d00cb0b0$@co.uk>
	<001e01cdd21d$3b45d810$b1d18830$@co.uk>
	
	<005e01cdd22e$3fee1ab0$bfca5010$@co.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD886C@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

where was that?


On Tue, Dec 4, 2012 at 4:00 PM, Julian Tenney <
Julian.Tenney at nottingham.ac.uk> wrote:

> I just fixed this - can?t see a reason to say ****
>
> ** **
>
> if (something){****
>
> $flag == true;****
>
> }****
>
> ** **
>
> But I don?t want to fix ?features?.****
>
> ** **
>
> ****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron Mitchell
> *Sent:* 04 December 2012 14:47
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: Current Issues****
>
> ** **
>
> We've been testing with and without moodle auth set Pat. Obviously on the
> Techdis server that was always set to Moodle auth but this problem occurs
> regardless of what authentication is set.****
>
> ** **
>
> I think there are two slightly separate issues here:****
>
> ** **
>
> 1. There is some kind of clash or incompatibility recently introduced
> causing this problem. It happens regardless of authentication method.****
>
> ** **
>
> 2. It's perhaps a minor point but at the moment integration_config_path is
> used/included regardless of the authentication method set. e.g. if an
> installation has a value in integration_config_path it's included even if
> authentication is set to guest. Maybe with other systems there wouldn't be
> a clash but if there's a session_start() it would still be attempted
> because there's no relation between the authentication method set and
> whether the path is included. But this has been the case for a long time so
> isn't the cause of the main error.****
>
> ** **
>
> At least I think this is correct.****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat Lockley
> *Sent:* 04 December 2012 13:58
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
> ** **
>
> If moodle is set then line 45 in
> http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/auth_config.phpshould never be called?
> ****
>
> ** **
>
> On Tue, Dec 4, 2012 at 12:45 PM, Ron Mitchell 
> wrote:****
>
> Hi****
>
> I cleared my local xampp error log and then visited my test svn xot
> install and tried creating a project. The attached is the error log as a
> result of that process.****
>
>  ****
>
> Still reviewing it myself but thought I should share in case it highlights
> the cause/solution etc?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron Mitchell
> *Sent:* 04 December 2012 11:29
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Unfortunately not. :-(****
>
> Firstly prior to last Thursday all was working fine with any version of
> Moodle.****
>
> At one point last night it looked like whatever the clash is didn't exist
> with Moodle 2.x but I then tried with a version of Moodle 2.3 and that had
> the same problem. Also as I mentioned there are lots of people using moodle
> for authentication and I'm sure keen to get xot 1.9 with the xenith code
> etc but many won't be able to upgrade from Moodle 1.9 yet for all sorts of
> reasons.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Julian Tenney
> *Sent:* 04 December 2012 10:36
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> I?ve read over the posts, thanks for all the work you guys have put in to
> this.****
>
>  ****
>
> Would it be fair to summarise that things work fine in Moodle 2.x, but not
> moodle 1.9?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 22:19
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Version 1.9 is not working either if I use the functions.php from svn.
> White screen again. (When using Moodle intergration).
>
> Tom****
>
> Op 3-12-2012 23:12, Tom Reijnders schreef:****
>
> It's a version 2, but I don't know which one.
>
> I also have a moodle 1.9 (but again, I don't know exactly what version).
> But  that one seems to work as well for me. But I have to clear cache etc,
> to make sure I don't use a different session.
>
> Where can you check the exact version of moodle?****
>
> Op 3-12-2012 23:02, Ron Mitchell schreef:****
>
> Tom****
>
> do you have a moodle 1.9 to test with?****
>
>  ****
>
> Your question about moodle version gave me an idea to test locally with
> xampp. I'm going to say this with caution because I thought I was able to
> reproduce the problem with xampp previously too but I just tested the
> following:****
>
>  ****
>
> The test install I was using with xampp was using a moodle2 config path
> and not giving the same problems as the linux servers. So I just change
> that config path to a moodle 1.9 install and it did then give the same
> problems. I then changed the config path back to a 1.9 install and the
> problem is there again.****
>
>  ****
>
> So not forgetting that the Techdis server install has been working fine
> with a moodle 1.9 config all this time it seems this indicates the
> following:****
>
>  ****
>
> a recent XOT code change has introduced a clash with moodle 1.9 but not
> moodle 2?****
>
>  ****
>
> the problem can be reproduced on Windows via xampp if moodle 1.9 is
> avilable to add as the integration_config_path****
>
>  ****
>
> In theory I could upgrade the Moodle on the techdis server to a later
> version because we aren't using that install for anything else but that
> doesn't help people who want to upgrade xot but can't yet upgrade their
> Moodle and it doesn't really help identify the specific
> change/cause/solution either.****
>
>  ****
>
> However maybe it's easier to track down with xampp?****
>
>  ****
>
> 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:* 03 December 2012 21:33
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> As far as I can see the last change to the zend folder was 29/04/2012****
>
>  ****
>
> On both installations I've been testing the moodle is 1.9x What about
> yours?****
>
>  ****
>
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 21:15
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Yes, but is the Zend folder changed recently? (I am currently not behind
> my PC, so can't check)
>
> I did have a situation where MySQL statements took so long, that the
> workspace was not complete. But then you would have to have 10ths of LO's
> in your workspace.
>
> Can it have anything to do with the version of Moodle used?
>
> Tom****
>
> Op 3-12-2012 22:11, Ron Mitchell schreef:****
>
> Also as far as I can see the last change to /trunk/functions.php was a
> change you made on 23rd of October Tom way before these problems started.*
> ***
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Ron Mitchell
> *Sent:* 03 December 2012 21:02
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> I changed functions.php and restarted Apache but it hasn't fixed the
> create new project issue for me.****
>
>  ****
>
> You had a blank screen previously - could this be a separate issue? ****
>
> Did you ever see the create a new project workspace clears issue?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 20:49
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> It's working for me now.
>
> And whether you have to restart apache depends a bit on whether you have
> eAccelerator or something active. Sometimes it helps to restart apache
> (php).
>
> Tom****
>
> Op 3-12-2012 21:32, Ron Mitchell schreef:****
>
> Hi Tom****
>
> unfortunately this doesn't fix it for me :-(****
>
> I've cleared cache and restarted the browser but still the same problem.**
> **
>
> Does that change require an Apache restart?****
>
> Did you get to a point where you were no longer getting a blank screen and
> seeing the workspace clear when creating a new LO?****
>
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 19:46
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Ok...
>
> I've got it working here, if I change line 48 of functions.php
>
> $language = new Zend_Locale();
>
> To
>
> $language = 'en-GB';   (and yes I realize it is doing something else)
>
>
> If this also works for you, than something has changed in the Zend
> installation.
>
> Somewhere in tracing through the constructor of Zend_Locale I end up in
> moodle_request_shutdown() .....
>
> Tom****
>
> Op 3-12-2012 20:38, Ron Mitchell schreef:****
>
> Hi Tom****
>
> yes so for example /var/www/moodle/config.php ****
>
> or on shared hosting might be /home/user/public_html/moodle/config.php****
>
>  ****
>
> Not sure why you get a blank page - at least I get to see the workspace!
> ;-)****
>
>  ****
>
> If you change authentication to moodle and restart the browser do you get
> prompted to login to moodle? If you do then the path you have entered is
> correct.****
>
>  ****
>
> HTH
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 19:03
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Ron,
>
> Just to be sure, in step 6, this is the full Linux file path to the moodle
> config.php, right?
>
> It is definitely not working, I get a blank page, until I remove the
> config path from the sitedetails page.
>
> Nothing shows up in the debug.log, not in the apache errorlog, and nothing
> in the javascript console.
>
> I will try to start all this in the debugger (xdebug).
>
>
> There are two other issues in my install:
> 1. Sometimes the editor disappears behind the browser window.
> 2. In a Media page with an image, preview, all is fine, now close preview
> and try to select a different image....
>
> Tom
>
> Tom****
>
> Op 3-12-2012 17:57, Ron Mitchell schreef:****
>
> Hi John****
>
> I can't help with a VM but here's the steps to replicate...****
>
>  ****
>
> 1. Create a directory in the web root and copy across an export from the
> latest svn trunk e.g. xot19****
>
> 2. Create a new database and user with the relevant privileges or use the
> mysql root account if only a test****
>
> 3. Browse to /xot19/setup/ and follows the tests or go straight to
> /xot19/setup/page1.php****
>
> 4. During setup add the admin account credentials (whatever you want) and
> leave integration_config_path empty****
>
> 5. Upon completion browse to the xot19 url which by default should be
> guest access and create a couple of tests LO's****
>
> All should be fine at this point.****
>
> 6. Visit /xot19/management.php and add the path to moodle config.php****
>
> 7. Now whether you leave authentication set to guest or change it to
> moodle you should see the problem with creating new LO's etc. I'll send a
> link to a screencast of that later.****
>
>  ****
>
> HTH****
>
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Smith, John
> *Sent:* 03 December 2012 15:38
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Hi,****
>
>  ****
>
> I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but
> ran out of time and into problems figuring out where to put passwords into
> the database using phpMyAdmin, setting up the integration path etc?****
>
>  ****
>
> If someone wants to share a VM which exhibits the problem and share it
> then I?ll definitely take a look at debugging? ****
>
>  ****
>
> Regards,****
>
>  ****
>
> John Smith****
>
> Learning Technologist****
>
> School of Health & Life Sciences****
>
> Glasgow Caledonian University****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Julian Tenney
> *Sent:* Monday, December 03, 2012 2:08 PM
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Current Issues****
>
>  ****
>
> Hi,****
>
>  ****
>
> Starting a new thread on the current issues with the integration path
> stuff. I?m afraid my own technical knowledge doesn?t go far in the relevant
> areas, but it is clear that we have a problem that needs resolving before
> we can make the Xenith code available to everyone, and it seems to me that
> recent changes have introduced the problem. Ron has done a lot to try and
> isolate the problem, thanks a lot for persisting Ron! ****
>
>  ****
>
> Somehow we need to resolve it. I?m open for ideas on how we can best work
> through it: in an ideal world I?d get Ron to sit with Pat at a computer
> until the problem is cracked, but since that?s not possible, is this
> something we can do online somehow? Anyone got any better ideas?****
>
>  ****
>
> Julian****
>
>  ****
>
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the
> Year 2009 and Herald Society?s Education Initiative of the Year 2009.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
>
> ****
>
>
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
> ** **
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
> ** **
>
> -- ****
>
> --****
>
>  ****
>
> Tom Reijnders****
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> ** **
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
> ** **
>
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
> ** **
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
> -- ****
>
> --****
>
>  ****
>
> Tom Reijnders****
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
> ** **
>
>  ****
>
>  ****
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
> ** **
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
> ** **
>
> -- ****
>
> --****
>
>  ****
>
> Tom Reijnders****
>
> ** **
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
>  ****
>
>  ****
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
> ** **
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
> ** **
>
> -- ****
>
> --****
>
>  ****
>
> Tom Reijnders****
>
> ** **
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
>  ****
>
>  ****
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
> ** **
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
> ** **
>
> -- ****
>
> --****
>
>  ****
>
> Tom Reijnders****
>
> ** **
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
> ** **
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
> ** **
>
> -- ****
>
> --****
>
>  ****
>
> Tom Reijnders****
>
> ** **
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
>  ****
>
> ** **
>
>
>
>
>
> _______________________________________________
> 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: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 70775 bytes
Desc: not available
URL: 

From Julian.Tenney at nottingham.ac.uk  Tue Dec  4 16:11:01 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Tue, 4 Dec 2012 16:11:01 +0000
Subject: [Xerte-dev] Re: Use of the  tag and correct syntax
In-Reply-To: 
References: 
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48CD887D@EXCHANGE1.ad.nottingham.ac.uk>

Just so I'm clear, the mail you posted before about the language options not showing, is because of the use of the info tag?

Sorry I'm having a hard time keeping up with all these issues, especially the big one.



Is the correct format.

Does that still break it?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan
Sent: 04 December 2012 10:56
To: Xerte Developers Discussion List
Subject: [Xerte-dev] Use of the  tag and correct syntax

I posted earlier of some display issues in the xwd form of some of the Connector pages.

I have now established that the problem lies with the use of the  tag.
When an  tag is included in an xwd the last few entries in the xwd form fail to display, space is left for them and the mouse pointer responds to their presence but the form just displays as a grey block. I have attached an image file to show you the output that results.

The problem caused by the  tag was hidden at first as the Language section is collapsed by default, so the none-display of attribute fields only showed when the Language check box was ticked. However the language attribute feature is not part of the problem as the same effect can be achieved in a page that has no attributes flagged as language="true".

Am I using the correct syntax for the  tag?

I have tried all of the following but they all result in the disappearance of fields.

In the Xerte help there is an example

  
In an example that Ron sent to me he used the syntax below (which is the one currently used in the xwd files)

Help for plain text connector. Click here]]>

I have also tried the syntax copied from the title page

Enter title here]]>

and the syntax

some text

I have also tried placing the  tag above the  section and below the  section.

Options.
1.      If anyone can give me the correct syntax for the Info tag then I will try it out - but I am not convinced that incorrect syntax is the problem.
2.      If the problem is in the code that process the xwd file - can it be fixed in time for the release?
3.      If the problem cannot be resolved in time for the next XOT release which would you prefer a) remove all the info tags and lose the linking to the help files on the Xerte.org.uk web site. b)leave the info tags in place, knowing that this will temporarily prevent editing of some of the language attributes - which probably would be left with their default values anyway, in the belief that the problem can be resolved by a subsequent fix applied to the code that processes the xwd files.
Kind regards

Johnathan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From ronm at mitchellmedia.co.uk  Tue Dec  4 16:31:33 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Tue, 4 Dec 2012 16:31:33 -0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48CD885D@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>	<006b01cdd199$7a6ce210$6f46a630$@co.uk>	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>	<50BD1653.50705@tor.nl>	<009801cdd19d$c57dd080$50797180$@co.uk>	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>	<50BD23C9.8060306@tor.nl>	<50BD2544.8000205@tor.nl>	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8531@EXCHANGE1.ad.nottingham.ac.uk>	<007d01cdd212$9aaee590$d00cb0b0$@co.uk>	<001e01cdd21d$3b45d810$b1d18830$@co.uk>		<005e01cdd22e$3fee1ab0$bfca5010$@co.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD885D@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: <00b101cdd23c$d3550e90$79ff2bb0$@co.uk>

Thanks for helping but no it's picking up those errors from the stuff that's
commented out anyway.

Arguably there would be an error if someone actually used the bit about if
($USER->profile_field_xot!='1'){ because there's a redundant curly brace in
that example but that's just there for reference and isn't in use at the
moment.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 December 2012 15:56
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

In a vain attempt to help, is this actually helpful? It suggests errors in
the code.. This is from auth_config.php

 



 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 04 December 2012 14:47
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

We've been testing with and without moodle auth set Pat. Obviously on the
Techdis server that was always set to Moodle auth but this problem occurs
regardless of what authentication is set.

 

I think there are two slightly separate issues here:

 

1. There is some kind of clash or incompatibility recently introduced
causing this problem. It happens regardless of authentication method.

 

2. It's perhaps a minor point but at the moment integration_config_path is
used/included regardless of the authentication method set. e.g. if an
installation has a value in integration_config_path it's included even if
authentication is set to guest. Maybe with other systems there wouldn't be a
clash but if there's a session_start() it would still be attempted because
there's no relation between the authentication method set and whether the
path is included. But this has been the case for a long time so isn't the
cause of the main error.

 

At least I think this is correct.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 04 December 2012 13:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

If moodle is set then line 45 in
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/auth_config
.php should never be called?

 

On Tue, Dec 4, 2012 at 12:45 PM, Ron Mitchell 
wrote:

Hi

I cleared my local xampp error log and then visited my test svn xot install
and tried creating a project. The attached is the error log as a result of
that process.

 

Still reviewing it myself but thought I should share in case it highlights
the cause/solution etc?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 04 December 2012 11:29
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

Unfortunately not. :-(

Firstly prior to last Thursday all was working fine with any version of
Moodle.

At one point last night it looked like whatever the clash is didn't exist
with Moodle 2.x but I then tried with a version of Moodle 2.3 and that had
the same problem. Also as I mentioned there are lots of people using moodle
for authentication and I'm sure keen to get xot 1.9 with the xenith code etc
but many won't be able to upgrade from Moodle 1.9 yet for all sorts of
reasons.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 December 2012 10:36
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

I've read over the posts, thanks for all the work you guys have put in to
this.

 

Would it be fair to summarise that things work fine in Moodle 2.x, but not
moodle 1.9?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 22:19
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Version 1.9 is not working either if I use the functions.php from svn. White
screen again. (When using Moodle intergration).

Tom

Op 3-12-2012 23:12, Tom Reijnders schreef:

It's a version 2, but I don't know which one.

I also have a moodle 1.9 (but again, I don't know exactly what version). But
that one seems to work as well for me. But I have to clear cache etc, to
make sure I don't use a different session.

Where can you check the exact version of moodle?

Op 3-12-2012 23:02, Ron Mitchell schreef:

Tom

do you have a moodle 1.9 to test with?

 

Your question about moodle version gave me an idea to test locally with
xampp. I'm going to say this with caution because I thought I was able to
reproduce the problem with xampp previously too but I just tested the
following:

 

The test install I was using with xampp was using a moodle2 config path and
not giving the same problems as the linux servers. So I just change that
config path to a moodle 1.9 install and it did then give the same problems.
I then changed the config path back to a 1.9 install and the problem is
there again.

 

So not forgetting that the Techdis server install has been working fine with
a moodle 1.9 config all this time it seems this indicates the following:

 

a recent XOT code change has introduced a clash with moodle 1.9 but not
moodle 2?

 

the problem can be reproduced on Windows via xampp if moodle 1.9 is avilable
to add as the integration_config_path

 

In theory I could upgrade the Moodle on the techdis server to a later
version because we aren't using that install for anything else but that
doesn't help people who want to upgrade xot but can't yet upgrade their
Moodle and it doesn't really help identify the specific
change/cause/solution either.

 

However maybe it's easier to track down with xampp?

 

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: 03 December 2012 21:33
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

As far as I can see the last change to the zend folder was 29/04/2012

 

On both installations I've been testing the moodle is 1.9x What about yours?

 

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 21:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Yes, but is the Zend folder changed recently? (I am currently not behind my
PC, so can't check)

I did have a situation where MySQL statements took so long, that the
workspace was not complete. But then you would have to have 10ths of LO's in
your workspace.

Can it have anything to do with the version of Moodle used?

Tom

Op 3-12-2012 22:11, Ron Mitchell schreef:

Also as far as I can see the last change to /trunk/functions.php was a
change you made on 23rd of October Tom way before these problems started.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 December 2012 21:02
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

I changed functions.php and restarted Apache but it hasn't fixed the create
new project issue for me.

 

You had a blank screen previously - could this be a separate issue? 

Did you ever see the create a new project workspace clears issue?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 20:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

It's working for me now.

And whether you have to restart apache depends a bit on whether you have
eAccelerator or something active. Sometimes it helps to restart apache
(php).

Tom

Op 3-12-2012 21:32, Ron Mitchell schreef:

Hi Tom

unfortunately this doesn't fix it for me :-(

I've cleared cache and restarted the browser but still the same problem.

Does that change require an Apache restart?

Did you get to a point where you were no longer getting a blank screen and
seeing the workspace clear when creating a new LO?

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To 

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend
installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in
moodle_request_shutdown() .....

Tom

Op 3-12-2012 20:38, Ron Mitchell schreef:

Hi Tom

yes so for example /var/www/moodle/config.php 

or on shared hosting might be /home/user/public_html/moodle/config.php

 

Not sure why you get a blank page - at least I get to see the workspace! ;-)

 

If you change authentication to moodle and restart the browser do you get
prompted to login to moodle? If you do then the path you have entered is
correct.

 

HTH
Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle
config.php, right?

It is definitely not working, I get a blank page, until I remove the config
path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing
in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview
and try to select a different image....

Tom

Tom

Op 3-12-2012 17:57, Ron Mitchell schreef:

Hi John

I can't help with a VM but here's the steps to replicate...

 

1. Create a directory in the web root and copy across an export from the
latest svn trunk e.g. xot19

2. Create a new database and user with the relevant privileges or use the
mysql root account if only a test

3. Browse to /xot19/setup/ and follows the tests or go straight to
/xot19/setup/page1.php

4. During setup add the admin account credentials (whatever you want) and
leave integration_config_path empty

5. Upon completion browse to the xot19 url which by default should be guest
access and create a couple of tests LO's

All should be fine at this point.

6. Visit /xot19/management.php and add the path to moodle config.php

7. Now whether you leave authentication set to guest or change it to moodle
you should see the problem with creating new LO's etc. I'll send a link to a
screencast of that later.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Hi,

 

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran
out of time and into problems figuring out where to put passwords into the
database using phpMyAdmin, setting up the integration path etc.

 

If someone wants to share a VM which exhibits the problem and share it then
I'll definitely take a look at debugging. 

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

 

Hi,

 

Starting a new thread on the current issues with the integration path stuff.
I'm afraid my own technical knowledge doesn't go far in the relevant areas,
but it is clear that we have a problem that needs resolving before we can
make the Xenith code available to everyone, and it seems to me that recent
changes have introduced the problem. Ron has done a lot to try and isolate
the problem, thanks a lot for persisting Ron! 

 

Somehow we need to resolve it. I'm open for ideas on how we can best work
through it: in an ideal world I'd get Ron to sit with Pat at a computer
until the problem is cracked, but since that's not possible, is this
something we can do online somehow? Anyone got any better ideas?

 

Julian

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html






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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
 
Tel: 073 5226191
Fax: 073 5226196
 

 





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

 

-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 
 

 

 

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

 

 
-- 
--
 
Tom Reijnders
 
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 

 

 

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

 

 
-- 
--
 
Tom Reijnders
 
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 

 

 

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

 

 
-- 
--
 
Tom Reijnders
 
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 

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

 

 
-- 
--
 
Tom Reijnders
 
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 

 





_______________________________________________
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: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 119003 bytes
Desc: not available
URL: 

From Julian.Tenney at nottingham.ac.uk  Tue Dec  4 16:30:13 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Tue, 4 Dec 2012 16:30:13 +0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk> <50BCF771.9020800@tor.nl>
	<003001cdd18d$d7c77760$87566620$@co.uk> <50BD018C.7040700@tor.nl>
	<005a01cdd195$4826d850$d87488f0$@co.uk> <50BD1050.1030508@tor.nl>
	<006b01cdd199$7a6ce210$6f46a630$@co.uk>
	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk> <50BD1653.50705@tor.nl>
	<009801cdd19d$c57dd080$50797180$@co.uk>
	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk> <50BD23C9.8060306@tor.nl>
	<50BD2544.8000205@tor.nl>
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8531@EXCHANGE1.ad.nottingham.ac.uk>
	<007d01cdd212$9aaee590$d00cb0b0$@co.uk>
	<001e01cdd21d$3b45d810$b1d18830$@co.uk>
	
	<005e01cdd22e$3fee1ab0$bfca5010$@co.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD886C@EXCHANGE1.ad.nottingham.ac.uk>
	
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48CD889C@EXCHANGE1.ad.nottingham.ac.uk>

Play_html5.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: 04 December 2012 16:07
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

where was that?

On Tue, Dec 4, 2012 at 4:00 PM, Julian Tenney > wrote:
I just fixed this - can't see a reason to say

if (something){
$flag == true;
}

But I don't want to fix 'features'.

[cid:image001.png at 01CDD23C.A3069240]

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 04 December 2012 14:47
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

We've been testing with and without moodle auth set Pat. Obviously on the Techdis server that was always set to Moodle auth but this problem occurs regardless of what authentication is set.

I think there are two slightly separate issues here:

1. There is some kind of clash or incompatibility recently introduced causing this problem. It happens regardless of authentication method.

2. It's perhaps a minor point but at the moment integration_config_path is used/included regardless of the authentication method set. e.g. if an installation has a value in integration_config_path it's included even if authentication is set to guest. Maybe with other systems there wouldn't be a clash but if there's a session_start() it would still be attempted because there's no relation between the authentication method set and whether the path is included. But this has been the case for a long time so isn't the cause of the main error.

At least I think this is correct.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 04 December 2012 13:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

If moodle is set then line 45 in http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/auth_config.php should never be called?

On Tue, Dec 4, 2012 at 12:45 PM, Ron Mitchell > wrote:
Hi
I cleared my local xampp error log and then visited my test svn xot install and tried creating a project. The attached is the error log as a result of that process.

Still reviewing it myself but thought I should share in case it highlights the cause/solution etc?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 04 December 2012 11:29
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

Unfortunately not. :-(
Firstly prior to last Thursday all was working fine with any version of Moodle.
At one point last night it looked like whatever the clash is didn't exist with Moodle 2.x but I then tried with a version of Moodle 2.3 and that had the same problem. Also as I mentioned there are lots of people using moodle for authentication and I'm sure keen to get xot 1.9 with the xenith code etc but many won't be able to upgrade from Moodle 1.9 yet for all sorts of reasons.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 December 2012 10:36
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

I've read over the posts, thanks for all the work you guys have put in to this.

Would it be fair to summarise that things work fine in Moodle 2.x, but not moodle 1.9?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 22:19
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Version 1.9 is not working either if I use the functions.php from svn. White screen again. (When using Moodle intergration).

Tom
Op 3-12-2012 23:12, Tom Reijnders schreef:
It's a version 2, but I don't know which one.

I also have a moodle 1.9 (but again, I don't know exactly what version). But  that one seems to work as well for me. But I have to clear cache etc, to make sure I don't use a different session.

Where can you check the exact version of moodle?
Op 3-12-2012 23:02, Ron Mitchell schreef:
Tom
do you have a moodle 1.9 to test with?

Your question about moodle version gave me an idea to test locally with xampp. I'm going to say this with caution because I thought I was able to reproduce the problem with xampp previously too but I just tested the following:

The test install I was using with xampp was using a moodle2 config path and not giving the same problems as the linux servers. So I just change that config path to a moodle 1.9 install and it did then give the same problems. I then changed the config path back to a 1.9 install and the problem is there again.

So not forgetting that the Techdis server install has been working fine with a moodle 1.9 config all this time it seems this indicates the following:

a recent XOT code change has introduced a clash with moodle 1.9 but not moodle 2?

the problem can be reproduced on Windows via xampp if moodle 1.9 is avilable to add as the integration_config_path

In theory I could upgrade the Moodle on the techdis server to a later version because we aren't using that install for anything else but that doesn't help people who want to upgrade xot but can't yet upgrade their Moodle and it doesn't really help identify the specific change/cause/solution either.

However maybe it's easier to track down with xampp?

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: 03 December 2012 21:33
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

As far as I can see the last change to the zend folder was 29/04/2012

On both installations I've been testing the moodle is 1.9x What about yours?

Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 21:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Yes, but is the Zend folder changed recently? (I am currently not behind my PC, so can't check)

I did have a situation where MySQL statements took so long, that the workspace was not complete. But then you would have to have 10ths of LO's in your workspace.

Can it have anything to do with the version of Moodle used?

Tom
Op 3-12-2012 22:11, Ron Mitchell schreef:
Also as far as I can see the last change to /trunk/functions.php was a change you made on 23rd of October Tom way before these problems started.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 December 2012 21:02
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

I changed functions.php and restarted Apache but it hasn't fixed the create new project issue for me.

You had a blank screen previously - could this be a separate issue?
Did you ever see the create a new project workspace clears issue?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 20:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

It's working for me now.

And whether you have to restart apache depends a bit on whether you have eAccelerator or something active. Sometimes it helps to restart apache (php).

Tom
Op 3-12-2012 21:32, Ron Mitchell schreef:
Hi Tom
unfortunately this doesn't fix it for me :-(
I've cleared cache and restarted the browser but still the same problem.
Does that change require an Apache restart?
Did you get to a point where you were no longer getting a blank screen and seeing the workspace clear when creating a new LO?
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in moodle_request_shutdown() .....

Tom
Op 3-12-2012 20:38, Ron Mitchell schreef:
Hi Tom
yes so for example /var/www/moodle/config.php
or on shared hosting might be /home/user/public_html/moodle/config.php

Not sure why you get a blank page - at least I get to see the workspace! ;-)

If you change authentication to moodle and restart the browser do you get prompted to login to moodle? If you do then the path you have entered is correct.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle config.php, right?

It is definitely not working, I get a blank page, until I remove the config path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview and try to select a different image....

Tom

Tom
Op 3-12-2012 17:57, Ron Mitchell schreef:
Hi John
I can't help with a VM but here's the steps to replicate...

1. Create a directory in the web root and copy across an export from the latest svn trunk e.g. xot19
2. Create a new database and user with the relevant privileges or use the mysql root account if only a test
3. Browse to /xot19/setup/ and follows the tests or go straight to /xot19/setup/page1.php
4. During setup add the admin account credentials (whatever you want) and leave integration_config_path empty
5. Upon completion browse to the xot19 url which by default should be guest access and create a couple of tests LO's
All should be fine at this point.
6. Visit /xot19/management.php and add the path to moodle config.php
7. Now whether you leave authentication set to guest or change it to moodle you should see the problem with creating new LO's etc. I'll send a link to a screencast of that later.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Hi,

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran out of time and into problems figuring out where to put passwords into the database using phpMyAdmin, setting up the integration path etc...

If someone wants to share a VM which exhibits the problem and share it then I'll definitely take a look at debugging...

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

Hi,

Starting a new thread on the current issues with the integration path stuff. I'm afraid my own technical knowledge doesn't go far in the relevant areas, but it is clear that we have a problem that needs resolving before we can make the Xenith code available to everyone, and it seems to me that recent changes have introduced the problem. Ron has done a lot to try and isolate the problem, thanks a lot for persisting Ron!

Somehow we need to resolve it. I'm open for ideas on how we can best work through it: in an ideal world I'd get Ron to sit with Pat at a computer until the problem is cracked, but since that's not possible, is this something we can do online somehow? Anyone got any better ideas?

Julian


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html




_______________________________________________

Xerte-dev mailing list



Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


--

--



Tom Reijnders

TOR Informatica

Chopinlaan 27

5242HM Rosmalen





Tel: 073 5226191

Fax: 073 5226196








_______________________________________________

Xerte-dev mailing list





Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


--

--





Tom Reijnders

TOR Informatica

Chopinlaan 27



5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196







_______________________________________________

Xerte-dev mailing list



Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




--



--



Tom Reijnders





TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196








_______________________________________________

Xerte-dev mailing list





Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




--

--



Tom Reijnders



TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196






_______________________________________________

Xerte-dev mailing list





Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




--



--



Tom Reijnders





TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196






_______________________________________________

Xerte-dev mailing list





Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




--



--



Tom Reijnders





TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196








_______________________________________________
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: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 70775 bytes
Desc: image001.png
URL: 

From johnathan.kemp at ntlworld.com  Tue Dec  4 16:35:56 2012
From: johnathan.kemp at ntlworld.com (Kemp Johnathan)
Date: Tue, 4 Dec 2012 16:35:56 +0000
Subject: [Xerte-dev] Re: Use of the  tag and correct syntax
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48CD887D@EXCHANGE1.ad.nottingham.ac.uk>
References: 
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD887D@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

I only see my posts once someone has replied to them so I ended up with two
posts.

Yes the info button is the cause of the language options not showing -
effectively it appears to hide the last few attributes in the form. This
effect was hidden when they happened to be flagged as language, only
becoming apparent when the language checkbox is ticked.

I will test your example below, but from memory that looks very much like
the syntax that I got from Ron's example.

I will post the result later as I have to dash now for a saxophone lesson.

Bye for now

JK

On 4 December 2012 16:11, Julian Tenney wrote:

> Just so I?m clear, the mail you posted before about the language options
> not showing, is because of the use of the info tag?
>
>
>
> Sorry I?m having a hard time keeping up with all these issues, especially
> the big one.
>
>
>
> 
>
>
>
> Is the correct format.
>
>
>
> Does that still break it?
>
>
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Kemp Johnathan
> *Sent:* 04 December 2012 10:56
> *To:* Xerte Developers Discussion List
> *Subject:* [Xerte-dev] Use of the  tag and correct syntax
>
>
>
> I posted earlier of some display issues in the xwd form of some of the
> Connector pages.
>
>
>
> I have now established that the problem lies with the use of the 
> tag.
>
> When an  tag is included in an xwd the last few entries in the xwd
> form fail to display, space is left for them and the mouse pointer responds
> to their presence but the form just displays as a grey block. I have
> attached an image file to show you the output that results.
>
>
>
> The problem caused by the  tag was hidden at first as the Language
> section is collapsed by default, so the none-display of attribute fields
> only showed when the Language check box was ticked. However the language
> attribute feature is not part of the problem as the same effect can be
> achieved in a page that has no attributes flagged as language="true".
>
>
>
> Am I using the correct syntax for the  tag?
>
>
>
> I have tried all of the following but they all result in the disappearance
> of fields.
>
>
>
> In the Xerte help there is an example
>
>
>
>   
>
> In an example that Ron sent to me he used the syntax below (which is the
> one currently used in the xwd files)
>
>
>
> Help for plain text connector. Click
> here]]>
>
>
>
> I have also tried the syntax copied from the title page
>
>
>
> Enter title
> here]]>
>
>
>
> and the syntax
>
>
>
> some text
>
>
>
> I have also tried placing the  tag above the  section and
> below the  section.
>
>
>
> Options.
>
> 1.      If anyone can give me the correct syntax for the Info tag then I
> will try it out - but I am not convinced that incorrect syntax is the
> problem.
>
> 2.      If the problem is in the code that process the xwd file - can it
> be fixed in time for the release?
>
> 3.      If the problem cannot be resolved in time for the next XOT
> release which would you prefer a) remove all the info tags and lose the
> linking to the help files on the Xerte.org.uk web site. b)leave the info
> tags in place, knowing that this will temporarily prevent editing of some
> of the language attributes - which probably would be left with their
> default values anyway, in the belief that the problem can be resolved by a
> subsequent fix applied to the code that processes the xwd files.
>
> Kind regards
>
>
>
> Johnathan
>
>
>
>
>
>
> _______________________________________________
> 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: 

From Julian.Tenney at nottingham.ac.uk  Tue Dec  4 16:45:40 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Tue, 4 Dec 2012 16:45:40 +0000
Subject: [Xerte-dev] Re: Use of the  tag and correct syntax
In-Reply-To: 
References: 
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD887D@EXCHANGE1.ad.nottingham.ac.uk>
	
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48CD88AA@EXCHANGE1.ad.nottingham.ac.uk>

In other words when you toggle the check boxes, you need to move the info textfield, because it stays where it was, hiding / being hidden by some of the fields?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan
Sent: 04 December 2012 16:36
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Use of the  tag and correct syntax

I only see my posts once someone has replied to them so I ended up with two posts.

Yes the info button is the cause of the language options not showing - effectively it appears to hide the last few attributes in the form. This effect was hidden when they happened to be flagged as language, only becoming apparent when the language checkbox is ticked.

I will test your example below, but from memory that looks very much like the syntax that I got from Ron's example.

I will post the result later as I have to dash now for a saxophone lesson.

Bye for now

JK

On 4 December 2012 16:11, Julian Tenney > wrote:
Just so I'm clear, the mail you posted before about the language options not showing, is because of the use of the info tag?

Sorry I'm having a hard time keeping up with all these issues, especially the big one.



Is the correct format.

Does that still break it?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan
Sent: 04 December 2012 10:56
To: Xerte Developers Discussion List
Subject: [Xerte-dev] Use of the  tag and correct syntax

I posted earlier of some display issues in the xwd form of some of the Connector pages.

I have now established that the problem lies with the use of the  tag.
When an  tag is included in an xwd the last few entries in the xwd form fail to display, space is left for them and the mouse pointer responds to their presence but the form just displays as a grey block. I have attached an image file to show you the output that results.

The problem caused by the  tag was hidden at first as the Language section is collapsed by default, so the none-display of attribute fields only showed when the Language check box was ticked. However the language attribute feature is not part of the problem as the same effect can be achieved in a page that has no attributes flagged as language="true".

Am I using the correct syntax for the  tag?

I have tried all of the following but they all result in the disappearance of fields.

In the Xerte help there is an example

  
In an example that Ron sent to me he used the syntax below (which is the one currently used in the xwd files)

Help for plain text connector. Click here]]>

I have also tried the syntax copied from the title page

Enter title here]]>

and the syntax

some text

I have also tried placing the  tag above the  section and below the  section.

Options.
1.      If anyone can give me the correct syntax for the Info tag then I will try it out - but I am not convinced that incorrect syntax is the problem.
2.      If the problem is in the code that process the xwd file - can it be fixed in time for the release?
3.      If the problem cannot be resolved in time for the next XOT release which would you prefer a) remove all the info tags and lose the linking to the help files on the Xerte.org.uk web site. b)leave the info tags in place, knowing that this will temporarily prevent editing of some of the language attributes - which probably would be left with their default values anyway, in the belief that the problem can be resolved by a subsequent fix applied to the code that processes the xwd files.
Kind regards

Johnathan





_______________________________________________
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: 

From patrick.lockley at googlemail.com  Tue Dec  4 16:49:26 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Tue, 4 Dec 2012 16:49:26 +0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48CD889C@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk> <50BCF771.9020800@tor.nl>
	<003001cdd18d$d7c77760$87566620$@co.uk> <50BD018C.7040700@tor.nl>
	<005a01cdd195$4826d850$d87488f0$@co.uk> <50BD1050.1030508@tor.nl>
	<006b01cdd199$7a6ce210$6f46a630$@co.uk>
	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk> <50BD1653.50705@tor.nl>
	<009801cdd19d$c57dd080$50797180$@co.uk>
	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk> <50BD23C9.8060306@tor.nl>
	<50BD2544.8000205@tor.nl>
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8531@EXCHANGE1.ad.nottingham.ac.uk>
	<007d01cdd212$9aaee590$d00cb0b0$@co.uk>
	<001e01cdd21d$3b45d810$b1d18830$@co.uk>
	
	<005e01cdd22e$3fee1ab0$bfca5010$@co.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD886C@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD889C@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

not somewhere I changed anything


On Tue, Dec 4, 2012 at 4:30 PM, Julian Tenney <
Julian.Tenney at nottingham.ac.uk> wrote:

> Play_html5.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:* 04 December 2012 16:07
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
> ** **
>
> where was that?****
>
> ** **
>
> On Tue, Dec 4, 2012 at 4:00 PM, Julian Tenney <
> Julian.Tenney at nottingham.ac.uk> wrote:****
>
> I just fixed this - can?t see a reason to say ****
>
>  ****
>
> if (something){****
>
> $flag == true;****
>
> }****
>
>  ****
>
> But I don?t want to fix ?features?.****
>
>  ****
>
> ****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron Mitchell
> *Sent:* 04 December 2012 14:47
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> We've been testing with and without moodle auth set Pat. Obviously on the
> Techdis server that was always set to Moodle auth but this problem occurs
> regardless of what authentication is set.****
>
>  ****
>
> I think there are two slightly separate issues here:****
>
>  ****
>
> 1. There is some kind of clash or incompatibility recently introduced
> causing this problem. It happens regardless of authentication method.****
>
>  ****
>
> 2. It's perhaps a minor point but at the moment integration_config_path is
> used/included regardless of the authentication method set. e.g. if an
> installation has a value in integration_config_path it's included even if
> authentication is set to guest. Maybe with other systems there wouldn't be
> a clash but if there's a session_start() it would still be attempted
> because there's no relation between the authentication method set and
> whether the path is included. But this has been the case for a long time so
> isn't the cause of the main error.****
>
>  ****
>
> At least I think this is correct.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat Lockley
> *Sent:* 04 December 2012 13:58
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> If moodle is set then line 45 in
> http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/auth_config.phpshould never be called?
> ****
>
>  ****
>
> On Tue, Dec 4, 2012 at 12:45 PM, Ron Mitchell 
> wrote:****
>
> Hi****
>
> I cleared my local xampp error log and then visited my test svn xot
> install and tried creating a project. The attached is the error log as a
> result of that process.****
>
>  ****
>
> Still reviewing it myself but thought I should share in case it highlights
> the cause/solution etc?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron Mitchell
> *Sent:* 04 December 2012 11:29
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Unfortunately not. :-(****
>
> Firstly prior to last Thursday all was working fine with any version of
> Moodle.****
>
> At one point last night it looked like whatever the clash is didn't exist
> with Moodle 2.x but I then tried with a version of Moodle 2.3 and that had
> the same problem. Also as I mentioned there are lots of people using moodle
> for authentication and I'm sure keen to get xot 1.9 with the xenith code
> etc but many won't be able to upgrade from Moodle 1.9 yet for all sorts of
> reasons.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Julian Tenney
> *Sent:* 04 December 2012 10:36
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> I?ve read over the posts, thanks for all the work you guys have put in to
> this.****
>
>  ****
>
> Would it be fair to summarise that things work fine in Moodle 2.x, but not
> moodle 1.9?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 22:19
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Version 1.9 is not working either if I use the functions.php from svn.
> White screen again. (When using Moodle intergration).
>
> Tom****
>
> Op 3-12-2012 23:12, Tom Reijnders schreef:****
>
> It's a version 2, but I don't know which one.
>
> I also have a moodle 1.9 (but again, I don't know exactly what version).
> But  that one seems to work as well for me. But I have to clear cache etc,
> to make sure I don't use a different session.
>
> Where can you check the exact version of moodle?****
>
> Op 3-12-2012 23:02, Ron Mitchell schreef:****
>
> Tom****
>
> do you have a moodle 1.9 to test with?****
>
>  ****
>
> Your question about moodle version gave me an idea to test locally with
> xampp. I'm going to say this with caution because I thought I was able to
> reproduce the problem with xampp previously too but I just tested the
> following:****
>
>  ****
>
> The test install I was using with xampp was using a moodle2 config path
> and not giving the same problems as the linux servers. So I just change
> that config path to a moodle 1.9 install and it did then give the same
> problems. I then changed the config path back to a 1.9 install and the
> problem is there again.****
>
>  ****
>
> So not forgetting that the Techdis server install has been working fine
> with a moodle 1.9 config all this time it seems this indicates the
> following:****
>
>  ****
>
> a recent XOT code change has introduced a clash with moodle 1.9 but not
> moodle 2?****
>
>  ****
>
> the problem can be reproduced on Windows via xampp if moodle 1.9 is
> avilable to add as the integration_config_path****
>
>  ****
>
> In theory I could upgrade the Moodle on the techdis server to a later
> version because we aren't using that install for anything else but that
> doesn't help people who want to upgrade xot but can't yet upgrade their
> Moodle and it doesn't really help identify the specific
> change/cause/solution either.****
>
>  ****
>
> However maybe it's easier to track down with xampp?****
>
>  ****
>
> 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:* 03 December 2012 21:33
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> As far as I can see the last change to the zend folder was 29/04/2012****
>
>  ****
>
> On both installations I've been testing the moodle is 1.9x What about
> yours?****
>
>  ****
>
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 21:15
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Yes, but is the Zend folder changed recently? (I am currently not behind
> my PC, so can't check)
>
> I did have a situation where MySQL statements took so long, that the
> workspace was not complete. But then you would have to have 10ths of LO's
> in your workspace.
>
> Can it have anything to do with the version of Moodle used?
>
> Tom****
>
> Op 3-12-2012 22:11, Ron Mitchell schreef:****
>
> Also as far as I can see the last change to /trunk/functions.php was a
> change you made on 23rd of October Tom way before these problems started.*
> ***
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Ron Mitchell
> *Sent:* 03 December 2012 21:02
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> I changed functions.php and restarted Apache but it hasn't fixed the
> create new project issue for me.****
>
>  ****
>
> You had a blank screen previously - could this be a separate issue? ****
>
> Did you ever see the create a new project workspace clears issue?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 20:49
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> It's working for me now.
>
> And whether you have to restart apache depends a bit on whether you have
> eAccelerator or something active. Sometimes it helps to restart apache
> (php).
>
> Tom****
>
> Op 3-12-2012 21:32, Ron Mitchell schreef:****
>
> Hi Tom****
>
> unfortunately this doesn't fix it for me :-(****
>
> I've cleared cache and restarted the browser but still the same problem.**
> **
>
> Does that change require an Apache restart?****
>
> Did you get to a point where you were no longer getting a blank screen and
> seeing the workspace clear when creating a new LO?****
>
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 19:46
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Ok...
>
> I've got it working here, if I change line 48 of functions.php
>
> $language = new Zend_Locale();
>
> To
>
> $language = 'en-GB';   (and yes I realize it is doing something else)
>
>
> If this also works for you, than something has changed in the Zend
> installation.
>
> Somewhere in tracing through the constructor of Zend_Locale I end up in
> moodle_request_shutdown() .....
>
> Tom****
>
> Op 3-12-2012 20:38, Ron Mitchell schreef:****
>
> Hi Tom****
>
> yes so for example /var/www/moodle/config.php ****
>
> or on shared hosting might be /home/user/public_html/moodle/config.php****
>
>  ****
>
> Not sure why you get a blank page - at least I get to see the workspace!
> ;-)****
>
>  ****
>
> If you change authentication to moodle and restart the browser do you get
> prompted to login to moodle? If you do then the path you have entered is
> correct.****
>
>  ****
>
> HTH
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 19:03
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Ron,
>
> Just to be sure, in step 6, this is the full Linux file path to the moodle
> config.php, right?
>
> It is definitely not working, I get a blank page, until I remove the
> config path from the sitedetails page.
>
> Nothing shows up in the debug.log, not in the apache errorlog, and nothing
> in the javascript console.
>
> I will try to start all this in the debugger (xdebug).
>
>
> There are two other issues in my install:
> 1. Sometimes the editor disappears behind the browser window.
> 2. In a Media page with an image, preview, all is fine, now close preview
> and try to select a different image....
>
> Tom
>
> Tom****
>
> Op 3-12-2012 17:57, Ron Mitchell schreef:****
>
> Hi John****
>
> I can't help with a VM but here's the steps to replicate...****
>
>  ****
>
> 1. Create a directory in the web root and copy across an export from the
> latest svn trunk e.g. xot19****
>
> 2. Create a new database and user with the relevant privileges or use the
> mysql root account if only a test****
>
> 3. Browse to /xot19/setup/ and follows the tests or go straight to
> /xot19/setup/page1.php****
>
> 4. During setup add the admin account credentials (whatever you want) and
> leave integration_config_path empty****
>
> 5. Upon completion browse to the xot19 url which by default should be
> guest access and create a couple of tests LO's****
>
> All should be fine at this point.****
>
> 6. Visit /xot19/management.php and add the path to moodle config.php****
>
> 7. Now whether you leave authentication set to guest or change it to
> moodle you should see the problem with creating new LO's etc. I'll send a
> link to a screencast of that later.****
>
>  ****
>
> HTH****
>
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Smith, John
> *Sent:* 03 December 2012 15:38
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Hi,****
>
>  ****
>
> I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but
> ran out of time and into problems figuring out where to put passwords into
> the database using phpMyAdmin, setting up the integration path etc?****
>
>  ****
>
> If someone wants to share a VM which exhibits the problem and share it
> then I?ll definitely take a look at debugging? ****
>
>  ****
>
> Regards,****
>
>  ****
>
> John Smith****
>
> Learning Technologist****
>
> School of Health & Life Sciences****
>
> Glasgow Caledonian University****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Julian Tenney
> *Sent:* Monday, December 03, 2012 2:08 PM
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Current Issues****
>
>  ****
>
> Hi,****
>
>  ****
>
> Starting a new thread on the current issues with the integration path
> stuff. I?m afraid my own technical knowledge doesn?t go far in the relevant
> areas, but it is clear that we have a problem that needs resolving before
> we can make the Xenith code available to everyone, and it seems to me that
> recent changes have introduced the problem. Ron has done a lot to try and
> isolate the problem, thanks a lot for persisting Ron! ****
>
>  ****
>
> Somehow we need to resolve it. I?m open for ideas on how we can best work
> through it: in an ideal world I?d get Ron to sit with Pat at a computer
> until the problem is cracked, but since that?s not possible, is this
> something we can do online somehow? Anyone got any better ideas?****
>
>  ****
>
> Julian****
>
>  ****
>
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the
> Year 2009 and Herald Society?s Education Initiative of the Year 2009.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
> ****
>
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
>  ****
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
> -- ****
>
> --****
>
>  ****
>
> Tom Reijnders****
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> ** **
>
>  ****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
>  ****
>
>
>
> ****
>
> ** **
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
>  ****
>
> ** **
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
> -- ****
>
> --****
>
> ** **
>
>  ****
>
> Tom Reijnders****
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> ** **
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
>  ****
>
>  ****
>
> ** **
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
>  ****
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
>  ****
>
> -- ****
>
> ** **
>
> --****
>
>  ****
>
> Tom Reijnders****
>
>  ****
>
> ** **
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
>  ****
>
>  ****
>
> ** **
>
> ** **
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
>  ****
>
> ** **
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
>  ****
>
> -- ****
>
> --****
>
>  ****
>
> Tom Reijnders****
>
>  ****
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
>  ****
>
>  ****
>
> ** **
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
> ** **
>
>  ****
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
>  ****
>
> -- ****
>
> ** **
>
> --****
>
>  ****
>
> Tom Reijnders****
>
>  ****
>
> ** **
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
> ** **
>
> ** **
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
>  ****
>
> ** **
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
>  ****
>
> -- ****
>
> ** **
>
> --****
>
>  ****
>
> Tom Reijnders****
>
>  ****
>
> ** **
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
>  ****
>
>  ****
>
>
>
>
>
> _______________________________________________
> 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: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 70775 bytes
Desc: not available
URL: 

From ronm at mitchellmedia.co.uk  Tue Dec  4 21:11:57 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Tue, 4 Dec 2012 21:11:57 -0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>
	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>
	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>
	<50BD1050.1030508@tor.nl>	<006b01cdd199$7a6ce210$6f46a630$@co.uk>	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>
	<50BD1653.50705@tor.nl>	<009801cdd19d$c57dd080$50797180$@co.uk>	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>
	<50BD23C9.8060306@tor.nl>	<50BD2544.8000205@tor.nl>	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8531@EXCHANGE1.ad.nottingham.ac.uk>	<007d01cdd212$9aaee590$d00cb0b0$@co.uk>	<001e01cdd21d$3b45d810$b1d18830$@co.uk>		<005e01cdd22e$3fee1ab0$bfca5010$@co.uk>
	
Message-ID: <010101cdd263$ffb1f3a0$ff15dae0$@co.uk>

Hi all

 

A question or two...

 

Anyone made any progress tracking down the issue with the xampp copy I
shared?

 

I've been testing further on xampp with both svn code and the zip. If the
problem is zend/locale/language related does any of that persist after
shutting down xampp and restarting?

 

What's bizarre with all this is that there hasn't been a problem until last
week, there's been no changes to the moodle installations I've been testing
with, 1.7 installs with moodle integration regardless of version still work
fine and yet I've tested with both 1.8 zip and svn reverted back to
September, new and upgraded installs and with a moodle 1.9 integrated the
problem is consistent. Could there be a data/time string issue that hasn't
therefore materialised until now?

 

When a moodle session is created it's written to a sessions folder in the
moodledata folder. Here's an example from both Moodle 1.9 and Moodle 2.2.
This is what's generated after a refresh with the integration path changed
from 1.9 to 2.2. With these tests the 1.9 integration has the problem the
2.2 integration doesn't.

 

moodle19 session

SESSION|O:6:"object":2:{s:12:"session_test";s:10:"DPzy199tQD";s:13:"has_time
d_out";b:1;}USER|O:6:"object":1:{s:2:"id";i:0;}toolkits_language|s:5:"en-GB"
;toolkits_firstname|s:5:"Guest";toolkits_surname|s:4:"User";toolkits_logon_u
sername|s:6:"guest2";toolkits_logon_id|s:1:"3";

 

moodle 2 session

SESSION|O:8:"stdClass":0:{}USER|O:8:"stdClass":3:{s:2:"id";i:0;s:10:"mnethos
tid";s:1:"3";s:7:"sesskey";s:10:"uCuCErTpVD";}toolkits_language|s:5:"en-GB";
toolkits_firstname|s:5:"Guest";toolkits_surname|s:4:"User";toolkits_logon_us
ername|s:6:"guest2";toolkits_logon_id|s:1:"3";sort_type|s:9:"date_down";

 

Does any of this shed any light?

 

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: 04 December 2012 15:09
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

2. It's perhaps a minor point but at the moment integration_config_path is
used/included regardless of the authentication method set.

That might be something people want - you might want to include some PHP
libraries, extra features, use cookies, lots of possible stuff - it was
included to be a catch all for any situation really

 

On Tue, Dec 4, 2012 at 2:47 PM, Ron Mitchell 
wrote:

We've been testing with and without moodle auth set Pat. Obviously on the
Techdis server that was always set to Moodle auth but this problem occurs
regardless of what authentication is set.

 

I think there are two slightly separate issues here:

 

1. There is some kind of clash or incompatibility recently introduced
causing this problem. It happens regardless of authentication method.

 

2. It's perhaps a minor point but at the moment integration_config_path is
used/included regardless of the authentication method set. e.g. if an
installation has a value in integration_config_path it's included even if
authentication is set to guest. Maybe with other systems there wouldn't be a
clash but if there's a session_start() it would still be attempted because
there's no relation between the authentication method set and whether the
path is included. But this has been the case for a long time so isn't the
cause of the main error.

 

At least I think this is correct.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 04 December 2012 13:58


To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

If moodle is set then line 45 in
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/auth_config
.php should never be called?

 

On Tue, Dec 4, 2012 at 12:45 PM, Ron Mitchell 
wrote:

Hi

I cleared my local xampp error log and then visited my test svn xot install
and tried creating a project. The attached is the error log as a result of
that process.

 

Still reviewing it myself but thought I should share in case it highlights
the cause/solution etc?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 04 December 2012 11:29
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

Unfortunately not. :-(

Firstly prior to last Thursday all was working fine with any version of
Moodle.

At one point last night it looked like whatever the clash is didn't exist
with Moodle 2.x but I then tried with a version of Moodle 2.3 and that had
the same problem. Also as I mentioned there are lots of people using moodle
for authentication and I'm sure keen to get xot 1.9 with the xenith code etc
but many won't be able to upgrade from Moodle 1.9 yet for all sorts of
reasons.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 December 2012 10:36
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

I've read over the posts, thanks for all the work you guys have put in to
this.

 

Would it be fair to summarise that things work fine in Moodle 2.x, but not
moodle 1.9?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 22:19
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Version 1.9 is not working either if I use the functions.php from svn. White
screen again. (When using Moodle intergration).

Tom

Op 3-12-2012 23:12, Tom Reijnders schreef:

It's a version 2, but I don't know which one.

I also have a moodle 1.9 (but again, I don't know exactly what version). But
that one seems to work as well for me. But I have to clear cache etc, to
make sure I don't use a different session.

Where can you check the exact version of moodle?

Op 3-12-2012 23:02, Ron Mitchell schreef:

Tom

do you have a moodle 1.9 to test with?

 

Your question about moodle version gave me an idea to test locally with
xampp. I'm going to say this with caution because I thought I was able to
reproduce the problem with xampp previously too but I just tested the
following:

 

The test install I was using with xampp was using a moodle2 config path and
not giving the same problems as the linux servers. So I just change that
config path to a moodle 1.9 install and it did then give the same problems.
I then changed the config path back to a 1.9 install and the problem is
there again.

 

So not forgetting that the Techdis server install has been working fine with
a moodle 1.9 config all this time it seems this indicates the following:

 

a recent XOT code change has introduced a clash with moodle 1.9 but not
moodle 2?

 

the problem can be reproduced on Windows via xampp if moodle 1.9 is avilable
to add as the integration_config_path

 

In theory I could upgrade the Moodle on the techdis server to a later
version because we aren't using that install for anything else but that
doesn't help people who want to upgrade xot but can't yet upgrade their
Moodle and it doesn't really help identify the specific
change/cause/solution either.

 

However maybe it's easier to track down with xampp?

 

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: 03 December 2012 21:33
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

As far as I can see the last change to the zend folder was 29/04/2012

 

On both installations I've been testing the moodle is 1.9x What about yours?

 

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 21:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Yes, but is the Zend folder changed recently? (I am currently not behind my
PC, so can't check)

I did have a situation where MySQL statements took so long, that the
workspace was not complete. But then you would have to have 10ths of LO's in
your workspace.

Can it have anything to do with the version of Moodle used?

Tom

Op 3-12-2012 22:11, Ron Mitchell schreef:

Also as far as I can see the last change to /trunk/functions.php was a
change you made on 23rd of October Tom way before these problems started.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 December 2012 21:02
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

I changed functions.php and restarted Apache but it hasn't fixed the create
new project issue for me.

 

You had a blank screen previously - could this be a separate issue? 

Did you ever see the create a new project workspace clears issue?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 20:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

It's working for me now.

And whether you have to restart apache depends a bit on whether you have
eAccelerator or something active. Sometimes it helps to restart apache
(php).

Tom

Op 3-12-2012 21:32, Ron Mitchell schreef:

Hi Tom

unfortunately this doesn't fix it for me :-(

I've cleared cache and restarted the browser but still the same problem.

Does that change require an Apache restart?

Did you get to a point where you were no longer getting a blank screen and
seeing the workspace clear when creating a new LO?

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To 

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend
installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in
moodle_request_shutdown() .....

Tom

Op 3-12-2012 20:38, Ron Mitchell schreef:

Hi Tom

yes so for example /var/www/moodle/config.php 

or on shared hosting might be /home/user/public_html/moodle/config.php

 

Not sure why you get a blank page - at least I get to see the workspace! ;-)

 

If you change authentication to moodle and restart the browser do you get
prompted to login to moodle? If you do then the path you have entered is
correct.

 

HTH
Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle
config.php, right?

It is definitely not working, I get a blank page, until I remove the config
path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing
in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview
and try to select a different image....

Tom

Tom

Op 3-12-2012 17:57, Ron Mitchell schreef:

Hi John

I can't help with a VM but here's the steps to replicate...

 

1. Create a directory in the web root and copy across an export from the
latest svn trunk e.g. xot19

2. Create a new database and user with the relevant privileges or use the
mysql root account if only a test

3. Browse to /xot19/setup/ and follows the tests or go straight to
/xot19/setup/page1.php

4. During setup add the admin account credentials (whatever you want) and
leave integration_config_path empty

5. Upon completion browse to the xot19 url which by default should be guest
access and create a couple of tests LO's

All should be fine at this point.

6. Visit /xot19/management.php and add the path to moodle config.php

7. Now whether you leave authentication set to guest or change it to moodle
you should see the problem with creating new LO's etc. I'll send a link to a
screencast of that later.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Hi,

 

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran
out of time and into problems figuring out where to put passwords into the
database using phpMyAdmin, setting up the integration path etc.

 

If someone wants to share a VM which exhibits the problem and share it then
I'll definitely take a look at debugging. 

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

 

Hi,

 

Starting a new thread on the current issues with the integration path stuff.
I'm afraid my own technical knowledge doesn't go far in the relevant areas,
but it is clear that we have a problem that needs resolving before we can
make the Xenith code available to everyone, and it seems to me that recent
changes have introduced the problem. Ron has done a lot to try and isolate
the problem, thanks a lot for persisting Ron! 

 

Somehow we need to resolve it. I'm open for ideas on how we can best work
through it: in an ideal world I'd get Ron to sit with Pat at a computer
until the problem is cracked, but since that's not possible, is this
something we can do online somehow? Anyone got any better ideas?

 

Julian

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html









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

 

-- 
--
 
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
 
5242HM Rosmalen
 
Tel: 073 5226191
Fax: 073 5226196
 

 






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

 

-- 
--
 
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
 
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 
 

 





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

 

 
-- 
 
--
 
Tom Reijnders
 
 
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 

 





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

 

 
-- 
 
--
 
Tom Reijnders
 
 
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 

 





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

 

 
-- 
--
 
Tom Reijnders
 
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 
 





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

 

 
-- 
--
 
Tom Reijnders
 
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 
 

 

 





_______________________________________________
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: 

From patrick.lockley at googlemail.com  Tue Dec  4 21:25:35 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Tue, 4 Dec 2012 21:25:35 +0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <010101cdd263$ffb1f3a0$ff15dae0$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk> <50BCF771.9020800@tor.nl>
	<003001cdd18d$d7c77760$87566620$@co.uk> <50BD018C.7040700@tor.nl>
	<005a01cdd195$4826d850$d87488f0$@co.uk> <50BD1050.1030508@tor.nl>
	<006b01cdd199$7a6ce210$6f46a630$@co.uk>
	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk> <50BD1653.50705@tor.nl>
	<009801cdd19d$c57dd080$50797180$@co.uk>
	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk> <50BD23C9.8060306@tor.nl>
	<50BD2544.8000205@tor.nl>
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8531@EXCHANGE1.ad.nottingham.ac.uk>
	<007d01cdd212$9aaee590$d00cb0b0$@co.uk>
	<001e01cdd21d$3b45d810$b1d18830$@co.uk>
	
	<005e01cdd22e$3fee1ab0$bfca5010$@co.uk>
	
	<010101cdd263$ffb1f3a0$ff15dae0$@co.uk>
Message-ID: 

the "has timed out" looks a bit suspicious? The session might have
destroyed itself?

Sessions are a nightmare for this kind of stuff, but I would be cautious
about saying 1.8 didn't work either.


On Tue, Dec 4, 2012 at 9:11 PM, Ron Mitchell wrote:

> Hi all****
>
> ** **
>
> A question or two...****
>
> ** **
>
> Anyone made any progress tracking down the issue with the xampp copy I
> shared?****
>
> ** **
>
> I've been testing further on xampp with both svn code and the zip. If the
> problem is zend/locale/language related does any of that persist after
>  shutting down xampp and restarting?****
>
> ** **
>
> What's bizarre with all this is that there hasn't been a problem until
> last week, there's been no changes to the moodle installations I've been
> testing with, 1.7 installs with moodle integration regardless of version
> still work fine and yet I've tested with both 1.8 zip and svn reverted back
> to September, new and upgraded installs and with a moodle 1.9 integrated
> the problem is consistent. Could there be a data/time string issue that
> hasn't therefore materialised until now?****
>
> ** **
>
> When a moodle session is created it's written to a sessions folder in the
> moodledata folder. Here's an example from both Moodle 1.9 and Moodle 2.2.
> This is what's generated after a refresh with the integration path changed
> from 1.9 to 2.2. With these tests the 1.9 integration has the problem the
> 2.2 integration doesn't.****
>
> ** **
>
> moodle19 session****
>
>
> SESSION|O:6:"object":2:{s:12:"session_test";s:10:"DPzy199tQD";s:13:"has_timed_out";b:1;}USER|O:6:"object":1:{s:2:"id";i:0;}toolkits_language|s:5:"en-GB";toolkits_firstname|s:5:"Guest";toolkits_surname|s:4:"User";toolkits_logon_username|s:6:"guest2";toolkits_logon_id|s:1:"3";
> ****
>
> ** **
>
> moodle 2 session****
>
>
> SESSION|O:8:"stdClass":0:{}USER|O:8:"stdClass":3:{s:2:"id";i:0;s:10:"mnethostid";s:1:"3";s:7:"sesskey";s:10:"uCuCErTpVD";}toolkits_language|s:5:"en-GB";toolkits_firstname|s:5:"Guest";toolkits_surname|s:4:"User";toolkits_logon_username|s:6:"guest2";toolkits_logon_id|s:1:"3";sort_type|s:9:"date_down";
> ****
>
> ** **
>
> Does any of this shed any light?****
>
> ** **
>
> 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:* 04 December 2012 15:09
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
> ** **
>
> 2. It's perhaps a minor point but at the moment integration_config_path is
> used/included regardless of the authentication method set.
>
> That might be something people want - you might want to include some PHP
> libraries, extra features, use cookies, lots of possible stuff - it was
> included to be a catch all for any situation really****
>
> ** **
>
> On Tue, Dec 4, 2012 at 2:47 PM, Ron Mitchell 
> wrote:****
>
> We've been testing with and without moodle auth set Pat. Obviously on the
> Techdis server that was always set to Moodle auth but this problem occurs
> regardless of what authentication is set.****
>
>  ****
>
> I think there are two slightly separate issues here:****
>
>  ****
>
> 1. There is some kind of clash or incompatibility recently introduced
> causing this problem. It happens regardless of authentication method.****
>
>  ****
>
> 2. It's perhaps a minor point but at the moment integration_config_path is
> used/included regardless of the authentication method set. e.g. if an
> installation has a value in integration_config_path it's included even if
> authentication is set to guest. Maybe with other systems there wouldn't be
> a clash but if there's a session_start() it would still be attempted
> because there's no relation between the authentication method set and
> whether the path is included. But this has been the case for a long time so
> isn't the cause of the main error.****
>
>  ****
>
> At least I think this is correct.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 04 December 2012 13:58****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> If moodle is set then line 45 in
> http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/auth_config.phpshould never be called?
> ****
>
>  ****
>
> On Tue, Dec 4, 2012 at 12:45 PM, Ron Mitchell 
> wrote:****
>
> Hi****
>
> I cleared my local xampp error log and then visited my test svn xot
> install and tried creating a project. The attached is the error log as a
> result of that process.****
>
>  ****
>
> Still reviewing it myself but thought I should share in case it highlights
> the cause/solution etc?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron Mitchell
> *Sent:* 04 December 2012 11:29
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Unfortunately not. :-(****
>
> Firstly prior to last Thursday all was working fine with any version of
> Moodle.****
>
> At one point last night it looked like whatever the clash is didn't exist
> with Moodle 2.x but I then tried with a version of Moodle 2.3 and that had
> the same problem. Also as I mentioned there are lots of people using moodle
> for authentication and I'm sure keen to get xot 1.9 with the xenith code
> etc but many won't be able to upgrade from Moodle 1.9 yet for all sorts of
> reasons.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Julian Tenney
> *Sent:* 04 December 2012 10:36
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> I?ve read over the posts, thanks for all the work you guys have put in to
> this.****
>
>  ****
>
> Would it be fair to summarise that things work fine in Moodle 2.x, but not
> moodle 1.9?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 22:19
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Version 1.9 is not working either if I use the functions.php from svn.
> White screen again. (When using Moodle intergration).
>
> Tom****
>
> Op 3-12-2012 23:12, Tom Reijnders schreef:****
>
> It's a version 2, but I don't know which one.
>
> I also have a moodle 1.9 (but again, I don't know exactly what version).
> But  that one seems to work as well for me. But I have to clear cache etc,
> to make sure I don't use a different session.
>
> Where can you check the exact version of moodle?****
>
> Op 3-12-2012 23:02, Ron Mitchell schreef:****
>
> Tom****
>
> do you have a moodle 1.9 to test with?****
>
>  ****
>
> Your question about moodle version gave me an idea to test locally with
> xampp. I'm going to say this with caution because I thought I was able to
> reproduce the problem with xampp previously too but I just tested the
> following:****
>
>  ****
>
> The test install I was using with xampp was using a moodle2 config path
> and not giving the same problems as the linux servers. So I just change
> that config path to a moodle 1.9 install and it did then give the same
> problems. I then changed the config path back to a 1.9 install and the
> problem is there again.****
>
>  ****
>
> So not forgetting that the Techdis server install has been working fine
> with a moodle 1.9 config all this time it seems this indicates the
> following:****
>
>  ****
>
> a recent XOT code change has introduced a clash with moodle 1.9 but not
> moodle 2?****
>
>  ****
>
> the problem can be reproduced on Windows via xampp if moodle 1.9 is
> avilable to add as the integration_config_path****
>
>  ****
>
> In theory I could upgrade the Moodle on the techdis server to a later
> version because we aren't using that install for anything else but that
> doesn't help people who want to upgrade xot but can't yet upgrade their
> Moodle and it doesn't really help identify the specific
> change/cause/solution either.****
>
>  ****
>
> However maybe it's easier to track down with xampp?****
>
>  ****
>
> 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:* 03 December 2012 21:33
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> As far as I can see the last change to the zend folder was 29/04/2012****
>
>  ****
>
> On both installations I've been testing the moodle is 1.9x What about
> yours?****
>
>  ****
>
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 21:15
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Yes, but is the Zend folder changed recently? (I am currently not behind
> my PC, so can't check)
>
> I did have a situation where MySQL statements took so long, that the
> workspace was not complete. But then you would have to have 10ths of LO's
> in your workspace.
>
> Can it have anything to do with the version of Moodle used?
>
> Tom****
>
> Op 3-12-2012 22:11, Ron Mitchell schreef:****
>
> Also as far as I can see the last change to /trunk/functions.php was a
> change you made on 23rd of October Tom way before these problems started.*
> ***
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Ron Mitchell
> *Sent:* 03 December 2012 21:02
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> I changed functions.php and restarted Apache but it hasn't fixed the
> create new project issue for me.****
>
>  ****
>
> You had a blank screen previously - could this be a separate issue? ****
>
> Did you ever see the create a new project workspace clears issue?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 20:49
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> It's working for me now.
>
> And whether you have to restart apache depends a bit on whether you have
> eAccelerator or something active. Sometimes it helps to restart apache
> (php).
>
> Tom****
>
> Op 3-12-2012 21:32, Ron Mitchell schreef:****
>
> Hi Tom****
>
> unfortunately this doesn't fix it for me :-(****
>
> I've cleared cache and restarted the browser but still the same problem.**
> **
>
> Does that change require an Apache restart?****
>
> Did you get to a point where you were no longer getting a blank screen and
> seeing the workspace clear when creating a new LO?****
>
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 19:46
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Ok...
>
> I've got it working here, if I change line 48 of functions.php
>
> $language = new Zend_Locale();
>
> To
>
> $language = 'en-GB';   (and yes I realize it is doing something else)
>
>
> If this also works for you, than something has changed in the Zend
> installation.
>
> Somewhere in tracing through the constructor of Zend_Locale I end up in
> moodle_request_shutdown() .....
>
> Tom****
>
> Op 3-12-2012 20:38, Ron Mitchell schreef:****
>
> Hi Tom****
>
> yes so for example /var/www/moodle/config.php ****
>
> or on shared hosting might be /home/user/public_html/moodle/config.php****
>
>  ****
>
> Not sure why you get a blank page - at least I get to see the workspace!
> ;-)****
>
>  ****
>
> If you change authentication to moodle and restart the browser do you get
> prompted to login to moodle? If you do then the path you have entered is
> correct.****
>
>  ****
>
> HTH
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Tom Reijnders
> *Sent:* 03 December 2012 19:03
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Ron,
>
> Just to be sure, in step 6, this is the full Linux file path to the moodle
> config.php, right?
>
> It is definitely not working, I get a blank page, until I remove the
> config path from the sitedetails page.
>
> Nothing shows up in the debug.log, not in the apache errorlog, and nothing
> in the javascript console.
>
> I will try to start all this in the debugger (xdebug).
>
>
> There are two other issues in my install:
> 1. Sometimes the editor disappears behind the browser window.
> 2. In a Media page with an image, preview, all is fine, now close preview
> and try to select a different image....
>
> Tom
>
> Tom****
>
> Op 3-12-2012 17:57, Ron Mitchell schreef:****
>
> Hi John****
>
> I can't help with a VM but here's the steps to replicate...****
>
>  ****
>
> 1. Create a directory in the web root and copy across an export from the
> latest svn trunk e.g. xot19****
>
> 2. Create a new database and user with the relevant privileges or use the
> mysql root account if only a test****
>
> 3. Browse to /xot19/setup/ and follows the tests or go straight to
> /xot19/setup/page1.php****
>
> 4. During setup add the admin account credentials (whatever you want) and
> leave integration_config_path empty****
>
> 5. Upon completion browse to the xot19 url which by default should be
> guest access and create a couple of tests LO's****
>
> All should be fine at this point.****
>
> 6. Visit /xot19/management.php and add the path to moodle config.php****
>
> 7. Now whether you leave authentication set to guest or change it to
> moodle you should see the problem with creating new LO's etc. I'll send a
> link to a screencast of that later.****
>
>  ****
>
> HTH****
>
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Smith, John
> *Sent:* 03 December 2012 15:38
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Current Issues****
>
>  ****
>
> Hi,****
>
>  ****
>
> I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but
> ran out of time and into problems figuring out where to put passwords into
> the database using phpMyAdmin, setting up the integration path etc?****
>
>  ****
>
> If someone wants to share a VM which exhibits the problem and share it
> then I?ll definitely take a look at debugging? ****
>
>  ****
>
> Regards,****
>
>  ****
>
> John Smith****
>
> Learning Technologist****
>
> School of Health & Life Sciences****
>
> Glasgow Caledonian University****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Julian Tenney
> *Sent:* Monday, December 03, 2012 2:08 PM
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Current Issues****
>
>  ****
>
> Hi,****
>
>  ****
>
> Starting a new thread on the current issues with the integration path
> stuff. I?m afraid my own technical knowledge doesn?t go far in the relevant
> areas, but it is clear that we have a problem that needs resolving before
> we can make the Xenith code available to everyone, and it seems to me that
> recent changes have introduced the problem. Ron has done a lot to try and
> isolate the problem, thanks a lot for persisting Ron! ****
>
>  ****
>
> Somehow we need to resolve it. I?m open for ideas on how we can best work
> through it: in an ideal world I?d get Ron to sit with Pat at a computer
> until the problem is cracked, but since that?s not possible, is this
> something we can do online somehow? Anyone got any better ideas?****
>
>  ****
>
> Julian****
>
>  ****
>
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the
> Year 2009 and Herald Society?s Education Initiative of the Year 2009.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
>
> ****
>
>
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
>  ****
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
> -- ****
>
> --****
>
> ** **
>
>  ****
>
> Tom Reijnders****
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> ** **
>
> 5242HM Rosmalen****
>
>  ****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
>  ****
>
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
> ** **
>
>  ****
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
> -- ****
>
> --****
>
> ** **
>
>  ****
>
> Tom Reijnders****
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> ** **
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
>  ****
>
>  ****
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
> ** **
>
>  ****
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
>  ****
>
> -- ****
>
> ** **
>
> --****
>
>  ****
>
> Tom Reijnders****
>
>  ****
>
> ** **
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
>  ****
>
>  ****
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
>  ****
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
>  ****
>
> -- ****
>
> ** **
>
> --****
>
>  ****
>
> Tom Reijnders****
>
>  ****
>
> ** **
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
>  ****
>
>  ****
>
>  ****
>
>
>
> ****
>
> _______________________________________________****
>
> Xerte-dev mailing list****
>
>  ****
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
>  ****
>
> -- ****
>
> --****
>
>  ****
>
> Tom Reijnders****
>
>  ****
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
> ** **
>
>  ****
>
>
>
> ****
>
> _______________________________________________****
>
> ** **
>
> Xerte-dev mailing list****
>
>  ****
>
> Xerte-dev at lists.nottingham.ac.uk****
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
>  ****
>
> -- ****
>
> --****
>
>  ****
>
> Tom Reijnders****
>
>  ****
>
> TOR Informatica****
>
> Chopinlaan 27****
>
> 5242HM Rosmalen****
>
> Tel: 073 5226191****
>
> Fax: 073 5226196****
>
> ** **
>
>  ****
>
>  ****
>
>  ****
>
>
>
>
>
> _______________________________________________
> 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: 

From johnathan.kemp at ntlworld.com  Tue Dec  4 21:29:35 2012
From: johnathan.kemp at ntlworld.com (Kemp Johnathan)
Date: Tue, 4 Dec 2012 21:29:35 +0000
Subject: [Xerte-dev] Re: Use of the  tag and correct syntax
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48CD88AA@EXCHANGE1.ad.nottingham.ac.uk>
References: 
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD887D@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD88AA@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

 Does that still break it?

The format you supplied still breaks the xwd display.

In other words when you toggle the check boxes, you need to move the info
textfield, because it stays where it was, hiding / being hidden by some of
the fields?

No the info text field is visible. It is other fields that get hidden. Nor
is the info text field getting in the way, it displays below the hidden
fields.

I have attached an ordinary Xerte project with a quiz model and wizard set
up so that you can try it out for yourself. The quiz may not work correctly
in preview as the project does not contain all the support for pages
projects, but the xwd form will open and demonstrate the issue.

With the language box unchecked - everything looks fine (which is why I
missed this at first). When the language check box is ticked the info text
moves down to provide space for the new fields to be displayed, but nothing
is visible. However the fields are there as the mouse pointer responds to
their presence.

But this is not a language tag issue.

If all the language tags are removed from the language related items in the
xwd form then you will see that even with the language box unchecked the
last fields in the form will have space allocated for them, will be present
as evidenced by the responding mouse pointer, but will fail to display.

Kind regards

Johnathan

On 4 December 2012 16:45, Julian Tenney wrote:

> In other words when you toggle the check boxes, you need to move the info
> textfield, because it stays where it was, hiding / being hidden by some of
> the fields?
>
>
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Kemp Johnathan
> *Sent:* 04 December 2012 16:36
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Use of the  tag and correct syntax
>
>
>
> I only see my posts once someone has replied to them so I ended up with
> two posts.
>
>
>
> Yes the info button is the cause of the language options not showing -
> effectively it appears to hide the last few attributes in the form. This
> effect was hidden when they happened to be flagged as language, only
> becoming apparent when the language checkbox is ticked.
>
>
>
> I will test your example below, but from memory that looks very much like
> the syntax that I got from Ron's example.
>
>
>
> I will post the result later as I have to dash now for a saxophone lesson.
>
>
>
> Bye for now
>
>
>
> JK
>
>
>
> On 4 December 2012 16:11, Julian Tenney 
> wrote:
>
> Just so I?m clear, the mail you posted before about the language options
> not showing, is because of the use of the info tag?
>
>
>
> Sorry I?m having a hard time keeping up with all these issues, especially
> the big one.
>
>
>
> 
>
>
>
> Is the correct format.
>
>
>
> Does that still break it?
>
>
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Kemp Johnathan
> *Sent:* 04 December 2012 10:56
> *To:* Xerte Developers Discussion List
> *Subject:* [Xerte-dev] Use of the  tag and correct syntax
>
>
>
> I posted earlier of some display issues in the xwd form of some of the
> Connector pages.
>
>
>
> I have now established that the problem lies with the use of the 
> tag.
>
> When an  tag is included in an xwd the last few entries in the xwd
> form fail to display, space is left for them and the mouse pointer responds
> to their presence but the form just displays as a grey block. I have
> attached an image file to show you the output that results.
>
>
>
> The problem caused by the  tag was hidden at first as the Language
> section is collapsed by default, so the none-display of attribute fields
> only showed when the Language check box was ticked. However the language
> attribute feature is not part of the problem as the same effect can be
> achieved in a page that has no attributes flagged as language="true".
>
>
>
> Am I using the correct syntax for the  tag?
>
>
>
> I have tried all of the following but they all result in the disappearance
> of fields.
>
>
>
> In the Xerte help there is an example
>
>
>
>   
>
> In an example that Ron sent to me he used the syntax below (which is the
> one currently used in the xwd files)
>
>
>
> Help for plain text connector. Click
> here]]>
>
>
>
> I have also tried the syntax copied from the title page
>
>
>
> Enter title
> here]]>
>
>
>
> and the syntax
>
>
>
> some text
>
>
>
> I have also tried placing the  tag above the  section and
> below the  section.
>
>
>
> Options.
>
> 1.      If anyone can give me the correct syntax for the Info tag then I
> will try it out - but I am not convinced that incorrect syntax is the
> problem.
>
> 2.      If the problem is in the code that process the xwd file - can it
> be fixed in time for the release?
>
> 3.      If the problem cannot be resolved in time for the next XOT
> release which would you prefer a) remove all the info tags and lose the
> linking to the help files on the Xerte.org.uk web site. b)leave the info
> tags in place, knowing that this will temporarily prevent editing of some
> of the language attributes - which probably would be left with their
> default values anyway, in the belief that the problem can be resolved by a
> subsequent fix applied to the code that processes the xwd files.
>
> Kind regards
>
>
>
> Johnathan
>
>
>
>
>
>
>
> _______________________________________________
> 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: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: info tag example.zip
Type: application/zip
Size: 6112 bytes
Desc: not available
URL: 

From ronm at mitchellmedia.co.uk  Tue Dec  4 21:50:25 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Tue, 4 Dec 2012 21:50:25 -0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>		<00e101cdd177$41e3e460$c5abad20$@co.uk>
	<50BCF771.9020800@tor.nl>	<003001cdd18d$d7c77760$87566620$@co.uk>
	<50BD018C.7040700@tor.nl>	<005a01cdd195$4826d850$d87488f0$@co.uk>
	<50BD1050.1030508@tor.nl>	<006b01cdd199$7a6ce210$6f46a630$@co.uk>	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>
	<50BD1653.50705@tor.nl>	<009801cdd19d$c57dd080$50797180$@co.uk>	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>
	<50BD23C9.8060306@tor.nl>	<50BD2544.8000205@tor.nl>	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8531@EXCHANGE1.ad.nottingham.ac.uk>	<007d01cdd212$9aaee590$d00cb0b0$@co.uk>	<001e01cdd21d$3b45d810$b1d18830$@co.uk>		<005e01cdd22e$3fee1ab0$bfca5010$@co.uk>		<010101cdd263$ffb1f3a0$ff15dae0$@co.uk>
	
Message-ID: <011c01cdd269$5f1827b0$1d487710$@co.uk>

so far a 6 day nightmare at least! :-(

 

To be honest I can't see any of this clearly now. Versions aren't clear
either because I've always updated from exports from svn. The one thing that
remains clear is that regular updates on the Techdis server weren't causing
problems until last week.

 

I'm going to be offline now until tomorrow morning. I'm hoping at least
someone else has used the xampp copy I shared to confirm the issue is
replicable or better still found the cause/solution?

 

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: 04 December 2012 21:26
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

the "has timed out" looks a bit suspicious? The session might have destroyed
itself?

 

Sessions are a nightmare for this kind of stuff, but I would be cautious
about saying 1.8 didn't work either.

 

On Tue, Dec 4, 2012 at 9:11 PM, Ron Mitchell 
wrote:

Hi all

 

A question or two...

 

Anyone made any progress tracking down the issue with the xampp copy I
shared?

 

I've been testing further on xampp with both svn code and the zip. If the
problem is zend/locale/language related does any of that persist after
shutting down xampp and restarting?

 

What's bizarre with all this is that there hasn't been a problem until last
week, there's been no changes to the moodle installations I've been testing
with, 1.7 installs with moodle integration regardless of version still work
fine and yet I've tested with both 1.8 zip and svn reverted back to
September, new and upgraded installs and with a moodle 1.9 integrated the
problem is consistent. Could there be a data/time string issue that hasn't
therefore materialised until now?

 

When a moodle session is created it's written to a sessions folder in the
moodledata folder. Here's an example from both Moodle 1.9 and Moodle 2.2.
This is what's generated after a refresh with the integration path changed
from 1.9 to 2.2. With these tests the 1.9 integration has the problem the
2.2 integration doesn't.

 

moodle19 session

SESSION|O:6:"object":2:{s:12:"session_test";s:10:"DPzy199tQD";s:13:"has_time
d_out";b:1;}USER|O:6:"object":1:{s:2:"id";i:0;}toolkits_language|s:5:"en-GB"
;toolkits_firstname|s:5:"Guest";toolkits_surname|s:4:"User";toolkits_logon_u
sername|s:6:"guest2";toolkits_logon_id|s:1:"3";

 

moodle 2 session

SESSION|O:8:"stdClass":0:{}USER|O:8:"stdClass":3:{s:2:"id";i:0;s:10:"mnethos
tid";s:1:"3";s:7:"sesskey";s:10:"uCuCErTpVD";}toolkits_language|s:5:"en-GB";
toolkits_firstname|s:5:"Guest";toolkits_surname|s:4:"User";toolkits_logon_us
ername|s:6:"guest2";toolkits_logon_id|s:1:"3";sort_type|s:9:"date_down";

 

Does any of this shed any light?

 

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: 04 December 2012 15:09
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

2. It's perhaps a minor point but at the moment integration_config_path is
used/included regardless of the authentication method set.

That might be something people want - you might want to include some PHP
libraries, extra features, use cookies, lots of possible stuff - it was
included to be a catch all for any situation really

 

On Tue, Dec 4, 2012 at 2:47 PM, Ron Mitchell 
wrote:

We've been testing with and without moodle auth set Pat. Obviously on the
Techdis server that was always set to Moodle auth but this problem occurs
regardless of what authentication is set.

 

I think there are two slightly separate issues here:

 

1. There is some kind of clash or incompatibility recently introduced
causing this problem. It happens regardless of authentication method.

 

2. It's perhaps a minor point but at the moment integration_config_path is
used/included regardless of the authentication method set. e.g. if an
installation has a value in integration_config_path it's included even if
authentication is set to guest. Maybe with other systems there wouldn't be a
clash but if there's a session_start() it would still be attempted because
there's no relation between the authentication method set and whether the
path is included. But this has been the case for a long time so isn't the
cause of the main error.

 

At least I think this is correct.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 04 December 2012 13:58


To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

If moodle is set then line 45 in
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/auth_config
.php should never be called?

 

On Tue, Dec 4, 2012 at 12:45 PM, Ron Mitchell 
wrote:

Hi

I cleared my local xampp error log and then visited my test svn xot install
and tried creating a project. The attached is the error log as a result of
that process.

 

Still reviewing it myself but thought I should share in case it highlights
the cause/solution etc?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 04 December 2012 11:29
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

Unfortunately not. :-(

Firstly prior to last Thursday all was working fine with any version of
Moodle.

At one point last night it looked like whatever the clash is didn't exist
with Moodle 2.x but I then tried with a version of Moodle 2.3 and that had
the same problem. Also as I mentioned there are lots of people using moodle
for authentication and I'm sure keen to get xot 1.9 with the xenith code etc
but many won't be able to upgrade from Moodle 1.9 yet for all sorts of
reasons.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 December 2012 10:36
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

I've read over the posts, thanks for all the work you guys have put in to
this.

 

Would it be fair to summarise that things work fine in Moodle 2.x, but not
moodle 1.9?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 22:19
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Version 1.9 is not working either if I use the functions.php from svn. White
screen again. (When using Moodle intergration).

Tom

Op 3-12-2012 23:12, Tom Reijnders schreef:

It's a version 2, but I don't know which one.

I also have a moodle 1.9 (but again, I don't know exactly what version). But
that one seems to work as well for me. But I have to clear cache etc, to
make sure I don't use a different session.

Where can you check the exact version of moodle?

Op 3-12-2012 23:02, Ron Mitchell schreef:

Tom

do you have a moodle 1.9 to test with?

 

Your question about moodle version gave me an idea to test locally with
xampp. I'm going to say this with caution because I thought I was able to
reproduce the problem with xampp previously too but I just tested the
following:

 

The test install I was using with xampp was using a moodle2 config path and
not giving the same problems as the linux servers. So I just change that
config path to a moodle 1.9 install and it did then give the same problems.
I then changed the config path back to a 1.9 install and the problem is
there again.

 

So not forgetting that the Techdis server install has been working fine with
a moodle 1.9 config all this time it seems this indicates the following:

 

a recent XOT code change has introduced a clash with moodle 1.9 but not
moodle 2?

 

the problem can be reproduced on Windows via xampp if moodle 1.9 is avilable
to add as the integration_config_path

 

In theory I could upgrade the Moodle on the techdis server to a later
version because we aren't using that install for anything else but that
doesn't help people who want to upgrade xot but can't yet upgrade their
Moodle and it doesn't really help identify the specific
change/cause/solution either.

 

However maybe it's easier to track down with xampp?

 

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: 03 December 2012 21:33
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

As far as I can see the last change to the zend folder was 29/04/2012

 

On both installations I've been testing the moodle is 1.9x What about yours?

 

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 21:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Yes, but is the Zend folder changed recently? (I am currently not behind my
PC, so can't check)

I did have a situation where MySQL statements took so long, that the
workspace was not complete. But then you would have to have 10ths of LO's in
your workspace.

Can it have anything to do with the version of Moodle used?

Tom

Op 3-12-2012 22:11, Ron Mitchell schreef:

Also as far as I can see the last change to /trunk/functions.php was a
change you made on 23rd of October Tom way before these problems started.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 December 2012 21:02
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

 

I changed functions.php and restarted Apache but it hasn't fixed the create
new project issue for me.

 

You had a blank screen previously - could this be a separate issue? 

Did you ever see the create a new project workspace clears issue?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 20:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

It's working for me now.

And whether you have to restart apache depends a bit on whether you have
eAccelerator or something active. Sometimes it helps to restart apache
(php).

Tom

Op 3-12-2012 21:32, Ron Mitchell schreef:

Hi Tom

unfortunately this doesn't fix it for me :-(

I've cleared cache and restarted the browser but still the same problem.

Does that change require an Apache restart?

Did you get to a point where you were no longer getting a blank screen and
seeing the workspace clear when creating a new LO?

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To 

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend
installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in
moodle_request_shutdown() .....

Tom

Op 3-12-2012 20:38, Ron Mitchell schreef:

Hi Tom

yes so for example /var/www/moodle/config.php 

or on shared hosting might be /home/user/public_html/moodle/config.php

 

Not sure why you get a blank page - at least I get to see the workspace! ;-)

 

If you change authentication to moodle and restart the browser do you get
prompted to login to moodle? If you do then the path you have entered is
correct.

 

HTH
Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle
config.php, right?

It is definitely not working, I get a blank page, until I remove the config
path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing
in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview
and try to select a different image....

Tom

Tom

Op 3-12-2012 17:57, Ron Mitchell schreef:

Hi John

I can't help with a VM but here's the steps to replicate...

 

1. Create a directory in the web root and copy across an export from the
latest svn trunk e.g. xot19

2. Create a new database and user with the relevant privileges or use the
mysql root account if only a test

3. Browse to /xot19/setup/ and follows the tests or go straight to
/xot19/setup/page1.php

4. During setup add the admin account credentials (whatever you want) and
leave integration_config_path empty

5. Upon completion browse to the xot19 url which by default should be guest
access and create a couple of tests LO's

All should be fine at this point.

6. Visit /xot19/management.php and add the path to moodle config.php

7. Now whether you leave authentication set to guest or change it to moodle
you should see the problem with creating new LO's etc. I'll send a link to a
screencast of that later.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

 

Hi,

 

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran
out of time and into problems figuring out where to put passwords into the
database using phpMyAdmin, setting up the integration path etc.

 

If someone wants to share a VM which exhibits the problem and share it then
I'll definitely take a look at debugging. 

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

 

Hi,

 

Starting a new thread on the current issues with the integration path stuff.
I'm afraid my own technical knowledge doesn't go far in the relevant areas,
but it is clear that we have a problem that needs resolving before we can
make the Xenith code available to everyone, and it seems to me that recent
changes have introduced the problem. Ron has done a lot to try and isolate
the problem, thanks a lot for persisting Ron! 

 

Somehow we need to resolve it. I'm open for ideas on how we can best work
through it: in an ideal world I'd get Ron to sit with Pat at a computer
until the problem is cracked, but since that's not possible, is this
something we can do online somehow? Anyone got any better ideas?

 

Julian

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html






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

 

-- 
--
 
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
 
 
5242HM Rosmalen
 
Tel: 073 5226191
 
Fax: 073 5226196
 

 





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

 

-- 
--
 
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
 
 
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 
 

 

 

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

 

 
-- 
 
--
 
Tom Reijnders
 
 
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
 
Tel: 073 5226191
Fax: 073 5226196
 

 

 

 

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

 

 
-- 
 
--
 
 
Tom Reijnders
 
 
TOR Informatica
 
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 

 

 

 

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

 

 
-- 
--
 
Tom Reijnders
 
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 
 
 

 

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

 

 
-- 
--
 
Tom Reijnders
 
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 
 
 

 

 





_______________________________________________
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: 

From Julian.Tenney at nottingham.ac.uk  Tue Dec  4 22:15:18 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Tue, 4 Dec 2012 22:15:18 +0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <011c01cdd269$5f1827b0$1d487710$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>
	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>
	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>
	<006b01cdd199$7a6ce210$6f46a630$@co.uk>
	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>	<50BD1653.50705@tor.nl>
	<009801cdd19d$c57dd080$50797180$@co.uk>
	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>	<50BD23C9.8060306@tor.nl>
	<50BD2544.8000205@tor.nl>
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8531@EXCHANGE1.ad.nottingham.ac.uk>
	<007d01cdd212$9aaee590$d00cb0b0$@co.uk>
	<001e01cdd21d$3b45d810$b1d18830$@co.uk>
	
	<005e01cdd22e$3fee1ab0$bfca5010$@co.uk>
	
	<010101cdd263$ffb1f3a0$ff15dae0$@co.uk>
	,<011c01cdd269$5f1827b0$1d487710$@co.uk>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48BC7985@EXCHANGE1.ad.nottingham.ac.uk>

Step back from it for a while. I was wondering if it would just be easier to re-write the moodle auth stuff from scratch, that way we'd discover what was wrong. But I don't really know other than in the past when I've been dumbfounded by something hard, starting again hasn't always been a bad idea. I don't know how much code is involved and I don't really get the link between the sympotms (unable to create stuff) and the possible cause (something happening upstream of reading the integration file?).




________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell [ronm at mitchellmedia.co.uk]
Sent: 04 December 2012 21:50
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

so far a 6 day nightmare at least! :-(

To be honest I can't see any of this clearly now. Versions aren't clear either because I've always updated from exports from svn. The one thing that remains clear is that regular updates on the Techdis server weren't causing problems until last week.

I'm going to be offline now until tomorrow morning. I'm hoping at least someone else has used the xampp copy I shared to confirm the issue is replicable or better still found the cause/solution?

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: 04 December 2012 21:26
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

the "has timed out" looks a bit suspicious? The session might have destroyed itself?

Sessions are a nightmare for this kind of stuff, but I would be cautious about saying 1.8 didn't work either.

On Tue, Dec 4, 2012 at 9:11 PM, Ron Mitchell > wrote:
Hi all

A question or two...

Anyone made any progress tracking down the issue with the xampp copy I shared?

I've been testing further on xampp with both svn code and the zip. If the problem is zend/locale/language related does any of that persist after  shutting down xampp and restarting?

What's bizarre with all this is that there hasn't been a problem until last week, there's been no changes to the moodle installations I've been testing with, 1.7 installs with moodle integration regardless of version still work fine and yet I've tested with both 1.8 zip and svn reverted back to September, new and upgraded installs and with a moodle 1.9 integrated the problem is consistent. Could there be a data/time string issue that hasn't therefore materialised until now?

When a moodle session is created it's written to a sessions folder in the moodledata folder. Here's an example from both Moodle 1.9 and Moodle 2.2. This is what's generated after a refresh with the integration path changed from 1.9 to 2.2. With these tests the 1.9 integration has the problem the 2.2 integration doesn't.

moodle19 session
SESSION|O:6:"object":2:{s:12:"session_test";s:10:"DPzy199tQD";s:13:"has_timed_out";b:1;}USER|O:6:"object":1:{s:2:"id";i:0;}toolkits_language|s:5:"en-GB";toolkits_firstname|s:5:"Guest";toolkits_surname|s:4:"User";toolkits_logon_username|s:6:"guest2";toolkits_logon_id|s:1:"3";

moodle 2 session
SESSION|O:8:"stdClass":0:{}USER|O:8:"stdClass":3:{s:2:"id";i:0;s:10:"mnethostid";s:1:"3";s:7:"sesskey";s:10:"uCuCErTpVD";}toolkits_language|s:5:"en-GB";toolkits_firstname|s:5:"Guest";toolkits_surname|s:4:"User";toolkits_logon_username|s:6:"guest2";toolkits_logon_id|s:1:"3";sort_type|s:9:"date_down";

Does any of this shed any light?

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: 04 December 2012 15:09
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

2. It's perhaps a minor point but at the moment integration_config_path is used/included regardless of the authentication method set.

That might be something people want - you might want to include some PHP libraries, extra features, use cookies, lots of possible stuff - it was included to be a catch all for any situation really

On Tue, Dec 4, 2012 at 2:47 PM, Ron Mitchell > wrote:
We've been testing with and without moodle auth set Pat. Obviously on the Techdis server that was always set to Moodle auth but this problem occurs regardless of what authentication is set.

I think there are two slightly separate issues here:

1. There is some kind of clash or incompatibility recently introduced causing this problem. It happens regardless of authentication method.

2. It's perhaps a minor point but at the moment integration_config_path is used/included regardless of the authentication method set. e.g. if an installation has a value in integration_config_path it's included even if authentication is set to guest. Maybe with other systems there wouldn't be a clash but if there's a session_start() it would still be attempted because there's no relation between the authentication method set and whether the path is included. But this has been the case for a long time so isn't the cause of the main error.

At least I think this is correct.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 04 December 2012 13:58

To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

If moodle is set then line 45 in http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/auth_config.php should never be called?

On Tue, Dec 4, 2012 at 12:45 PM, Ron Mitchell > wrote:
Hi
I cleared my local xampp error log and then visited my test svn xot install and tried creating a project. The attached is the error log as a result of that process.

Still reviewing it myself but thought I should share in case it highlights the cause/solution etc?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 04 December 2012 11:29
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

Unfortunately not. :-(
Firstly prior to last Thursday all was working fine with any version of Moodle.
At one point last night it looked like whatever the clash is didn't exist with Moodle 2.x but I then tried with a version of Moodle 2.3 and that had the same problem. Also as I mentioned there are lots of people using moodle for authentication and I'm sure keen to get xot 1.9 with the xenith code etc but many won't be able to upgrade from Moodle 1.9 yet for all sorts of reasons.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 December 2012 10:36
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

I?ve read over the posts, thanks for all the work you guys have put in to this.

Would it be fair to summarise that things work fine in Moodle 2.x, but not moodle 1.9?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 22:19
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Version 1.9 is not working either if I use the functions.php from svn. White screen again. (When using Moodle intergration).

Tom
Op 3-12-2012 23:12, Tom Reijnders schreef:
It's a version 2, but I don't know which one.

I also have a moodle 1.9 (but again, I don't know exactly what version). But  that one seems to work as well for me. But I have to clear cache etc, to make sure I don't use a different session.

Where can you check the exact version of moodle?
Op 3-12-2012 23:02, Ron Mitchell schreef:
Tom
do you have a moodle 1.9 to test with?

Your question about moodle version gave me an idea to test locally with xampp. I'm going to say this with caution because I thought I was able to reproduce the problem with xampp previously too but I just tested the following:

The test install I was using with xampp was using a moodle2 config path and not giving the same problems as the linux servers. So I just change that config path to a moodle 1.9 install and it did then give the same problems. I then changed the config path back to a 1.9 install and the problem is there again.

So not forgetting that the Techdis server install has been working fine with a moodle 1.9 config all this time it seems this indicates the following:

a recent XOT code change has introduced a clash with moodle 1.9 but not moodle 2?

the problem can be reproduced on Windows via xampp if moodle 1.9 is avilable to add as the integration_config_path

In theory I could upgrade the Moodle on the techdis server to a later version because we aren't using that install for anything else but that doesn't help people who want to upgrade xot but can't yet upgrade their Moodle and it doesn't really help identify the specific change/cause/solution either.

However maybe it's easier to track down with xampp?

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: 03 December 2012 21:33
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

As far as I can see the last change to the zend folder was 29/04/2012

On both installations I've been testing the moodle is 1.9x What about yours?

Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 21:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Yes, but is the Zend folder changed recently? (I am currently not behind my PC, so can't check)

I did have a situation where MySQL statements took so long, that the workspace was not complete. But then you would have to have 10ths of LO's in your workspace.

Can it have anything to do with the version of Moodle used?

Tom
Op 3-12-2012 22:11, Ron Mitchell schreef:
Also as far as I can see the last change to /trunk/functions.php was a change you made on 23rd of October Tom way before these problems started.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 December 2012 21:02
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

I changed functions.php and restarted Apache but it hasn't fixed the create new project issue for me.

You had a blank screen previously - could this be a separate issue?
Did you ever see the create a new project workspace clears issue?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 20:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

It's working for me now.

And whether you have to restart apache depends a bit on whether you have eAccelerator or something active. Sometimes it helps to restart apache (php).

Tom
Op 3-12-2012 21:32, Ron Mitchell schreef:
Hi Tom
unfortunately this doesn't fix it for me :-(
I've cleared cache and restarted the browser but still the same problem.
Does that change require an Apache restart?
Did you get to a point where you were no longer getting a blank screen and seeing the workspace clear when creating a new LO?
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in moodle_request_shutdown() .....

Tom
Op 3-12-2012 20:38, Ron Mitchell schreef:
Hi Tom
yes so for example /var/www/moodle/config.php
or on shared hosting might be /home/user/public_html/moodle/config.php

Not sure why you get a blank page - at least I get to see the workspace! ;-)

If you change authentication to moodle and restart the browser do you get prompted to login to moodle? If you do then the path you have entered is correct.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle config.php, right?

It is definitely not working, I get a blank page, until I remove the config path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview and try to select a different image....

Tom

Tom
Op 3-12-2012 17:57, Ron Mitchell schreef:
Hi John
I can't help with a VM but here's the steps to replicate...

1. Create a directory in the web root and copy across an export from the latest svn trunk e.g. xot19
2. Create a new database and user with the relevant privileges or use the mysql root account if only a test
3. Browse to /xot19/setup/ and follows the tests or go straight to /xot19/setup/page1.php
4. During setup add the admin account credentials (whatever you want) and leave integration_config_path empty
5. Upon completion browse to the xot19 url which by default should be guest access and create a couple of tests LO's
All should be fine at this point.
6. Visit /xot19/management.php and add the path to moodle config.php
7. Now whether you leave authentication set to guest or change it to moodle you should see the problem with creating new LO's etc. I'll send a link to a screencast of that later.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Hi,

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran out of time and into problems figuring out where to put passwords into the database using phpMyAdmin, setting up the integration path etc?

If someone wants to share a VM which exhibits the problem and share it then I?ll definitely take a look at debugging?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

Hi,

Starting a new thread on the current issues with the integration path stuff. I?m afraid my own technical knowledge doesn?t go far in the relevant areas, but it is clear that we have a problem that needs resolving before we can make the Xenith code available to everyone, and it seems to me that recent changes have introduced the problem. Ron has done a lot to try and isolate the problem, thanks a lot for persisting Ron!

Somehow we need to resolve it. I?m open for ideas on how we can best work through it: in an ideal world I?d get Ron to sit with Pat at a computer until the problem is cracked, but since that?s not possible, is this something we can do online somehow? Anyone got any better ideas?

Julian


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html




_______________________________________________

Xerte-dev mailing list



Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


--

--





Tom Reijnders

TOR Informatica

Chopinlaan 27





5242HM Rosmalen



Tel: 073 5226191



Fax: 073 5226196






_______________________________________________



Xerte-dev mailing list





Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


--

--





Tom Reijnders

TOR Informatica

Chopinlaan 27





5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196







_______________________________________________

Xerte-dev mailing list







Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




--



--



Tom Reijnders





TOR Informatica

Chopinlaan 27

5242HM Rosmalen



Tel: 073 5226191

Fax: 073 5226196






_______________________________________________

Xerte-dev mailing list





Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




--



--





Tom Reijnders





TOR Informatica



Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196






_______________________________________________



Xerte-dev mailing list



Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




--

--



Tom Reijnders



TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196








_______________________________________________



Xerte-dev mailing list



Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




--

--



Tom Reijnders



TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196












_______________________________________________
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



From Julian.Tenney at nottingham.ac.uk  Tue Dec  4 22:23:44 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Tue, 4 Dec 2012 22:23:44 +0000
Subject: [Xerte-dev] Re: Current Issues
In-Reply-To: <010101cdd263$ffb1f3a0$ff15dae0$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8241@EXCHANGE1.ad.nottingham.ac.uk>
	
	<00e101cdd177$41e3e460$c5abad20$@co.uk>	<50BCF771.9020800@tor.nl>
	<003001cdd18d$d7c77760$87566620$@co.uk>	<50BD018C.7040700@tor.nl>
	<005a01cdd195$4826d850$d87488f0$@co.uk>	<50BD1050.1030508@tor.nl>
	<006b01cdd199$7a6ce210$6f46a630$@co.uk>
	<007601cdd19a$cf28aa90$6d79ffb0$@co.uk>	<50BD1653.50705@tor.nl>
	<009801cdd19d$c57dd080$50797180$@co.uk>
	<00a301cdd1a1$dd7f74f0$987e5ed0$@co.uk>	<50BD23C9.8060306@tor.nl>
	<50BD2544.8000205@tor.nl>
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8531@EXCHANGE1.ad.nottingham.ac.uk>
	<007d01cdd212$9aaee590$d00cb0b0$@co.uk>
	<001e01cdd21d$3b45d810$b1d18830$@co.uk>
	
	<005e01cdd22e$3fee1ab0$bfca5010$@co.uk>
	,
	<010101cdd263$ffb1f3a0$ff15dae0$@co.uk>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48BC7988@EXCHANGE1.ad.nottingham.ac.uk>

Not really, but see my recent mail on rewwriting. If what is happening here is that there is code originally written for one version of something that is now working with situations originally unforeseen, that might count as a good candidate for a rethink? The session data looks quite different.
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell [ronm at mitchellmedia.co.uk]
Sent: 04 December 2012 21:11
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

Hi all

A question or two...

Anyone made any progress tracking down the issue with the xampp copy I shared?

I've been testing further on xampp with both svn code and the zip. If the problem is zend/locale/language related does any of that persist after  shutting down xampp and restarting?

What's bizarre with all this is that there hasn't been a problem until last week, there's been no changes to the moodle installations I've been testing with, 1.7 installs with moodle integration regardless of version still work fine and yet I've tested with both 1.8 zip and svn reverted back to September, new and upgraded installs and with a moodle 1.9 integrated the problem is consistent. Could there be a data/time string issue that hasn't therefore materialised until now?

When a moodle session is created it's written to a sessions folder in the moodledata folder. Here's an example from both Moodle 1.9 and Moodle 2.2. This is what's generated after a refresh with the integration path changed from 1.9 to 2.2. With these tests the 1.9 integration has the problem the 2.2 integration doesn't.

moodle19 session
SESSION|O:6:"object":2:{s:12:"session_test";s:10:"DPzy199tQD";s:13:"has_timed_out";b:1;}USER|O:6:"object":1:{s:2:"id";i:0;}toolkits_language|s:5:"en-GB";toolkits_firstname|s:5:"Guest";toolkits_surname|s:4:"User";toolkits_logon_username|s:6:"guest2";toolkits_logon_id|s:1:"3";

moodle 2 session
SESSION|O:8:"stdClass":0:{}USER|O:8:"stdClass":3:{s:2:"id";i:0;s:10:"mnethostid";s:1:"3";s:7:"sesskey";s:10:"uCuCErTpVD";}toolkits_language|s:5:"en-GB";toolkits_firstname|s:5:"Guest";toolkits_surname|s:4:"User";toolkits_logon_username|s:6:"guest2";toolkits_logon_id|s:1:"3";sort_type|s:9:"date_down";

Does any of this shed any light?

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: 04 December 2012 15:09
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

2. It's perhaps a minor point but at the moment integration_config_path is used/included regardless of the authentication method set.

That might be something people want - you might want to include some PHP libraries, extra features, use cookies, lots of possible stuff - it was included to be a catch all for any situation really

On Tue, Dec 4, 2012 at 2:47 PM, Ron Mitchell > wrote:
We've been testing with and without moodle auth set Pat. Obviously on the Techdis server that was always set to Moodle auth but this problem occurs regardless of what authentication is set.

I think there are two slightly separate issues here:

1. There is some kind of clash or incompatibility recently introduced causing this problem. It happens regardless of authentication method.

2. It's perhaps a minor point but at the moment integration_config_path is used/included regardless of the authentication method set. e.g. if an installation has a value in integration_config_path it's included even if authentication is set to guest. Maybe with other systems there wouldn't be a clash but if there's a session_start() it would still be attempted because there's no relation between the authentication method set and whether the path is included. But this has been the case for a long time so isn't the cause of the main error.

At least I think this is correct.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 04 December 2012 13:58

To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

If moodle is set then line 45 in http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/auth_config.php should never be called?

On Tue, Dec 4, 2012 at 12:45 PM, Ron Mitchell > wrote:
Hi
I cleared my local xampp error log and then visited my test svn xot install and tried creating a project. The attached is the error log as a result of that process.

Still reviewing it myself but thought I should share in case it highlights the cause/solution etc?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 04 December 2012 11:29
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

Unfortunately not. :-(
Firstly prior to last Thursday all was working fine with any version of Moodle.
At one point last night it looked like whatever the clash is didn't exist with Moodle 2.x but I then tried with a version of Moodle 2.3 and that had the same problem. Also as I mentioned there are lots of people using moodle for authentication and I'm sure keen to get xot 1.9 with the xenith code etc but many won't be able to upgrade from Moodle 1.9 yet for all sorts of reasons.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 December 2012 10:36
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

I?ve read over the posts, thanks for all the work you guys have put in to this.

Would it be fair to summarise that things work fine in Moodle 2.x, but not moodle 1.9?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 22:19
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Version 1.9 is not working either if I use the functions.php from svn. White screen again. (When using Moodle intergration).

Tom
Op 3-12-2012 23:12, Tom Reijnders schreef:
It's a version 2, but I don't know which one.

I also have a moodle 1.9 (but again, I don't know exactly what version). But  that one seems to work as well for me. But I have to clear cache etc, to make sure I don't use a different session.

Where can you check the exact version of moodle?
Op 3-12-2012 23:02, Ron Mitchell schreef:
Tom
do you have a moodle 1.9 to test with?

Your question about moodle version gave me an idea to test locally with xampp. I'm going to say this with caution because I thought I was able to reproduce the problem with xampp previously too but I just tested the following:

The test install I was using with xampp was using a moodle2 config path and not giving the same problems as the linux servers. So I just change that config path to a moodle 1.9 install and it did then give the same problems. I then changed the config path back to a 1.9 install and the problem is there again.

So not forgetting that the Techdis server install has been working fine with a moodle 1.9 config all this time it seems this indicates the following:

a recent XOT code change has introduced a clash with moodle 1.9 but not moodle 2?

the problem can be reproduced on Windows via xampp if moodle 1.9 is avilable to add as the integration_config_path

In theory I could upgrade the Moodle on the techdis server to a later version because we aren't using that install for anything else but that doesn't help people who want to upgrade xot but can't yet upgrade their Moodle and it doesn't really help identify the specific change/cause/solution either.

However maybe it's easier to track down with xampp?

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: 03 December 2012 21:33
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

As far as I can see the last change to the zend folder was 29/04/2012

On both installations I've been testing the moodle is 1.9x What about yours?

Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 21:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Yes, but is the Zend folder changed recently? (I am currently not behind my PC, so can't check)

I did have a situation where MySQL statements took so long, that the workspace was not complete. But then you would have to have 10ths of LO's in your workspace.

Can it have anything to do with the version of Moodle used?

Tom
Op 3-12-2012 22:11, Ron Mitchell schreef:
Also as far as I can see the last change to /trunk/functions.php was a change you made on 23rd of October Tom way before these problems started.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 December 2012 21:02
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Current Issues

I changed functions.php and restarted Apache but it hasn't fixed the create new project issue for me.

You had a blank screen previously - could this be a separate issue?
Did you ever see the create a new project workspace clears issue?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 20:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

It's working for me now.

And whether you have to restart apache depends a bit on whether you have eAccelerator or something active. Sometimes it helps to restart apache (php).

Tom
Op 3-12-2012 21:32, Ron Mitchell schreef:
Hi Tom
unfortunately this doesn't fix it for me :-(
I've cleared cache and restarted the browser but still the same problem.
Does that change require an Apache restart?
Did you get to a point where you were no longer getting a blank screen and seeing the workspace clear when creating a new LO?
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Ok...

I've got it working here, if I change line 48 of functions.php

$language = new Zend_Locale();

To

$language = 'en-GB';   (and yes I realize it is doing something else)


If this also works for you, than something has changed in the Zend installation.

Somewhere in tracing through the constructor of Zend_Locale I end up in moodle_request_shutdown() .....

Tom
Op 3-12-2012 20:38, Ron Mitchell schreef:
Hi Tom
yes so for example /var/www/moodle/config.php
or on shared hosting might be /home/user/public_html/moodle/config.php

Not sure why you get a blank page - at least I get to see the workspace! ;-)

If you change authentication to moodle and restart the browser do you get prompted to login to moodle? If you do then the path you have entered is correct.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 December 2012 19:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Ron,

Just to be sure, in step 6, this is the full Linux file path to the moodle config.php, right?

It is definitely not working, I get a blank page, until I remove the config path from the sitedetails page.

Nothing shows up in the debug.log, not in the apache errorlog, and nothing in the javascript console.

I will try to start all this in the debugger (xdebug).


There are two other issues in my install:
1. Sometimes the editor disappears behind the browser window.
2. In a Media page with an image, preview, all is fine, now close preview and try to select a different image....

Tom

Tom
Op 3-12-2012 17:57, Ron Mitchell schreef:
Hi John
I can't help with a VM but here's the steps to replicate...

1. Create a directory in the web root and copy across an export from the latest svn trunk e.g. xot19
2. Create a new database and user with the relevant privileges or use the mysql root account if only a test
3. Browse to /xot19/setup/ and follows the tests or go straight to /xot19/setup/page1.php
4. During setup add the admin account credentials (whatever you want) and leave integration_config_path empty
5. Upon completion browse to the xot19 url which by default should be guest access and create a couple of tests LO's
All should be fine at this point.
6. Visit /xot19/management.php and add the path to moodle config.php
7. Now whether you leave authentication set to guest or change it to moodle you should see the problem with creating new LO's etc. I'll send a link to a screencast of that later.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Current Issues

Hi,

I had a go at setting up on a Ubuntu VM on VirtualBox at the weekend but ran out of time and into problems figuring out where to put passwords into the database using phpMyAdmin, setting up the integration path etc?

If someone wants to share a VM which exhibits the problem and share it then I?ll definitely take a look at debugging?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, December 03, 2012 2:08 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Current Issues

Hi,

Starting a new thread on the current issues with the integration path stuff. I?m afraid my own technical knowledge doesn?t go far in the relevant areas, but it is clear that we have a problem that needs resolving before we can make the Xenith code available to everyone, and it seems to me that recent changes have introduced the problem. Ron has done a lot to try and isolate the problem, thanks a lot for persisting Ron!

Somehow we need to resolve it. I?m open for ideas on how we can best work through it: in an ideal world I?d get Ron to sit with Pat at a computer until the problem is cracked, but since that?s not possible, is this something we can do online somehow? Anyone got any better ideas?

Julian


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html






_______________________________________________

Xerte-dev mailing list



Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


--

--





Tom Reijnders

TOR Informatica

Chopinlaan 27



5242HM Rosmalen



Tel: 073 5226191

Fax: 073 5226196







_______________________________________________

Xerte-dev mailing list





Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


--

--





Tom Reijnders

TOR Informatica

Chopinlaan 27



5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196








_______________________________________________

Xerte-dev mailing list





Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




--



--



Tom Reijnders





TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196







_______________________________________________

Xerte-dev mailing list



Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




--



--



Tom Reijnders





TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196







_______________________________________________

Xerte-dev mailing list



Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




--

--



Tom Reijnders



TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196







_______________________________________________



Xerte-dev mailing list



Xerte-dev at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




--

--



Tom Reijnders



TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196










_______________________________________________
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



From patrick.lockley at googlemail.com  Wed Dec  5 00:28:56 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Wed, 5 Dec 2012 00:28:56 +0000
Subject: [Xerte-dev] moodle fix
Message-ID: 

try swapping these files
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: folder_library.php
Type: application/x-httpd-php
Size: 7357 bytes
Desc: not available
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make_new_folder.php
Type: application/x-httpd-php
Size: 392 bytes
Desc: not available
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: user_library.php
Type: application/x-httpd-php
Size: 9044 bytes
Desc: not available
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: your_templates.php
Type: application/x-httpd-php
Size: 389 bytes
Desc: not available
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: new_template.php
Type: application/x-httpd-php
Size: 3007 bytes
Desc: not available
URL: 

From ronm at mitchellmedia.co.uk  Wed Dec  5 07:49:53 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Wed, 5 Dec 2012 07:49:53 -0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: 
References: 
Message-ID: <018401cdd2bd$1d4bef20$57e3cd60$@co.uk>

Hi Pat

thanks - from tests so far those files have certainly improved things!

 

What did you find/change? What was the main cause of the problem?

 

I've tested creating new projects and folders, moving and deleting projects
all of which were a problem previously so looking hopeful.

 

One problem/difference at the moment which I don't think was there before is
that with a moodle 1.9 integration path I can now create a new project
without the workspace refreshing and it appears etc but if I then try to
create a second project clicking create to create another Xerte Online
Toolkit project doesn't do anything. I have to refresh the browser before I
can create another project. Clicking to create an RSS project does work
without refresh and with moodle 2 configured I can create a second and third
template etc without problem.

 

I've only tested this locally so far will test on the techdis server next...

 

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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix

 

try swapping these files 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From patrick.lockley at googlemail.com  Wed Dec  5 09:38:23 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Wed, 5 Dec 2012 09:38:23 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: <018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
References: 
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
Message-ID: 

the problem in new template was that for some reason moodle is leaving or
creating another database link so when toolkits sends the request to the
database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being
used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.


On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell wrote:

> Hi Pat****
>
> thanks - from tests so far those files have certainly improved things!****
>
> ** **
>
> What did you find/change? What was the main cause of the problem?****
>
> ** **
>
> I've tested creating new projects and folders, moving and deleting
> projects all of which were a problem previously so looking hopeful.****
>
> ** **
>
> One problem/difference at the moment which I don't think was there before
> is that with a moodle 1.9 integration path I can now create a new project
> without the workspace refreshing and it appears etc but if I then try to
> create a second project clicking create to create another Xerte Online
> Toolkit project doesn't do anything. I have to refresh the browser before I
> can create another project. Clicking to create an RSS project does work
> without refresh and with moodle 2 configured I can create a second and
> third template etc without problem.****
>
> ** **
>
> I've only tested this locally so far will test on the techdis server
> next...****
>
> ** **
>
> 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:* 05 December 2012 00:29
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] moodle fix****
>
> ** **
>
> try swapping these files ****
>
>
>
>
> _______________________________________________
> 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: 

From ronm at mitchellmedia.co.uk  Wed Dec  5 11:36:13 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Wed, 5 Dec 2012 11:36:13 -0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: 
References: 	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
	
Message-ID: <002001cdd2dc$bb8becc0$32a3c640$@co.uk>

Hi Pat

thanks for the update.

I've been testing on both the techdis server and locally via xampp.
Obviously I won't have tested every single permutation yet but from tests so
far all seems fine apart from this issue of not being able to create a new
project after creating one already until refresh. However this happens
without a moodle integration path added too.

 

Here's the steps to reproduce with current svn code plus your changed files.

Click create to create a new project based on Xerte Online Toolkits template

Close the editor and try to create another project - nothing happens upon
clicking create

Refresh the browser and click create works but the cycle repeats e.g. can't
create a second project

 

Using debugger in IE9 I get the following error when closing the editor
window:

 

SCRIPT5009: 'window_reference' is undefined 

edit.php?template_id=17, line 32 character 1

 

Not really sure where to look for the cause/solution to this one but is
there perhaps an include/require missing somewhere?

 

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: 05 December 2012 09:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

the problem in new template was that for some reason moodle is leaving or
creating another database link so when toolkits sends the request to the
database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being
used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.

 

On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
wrote:

Hi Pat

thanks - from tests so far those files have certainly improved things!

 

What did you find/change? What was the main cause of the problem?

 

I've tested creating new projects and folders, moving and deleting projects
all of which were a problem previously so looking hopeful.

 

One problem/difference at the moment which I don't think was there before is
that with a moodle 1.9 integration path I can now create a new project
without the workspace refreshing and it appears etc but if I then try to
create a second project clicking create to create another Xerte Online
Toolkit project doesn't do anything. I have to refresh the browser before I
can create another project. Clicking to create an RSS project does work
without refresh and with moodle 2 configured I can create a second and third
template etc without problem.

 

I've only tested this locally so far will test on the techdis server next...

 

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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix

 

try swapping these files 






_______________________________________________
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: 

From patrick.lockley at googlemail.com  Wed Dec  5 11:41:36 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Wed, 5 Dec 2012 11:41:36 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: <002001cdd2dc$bb8becc0$32a3c640$@co.uk>
References: 
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
	
	<002001cdd2dc$bb8becc0$32a3c640$@co.uk>
Message-ID: 

I think it's because of the print_r($_SESSION) somewhere - remove that and
it'll be fine


On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell wrote:

> Hi Pat****
>
> thanks for the update.****
>
> I've been testing on both the techdis server and locally via xampp.
> Obviously I won't have tested every single permutation yet but from tests
> so far all seems fine apart from this issue of not being able to create a
> new project after creating one already until refresh. However this happens
> without a moodle integration path added too.****
>
> ** **
>
> Here's the steps to reproduce with current svn code plus your changed
> files.****
>
> Click create to create a new project based on Xerte Online Toolkits
> template****
>
> Close the editor and try to create another project - nothing happens upon
> clicking create****
>
> Refresh the browser and click create works but the cycle repeats e.g.
> can't create a second project****
>
> ** **
>
> Using debugger in IE9 I get the following error when closing the editor
> window:****
>
> ** **
>
> SCRIPT5009: 'window_reference' is undefined ****
>
> edit.php?template_id=17, line 32 character 1****
>
> ** **
>
> Not really sure where to look for the cause/solution to this one but is
> there perhaps an include/require missing somewhere?****
>
> ** **
>
> 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:* 05 December 2012 09:38
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
> ** **
>
> the problem in new template was that for some reason moodle is leaving or
> creating another database link so when toolkits sends the request to the
> database it fails as the code is now pointing at the wrong database.
>
> Added in another database_connect call to fix this
>
> the problem in new folder creation was two require_once("config.php")
> being used. Removed one and it works.
>
> Why these would only affect moodle 1.9? No idea.****
>
> ** **
>
> On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> thanks - from tests so far those files have certainly improved things!****
>
>  ****
>
> What did you find/change? What was the main cause of the problem?****
>
>  ****
>
> I've tested creating new projects and folders, moving and deleting
> projects all of which were a problem previously so looking hopeful.****
>
>  ****
>
> One problem/difference at the moment which I don't think was there before
> is that with a moodle 1.9 integration path I can now create a new project
> without the workspace refreshing and it appears etc but if I then try to
> create a second project clicking create to create another Xerte Online
> Toolkit project doesn't do anything. I have to refresh the browser before I
> can create another project. Clicking to create an RSS project does work
> without refresh and with moodle 2 configured I can create a second and
> third template etc without problem.****
>
>  ****
>
> I've only tested this locally so far will test on the techdis server
> next...****
>
>  ****
>
> 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:* 05 December 2012 00:29
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] moodle fix****
>
>  ****
>
> try swapping these files ****
>
>
>
> ****
>
>
> _______________________________________________
> 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: 

From ronm at mitchellmedia.co.uk  Wed Dec  5 11:52:24 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Wed, 5 Dec 2012 11:52:24 -0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: 
References: 	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>		<002001cdd2dc$bb8becc0$32a3c640$@co.uk>
	
Message-ID: <003801cdd2de$feaff710$fc0fe530$@co.uk>

Just print_r($_SESSION) or could there be a similar print_r(something)
causing the same problem?

Have searched for print_r($_SESSION) in the install I'm using for testing
and not found.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 11:42
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

I think it's because of the print_r($_SESSION) somewhere - remove that and
it'll be fine

 

On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
wrote:

Hi Pat

thanks for the update.

I've been testing on both the techdis server and locally via xampp.
Obviously I won't have tested every single permutation yet but from tests so
far all seems fine apart from this issue of not being able to create a new
project after creating one already until refresh. However this happens
without a moodle integration path added too.

 

Here's the steps to reproduce with current svn code plus your changed files.

Click create to create a new project based on Xerte Online Toolkits template

Close the editor and try to create another project - nothing happens upon
clicking create

Refresh the browser and click create works but the cycle repeats e.g. can't
create a second project

 

Using debugger in IE9 I get the following error when closing the editor
window:

 

SCRIPT5009: 'window_reference' is undefined 

edit.php?template_id=17, line 32 character 1

 

Not really sure where to look for the cause/solution to this one but is
there perhaps an include/require missing somewhere?

 

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: 05 December 2012 09:38


To: For Xerte technical developers

Subject: [Xerte-dev] Re: moodle fix

 

the problem in new template was that for some reason moodle is leaving or
creating another database link so when toolkits sends the request to the
database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being
used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.

 

On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
wrote:

Hi Pat

thanks - from tests so far those files have certainly improved things!

 

What did you find/change? What was the main cause of the problem?

 

I've tested creating new projects and folders, moving and deleting projects
all of which were a problem previously so looking hopeful.

 

One problem/difference at the moment which I don't think was there before is
that with a moodle 1.9 integration path I can now create a new project
without the workspace refreshing and it appears etc but if I then try to
create a second project clicking create to create another Xerte Online
Toolkit project doesn't do anything. I have to refresh the browser before I
can create another project. Clicking to create an RSS project does work
without refresh and with moodle 2 configured I can create a second and third
template etc without problem.

 

I've only tested this locally so far will test on the techdis server next...

 

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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix

 

try swapping these files 

 


_______________________________________________
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: 

From patrick.lockley at googlemail.com  Wed Dec  5 12:01:39 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Wed, 5 Dec 2012 12:01:39 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: <003801cdd2de$feaff710$fc0fe530$@co.uk>
References: 
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
	
	<002001cdd2dc$bb8becc0$32a3c640$@co.uk>
	
	<003801cdd2de$feaff710$fc0fe530$@co.uk>
Message-ID: 

Not sure then, I assumed it was that (as this was more of a patch than a
fix)

Do you get a JS error?


On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell wrote:

> Just print_r($_SESSION) or could there be a similar print_r(something)
> causing the same problem?****
>
> Have searched for print_r($_SESSION) in the install I'm using for testing
> and not found.****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 11:42
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
> ** **
>
> I think it's because of the print_r($_SESSION) somewhere - remove that and
> it'll be fine****
>
> ** **
>
> On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> thanks for the update.****
>
> I've been testing on both the techdis server and locally via xampp.
> Obviously I won't have tested every single permutation yet but from tests
> so far all seems fine apart from this issue of not being able to create a
> new project after creating one already until refresh. However this happens
> without a moodle integration path added too.****
>
>  ****
>
> Here's the steps to reproduce with current svn code plus your changed
> files.****
>
> Click create to create a new project based on Xerte Online Toolkits
> template****
>
> Close the editor and try to create another project - nothing happens upon
> clicking create****
>
> Refresh the browser and click create works but the cycle repeats e.g.
> can't create a second project****
>
>  ****
>
> Using debugger in IE9 I get the following error when closing the editor
> window:****
>
>  ****
>
> SCRIPT5009: 'window_reference' is undefined ****
>
> edit.php?template_id=17, line 32 character 1****
>
>  ****
>
> Not really sure where to look for the cause/solution to this one but is
> there perhaps an include/require missing somewhere?****
>
>  ****
>
> 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:* 05 December 2012 09:38****
>
>
> *To:* For Xerte technical developers****
>
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> the problem in new template was that for some reason moodle is leaving or
> creating another database link so when toolkits sends the request to the
> database it fails as the code is now pointing at the wrong database.
>
> Added in another database_connect call to fix this
>
> the problem in new folder creation was two require_once("config.php")
> being used. Removed one and it works.
>
> Why these would only affect moodle 1.9? No idea.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> thanks - from tests so far those files have certainly improved things!****
>
>  ****
>
> What did you find/change? What was the main cause of the problem?****
>
>  ****
>
> I've tested creating new projects and folders, moving and deleting
> projects all of which were a problem previously so looking hopeful.****
>
>  ****
>
> One problem/difference at the moment which I don't think was there before
> is that with a moodle 1.9 integration path I can now create a new project
> without the workspace refreshing and it appears etc but if I then try to
> create a second project clicking create to create another Xerte Online
> Toolkit project doesn't do anything. I have to refresh the browser before I
> can create another project. Clicking to create an RSS project does work
> without refresh and with moodle 2 configured I can create a second and
> third template etc without problem.****
>
>  ****
>
> I've only tested this locally so far will test on the techdis server
> next...****
>
>  ****
>
> 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:* 05 December 2012 00:29
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] moodle fix****
>
>  ****
>
> try swapping these files ****
>
> ** **
>
>
> _______________________________________________
> 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: 

From ronm at mitchellmedia.co.uk  Wed Dec  5 12:13:18 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Wed, 5 Dec 2012 12:13:18 -0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: 
References: 	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>		<002001cdd2dc$bb8becc0$32a3c640$@co.uk>		<003801cdd2de$feaff710$fc0fe530$@co.uk>
	
Message-ID: <004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>

I thought that window_reference is undefined is a js error?

 

BTW

Are you going to commit those changed php files or do you want me to on your
behalf?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:02
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

Not sure then, I assumed it was that (as this was more of a patch than a
fix)

Do you get a JS error?

 

On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell 
wrote:

Just print_r($_SESSION) or could there be a similar print_r(something)
causing the same problem?

Have searched for print_r($_SESSION) in the install I'm using for testing
and not found.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 11:42


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

I think it's because of the print_r($_SESSION) somewhere - remove that and
it'll be fine

 

On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
wrote:

Hi Pat

thanks for the update.

I've been testing on both the techdis server and locally via xampp.
Obviously I won't have tested every single permutation yet but from tests so
far all seems fine apart from this issue of not being able to create a new
project after creating one already until refresh. However this happens
without a moodle integration path added too.

 

Here's the steps to reproduce with current svn code plus your changed files.

Click create to create a new project based on Xerte Online Toolkits template

Close the editor and try to create another project - nothing happens upon
clicking create

Refresh the browser and click create works but the cycle repeats e.g. can't
create a second project

 

Using debugger in IE9 I get the following error when closing the editor
window:

 

SCRIPT5009: 'window_reference' is undefined 

edit.php?template_id=17, line 32 character 1

 

Not really sure where to look for the cause/solution to this one but is
there perhaps an include/require missing somewhere?

 

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: 05 December 2012 09:38


To: For Xerte technical developers

Subject: [Xerte-dev] Re: moodle fix

 

the problem in new template was that for some reason moodle is leaving or
creating another database link so when toolkits sends the request to the
database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being
used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.

 

On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
wrote:

Hi Pat

thanks - from tests so far those files have certainly improved things!

 

What did you find/change? What was the main cause of the problem?

 

I've tested creating new projects and folders, moving and deleting projects
all of which were a problem previously so looking hopeful.

 

One problem/difference at the moment which I don't think was there before is
that with a moodle 1.9 integration path I can now create a new project
without the workspace refreshing and it appears etc but if I then try to
create a second project clicking create to create another Xerte Online
Toolkit project doesn't do anything. I have to refresh the browser before I
can create another project. Clicking to create an RSS project does work
without refresh and with moodle 2 configured I can create a second and third
template etc without problem.

 

I've only tested this locally so far will test on the techdis server next...

 

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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix

 

try swapping these files 

 


_______________________________________________
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: 

From patrick.lockley at googlemail.com  Wed Dec  5 12:14:01 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Wed, 5 Dec 2012 12:14:01 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: <004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>
References: 
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
	
	<002001cdd2dc$bb8becc0$32a3c640$@co.uk>
	
	<003801cdd2de$feaff710$fc0fe530$@co.uk>
	
	<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>
Message-ID: 

Yeah, my bad - not sure why that would happen. Nothing I've changed
javascript side.

I wouldn't commit those changes as they just don't make sense to me. I
don't get why moodle inclusion would cause those problems and I am not sure
what they do outside of moodle.


On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell wrote:

> I thought that window_reference is undefined is a js error?****
>
> ** **
>
> BTW****
>
> Are you going to commit those changed php files or do you want me to on
> your behalf?****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 12:02
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
> ** **
>
> Not sure then, I assumed it was that (as this was more of a patch than a
> fix)
>
> Do you get a JS error?****
>
> ** **
>
> On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell 
> wrote:****
>
> Just print_r($_SESSION) or could there be a similar print_r(something)
> causing the same problem?****
>
> Have searched for print_r($_SESSION) in the install I'm using for testing
> and not found.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 11:42****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> I think it's because of the print_r($_SESSION) somewhere - remove that and
> it'll be fine****
>
>  ****
>
> On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> thanks for the update.****
>
> I've been testing on both the techdis server and locally via xampp.
> Obviously I won't have tested every single permutation yet but from tests
> so far all seems fine apart from this issue of not being able to create a
> new project after creating one already until refresh. However this happens
> without a moodle integration path added too.****
>
>  ****
>
> Here's the steps to reproduce with current svn code plus your changed
> files.****
>
> Click create to create a new project based on Xerte Online Toolkits
> template****
>
> Close the editor and try to create another project - nothing happens upon
> clicking create****
>
> Refresh the browser and click create works but the cycle repeats e.g.
> can't create a second project****
>
>  ****
>
> Using debugger in IE9 I get the following error when closing the editor
> window:****
>
>  ****
>
> SCRIPT5009: 'window_reference' is undefined ****
>
> edit.php?template_id=17, line 32 character 1****
>
>  ****
>
> Not really sure where to look for the cause/solution to this one but is
> there perhaps an include/require missing somewhere?****
>
>  ****
>
> 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:* 05 December 2012 09:38****
>
>
> *To:* For Xerte technical developers****
>
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> the problem in new template was that for some reason moodle is leaving or
> creating another database link so when toolkits sends the request to the
> database it fails as the code is now pointing at the wrong database.
>
> Added in another database_connect call to fix this
>
> the problem in new folder creation was two require_once("config.php")
> being used. Removed one and it works.
>
> Why these would only affect moodle 1.9? No idea.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> thanks - from tests so far those files have certainly improved things!****
>
>  ****
>
> What did you find/change? What was the main cause of the problem?****
>
>  ****
>
> I've tested creating new projects and folders, moving and deleting
> projects all of which were a problem previously so looking hopeful.****
>
>  ****
>
> One problem/difference at the moment which I don't think was there before
> is that with a moodle 1.9 integration path I can now create a new project
> without the workspace refreshing and it appears etc but if I then try to
> create a second project clicking create to create another Xerte Online
> Toolkit project doesn't do anything. I have to refresh the browser before I
> can create another project. Clicking to create an RSS project does work
> without refresh and with moodle 2 configured I can create a second and
> third template etc without problem.****
>
>  ****
>
> I've only tested this locally so far will test on the techdis server
> next...****
>
>  ****
>
> 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:* 05 December 2012 00:29
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] moodle fix****
>
>  ****
>
> try swapping these files ****
>
>  ****
>
>
> _______________________________________________
> 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: 

From ronm at mitchellmedia.co.uk  Wed Dec  5 12:27:15 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Wed, 5 Dec 2012 12:27:15 -0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: 
References: 	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>		<002001cdd2dc$bb8becc0$32a3c640$@co.uk>		<003801cdd2de$feaff710$fc0fe530$@co.uk>		<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>
	
Message-ID: <005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>

I've been testing without a moodle integration path as well as with.

 

This particular window_reference error happens with and without a moodle
integration path. 

I'm testing via xampp but you can see it on the techdis install although
that obviously is using moodle authentication.

 

I haven't found any other errors when testing without integration path so
I'm not sure your changed files have introduced any problems unless this js
error is a result of those changes.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:14
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

Yeah, my bad - not sure why that would happen. Nothing I've changed
javascript side.

I wouldn't commit those changes as they just don't make sense to me. I don't
get why moodle inclusion would cause those problems and I am not sure what
they do outside of moodle.

 

On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell 
wrote:

I thought that window_reference is undefined is a js error?

 

BTW

Are you going to commit those changed php files or do you want me to on your
behalf?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:02


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

Not sure then, I assumed it was that (as this was more of a patch than a
fix)

Do you get a JS error?

 

On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell 
wrote:

Just print_r($_SESSION) or could there be a similar print_r(something)
causing the same problem?

Have searched for print_r($_SESSION) in the install I'm using for testing
and not found.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 11:42


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

I think it's because of the print_r($_SESSION) somewhere - remove that and
it'll be fine

 

On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
wrote:

Hi Pat

thanks for the update.

I've been testing on both the techdis server and locally via xampp.
Obviously I won't have tested every single permutation yet but from tests so
far all seems fine apart from this issue of not being able to create a new
project after creating one already until refresh. However this happens
without a moodle integration path added too.

 

Here's the steps to reproduce with current svn code plus your changed files.

Click create to create a new project based on Xerte Online Toolkits template

Close the editor and try to create another project - nothing happens upon
clicking create

Refresh the browser and click create works but the cycle repeats e.g. can't
create a second project

 

Using debugger in IE9 I get the following error when closing the editor
window:

 

SCRIPT5009: 'window_reference' is undefined 

edit.php?template_id=17, line 32 character 1

 

Not really sure where to look for the cause/solution to this one but is
there perhaps an include/require missing somewhere?

 

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: 05 December 2012 09:38


To: For Xerte technical developers

Subject: [Xerte-dev] Re: moodle fix

 

the problem in new template was that for some reason moodle is leaving or
creating another database link so when toolkits sends the request to the
database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being
used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.

 

On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
wrote:

Hi Pat

thanks - from tests so far those files have certainly improved things!

 

What did you find/change? What was the main cause of the problem?

 

I've tested creating new projects and folders, moving and deleting projects
all of which were a problem previously so looking hopeful.

 

One problem/difference at the moment which I don't think was there before is
that with a moodle 1.9 integration path I can now create a new project
without the workspace refreshing and it appears etc but if I then try to
create a second project clicking create to create another Xerte Online
Toolkit project doesn't do anything. I have to refresh the browser before I
can create another project. Clicking to create an RSS project does work
without refresh and with moodle 2 configured I can create a second and third
template etc without problem.

 

I've only tested this locally so far will test on the techdis server next...

 

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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix

 

try swapping these files 

 


_______________________________________________
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: 

From patrick.lockley at googlemail.com  Wed Dec  5 12:32:09 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Wed, 5 Dec 2012 12:32:09 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: <005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>
References: 
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
	
	<002001cdd2dc$bb8becc0$32a3c640$@co.uk>
	
	<003801cdd2de$feaff710$fc0fe530$@co.uk>
	
	<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>
	
	<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>
Message-ID: 

it's not really about introducing errors or changes, but why moodle 1.9
requires the code to be different? That seems a bit worrying.


On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell wrote:

> I've been testing without a moodle integration path as well as with.****
>
> ** **
>
> This particular window_reference error happens with and without a moodle
> integration path. ****
>
> I'm testing via xampp but you can see it on the techdis install although
> that obviously is using moodle authentication.****
>
> ** **
>
> I haven't found any other errors when testing without integration path so
> I'm not sure your changed files have introduced any problems unless this js
> error is a result of those changes.****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 12:14
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
> ** **
>
> Yeah, my bad - not sure why that would happen. Nothing I've changed
> javascript side.
>
> I wouldn't commit those changes as they just don't make sense to me. I
> don't get why moodle inclusion would cause those problems and I am not sure
> what they do outside of moodle.****
>
> ** **
>
> On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell 
> wrote:****
>
> I thought that window_reference is undefined is a js error?****
>
>  ****
>
> BTW****
>
> Are you going to commit those changed php files or do you want me to on
> your behalf?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 12:02****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> Not sure then, I assumed it was that (as this was more of a patch than a
> fix)
>
> Do you get a JS error?****
>
>  ****
>
> On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell 
> wrote:****
>
> Just print_r($_SESSION) or could there be a similar print_r(something)
> causing the same problem?****
>
> Have searched for print_r($_SESSION) in the install I'm using for testing
> and not found.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 11:42****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> I think it's because of the print_r($_SESSION) somewhere - remove that and
> it'll be fine****
>
>  ****
>
> On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> thanks for the update.****
>
> I've been testing on both the techdis server and locally via xampp.
> Obviously I won't have tested every single permutation yet but from tests
> so far all seems fine apart from this issue of not being able to create a
> new project after creating one already until refresh. However this happens
> without a moodle integration path added too.****
>
>  ****
>
> Here's the steps to reproduce with current svn code plus your changed
> files.****
>
> Click create to create a new project based on Xerte Online Toolkits
> template****
>
> Close the editor and try to create another project - nothing happens upon
> clicking create****
>
> Refresh the browser and click create works but the cycle repeats e.g.
> can't create a second project****
>
>  ****
>
> Using debugger in IE9 I get the following error when closing the editor
> window:****
>
>  ****
>
> SCRIPT5009: 'window_reference' is undefined ****
>
> edit.php?template_id=17, line 32 character 1****
>
>  ****
>
> Not really sure where to look for the cause/solution to this one but is
> there perhaps an include/require missing somewhere?****
>
>  ****
>
> 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:* 05 December 2012 09:38****
>
>
> *To:* For Xerte technical developers****
>
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> the problem in new template was that for some reason moodle is leaving or
> creating another database link so when toolkits sends the request to the
> database it fails as the code is now pointing at the wrong database.
>
> Added in another database_connect call to fix this
>
> the problem in new folder creation was two require_once("config.php")
> being used. Removed one and it works.
>
> Why these would only affect moodle 1.9? No idea.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> thanks - from tests so far those files have certainly improved things!****
>
>  ****
>
> What did you find/change? What was the main cause of the problem?****
>
>  ****
>
> I've tested creating new projects and folders, moving and deleting
> projects all of which were a problem previously so looking hopeful.****
>
>  ****
>
> One problem/difference at the moment which I don't think was there before
> is that with a moodle 1.9 integration path I can now create a new project
> without the workspace refreshing and it appears etc but if I then try to
> create a second project clicking create to create another Xerte Online
> Toolkit project doesn't do anything. I have to refresh the browser before I
> can create another project. Clicking to create an RSS project does work
> without refresh and with moodle 2 configured I can create a second and
> third template etc without problem.****
>
>  ****
>
> I've only tested this locally so far will test on the techdis server
> next...****
>
>  ****
>
> 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:* 05 December 2012 00:29
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] moodle fix****
>
>  ****
>
> try swapping these files ****
>
>  ****
>
>
> _______________________________________________
> 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: 

From d_b_burnett at hotmail.com  Wed Dec  5 12:47:10 2012
From: d_b_burnett at hotmail.com (Dave Burnett)
Date: Wed, 5 Dec 2012 07:47:10 -0500
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: 
References: ,
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>,
	,
	<002001cdd2dc$bb8becc0$32a3c640$@co.uk>,
	,
	<003801cdd2de$feaff710$fc0fe530$@co.uk>,
	,
	<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>,
	,
	<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>,
	
Message-ID: 


The pathing on Moodle 2.0 is a wild and crazy thing.Maybe 1.9 was a bit of a test bed for some of what became 2.0?Wild guessing. 

Date: Wed, 5 Dec 2012 12:32:09 +0000
From: patrick.lockley at googlemail.com
To: xerte-dev at lists.nottingham.ac.uk
Subject: [Xerte-dev] Re: moodle fix

it's not really about introducing errors or changes, but why moodle 1.9 requires the code to be different? That seems a bit worrying.


On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell  wrote:

I've been testing without a moodle integration path as well as with.
 This particular window_reference error happens with and without a moodle integration path. 
I'm testing via xampp but you can see it on the techdis install although that obviously is using moodle authentication.
 I haven't found any other errors when testing without integration path so I'm not sure your changed files have introduced any problems unless this js error is a result of those changes.
 
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley

Sent: 05 December 2012 12:14
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix
 Yeah, my bad - not sure why that would happen. Nothing I've changed javascript side.

I wouldn't commit those changes as they just don't make sense to me. I don't get why moodle inclusion would cause those problems and I am not sure what they do outside of moodle.
 On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell  wrote:
I thought that window_reference is undefined is a js error?
 BTW
Are you going to commit those changed php files or do you want me to on your behalf?
 
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley

Sent: 05 December 2012 12:02
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix
 Not sure then, I assumed it was that (as this was more of a patch than a fix)

Do you get a JS error?
 On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell  wrote:
Just print_r($_SESSION) or could there be a similar print_r(something) causing the same problem?
Have searched for print_r($_SESSION) in the install I'm using for testing and not found.
 
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley

Sent: 05 December 2012 11:42
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix
 I think it's because of the print_r($_SESSION) somewhere - remove that and it'll be fine
 On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell  wrote:
Hi Patthanks for the update.
I've been testing on both the techdis server and locally via xampp. Obviously I won't have tested every single permutation yet but from tests so far all seems fine apart from this issue of not being able to create a new project after creating one already until refresh. However this happens without a moodle integration path added too.
 Here's the steps to reproduce with current svn code plus your changed files.
Click create to create a new project based on Xerte Online Toolkits template
Close the editor and try to create another project - nothing happens upon clicking create
Refresh the browser and click create works but the cycle repeats e.g. can't create a second project
 Using debugger in IE9 I get the following error when closing the editor window:
 SCRIPT5009: 'window_reference' is undefined 
edit.php?template_id=17, line 32 character 1 
Not really sure where to look for the cause/solution to this one but is there perhaps an include/require missing somewhere?
 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: 05 December 2012 09:38
To: For Xerte technical developersSubject: [Xerte-dev] Re: moodle fix
 the problem in new template was that for some reason moodle is leaving or creating another database link so when toolkits sends the request to the database it fails as the code is now pointing at the wrong database.


Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.
 On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell  wrote:
Hi Patthanks - from tests so far those files have certainly improved things!
 What did you find/change? What was the main cause of the problem?
 I've tested creating new projects and folders, moving and deleting projects all of which were a problem previously so looking hopeful.
 One problem/difference at the moment which I don't think was there before is that with a moodle 1.9 integration path I can now create a new project without the workspace refreshing and it appears etc but if I then try to create a second project clicking create to create another Xerte Online Toolkit project doesn't do anything. I have to refresh the browser before I can create another project. Clicking to create an RSS project does work without refresh and with moodle 2 configured I can create a second and third template etc without problem.
 I've only tested this locally so far will test on the techdis server next...
 CheersRon
 
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley

Sent: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix try swapping these files 
 
_______________________________________________
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





_______________________________________________
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: 

From patrick.lockley at googlemail.com  Wed Dec  5 13:04:50 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Wed, 5 Dec 2012 13:04:50 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: 
References: 
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
	
	<002001cdd2dc$bb8becc0$32a3c640$@co.uk>
	
	<003801cdd2de$feaff710$fc0fe530$@co.uk>
	
	<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>
	
	<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>
	
	
Message-ID: 

but the PHP works outside of moodle 1.9 fine

the problem is once with a database and once with a path

Also - we are setting a precedent. We have a working code base, but when
added into another product, it stops.


On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett wrote:

>  The pathing on Moodle 2.0 is a wild and crazy thing.
> Maybe 1.9 was a bit of a test bed for some of what became 2.0?
> Wild guessing.
>
>
> ------------------------------
> Date: Wed, 5 Dec 2012 12:32:09 +0000
> From: patrick.lockley at googlemail.com
> To: xerte-dev at lists.nottingham.ac.uk
>
> Subject: [Xerte-dev] Re: moodle fix
>
> it's not really about introducing errors or changes, but why moodle 1.9
> requires the code to be different? That seems a bit worrying.
>
>
> On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell wrote:
>
> I've been testing without a moodle integration path as well as with.****
>
> ** **
>
> This particular window_reference error happens with and without a moodle
> integration path. ****
>
> I'm testing via xampp but you can see it on the techdis install although
> that obviously is using moodle authentication.****
>
> ** **
>
> I haven't found any other errors when testing without integration path so
> I'm not sure your changed files have introduced any problems unless this js
> error is a result of those changes.****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 12:14
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
> ** **
>
> Yeah, my bad - not sure why that would happen. Nothing I've changed
> javascript side.
>
> I wouldn't commit those changes as they just don't make sense to me. I
> don't get why moodle inclusion would cause those problems and I am not sure
> what they do outside of moodle.****
>
> ** **
>
> On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell 
> wrote:****
>
> I thought that window_reference is undefined is a js error?****
>
>  ****
>
> BTW****
>
> Are you going to commit those changed php files or do you want me to on
> your behalf?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 12:02****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> Not sure then, I assumed it was that (as this was more of a patch than a
> fix)
>
> Do you get a JS error?****
>
>  ****
>
> On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell 
> wrote:****
>
> Just print_r($_SESSION) or could there be a similar print_r(something)
> causing the same problem?****
>
> Have searched for print_r($_SESSION) in the install I'm using for testing
> and not found.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 11:42****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> I think it's because of the print_r($_SESSION) somewhere - remove that and
> it'll be fine****
>
>  ****
>
> On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> thanks for the update.****
>
> I've been testing on both the techdis server and locally via xampp.
> Obviously I won't have tested every single permutation yet but from tests
> so far all seems fine apart from this issue of not being able to create a
> new project after creating one already until refresh. However this happens
> without a moodle integration path added too.****
>
>  ****
>
> Here's the steps to reproduce with current svn code plus your changed
> files.****
>
> Click create to create a new project based on Xerte Online Toolkits
> template****
>
> Close the editor and try to create another project - nothing happens upon
> clicking create****
>
> Refresh the browser and click create works but the cycle repeats e.g.
> can't create a second project****
>
>  ****
>
> Using debugger in IE9 I get the following error when closing the editor
> window:****
>
>  ****
>
> SCRIPT5009: 'window_reference' is undefined ****
>
> edit.php?template_id=17, line 32 character 1****
>
>  ****
>
> Not really sure where to look for the cause/solution to this one but is
> there perhaps an include/require missing somewhere?****
>
>  ****
>
> 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:* 05 December 2012 09:38****
>
>
> *To:* For Xerte technical developers****
>
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> the problem in new template was that for some reason moodle is leaving or
> creating another database link so when toolkits sends the request to the
> database it fails as the code is now pointing at the wrong database.
>
> Added in another database_connect call to fix this
>
> the problem in new folder creation was two require_once("config.php")
> being used. Removed one and it works.
>
> Why these would only affect moodle 1.9? No idea.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> thanks - from tests so far those files have certainly improved things!****
>
>  ****
>
> What did you find/change? What was the main cause of the problem?****
>
>  ****
>
> I've tested creating new projects and folders, moving and deleting
> projects all of which were a problem previously so looking hopeful.****
>
>  ****
>
> One problem/difference at the moment which I don't think was there before
> is that with a moodle 1.9 integration path I can now create a new project
> without the workspace refreshing and it appears etc but if I then try to
> create a second project clicking create to create another Xerte Online
> Toolkit project doesn't do anything. I have to refresh the browser before I
> can create another project. Clicking to create an RSS project does work
> without refresh and with moodle 2 configured I can create a second and
> third template etc without problem.****
>
>  ****
>
> I've only tested this locally so far will test on the techdis server
> next...****
>
>  ****
>
> 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:* 05 December 2012 00:29
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] moodle fix****
>
>  ****
>
> try swapping these files ****
>
>  ****
>
>
> _______________________________________________
> 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
>
>
>
> _______________________________________________ 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: 

From d_b_burnett at hotmail.com  Wed Dec  5 13:08:27 2012
From: d_b_burnett at hotmail.com (Dave Burnett)
Date: Wed, 5 Dec 2012 08:08:27 -0500
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: 
References: ,
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>,
	,
	<002001cdd2dc$bb8becc0$32a3c640$@co.uk>,
	,
	<003801cdd2de$feaff710$fc0fe530$@co.uk>,
	,
	<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>,
	,
	<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>,
	,
	,
	
Message-ID: 


Like anything from the App Store.

Date: Wed, 5 Dec 2012 13:04:50 +0000
From: patrick.lockley at googlemail.com
To: xerte-dev at lists.nottingham.ac.uk
Subject: [Xerte-dev] Re: moodle fix

but the PHP works outside of moodle 1.9 fine

the problem is once with a database and once with a path

Also - we are setting a precedent. We have a working code base, but when added into another product, it stops.



On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett  wrote:





The pathing on Moodle 2.0 is a wild and crazy thing.Maybe 1.9 was a bit of a test bed for some of what became 2.0?Wild guessing. 

Date: Wed, 5 Dec 2012 12:32:09 +0000

From: patrick.lockley at googlemail.com
To: xerte-dev at lists.nottingham.ac.uk

Subject: [Xerte-dev] Re: moodle fix

it's not really about introducing errors or changes, but why moodle 1.9 requires the code to be different? That seems a bit worrying.


On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell  wrote:


I've been testing without a moodle integration path as well as with.

 This particular window_reference error happens with and without a moodle integration path. 

I'm testing via xampp but you can see it on the techdis install although that obviously is using moodle authentication.

 I haven't found any other errors when testing without integration path so I'm not sure your changed files have introduced any problems unless this js error is a result of those changes.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley


Sent: 05 December 2012 12:14
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 Yeah, my bad - not sure why that would happen. Nothing I've changed javascript side.

I wouldn't commit those changes as they just don't make sense to me. I don't get why moodle inclusion would cause those problems and I am not sure what they do outside of moodle.

 On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell  wrote:

I thought that window_reference is undefined is a js error?
 BTW

Are you going to commit those changed php files or do you want me to on your behalf?
 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley


Sent: 05 December 2012 12:02
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix
 Not sure then, I assumed it was that (as this was more of a patch than a fix)

Do you get a JS error?
 On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell  wrote:
Just print_r($_SESSION) or could there be a similar print_r(something) causing the same problem?

Have searched for print_r($_SESSION) in the install I'm using for testing and not found.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley


Sent: 05 December 2012 11:42
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix
 I think it's because of the print_r($_SESSION) somewhere - remove that and it'll be fine
 On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell  wrote:
Hi Patthanks for the update.

I've been testing on both the techdis server and locally via xampp. Obviously I won't have tested every single permutation yet but from tests so far all seems fine apart from this issue of not being able to create a new project after creating one already until refresh. However this happens without a moodle integration path added too.

 Here's the steps to reproduce with current svn code plus your changed files.

Click create to create a new project based on Xerte Online Toolkits template
Close the editor and try to create another project - nothing happens upon clicking create
Refresh the browser and click create works but the cycle repeats e.g. can't create a second project

 Using debugger in IE9 I get the following error when closing the editor window:

 SCRIPT5009: 'window_reference' is undefined 

edit.php?template_id=17, line 32 character 1 

Not really sure where to look for the cause/solution to this one but is there perhaps an include/require missing somewhere?

 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: 05 December 2012 09:38
To: For Xerte technical developersSubject: [Xerte-dev] Re: moodle fix
 the problem in new template was that for some reason moodle is leaving or creating another database link so when toolkits sends the request to the database it fails as the code is now pointing at the wrong database.



Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.

 On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell  wrote:

Hi Patthanks - from tests so far those files have certainly improved things!
 What did you find/change? What was the main cause of the problem?
 I've tested creating new projects and folders, moving and deleting projects all of which were a problem previously so looking hopeful.

 One problem/difference at the moment which I don't think was there before is that with a moodle 1.9 integration path I can now create a new project without the workspace refreshing and it appears etc but if I then try to create a second project clicking create to create another Xerte Online Toolkit project doesn't do anything. I have to refresh the browser before I can create another project. Clicking to create an RSS project does work without refresh and with moodle 2 configured I can create a second and third template etc without problem.

 I've only tested this locally so far will test on the techdis server next...
 CheersRon
 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley


Sent: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix try swapping these files 

 
_______________________________________________
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





_______________________________________________
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: 

From patrick.lockley at googlemail.com  Wed Dec  5 13:15:09 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Wed, 5 Dec 2012 13:15:09 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: 
References: 
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
	
	<002001cdd2dc$bb8becc0$32a3c640$@co.uk>
	
	<003801cdd2de$feaff710$fc0fe530$@co.uk>
	
	<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>
	
	<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>
	
	
	
	
Message-ID: 

this is the thing really. If your module stops working because XOT changes,
then you change your module.


On Wed, Dec 5, 2012 at 1:08 PM, Dave Burnett wrote:

>  Like anything from the App Store.
>
>
> Date: Wed, 5 Dec 2012 13:04:50 +0000
>
> From: patrick.lockley at googlemail.com
> To: xerte-dev at lists.nottingham.ac.uk
> Subject: [Xerte-dev] Re: moodle fix
>
> but the PHP works outside of moodle 1.9 fine
>
> the problem is once with a database and once with a path
>
> Also - we are setting a precedent. We have a working code base, but when
> added into another product, it stops.
>
>
> On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett wrote:
>
>  The pathing on Moodle 2.0 is a wild and crazy thing.
> Maybe 1.9 was a bit of a test bed for some of what became 2.0?
> Wild guessing.
>
>
> ------------------------------
> Date: Wed, 5 Dec 2012 12:32:09 +0000
> From: patrick.lockley at googlemail.com
> To: xerte-dev at lists.nottingham.ac.uk
>
> Subject: [Xerte-dev] Re: moodle fix
>
> it's not really about introducing errors or changes, but why moodle 1.9
> requires the code to be different? That seems a bit worrying.
>
>
> On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell wrote:
>
> I've been testing without a moodle integration path as well as with.****
> ** **
> This particular window_reference error happens with and without a moodle
> integration path. ****
> I'm testing via xampp but you can see it on the techdis install although
> that obviously is using moodle authentication.****
> ** **
> I haven't found any other errors when testing without integration path so
> I'm not sure your changed files have introduced any problems unless this js
> error is a result of those changes.****
> ** **
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 12:14
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
> ** **
> Yeah, my bad - not sure why that would happen. Nothing I've changed
> javascript side.
>
> I wouldn't commit those changes as they just don't make sense to me. I
> don't get why moodle inclusion would cause those problems and I am not sure
> what they do outside of moodle.****
>
> ** **
> On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell 
> wrote:****
> I thought that window_reference is undefined is a js error?****
>  ****
> BTW****
> Are you going to commit those changed php files or do you want me to on
> your behalf?****
>  ****
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 12:02****
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>  ****
> Not sure then, I assumed it was that (as this was more of a patch than a
> fix)
>
> Do you get a JS error?****
>
>  ****
> On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell 
> wrote:****
> Just print_r($_SESSION) or could there be a similar print_r(something)
> causing the same problem?****
> Have searched for print_r($_SESSION) in the install I'm using for testing
> and not found.****
>  ****
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 11:42****
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>  ****
> I think it's because of the print_r($_SESSION) somewhere - remove that and
> it'll be fine****
>
>  ****
> On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
> wrote:****
> Hi Pat****
> thanks for the update.****
> I've been testing on both the techdis server and locally via xampp.
> Obviously I won't have tested every single permutation yet but from tests
> so far all seems fine apart from this issue of not being able to create a
> new project after creating one already until refresh. However this happens
> without a moodle integration path added too.****
>  ****
> Here's the steps to reproduce with current svn code plus your changed
> files.****
> Click create to create a new project based on Xerte Online Toolkits
> template****
> Close the editor and try to create another project - nothing happens upon
> clicking create****
> Refresh the browser and click create works but the cycle repeats e.g.
> can't create a second project****
>  ****
> Using debugger in IE9 I get the following error when closing the editor
> window:****
>  ****
> SCRIPT5009: 'window_reference' is undefined ****
> edit.php?template_id=17, line 32 character 1****
>  ****
> Not really sure where to look for the cause/solution to this one but is
> there perhaps an include/require missing somewhere?****
>  ****
> 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:* 05 December 2012 09:38****
>
> *To:* For Xerte technical developers****
> *Subject:* [Xerte-dev] Re: moodle fix****
>  ****
> the problem in new template was that for some reason moodle is leaving or
> creating another database link so when toolkits sends the request to the
> database it fails as the code is now pointing at the wrong database.
>
> Added in another database_connect call to fix this
>
> the problem in new folder creation was two require_once("config.php")
> being used. Removed one and it works.
>
> Why these would only affect moodle 1.9? No idea.****
>
>  ****
> On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
> wrote:****
> Hi Pat****
> thanks - from tests so far those files have certainly improved things!****
>  ****
> What did you find/change? What was the main cause of the problem?****
>  ****
> I've tested creating new projects and folders, moving and deleting
> projects all of which were a problem previously so looking hopeful.****
>  ****
> One problem/difference at the moment which I don't think was there before
> is that with a moodle 1.9 integration path I can now create a new project
> without the workspace refreshing and it appears etc but if I then try to
> create a second project clicking create to create another Xerte Online
> Toolkit project doesn't do anything. I have to refresh the browser before I
> can create another project. Clicking to create an RSS project does work
> without refresh and with moodle 2 configured I can create a second and
> third template etc without problem.****
>  ****
> I've only tested this locally so far will test on the techdis server
> next...****
>  ****
> 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:* 05 December 2012 00:29
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] moodle fix****
>  ****
> try swapping these files ****
>
>  ****
>
>
> _______________________________________________
> 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
>
>
>
> _______________________________________________ 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: 

From ronm at mitchellmedia.co.uk  Wed Dec  5 14:03:57 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Wed, 5 Dec 2012 14:03:57 -0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: 
References: 	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>		<002001cdd2dc$bb8becc0$32a3c640$@co.uk>		<003801cdd2de$feaff710$fc0fe530$@co.uk>		<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>		<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>		
	
Message-ID: <009501cdd2f1$5f37dbe0$1da793a0$@co.uk>

hang on a sec - let's discuss this objectively and practically...

 

We have a very small developer list membership and even fewer of that
membership testing/developing the latest code on anything but xampp

 

Realistically for organisations to use XOT in earnest they need a public
facing server install with either ldap or moodle authentication. e.g. guest,
static or db aren't current/realistic options.

 

I'd wager, but prepared to be proved wrong and perhaps we should do a
survey, that there are far more xot installations in use that are using
moodle for authentication than ldap. I certainly know for a fact that there
are organisations using xot that wouldn't be and wouldn't be able to if they
weren't able to use moodle for authentication. I know there's no internal
requirement at Nottingham for Moodle integration but we've had it working
for years now and it's not a change to moodle code that has stopped it
working. It's not even a change to the xot moodle integration code that has
stopped it working. Pat has worked magic in finding a solution to the two
main issues I've reported but I'm not sure we've really nailed exactly what
changed to break things in the first place or if it was one thing or
different things. (see below)

 

These problems with moodle integration didn't exist until last week -
something has caused a conflict. There's no problem with the previous moodle
integration in 1.7/1.8 regardless of moodle version.

 

There have been different errors and different issues reported during this
last week not all of which are down to the same cause/solution. I can only
reliably report on the issues I've found/tested and it's not always easy or
efficient to test one thing at a time especially when there are so many
permutations too. e.g. The blank window and language change issue that Tom
reported I haven't seen and a fix for Tom re the language setting didn't
change/fix anything for me. Different problem and  different solution I
think.

 

Comparing the changes Pat sent through from the current svn code I've
replaced files individually to test what fixes what:

 

1. The change to new_template.php fixes the main issue I was seeing e.g. not
being able to create new projects with a moodle 1.9 integration path
enabled. I can't see how that change would break non moodle use?

 

2. The change to your_templates.php fixes the other main issue of the
workspace not refreshing after creating a project. This was just removal of
a duplicate require line. Not sure if that was always there, or introduced
recently, or only a problem with moodle integration in place, but again I
really can't see how this would break non moodle use?

 

The above two changes fix the main issues I was getting when using an
install with a moodle 1.9 integration path. The other changes to
folder_library.php, user_library.php and make_new_folder.php don't seem to
be needed to fix those main issues as far as I can tell. Not sure if they
fixes other issues that I haven't seen.

 

Remaining issue

I am still getting the issue that after creating a new project clicking
create doesn't work again until after a refresh but that's happening without
a moodle integration path and as far as I can tell is happening with the
latest svn code so may be a new problem.

 

HTH

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: 05 December 2012 13:05
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

but the PHP works outside of moodle 1.9 fine

the problem is once with a database and once with a path

Also - we are setting a precedent. We have a working code base, but when
added into another product, it stops.

 

On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett 
wrote:

The pathing on Moodle 2.0 is a wild and crazy thing.

Maybe 1.9 was a bit of a test bed for some of what became 2.0?

Wild guessing.

 

  _____  

Date: Wed, 5 Dec 2012 12:32:09 +0000
From: patrick.lockley at googlemail.com
To: xerte-dev at lists.nottingham.ac.uk


Subject: [Xerte-dev] Re: moodle fix

it's not really about introducing errors or changes, but why moodle 1.9
requires the code to be different? That seems a bit worrying.

 

On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell 
wrote:

I've been testing without a moodle integration path as well as with.

 

This particular window_reference error happens with and without a moodle
integration path. 

I'm testing via xampp but you can see it on the techdis install although
that obviously is using moodle authentication.

 

I haven't found any other errors when testing without integration path so
I'm not sure your changed files have introduced any problems unless this js
error is a result of those changes.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:14


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

 

Yeah, my bad - not sure why that would happen. Nothing I've changed
javascript side.

I wouldn't commit those changes as they just don't make sense to me. I don't
get why moodle inclusion would cause those problems and I am not sure what
they do outside of moodle.

 

On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell 
wrote:

I thought that window_reference is undefined is a js error?

 

BTW

Are you going to commit those changed php files or do you want me to on your
behalf?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:02


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

Not sure then, I assumed it was that (as this was more of a patch than a
fix)

Do you get a JS error?

 

On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell 
wrote:

Just print_r($_SESSION) or could there be a similar print_r(something)
causing the same problem?

Have searched for print_r($_SESSION) in the install I'm using for testing
and not found.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 11:42


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

I think it's because of the print_r($_SESSION) somewhere - remove that and
it'll be fine

 

On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
wrote:

Hi Pat

thanks for the update.

I've been testing on both the techdis server and locally via xampp.
Obviously I won't have tested every single permutation yet but from tests so
far all seems fine apart from this issue of not being able to create a new
project after creating one already until refresh. However this happens
without a moodle integration path added too.

 

Here's the steps to reproduce with current svn code plus your changed files.

Click create to create a new project based on Xerte Online Toolkits template

Close the editor and try to create another project - nothing happens upon
clicking create

Refresh the browser and click create works but the cycle repeats e.g. can't
create a second project

 

Using debugger in IE9 I get the following error when closing the editor
window:

 

SCRIPT5009: 'window_reference' is undefined 

edit.php?template_id=17, line 32 character 1

 

Not really sure where to look for the cause/solution to this one but is
there perhaps an include/require missing somewhere?

 

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: 05 December 2012 09:38


To: For Xerte technical developers

Subject: [Xerte-dev] Re: moodle fix

 

the problem in new template was that for some reason moodle is leaving or
creating another database link so when toolkits sends the request to the
database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being
used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.

 

On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
wrote:

Hi Pat

thanks - from tests so far those files have certainly improved things!

 

What did you find/change? What was the main cause of the problem?

 

I've tested creating new projects and folders, moving and deleting projects
all of which were a problem previously so looking hopeful.

 

One problem/difference at the moment which I don't think was there before is
that with a moodle 1.9 integration path I can now create a new project
without the workspace refreshing and it appears etc but if I then try to
create a second project clicking create to create another Xerte Online
Toolkit project doesn't do anything. I have to refresh the browser before I
can create another project. Clicking to create an RSS project does work
without refresh and with moodle 2 configured I can create a second and third
template etc without problem.

 

I've only tested this locally so far will test on the techdis server next...

 

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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix

 

try swapping these files 

 


_______________________________________________
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

 


_______________________________________________ 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: 

From patrick.lockley at googlemail.com  Wed Dec  5 14:26:13 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Wed, 5 Dec 2012 14:26:13 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: <009501cdd2f1$5f37dbe0$1da793a0$@co.uk>
References: 
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
	
	<002001cdd2dc$bb8becc0$32a3c640$@co.uk>
	
	<003801cdd2de$feaff710$fc0fe530$@co.uk>
	
	<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>
	
	<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>
	
	
	
	<009501cdd2f1$5f37dbe0$1da793a0$@co.uk>
Message-ID: 

it's all of those things though.

We don't know who uses XOT and with what, so we can't guess on who uses
stuff. I could make an argument the WordPress plugin would be a world
simpler if Xerte did X and Y, but I wanted to make it work, so I found a
way round it.

If we aren't going to release changes because it breaks X, then what is X.
because we upgraded to PHP 5 and told people to change host if they had a
problem with that

So at present, if we make changes to XOT, we are only going to release them
in they work with Moodle? Which Moodles? For how long?

I don't see why those changes are required for moodle to work, I didn't
remove any of those lines of code, or add them in. I didn't change anything
in modularisation to do with folders (as it doesn't need it). All I changed
in new template was returning one extra parameter in the query - but the
code has broken a long time before that change comes into play.


On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell wrote:

> hang on a sec - let's discuss this objectively and practically...****
>
> ** **
>
> We have a very small developer list membership and even fewer of that
> membership testing/developing the latest code on anything but xampp****
>
> ** **
>
> Realistically for organisations to use XOT in earnest they need a public
> facing server install with either ldap or moodle authentication. e.g.
> guest, static or db aren't current/realistic options.****
>
> ** **
>
> I'd wager, but prepared to be proved wrong and perhaps we should do a
> survey, that there are far more xot installations in use that are using
> moodle for authentication than ldap. I certainly know for a fact that there
> are organisations using xot that wouldn't be and wouldn't be able to if
> they weren't able to use moodle for authentication. I know there's no
> internal requirement at Nottingham for Moodle integration but we've had it
> working for years now and it's not a change to moodle code that has stopped
> it working. It's not even a change to the xot moodle integration code that
> has stopped it working. Pat has worked magic in finding a solution to the
> two main issues I've reported but I'm not sure we've really nailed exactly
> what changed to break things in the first place or if it was one thing or
> different things. (see below)****
>
> ** **
>
> These problems with moodle integration didn't exist until last week -
> something has caused a conflict. There's no problem with the previous
> moodle integration in 1.7/1.8 regardless of moodle version.****
>
> ** **
>
> There have been different errors and different issues reported during this
> last week not all of which are down to the same cause/solution. I can only
> reliably report on the issues I've found/tested and it's not always easy or
> efficient to test one thing at a time especially when there are so many
> permutations too. e.g. The blank window and language change issue that Tom
> reported I haven't seen and a fix for Tom re the language setting didn't
> change/fix anything for me. Different problem and  different solution I
> think.****
>
> ** **
>
> Comparing the changes Pat sent through from the current svn code I've
> replaced files individually to test what fixes what:****
>
> ** **
>
> 1. The change to new_template.php fixes the main issue I was seeing e.g.
> not being able to create new projects with a moodle 1.9 integration path
> enabled. I can't see how that change would break non moodle use?****
>
> ** **
>
> 2. The change to your_templates.php fixes the other main issue of the
> workspace not refreshing after creating a project. This was just removal of
> a duplicate require line. Not sure if that was always there, or introduced
> recently, or only a problem with moodle integration in place, but again I
> really can't see how this would break non moodle use?****
>
> ** **
>
> The above two changes fix the main issues I was getting when using an
> install with a moodle 1.9 integration path. The other changes to
> folder_library.php, user_library.php and make_new_folder.php don't seem to
> be needed to fix those main issues as far as I can tell. Not sure if they
> fixes other issues that I haven't seen.****
>
> ** **
>
> Remaining issue****
>
> I am still getting the issue that after creating a new project clicking
> create doesn't work again until after a refresh but that's happening
> without a moodle integration path and as far as I can tell is happening
> with the latest svn code so may be a new problem.****
>
> ** **
>
> HTH****
>
> 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:* 05 December 2012 13:05
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
> ** **
>
> but the PHP works outside of moodle 1.9 fine
>
> the problem is once with a database and once with a path
>
> Also - we are setting a precedent. We have a working code base, but when
> added into another product, it stops.****
>
> ** **
>
> On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett 
> wrote:****
>
> The pathing on Moodle 2.0 is a wild and crazy thing.****
>
> Maybe 1.9 was a bit of a test bed for some of what became 2.0?****
>
> Wild guessing.****
>
>  ****
> ------------------------------
>
> Date: Wed, 5 Dec 2012 12:32:09 +0000
> From: patrick.lockley at googlemail.com
> To: xerte-dev at lists.nottingham.ac.uk****
>
>
> Subject: [Xerte-dev] Re: moodle fix
>
> it's not really about introducing errors or changes, but why moodle 1.9
> requires the code to be different? That seems a bit worrying.****
>
> ** **
>
> On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell 
> wrote:****
>
> I've been testing without a moodle integration path as well as with.****
>
>  ****
>
> This particular window_reference error happens with and without a moodle
> integration path. ****
>
> I'm testing via xampp but you can see it on the techdis install although
> that obviously is using moodle authentication.****
>
>  ****
>
> I haven't found any other errors when testing without integration path so
> I'm not sure your changed files have introduced any problems unless this js
> error is a result of those changes.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 12:14****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
> ** **
>
>  ****
>
> Yeah, my bad - not sure why that would happen. Nothing I've changed
> javascript side.
>
> I wouldn't commit those changes as they just don't make sense to me. I
> don't get why moodle inclusion would cause those problems and I am not sure
> what they do outside of moodle.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell 
> wrote:****
>
> I thought that window_reference is undefined is a js error?****
>
>  ****
>
> BTW****
>
> Are you going to commit those changed php files or do you want me to on
> your behalf?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 12:02****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> Not sure then, I assumed it was that (as this was more of a patch than a
> fix)
>
> Do you get a JS error?****
>
>  ****
>
> On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell 
> wrote:****
>
> Just print_r($_SESSION) or could there be a similar print_r(something)
> causing the same problem?****
>
> Have searched for print_r($_SESSION) in the install I'm using for testing
> and not found.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 11:42****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> I think it's because of the print_r($_SESSION) somewhere - remove that and
> it'll be fine****
>
>  ****
>
> On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> thanks for the update.****
>
> I've been testing on both the techdis server and locally via xampp.
> Obviously I won't have tested every single permutation yet but from tests
> so far all seems fine apart from this issue of not being able to create a
> new project after creating one already until refresh. However this happens
> without a moodle integration path added too.****
>
>  ****
>
> Here's the steps to reproduce with current svn code plus your changed
> files.****
>
> Click create to create a new project based on Xerte Online Toolkits
> template****
>
> Close the editor and try to create another project - nothing happens upon
> clicking create****
>
> Refresh the browser and click create works but the cycle repeats e.g.
> can't create a second project****
>
>  ****
>
> Using debugger in IE9 I get the following error when closing the editor
> window:****
>
>  ****
>
> SCRIPT5009: 'window_reference' is undefined ****
>
> edit.php?template_id=17, line 32 character 1****
>
>  ****
>
> Not really sure where to look for the cause/solution to this one but is
> there perhaps an include/require missing somewhere?****
>
>  ****
>
> 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:* 05 December 2012 09:38****
>
>
> *To:* For Xerte technical developers****
>
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> the problem in new template was that for some reason moodle is leaving or
> creating another database link so when toolkits sends the request to the
> database it fails as the code is now pointing at the wrong database.
>
> Added in another database_connect call to fix this
>
> the problem in new folder creation was two require_once("config.php")
> being used. Removed one and it works.
>
> Why these would only affect moodle 1.9? No idea.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> thanks - from tests so far those files have certainly improved things!****
>
>  ****
>
> What did you find/change? What was the main cause of the problem?****
>
>  ****
>
> I've tested creating new projects and folders, moving and deleting
> projects all of which were a problem previously so looking hopeful.****
>
>  ****
>
> One problem/difference at the moment which I don't think was there before
> is that with a moodle 1.9 integration path I can now create a new project
> without the workspace refreshing and it appears etc but if I then try to
> create a second project clicking create to create another Xerte Online
> Toolkit project doesn't do anything. I have to refresh the browser before I
> can create another project. Clicking to create an RSS project does work
> without refresh and with moodle 2 configured I can create a second and
> third template etc without problem.****
>
>  ****
>
> I've only tested this locally so far will test on the techdis server
> next...****
>
>  ****
>
> 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:* 05 December 2012 00:29
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] moodle fix****
>
>  ****
>
> try swapping these files ****
>
>  ****
>
>
> _______________________________________________
> 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****
>
> ** **
>
>
> _______________________________________________ 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: 

From ronm at mitchellmedia.co.uk  Wed Dec  5 15:00:58 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Wed, 5 Dec 2012 15:00:58 -0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: 
References: 	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>		<002001cdd2dc$bb8becc0$32a3c640$@co.uk>		<003801cdd2de$feaff710$fc0fe530$@co.uk>		<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>		<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>				<009501cdd2f1$5f37dbe0$1da793a0$@co.uk>
	
Message-ID: <00bc01cdd2f9$56a1b3e0$03e51ba0$@co.uk>

Hi Pat

Firstly I'm not saying you broke anything I still have no idea really about
what changed to cause these problems. All I can say for sure is that we've
been using the Techdis install for months during the 1.8 development and
more recently the html 5 development and I've been updating that server
daily simply by getting and exporting the latest svn code and uploading that
to the test install. Sometimes hourly let alone daily and weekly. On that
server/install nothing else had changed. In my local xampp nothing else had
changed.

 

I haven't had time to investigate but perhaps the svn merge created that
duplicate require statement in your_templates.php and that seems to have
been the cause of the workspace refresh issue. Perhaps it's something else
like that which caused the new project issue I really can't say for sure.

 

I know what you mean about all the possible external tools and perhaps the
LTI work Simon started would be the ultimate solution to all that but the
fact remains there are a lot of organisations using XOT combined with Moodle
for authentication. That may never had evolved if XOT had its own account
management etc but again it's just a fact that you never needed that at
Nottingham and it's never really been fully implemented so it's either LDAP
or Moodle for most and lot's of organisations can't use the LDAP option for
all sorts of reasons. Tom may be able to provide some stats about that from
his work in Europe etc and I think it will definitely be worth doing a
survey at some point.

 

To my mind we want people to upgrade and provide feedback on the latest
release so ensuring this works for those with moodle authentication is a key
ingredient of that.

 

Do you agree that 1 & 2 below shouldn't break anything when moodle
integration isn't used?

1. The change to new_template.php fixes the main issue I was seeing e.g. not
being able to create new projects with a moodle 1.9 integration path
enabled. I can't see how that change would break non moodle use?

2. The change to your_templates.php fixes the other main issue of the
workspace not refreshing after creating a project. This was just removal of
a duplicate require line. Not sure if that was always there, or introduced
recently, or only a problem with moodle integration in place, but again I
really can't see how this would break non moodle use?

How do we crack the closing the editor window issue? Can anyone else
replicate that with the latest svn trunk code?

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: 05 December 2012 14:26
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

it's all of those things though.

We don't know who uses XOT and with what, so we can't guess on who uses
stuff. I could make an argument the WordPress plugin would be a world
simpler if Xerte did X and Y, but I wanted to make it work, so I found a way
round it.

If we aren't going to release changes because it breaks X, then what is X.
because we upgraded to PHP 5 and told people to change host if they had a
problem with that

So at present, if we make changes to XOT, we are only going to release them
in they work with Moodle? Which Moodles? For how long?

I don't see why those changes are required for moodle to work, I didn't
remove any of those lines of code, or add them in. I didn't change anything
in modularisation to do with folders (as it doesn't need it). All I changed
in new template was returning one extra parameter in the query - but the
code has broken a long time before that change comes into play.

 

On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell 
wrote:

hang on a sec - let's discuss this objectively and practically...

 

We have a very small developer list membership and even fewer of that
membership testing/developing the latest code on anything but xampp

 

Realistically for organisations to use XOT in earnest they need a public
facing server install with either ldap or moodle authentication. e.g. guest,
static or db aren't current/realistic options.

 

I'd wager, but prepared to be proved wrong and perhaps we should do a
survey, that there are far more xot installations in use that are using
moodle for authentication than ldap. I certainly know for a fact that there
are organisations using xot that wouldn't be and wouldn't be able to if they
weren't able to use moodle for authentication. I know there's no internal
requirement at Nottingham for Moodle integration but we've had it working
for years now and it's not a change to moodle code that has stopped it
working. It's not even a change to the xot moodle integration code that has
stopped it working. Pat has worked magic in finding a solution to the two
main issues I've reported but I'm not sure we've really nailed exactly what
changed to break things in the first place or if it was one thing or
different things. (see below)

 

These problems with moodle integration didn't exist until last week -
something has caused a conflict. There's no problem with the previous moodle
integration in 1.7/1.8 regardless of moodle version.

 

There have been different errors and different issues reported during this
last week not all of which are down to the same cause/solution. I can only
reliably report on the issues I've found/tested and it's not always easy or
efficient to test one thing at a time especially when there are so many
permutations too. e.g. The blank window and language change issue that Tom
reported I haven't seen and a fix for Tom re the language setting didn't
change/fix anything for me. Different problem and  different solution I
think.

 

Comparing the changes Pat sent through from the current svn code I've
replaced files individually to test what fixes what:

 

1. The change to new_template.php fixes the main issue I was seeing e.g. not
being able to create new projects with a moodle 1.9 integration path
enabled. I can't see how that change would break non moodle use?

 

2. The change to your_templates.php fixes the other main issue of the
workspace not refreshing after creating a project. This was just removal of
a duplicate require line. Not sure if that was always there, or introduced
recently, or only a problem with moodle integration in place, but again I
really can't see how this would break non moodle use?

 

The above two changes fix the main issues I was getting when using an
install with a moodle 1.9 integration path. The other changes to
folder_library.php, user_library.php and make_new_folder.php don't seem to
be needed to fix those main issues as far as I can tell. Not sure if they
fixes other issues that I haven't seen.

 

Remaining issue

I am still getting the issue that after creating a new project clicking
create doesn't work again until after a refresh but that's happening without
a moodle integration path and as far as I can tell is happening with the
latest svn code so may be a new problem.

 

HTH

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: 05 December 2012 13:05


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

but the PHP works outside of moodle 1.9 fine

the problem is once with a database and once with a path

Also - we are setting a precedent. We have a working code base, but when
added into another product, it stops.

 

On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett 
wrote:

The pathing on Moodle 2.0 is a wild and crazy thing.

Maybe 1.9 was a bit of a test bed for some of what became 2.0?

Wild guessing.

 

  _____  

Date: Wed, 5 Dec 2012 12:32:09 +0000
From: patrick.lockley at googlemail.com
To: xerte-dev at lists.nottingham.ac.uk


Subject: [Xerte-dev] Re: moodle fix

it's not really about introducing errors or changes, but why moodle 1.9
requires the code to be different? That seems a bit worrying.

 

On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell 
wrote:

I've been testing without a moodle integration path as well as with.

 

This particular window_reference error happens with and without a moodle
integration path. 

I'm testing via xampp but you can see it on the techdis install although
that obviously is using moodle authentication.

 

I haven't found any other errors when testing without integration path so
I'm not sure your changed files have introduced any problems unless this js
error is a result of those changes.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:14


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

 

Yeah, my bad - not sure why that would happen. Nothing I've changed
javascript side.

I wouldn't commit those changes as they just don't make sense to me. I don't
get why moodle inclusion would cause those problems and I am not sure what
they do outside of moodle.

 

On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell 
wrote:

I thought that window_reference is undefined is a js error?

 

BTW

Are you going to commit those changed php files or do you want me to on your
behalf?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:02


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

Not sure then, I assumed it was that (as this was more of a patch than a
fix)

Do you get a JS error?

 

On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell 
wrote:

Just print_r($_SESSION) or could there be a similar print_r(something)
causing the same problem?

Have searched for print_r($_SESSION) in the install I'm using for testing
and not found.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 11:42


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

I think it's because of the print_r($_SESSION) somewhere - remove that and
it'll be fine

 

On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
wrote:

Hi Pat

thanks for the update.

I've been testing on both the techdis server and locally via xampp.
Obviously I won't have tested every single permutation yet but from tests so
far all seems fine apart from this issue of not being able to create a new
project after creating one already until refresh. However this happens
without a moodle integration path added too.

 

Here's the steps to reproduce with current svn code plus your changed files.

Click create to create a new project based on Xerte Online Toolkits template

Close the editor and try to create another project - nothing happens upon
clicking create

Refresh the browser and click create works but the cycle repeats e.g. can't
create a second project

 

Using debugger in IE9 I get the following error when closing the editor
window:

 

SCRIPT5009: 'window_reference' is undefined 

edit.php?template_id=17, line 32 character 1

 

Not really sure where to look for the cause/solution to this one but is
there perhaps an include/require missing somewhere?

 

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: 05 December 2012 09:38


To: For Xerte technical developers

Subject: [Xerte-dev] Re: moodle fix

 

the problem in new template was that for some reason moodle is leaving or
creating another database link so when toolkits sends the request to the
database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being
used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.

 

On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
wrote:

Hi Pat

thanks - from tests so far those files have certainly improved things!

 

What did you find/change? What was the main cause of the problem?

 

I've tested creating new projects and folders, moving and deleting projects
all of which were a problem previously so looking hopeful.

 

One problem/difference at the moment which I don't think was there before is
that with a moodle 1.9 integration path I can now create a new project
without the workspace refreshing and it appears etc but if I then try to
create a second project clicking create to create another Xerte Online
Toolkit project doesn't do anything. I have to refresh the browser before I
can create another project. Clicking to create an RSS project does work
without refresh and with moodle 2 configured I can create a second and third
template etc without problem.

 

I've only tested this locally so far will test on the techdis server next...

 

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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix

 

try swapping these files 

 


_______________________________________________
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

 


_______________________________________________ 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: 

From Julian.Tenney at nottingham.ac.uk  Wed Dec  5 15:36:46 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Wed, 5 Dec 2012 15:36:46 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: <00bc01cdd2f9$56a1b3e0$03e51ba0$@co.uk>
References: 
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
	
	<002001cdd2dc$bb8becc0$32a3c640$@co.uk>
	
	<003801cdd2de$feaff710$fc0fe530$@co.uk>
	
	<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>
	
	<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>
	
	
	
	<009501cdd2f1$5f37dbe0$1da793a0$@co.uk>
	
	<00bc01cdd2f9$56a1b3e0$03e51ba0$@co.uk>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8C72@EXCHANGE1.ad.nottingham.ac.uk>

Remaining issue
I am still getting the issue that after creating a new project clicking create doesn't work again until after a refresh but that's happening without a moodle integration path and as far as I can tell is happening with the latest svn code so may be a new problem.

If this is the last thing to fix, then we are nearly there. I can see the value in moodle providing authentication, but I am worried about trying to support every moodle version, especially doing something that moodle isn't really expecting us to be doing. But if we've worked around that for now, let's move on, and fix this last issue.

Then we can start testing.

;-)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 05 December 2012 15:01
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: moodle fix

Hi Pat
Firstly I'm not saying you broke anything I still have no idea really about what changed to cause these problems. All I can say for sure is that we've been using the Techdis install for months during the 1.8 development and more recently the html 5 development and I've been updating that server daily simply by getting and exporting the latest svn code and uploading that to the test install. Sometimes hourly let alone daily and weekly. On that server/install nothing else had changed. In my local xampp nothing else had changed.

I haven't had time to investigate but perhaps the svn merge created that duplicate require statement in your_templates.php and that seems to have been the cause of the workspace refresh issue. Perhaps it's something else like that which caused the new project issue I really can't say for sure.

I know what you mean about all the possible external tools and perhaps the LTI work Simon started would be the ultimate solution to all that but the fact remains there are a lot of organisations using XOT combined with Moodle for authentication. That may never had evolved if XOT had its own account management etc but again it's just a fact that you never needed that at Nottingham and it's never really been fully implemented so it's either LDAP or Moodle for most and lot's of organisations can't use the LDAP option for all sorts of reasons. Tom may be able to provide some stats about that from his work in Europe etc and I think it will definitely be worth doing a survey at some point.

To my mind we want people to upgrade and provide feedback on the latest release so ensuring this works for those with moodle authentication is a key ingredient of that.

Do you agree that 1 & 2 below shouldn't break anything when moodle integration isn't used?
1. The change to new_template.php fixes the main issue I was seeing e.g. not being able to create new projects with a moodle 1.9 integration path enabled. I can't see how that change would break non moodle use?
2. The change to your_templates.php fixes the other main issue of the workspace not refreshing after creating a project. This was just removal of a duplicate require line. Not sure if that was always there, or introduced recently, or only a problem with moodle integration in place, but again I really can't see how this would break non moodle use?
How do we crack the closing the editor window issue? Can anyone else replicate that with the latest svn trunk code?
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: 05 December 2012 14:26
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

it's all of those things though.

We don't know who uses XOT and with what, so we can't guess on who uses stuff. I could make an argument the WordPress plugin would be a world simpler if Xerte did X and Y, but I wanted to make it work, so I found a way round it.

If we aren't going to release changes because it breaks X, then what is X. because we upgraded to PHP 5 and told people to change host if they had a problem with that

So at present, if we make changes to XOT, we are only going to release them in they work with Moodle? Which Moodles? For how long?

I don't see why those changes are required for moodle to work, I didn't remove any of those lines of code, or add them in. I didn't change anything in modularisation to do with folders (as it doesn't need it). All I changed in new template was returning one extra parameter in the query - but the code has broken a long time before that change comes into play.

On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell > wrote:
hang on a sec - let's discuss this objectively and practically...

We have a very small developer list membership and even fewer of that membership testing/developing the latest code on anything but xampp

Realistically for organisations to use XOT in earnest they need a public facing server install with either ldap or moodle authentication. e.g. guest, static or db aren't current/realistic options.

I'd wager, but prepared to be proved wrong and perhaps we should do a survey, that there are far more xot installations in use that are using moodle for authentication than ldap. I certainly know for a fact that there are organisations using xot that wouldn't be and wouldn't be able to if they weren't able to use moodle for authentication. I know there's no internal requirement at Nottingham for Moodle integration but we've had it working for years now and it's not a change to moodle code that has stopped it working. It's not even a change to the xot moodle integration code that has stopped it working. Pat has worked magic in finding a solution to the two main issues I've reported but I'm not sure we've really nailed exactly what changed to break things in the first place or if it was one thing or different things. (see below)

These problems with moodle integration didn't exist until last week - something has caused a conflict. There's no problem with the previous moodle integration in 1.7/1.8 regardless of moodle version.

There have been different errors and different issues reported during this last week not all of which are down to the same cause/solution. I can only reliably report on the issues I've found/tested and it's not always easy or efficient to test one thing at a time especially when there are so many permutations too. e.g. The blank window and language change issue that Tom reported I haven't seen and a fix for Tom re the language setting didn't change/fix anything for me. Different problem and  different solution I think.

Comparing the changes Pat sent through from the current svn code I've replaced files individually to test what fixes what:

1. The change to new_template.php fixes the main issue I was seeing e.g. not being able to create new projects with a moodle 1.9 integration path enabled. I can't see how that change would break non moodle use?

2. The change to your_templates.php fixes the other main issue of the workspace not refreshing after creating a project. This was just removal of a duplicate require line. Not sure if that was always there, or introduced recently, or only a problem with moodle integration in place, but again I really can't see how this would break non moodle use?

The above two changes fix the main issues I was getting when using an install with a moodle 1.9 integration path. The other changes to folder_library.php, user_library.php and make_new_folder.php don't seem to be needed to fix those main issues as far as I can tell. Not sure if they fixes other issues that I haven't seen.

Remaining issue
I am still getting the issue that after creating a new project clicking create doesn't work again until after a refresh but that's happening without a moodle integration path and as far as I can tell is happening with the latest svn code so may be a new problem.

HTH
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: 05 December 2012 13:05

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

but the PHP works outside of moodle 1.9 fine

the problem is once with a database and once with a path

Also - we are setting a precedent. We have a working code base, but when added into another product, it stops.

On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett > wrote:
The pathing on Moodle 2.0 is a wild and crazy thing.
Maybe 1.9 was a bit of a test bed for some of what became 2.0?
Wild guessing.

________________________________
Date: Wed, 5 Dec 2012 12:32:09 +0000
From: patrick.lockley at googlemail.com
To: xerte-dev at lists.nottingham.ac.uk

Subject: [Xerte-dev] Re: moodle fix

it's not really about introducing errors or changes, but why moodle 1.9 requires the code to be different? That seems a bit worrying.

On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell > wrote:

I've been testing without a moodle integration path as well as with.



This particular window_reference error happens with and without a moodle integration path.

I'm testing via xampp but you can see it on the techdis install although that obviously is using moodle authentication.



I haven't found any other errors when testing without integration path so I'm not sure your changed files have introduced any problems unless this js error is a result of those changes.



From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:14

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix




Yeah, my bad - not sure why that would happen. Nothing I've changed javascript side.

I wouldn't commit those changes as they just don't make sense to me. I don't get why moodle inclusion would cause those problems and I am not sure what they do outside of moodle.



On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell > wrote:

I thought that window_reference is undefined is a js error?



BTW

Are you going to commit those changed php files or do you want me to on your behalf?



From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:02

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix



Not sure then, I assumed it was that (as this was more of a patch than a fix)

Do you get a JS error?



On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell > wrote:

Just print_r($_SESSION) or could there be a similar print_r(something) causing the same problem?

Have searched for print_r($_SESSION) in the install I'm using for testing and not found.



From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 11:42

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix



I think it's because of the print_r($_SESSION) somewhere - remove that and it'll be fine



On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell > wrote:

Hi Pat

thanks for the update.

I've been testing on both the techdis server and locally via xampp. Obviously I won't have tested every single permutation yet but from tests so far all seems fine apart from this issue of not being able to create a new project after creating one already until refresh. However this happens without a moodle integration path added too.



Here's the steps to reproduce with current svn code plus your changed files.

Click create to create a new project based on Xerte Online Toolkits template

Close the editor and try to create another project - nothing happens upon clicking create

Refresh the browser and click create works but the cycle repeats e.g. can't create a second project



Using debugger in IE9 I get the following error when closing the editor window:



SCRIPT5009: 'window_reference' is undefined

edit.php?template_id=17, line 32 character 1



Not really sure where to look for the cause/solution to this one but is there perhaps an include/require missing somewhere?



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: 05 December 2012 09:38

To: For Xerte technical developers

Subject: [Xerte-dev] Re: moodle fix



the problem in new template was that for some reason moodle is leaving or creating another database link so when toolkits sends the request to the database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.



On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell > wrote:

Hi Pat

thanks - from tests so far those files have certainly improved things!



What did you find/change? What was the main cause of the problem?



I've tested creating new projects and folders, moving and deleting projects all of which were a problem previously so looking hopeful.



One problem/difference at the moment which I don't think was there before is that with a moodle 1.9 integration path I can now create a new project without the workspace refreshing and it appears etc but if I then try to create a second project clicking create to create another Xerte Online Toolkit project doesn't do anything. I have to refresh the browser before I can create another project. Clicking to create an RSS project does work without refresh and with moodle 2 configured I can create a second and third template etc without problem.



I've only tested this locally so far will test on the techdis server next...



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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix



try swapping these files



_______________________________________________
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


_______________________________________________ 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: 

From Julian.Tenney at nottingham.ac.uk  Wed Dec  5 15:38:11 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Wed, 5 Dec 2012 15:38:11 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: <004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>
References: 
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
	
	<002001cdd2dc$bb8becc0$32a3c640$@co.uk>
	
	<003801cdd2de$feaff710$fc0fe530$@co.uk>
	
	<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8C7C@EXCHANGE1.ad.nottingham.ac.uk>

Somebody commit them if they fix things.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 05 December 2012 12:13
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: moodle fix

I thought that window_reference is undefined is a js error?

BTW
Are you going to commit those changed php files or do you want me to on your behalf?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:02
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

Not sure then, I assumed it was that (as this was more of a patch than a fix)

Do you get a JS error?

On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell > wrote:
Just print_r($_SESSION) or could there be a similar print_r(something) causing the same problem?
Have searched for print_r($_SESSION) in the install I'm using for testing and not found.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 11:42

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

I think it's because of the print_r($_SESSION) somewhere - remove that and it'll be fine

On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell > wrote:
Hi Pat
thanks for the update.
I've been testing on both the techdis server and locally via xampp. Obviously I won't have tested every single permutation yet but from tests so far all seems fine apart from this issue of not being able to create a new project after creating one already until refresh. However this happens without a moodle integration path added too.

Here's the steps to reproduce with current svn code plus your changed files.
Click create to create a new project based on Xerte Online Toolkits template
Close the editor and try to create another project - nothing happens upon clicking create
Refresh the browser and click create works but the cycle repeats e.g. can't create a second project

Using debugger in IE9 I get the following error when closing the editor window:

SCRIPT5009: 'window_reference' is undefined
edit.php?template_id=17, line 32 character 1

Not really sure where to look for the cause/solution to this one but is there perhaps an include/require missing somewhere?

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: 05 December 2012 09:38

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

the problem in new template was that for some reason moodle is leaving or creating another database link so when toolkits sends the request to the database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.

On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell > wrote:
Hi Pat
thanks - from tests so far those files have certainly improved things!

What did you find/change? What was the main cause of the problem?

I've tested creating new projects and folders, moving and deleting projects all of which were a problem previously so looking hopeful.

One problem/difference at the moment which I don't think was there before is that with a moodle 1.9 integration path I can now create a new project without the workspace refreshing and it appears etc but if I then try to create a second project clicking create to create another Xerte Online Toolkit project doesn't do anything. I have to refresh the browser before I can create another project. Clicking to create an RSS project does work without refresh and with moodle 2 configured I can create a second and third template etc without problem.

I've only tested this locally so far will test on the techdis server next...

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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix

try swapping these files


_______________________________________________
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: 

From patrick.lockley at googlemail.com  Wed Dec  5 15:54:23 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Wed, 5 Dec 2012 15:54:23 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: <00bc01cdd2f9$56a1b3e0$03e51ba0$@co.uk>
References: 
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
	
	<002001cdd2dc$bb8becc0$32a3c640$@co.uk>
	
	<003801cdd2de$feaff710$fc0fe530$@co.uk>
	
	<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>
	
	<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>
	
	
	
	<009501cdd2f1$5f37dbe0$1da793a0$@co.uk>
	
	<00bc01cdd2f9$56a1b3e0$03e51ba0$@co.uk>
Message-ID: 

i know the change is almost certainly my fault, as in theory I made the
last change, which is fine.

The merge is done line by line, so it's not a process by which you'd remove
a line of code unless it was in conflict (and database_connect isn't that
kind of code, you can connect to a database a million times and not worry
about it), and if you look at new_template.php it hasn't had a database
connect call for quite some time - it wasn't there in March (which was the
last change). So these changes make it work in moodle 1.9, I didn't commit
them as I haven't tested them outside moodle. I also worry as to why PHP
would behave differently (a require once should kill all PHP, not just
moodle PHP) depending on being inside Moodle.

The code in the SVN works outside of moodle, it works in moodle 2.3. If I
make a change in future, does it have to work in moodle 1.9? There is no
reason I can tell you why the old 1.9 wouldn't work in moodle, but I'd be
loathe to do a completely new install just to test it on the off chance
moodle is being weird.




On Wed, Dec 5, 2012 at 3:00 PM, Ron Mitchell wrote:

> Hi Pat****
>
> Firstly I'm not saying you broke anything I still have no idea really
> about what changed to cause these problems. All I can say for sure is that
> we've been using the Techdis install for months during the 1.8 development
> and more recently the html 5 development and I've been updating that server
> daily simply by getting and exporting the latest svn code and uploading
> that to the test install. Sometimes hourly let alone daily and weekly. On
> that server/install nothing else had changed. In my local xampp nothing
> else had changed.****
>
> ** **
>
> I haven't had time to investigate but perhaps the svn merge created that
> duplicate require statement in your_templates.php and that seems to have
> been the cause of the workspace refresh issue. Perhaps it's something else
> like that which caused the new project issue I really can't say for sure.*
> ***
>
> ** **
>
> I know what you mean about all the possible external tools and perhaps the
> LTI work Simon started would be the ultimate solution to all that but the
> fact remains there are a lot of organisations using XOT combined with
> Moodle for authentication. That may never had evolved if XOT had its own
> account management etc but again it's just a fact that you never needed
> that at Nottingham and it's never really been fully implemented so it's
> either LDAP or Moodle for most and lot's of organisations can't use the
> LDAP option for all sorts of reasons. Tom may be able to provide some stats
> about that from his work in Europe etc and I think it will definitely be
> worth doing a survey at some point.****
>
> ** **
>
> To my mind we want people to upgrade and provide feedback on the latest
> release so ensuring this works for those with moodle authentication is a
> key ingredient of that.****
>
> ** **
>
> Do you agree that 1 & 2 below shouldn't break anything when moodle
> integration isn't used?****
>
> 1. The change to new_template.php fixes the main issue I was seeing e.g.
> not being able to create new projects with a moodle 1.9 integration path
> enabled. I can't see how that change would break non moodle use?****
>
> 2. The change to your_templates.php fixes the other main issue of the
> workspace not refreshing after creating a project. This was just removal of
> a duplicate require line. Not sure if that was always there, or introduced
> recently, or only a problem with moodle integration in place, but again I
> really can't see how this would break non moodle use?****
>
> How do we crack the closing the editor window issue? Can anyone else
> replicate that with the latest svn trunk code?****
>
> 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:* 05 December 2012 14:26
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
> ** **
>
> it's all of those things though.
>
> We don't know who uses XOT and with what, so we can't guess on who uses
> stuff. I could make an argument the WordPress plugin would be a world
> simpler if Xerte did X and Y, but I wanted to make it work, so I found a
> way round it.
>
> If we aren't going to release changes because it breaks X, then what is X.
> because we upgraded to PHP 5 and told people to change host if they had a
> problem with that
>
> So at present, if we make changes to XOT, we are only going to release
> them in they work with Moodle? Which Moodles? For how long?
>
> I don't see why those changes are required for moodle to work, I didn't
> remove any of those lines of code, or add them in. I didn't change anything
> in modularisation to do with folders (as it doesn't need it). All I changed
> in new template was returning one extra parameter in the query - but the
> code has broken a long time before that change comes into play.****
>
> ** **
>
> On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell 
> wrote:****
>
> hang on a sec - let's discuss this objectively and practically...****
>
>  ****
>
> We have a very small developer list membership and even fewer of that
> membership testing/developing the latest code on anything but xampp****
>
>  ****
>
> Realistically for organisations to use XOT in earnest they need a public
> facing server install with either ldap or moodle authentication. e.g.
> guest, static or db aren't current/realistic options.****
>
>  ****
>
> I'd wager, but prepared to be proved wrong and perhaps we should do a
> survey, that there are far more xot installations in use that are using
> moodle for authentication than ldap. I certainly know for a fact that there
> are organisations using xot that wouldn't be and wouldn't be able to if
> they weren't able to use moodle for authentication. I know there's no
> internal requirement at Nottingham for Moodle integration but we've had it
> working for years now and it's not a change to moodle code that has stopped
> it working. It's not even a change to the xot moodle integration code that
> has stopped it working. Pat has worked magic in finding a solution to the
> two main issues I've reported but I'm not sure we've really nailed exactly
> what changed to break things in the first place or if it was one thing or
> different things. (see below)****
>
>  ****
>
> These problems with moodle integration didn't exist until last week -
> something has caused a conflict. There's no problem with the previous
> moodle integration in 1.7/1.8 regardless of moodle version.****
>
>  ****
>
> There have been different errors and different issues reported during this
> last week not all of which are down to the same cause/solution. I can only
> reliably report on the issues I've found/tested and it's not always easy or
> efficient to test one thing at a time especially when there are so many
> permutations too. e.g. The blank window and language change issue that Tom
> reported I haven't seen and a fix for Tom re the language setting didn't
> change/fix anything for me. Different problem and  different solution I
> think.****
>
>  ****
>
> Comparing the changes Pat sent through from the current svn code I've
> replaced files individually to test what fixes what:****
>
>  ****
>
> 1. The change to new_template.php fixes the main issue I was seeing e.g.
> not being able to create new projects with a moodle 1.9 integration path
> enabled. I can't see how that change would break non moodle use?****
>
>  ****
>
> 2. The change to your_templates.php fixes the other main issue of the
> workspace not refreshing after creating a project. This was just removal of
> a duplicate require line. Not sure if that was always there, or introduced
> recently, or only a problem with moodle integration in place, but again I
> really can't see how this would break non moodle use?****
>
>  ****
>
> The above two changes fix the main issues I was getting when using an
> install with a moodle 1.9 integration path. The other changes to
> folder_library.php, user_library.php and make_new_folder.php don't seem to
> be needed to fix those main issues as far as I can tell. Not sure if they
> fixes other issues that I haven't seen.****
>
>  ****
>
> Remaining issue****
>
> I am still getting the issue that after creating a new project clicking
> create doesn't work again until after a refresh but that's happening
> without a moodle integration path and as far as I can tell is happening
> with the latest svn code so may be a new problem.****
>
>  ****
>
> HTH****
>
> 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:* 05 December 2012 13:05****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> but the PHP works outside of moodle 1.9 fine
>
> the problem is once with a database and once with a path
>
> Also - we are setting a precedent. We have a working code base, but when
> added into another product, it stops.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett 
> wrote:****
>
> The pathing on Moodle 2.0 is a wild and crazy thing.****
>
> Maybe 1.9 was a bit of a test bed for some of what became 2.0?****
>
> Wild guessing.****
>
>  ****
> ------------------------------
>
> Date: Wed, 5 Dec 2012 12:32:09 +0000
> From: patrick.lockley at googlemail.com
> To: xerte-dev at lists.nottingham.ac.uk****
>
>
> Subject: [Xerte-dev] Re: moodle fix
>
> it's not really about introducing errors or changes, but why moodle 1.9
> requires the code to be different? That seems a bit worrying.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell 
> wrote:****
>
> I've been testing without a moodle integration path as well as with.****
>
>  ****
>
> This particular window_reference error happens with and without a moodle
> integration path. ****
>
> I'm testing via xampp but you can see it on the techdis install although
> that obviously is using moodle authentication.****
>
>  ****
>
> I haven't found any other errors when testing without integration path so
> I'm not sure your changed files have introduced any problems unless this js
> error is a result of those changes.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 12:14****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
>  ****
>
> Yeah, my bad - not sure why that would happen. Nothing I've changed
> javascript side.
>
> I wouldn't commit those changes as they just don't make sense to me. I
> don't get why moodle inclusion would cause those problems and I am not sure
> what they do outside of moodle.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell 
> wrote:****
>
> I thought that window_reference is undefined is a js error?****
>
>  ****
>
> BTW****
>
> Are you going to commit those changed php files or do you want me to on
> your behalf?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 12:02****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> Not sure then, I assumed it was that (as this was more of a patch than a
> fix)
>
> Do you get a JS error?****
>
>  ****
>
> On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell 
> wrote:****
>
> Just print_r($_SESSION) or could there be a similar print_r(something)
> causing the same problem?****
>
> Have searched for print_r($_SESSION) in the install I'm using for testing
> and not found.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 11:42****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> I think it's because of the print_r($_SESSION) somewhere - remove that and
> it'll be fine****
>
>  ****
>
> On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> thanks for the update.****
>
> I've been testing on both the techdis server and locally via xampp.
> Obviously I won't have tested every single permutation yet but from tests
> so far all seems fine apart from this issue of not being able to create a
> new project after creating one already until refresh. However this happens
> without a moodle integration path added too.****
>
>  ****
>
> Here's the steps to reproduce with current svn code plus your changed
> files.****
>
> Click create to create a new project based on Xerte Online Toolkits
> template****
>
> Close the editor and try to create another project - nothing happens upon
> clicking create****
>
> Refresh the browser and click create works but the cycle repeats e.g.
> can't create a second project****
>
>  ****
>
> Using debugger in IE9 I get the following error when closing the editor
> window:****
>
>  ****
>
> SCRIPT5009: 'window_reference' is undefined ****
>
> edit.php?template_id=17, line 32 character 1****
>
>  ****
>
> Not really sure where to look for the cause/solution to this one but is
> there perhaps an include/require missing somewhere?****
>
>  ****
>
> 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:* 05 December 2012 09:38****
>
>
> *To:* For Xerte technical developers****
>
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> the problem in new template was that for some reason moodle is leaving or
> creating another database link so when toolkits sends the request to the
> database it fails as the code is now pointing at the wrong database.
>
> Added in another database_connect call to fix this
>
> the problem in new folder creation was two require_once("config.php")
> being used. Removed one and it works.
>
> Why these would only affect moodle 1.9? No idea.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> thanks - from tests so far those files have certainly improved things!****
>
>  ****
>
> What did you find/change? What was the main cause of the problem?****
>
>  ****
>
> I've tested creating new projects and folders, moving and deleting
> projects all of which were a problem previously so looking hopeful.****
>
>  ****
>
> One problem/difference at the moment which I don't think was there before
> is that with a moodle 1.9 integration path I can now create a new project
> without the workspace refreshing and it appears etc but if I then try to
> create a second project clicking create to create another Xerte Online
> Toolkit project doesn't do anything. I have to refresh the browser before I
> can create another project. Clicking to create an RSS project does work
> without refresh and with moodle 2 configured I can create a second and
> third template etc without problem.****
>
>  ****
>
> I've only tested this locally so far will test on the techdis server
> next...****
>
>  ****
>
> 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:* 05 December 2012 00:29
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] moodle fix****
>
>  ****
>
> try swapping these files ****
>
>  ****
>
>
> _______________________________________________
> 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****
>
>  ****
>
>
> _______________________________________________ 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: 

From Julian.Tenney at nottingham.ac.uk  Wed Dec  5 15:57:14 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Wed, 5 Dec 2012 15:57:14 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: 
References: 
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
	
	<002001cdd2dc$bb8becc0$32a3c640$@co.uk>
	
	<003801cdd2de$feaff710$fc0fe530$@co.uk>
	
	<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>
	
	<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>
	
	
	
	<009501cdd2f1$5f37dbe0$1da793a0$@co.uk>
	
	<00bc01cdd2f9$56a1b3e0$03e51ba0$@co.uk>
	
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8CAD@EXCHANGE1.ad.nottingham.ac.uk>

Quite. I'd prefer us to be accessing the moodle session data through some 'approved' means of doing so, because presumably it could change at any major / minor version update?

Are you able to look at the second create / refresh issue Pat?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 15:54
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

i know the change is almost certainly my fault, as in theory I made the last change, which is fine.

The merge is done line by line, so it's not a process by which you'd remove a line of code unless it was in conflict (and database_connect isn't that kind of code, you can connect to a database a million times and not worry about it), and if you look at new_template.php it hasn't had a database connect call for quite some time - it wasn't there in March (which was the last change). So these changes make it work in moodle 1.9, I didn't commit them as I haven't tested them outside moodle. I also worry as to why PHP would behave differently (a require once should kill all PHP, not just moodle PHP) depending on being inside Moodle.

The code in the SVN works outside of moodle, it works in moodle 2.3. If I make a change in future, does it have to work in moodle 1.9? There is no reason I can tell you why the old 1.9 wouldn't work in moodle, but I'd be loathe to do a completely new install just to test it on the off chance moodle is being weird.


On Wed, Dec 5, 2012 at 3:00 PM, Ron Mitchell > wrote:
Hi Pat
Firstly I'm not saying you broke anything I still have no idea really about what changed to cause these problems. All I can say for sure is that we've been using the Techdis install for months during the 1.8 development and more recently the html 5 development and I've been updating that server daily simply by getting and exporting the latest svn code and uploading that to the test install. Sometimes hourly let alone daily and weekly. On that server/install nothing else had changed. In my local xampp nothing else had changed.

I haven't had time to investigate but perhaps the svn merge created that duplicate require statement in your_templates.php and that seems to have been the cause of the workspace refresh issue. Perhaps it's something else like that which caused the new project issue I really can't say for sure.

I know what you mean about all the possible external tools and perhaps the LTI work Simon started would be the ultimate solution to all that but the fact remains there are a lot of organisations using XOT combined with Moodle for authentication. That may never had evolved if XOT had its own account management etc but again it's just a fact that you never needed that at Nottingham and it's never really been fully implemented so it's either LDAP or Moodle for most and lot's of organisations can't use the LDAP option for all sorts of reasons. Tom may be able to provide some stats about that from his work in Europe etc and I think it will definitely be worth doing a survey at some point.

To my mind we want people to upgrade and provide feedback on the latest release so ensuring this works for those with moodle authentication is a key ingredient of that.

Do you agree that 1 & 2 below shouldn't break anything when moodle integration isn't used?
1. The change to new_template.php fixes the main issue I was seeing e.g. not being able to create new projects with a moodle 1.9 integration path enabled. I can't see how that change would break non moodle use?
2. The change to your_templates.php fixes the other main issue of the workspace not refreshing after creating a project. This was just removal of a duplicate require line. Not sure if that was always there, or introduced recently, or only a problem with moodle integration in place, but again I really can't see how this would break non moodle use?
How do we crack the closing the editor window issue? Can anyone else replicate that with the latest svn trunk code?
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: 05 December 2012 14:26

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

it's all of those things though.

We don't know who uses XOT and with what, so we can't guess on who uses stuff. I could make an argument the WordPress plugin would be a world simpler if Xerte did X and Y, but I wanted to make it work, so I found a way round it.

If we aren't going to release changes because it breaks X, then what is X. because we upgraded to PHP 5 and told people to change host if they had a problem with that

So at present, if we make changes to XOT, we are only going to release them in they work with Moodle? Which Moodles? For how long?

I don't see why those changes are required for moodle to work, I didn't remove any of those lines of code, or add them in. I didn't change anything in modularisation to do with folders (as it doesn't need it). All I changed in new template was returning one extra parameter in the query - but the code has broken a long time before that change comes into play.

On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell > wrote:
hang on a sec - let's discuss this objectively and practically...

We have a very small developer list membership and even fewer of that membership testing/developing the latest code on anything but xampp

Realistically for organisations to use XOT in earnest they need a public facing server install with either ldap or moodle authentication. e.g. guest, static or db aren't current/realistic options.

I'd wager, but prepared to be proved wrong and perhaps we should do a survey, that there are far more xot installations in use that are using moodle for authentication than ldap. I certainly know for a fact that there are organisations using xot that wouldn't be and wouldn't be able to if they weren't able to use moodle for authentication. I know there's no internal requirement at Nottingham for Moodle integration but we've had it working for years now and it's not a change to moodle code that has stopped it working. It's not even a change to the xot moodle integration code that has stopped it working. Pat has worked magic in finding a solution to the two main issues I've reported but I'm not sure we've really nailed exactly what changed to break things in the first place or if it was one thing or different things. (see below)

These problems with moodle integration didn't exist until last week - something has caused a conflict. There's no problem with the previous moodle integration in 1.7/1.8 regardless of moodle version.

There have been different errors and different issues reported during this last week not all of which are down to the same cause/solution. I can only reliably report on the issues I've found/tested and it's not always easy or efficient to test one thing at a time especially when there are so many permutations too. e.g. The blank window and language change issue that Tom reported I haven't seen and a fix for Tom re the language setting didn't change/fix anything for me. Different problem and  different solution I think.

Comparing the changes Pat sent through from the current svn code I've replaced files individually to test what fixes what:

1. The change to new_template.php fixes the main issue I was seeing e.g. not being able to create new projects with a moodle 1.9 integration path enabled. I can't see how that change would break non moodle use?

2. The change to your_templates.php fixes the other main issue of the workspace not refreshing after creating a project. This was just removal of a duplicate require line. Not sure if that was always there, or introduced recently, or only a problem with moodle integration in place, but again I really can't see how this would break non moodle use?

The above two changes fix the main issues I was getting when using an install with a moodle 1.9 integration path. The other changes to folder_library.php, user_library.php and make_new_folder.php don't seem to be needed to fix those main issues as far as I can tell. Not sure if they fixes other issues that I haven't seen.

Remaining issue
I am still getting the issue that after creating a new project clicking create doesn't work again until after a refresh but that's happening without a moodle integration path and as far as I can tell is happening with the latest svn code so may be a new problem.

HTH
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: 05 December 2012 13:05

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

but the PHP works outside of moodle 1.9 fine

the problem is once with a database and once with a path

Also - we are setting a precedent. We have a working code base, but when added into another product, it stops.

On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett > wrote:
The pathing on Moodle 2.0 is a wild and crazy thing.
Maybe 1.9 was a bit of a test bed for some of what became 2.0?
Wild guessing.

________________________________
Date: Wed, 5 Dec 2012 12:32:09 +0000
From: patrick.lockley at googlemail.com
To: xerte-dev at lists.nottingham.ac.uk

Subject: [Xerte-dev] Re: moodle fix

it's not really about introducing errors or changes, but why moodle 1.9 requires the code to be different? That seems a bit worrying.

On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell > wrote:

I've been testing without a moodle integration path as well as with.



This particular window_reference error happens with and without a moodle integration path.

I'm testing via xampp but you can see it on the techdis install although that obviously is using moodle authentication.



I haven't found any other errors when testing without integration path so I'm not sure your changed files have introduced any problems unless this js error is a result of those changes.



From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:14

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix




Yeah, my bad - not sure why that would happen. Nothing I've changed javascript side.

I wouldn't commit those changes as they just don't make sense to me. I don't get why moodle inclusion would cause those problems and I am not sure what they do outside of moodle.



On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell > wrote:

I thought that window_reference is undefined is a js error?



BTW

Are you going to commit those changed php files or do you want me to on your behalf?



From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:02

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix



Not sure then, I assumed it was that (as this was more of a patch than a fix)

Do you get a JS error?



On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell > wrote:

Just print_r($_SESSION) or could there be a similar print_r(something) causing the same problem?

Have searched for print_r($_SESSION) in the install I'm using for testing and not found.



From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 11:42

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix



I think it's because of the print_r($_SESSION) somewhere - remove that and it'll be fine



On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell > wrote:

Hi Pat

thanks for the update.

I've been testing on both the techdis server and locally via xampp. Obviously I won't have tested every single permutation yet but from tests so far all seems fine apart from this issue of not being able to create a new project after creating one already until refresh. However this happens without a moodle integration path added too.



Here's the steps to reproduce with current svn code plus your changed files.

Click create to create a new project based on Xerte Online Toolkits template

Close the editor and try to create another project - nothing happens upon clicking create

Refresh the browser and click create works but the cycle repeats e.g. can't create a second project



Using debugger in IE9 I get the following error when closing the editor window:



SCRIPT5009: 'window_reference' is undefined

edit.php?template_id=17, line 32 character 1



Not really sure where to look for the cause/solution to this one but is there perhaps an include/require missing somewhere?



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: 05 December 2012 09:38

To: For Xerte technical developers

Subject: [Xerte-dev] Re: moodle fix



the problem in new template was that for some reason moodle is leaving or creating another database link so when toolkits sends the request to the database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.



On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell > wrote:

Hi Pat

thanks - from tests so far those files have certainly improved things!



What did you find/change? What was the main cause of the problem?



I've tested creating new projects and folders, moving and deleting projects all of which were a problem previously so looking hopeful.



One problem/difference at the moment which I don't think was there before is that with a moodle 1.9 integration path I can now create a new project without the workspace refreshing and it appears etc but if I then try to create a second project clicking create to create another Xerte Online Toolkit project doesn't do anything. I have to refresh the browser before I can create another project. Clicking to create an RSS project does work without refresh and with moodle 2 configured I can create a second and third template etc without problem.



I've only tested this locally so far will test on the techdis server next...



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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix



try swapping these files



_______________________________________________
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


_______________________________________________ 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: 

From ronm at mitchellmedia.co.uk  Wed Dec  5 16:08:29 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Wed, 5 Dec 2012 16:08:29 -0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8C7C@EXCHANGE1.ad.nottingham.ac.uk>
References: 	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>		<002001cdd2dc$bb8becc0$32a3c640$@co.uk>		<003801cdd2de$feaff710$fc0fe530$@co.uk>		<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8C7C@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: <011601cdd302$c4e59cf0$4eb0d6d0$@co.uk>

I committed new_template.php and your_templates.php and while I was at it
removed that commented out redundant brace 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 Julian Tenney
Sent: 05 December 2012 15:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

Somebody commit them if they fix things.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 05 December 2012 12:13
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: moodle fix

 

I thought that window_reference is undefined is a js error?

 

BTW

Are you going to commit those changed php files or do you want me to on your
behalf?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:02
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

Not sure then, I assumed it was that (as this was more of a patch than a
fix)

Do you get a JS error?

 

On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell 
wrote:

Just print_r($_SESSION) or could there be a similar print_r(something)
causing the same problem?

Have searched for print_r($_SESSION) in the install I'm using for testing
and not found.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 11:42


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

I think it's because of the print_r($_SESSION) somewhere - remove that and
it'll be fine

 

On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
wrote:

Hi Pat

thanks for the update.

I've been testing on both the techdis server and locally via xampp.
Obviously I won't have tested every single permutation yet but from tests so
far all seems fine apart from this issue of not being able to create a new
project after creating one already until refresh. However this happens
without a moodle integration path added too.

 

Here's the steps to reproduce with current svn code plus your changed files.

Click create to create a new project based on Xerte Online Toolkits template

Close the editor and try to create another project - nothing happens upon
clicking create

Refresh the browser and click create works but the cycle repeats e.g. can't
create a second project

 

Using debugger in IE9 I get the following error when closing the editor
window:

 

SCRIPT5009: 'window_reference' is undefined 

edit.php?template_id=17, line 32 character 1

 

Not really sure where to look for the cause/solution to this one but is
there perhaps an include/require missing somewhere?

 

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: 05 December 2012 09:38


To: For Xerte technical developers

Subject: [Xerte-dev] Re: moodle fix

 

the problem in new template was that for some reason moodle is leaving or
creating another database link so when toolkits sends the request to the
database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being
used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.

 

On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
wrote:

Hi Pat

thanks - from tests so far those files have certainly improved things!

 

What did you find/change? What was the main cause of the problem?

 

I've tested creating new projects and folders, moving and deleting projects
all of which were a problem previously so looking hopeful.

 

One problem/difference at the moment which I don't think was there before is
that with a moodle 1.9 integration path I can now create a new project
without the workspace refreshing and it appears etc but if I then try to
create a second project clicking create to create another Xerte Online
Toolkit project doesn't do anything. I have to refresh the browser before I
can create another project. Clicking to create an RSS project does work
without refresh and with moodle 2 configured I can create a second and third
template etc without problem.

 

I've only tested this locally so far will test on the techdis server next...

 

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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix

 

try swapping these files 

 


_______________________________________________
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: 

From ronm at mitchellmedia.co.uk  Wed Dec  5 16:15:16 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Wed, 5 Dec 2012 16:15:16 -0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: 
References: 	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>		<002001cdd2dc$bb8becc0$32a3c640$@co.uk>		<003801cdd2de$feaff710$fc0fe530$@co.uk>		<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>		<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>				<009501cdd2f1$5f37dbe0$1da793a0$@co.uk>		<00bc01cdd2f9$56a1b3e0$03e51ba0$@co.uk>
	
Message-ID: <012701cdd303$b79e4d20$26dae760$@co.uk>

Thanks for all your help Pat not sure where we'd be without you! Up a creek
without... I suspect ;-)

 

I'm going to be offline now until late tomorrow afternoon so unable to test
any further until then. 

 

Meanwhile the create a new project can't create another window_reference
error can be seen on the techdis install for anyone that wants to see/test
that and monitor via console etc.

 

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: 05 December 2012 15:54
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

i know the change is almost certainly my fault, as in theory I made the last
change, which is fine.

The merge is done line by line, so it's not a process by which you'd remove
a line of code unless it was in conflict (and database_connect isn't that
kind of code, you can connect to a database a million times and not worry
about it), and if you look at new_template.php it hasn't had a database
connect call for quite some time - it wasn't there in March (which was the
last change). So these changes make it work in moodle 1.9, I didn't commit
them as I haven't tested them outside moodle. I also worry as to why PHP
would behave differently (a require once should kill all PHP, not just
moodle PHP) depending on being inside Moodle. 

The code in the SVN works outside of moodle, it works in moodle 2.3. If I
make a change in future, does it have to work in moodle 1.9? There is no
reason I can tell you why the old 1.9 wouldn't work in moodle, but I'd be
loathe to do a completely new install just to test it on the off chance
moodle is being weird.



 

On Wed, Dec 5, 2012 at 3:00 PM, Ron Mitchell 
wrote:

Hi Pat

Firstly I'm not saying you broke anything I still have no idea really about
what changed to cause these problems. All I can say for sure is that we've
been using the Techdis install for months during the 1.8 development and
more recently the html 5 development and I've been updating that server
daily simply by getting and exporting the latest svn code and uploading that
to the test install. Sometimes hourly let alone daily and weekly. On that
server/install nothing else had changed. In my local xampp nothing else had
changed.

 

I haven't had time to investigate but perhaps the svn merge created that
duplicate require statement in your_templates.php and that seems to have
been the cause of the workspace refresh issue. Perhaps it's something else
like that which caused the new project issue I really can't say for sure.

 

I know what you mean about all the possible external tools and perhaps the
LTI work Simon started would be the ultimate solution to all that but the
fact remains there are a lot of organisations using XOT combined with Moodle
for authentication. That may never had evolved if XOT had its own account
management etc but again it's just a fact that you never needed that at
Nottingham and it's never really been fully implemented so it's either LDAP
or Moodle for most and lot's of organisations can't use the LDAP option for
all sorts of reasons. Tom may be able to provide some stats about that from
his work in Europe etc and I think it will definitely be worth doing a
survey at some point.

 

To my mind we want people to upgrade and provide feedback on the latest
release so ensuring this works for those with moodle authentication is a key
ingredient of that.

 

Do you agree that 1 & 2 below shouldn't break anything when moodle
integration isn't used?

1. The change to new_template.php fixes the main issue I was seeing e.g. not
being able to create new projects with a moodle 1.9 integration path
enabled. I can't see how that change would break non moodle use?

2. The change to your_templates.php fixes the other main issue of the
workspace not refreshing after creating a project. This was just removal of
a duplicate require line. Not sure if that was always there, or introduced
recently, or only a problem with moodle integration in place, but again I
really can't see how this would break non moodle use?

How do we crack the closing the editor window issue? Can anyone else
replicate that with the latest svn trunk code?

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: 05 December 2012 14:26


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

it's all of those things though.

We don't know who uses XOT and with what, so we can't guess on who uses
stuff. I could make an argument the WordPress plugin would be a world
simpler if Xerte did X and Y, but I wanted to make it work, so I found a way
round it.

If we aren't going to release changes because it breaks X, then what is X.
because we upgraded to PHP 5 and told people to change host if they had a
problem with that

So at present, if we make changes to XOT, we are only going to release them
in they work with Moodle? Which Moodles? For how long?

I don't see why those changes are required for moodle to work, I didn't
remove any of those lines of code, or add them in. I didn't change anything
in modularisation to do with folders (as it doesn't need it). All I changed
in new template was returning one extra parameter in the query - but the
code has broken a long time before that change comes into play.

 

On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell 
wrote:

hang on a sec - let's discuss this objectively and practically...

 

We have a very small developer list membership and even fewer of that
membership testing/developing the latest code on anything but xampp

 

Realistically for organisations to use XOT in earnest they need a public
facing server install with either ldap or moodle authentication. e.g. guest,
static or db aren't current/realistic options.

 

I'd wager, but prepared to be proved wrong and perhaps we should do a
survey, that there are far more xot installations in use that are using
moodle for authentication than ldap. I certainly know for a fact that there
are organisations using xot that wouldn't be and wouldn't be able to if they
weren't able to use moodle for authentication. I know there's no internal
requirement at Nottingham for Moodle integration but we've had it working
for years now and it's not a change to moodle code that has stopped it
working. It's not even a change to the xot moodle integration code that has
stopped it working. Pat has worked magic in finding a solution to the two
main issues I've reported but I'm not sure we've really nailed exactly what
changed to break things in the first place or if it was one thing or
different things. (see below)

 

These problems with moodle integration didn't exist until last week -
something has caused a conflict. There's no problem with the previous moodle
integration in 1.7/1.8 regardless of moodle version.

 

There have been different errors and different issues reported during this
last week not all of which are down to the same cause/solution. I can only
reliably report on the issues I've found/tested and it's not always easy or
efficient to test one thing at a time especially when there are so many
permutations too. e.g. The blank window and language change issue that Tom
reported I haven't seen and a fix for Tom re the language setting didn't
change/fix anything for me. Different problem and  different solution I
think.

 

Comparing the changes Pat sent through from the current svn code I've
replaced files individually to test what fixes what:

 

1. The change to new_template.php fixes the main issue I was seeing e.g. not
being able to create new projects with a moodle 1.9 integration path
enabled. I can't see how that change would break non moodle use?

 

2. The change to your_templates.php fixes the other main issue of the
workspace not refreshing after creating a project. This was just removal of
a duplicate require line. Not sure if that was always there, or introduced
recently, or only a problem with moodle integration in place, but again I
really can't see how this would break non moodle use?

 

The above two changes fix the main issues I was getting when using an
install with a moodle 1.9 integration path. The other changes to
folder_library.php, user_library.php and make_new_folder.php don't seem to
be needed to fix those main issues as far as I can tell. Not sure if they
fixes other issues that I haven't seen.

 

Remaining issue

I am still getting the issue that after creating a new project clicking
create doesn't work again until after a refresh but that's happening without
a moodle integration path and as far as I can tell is happening with the
latest svn code so may be a new problem.

 

HTH

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: 05 December 2012 13:05


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

but the PHP works outside of moodle 1.9 fine

the problem is once with a database and once with a path

Also - we are setting a precedent. We have a working code base, but when
added into another product, it stops.

 

On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett 
wrote:

The pathing on Moodle 2.0 is a wild and crazy thing.

Maybe 1.9 was a bit of a test bed for some of what became 2.0?

Wild guessing.

 

  _____  

Date: Wed, 5 Dec 2012 12:32:09 +0000
From: patrick.lockley at googlemail.com
To: xerte-dev at lists.nottingham.ac.uk


Subject: [Xerte-dev] Re: moodle fix

it's not really about introducing errors or changes, but why moodle 1.9
requires the code to be different? That seems a bit worrying.

 

On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell 
wrote:

I've been testing without a moodle integration path as well as with.

 

This particular window_reference error happens with and without a moodle
integration path. 

I'm testing via xampp but you can see it on the techdis install although
that obviously is using moodle authentication.

 

I haven't found any other errors when testing without integration path so
I'm not sure your changed files have introduced any problems unless this js
error is a result of those changes.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:14


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

 

Yeah, my bad - not sure why that would happen. Nothing I've changed
javascript side.

I wouldn't commit those changes as they just don't make sense to me. I don't
get why moodle inclusion would cause those problems and I am not sure what
they do outside of moodle.

 

On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell 
wrote:

I thought that window_reference is undefined is a js error?

 

BTW

Are you going to commit those changed php files or do you want me to on your
behalf?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:02


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

Not sure then, I assumed it was that (as this was more of a patch than a
fix)

Do you get a JS error?

 

On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell 
wrote:

Just print_r($_SESSION) or could there be a similar print_r(something)
causing the same problem?

Have searched for print_r($_SESSION) in the install I'm using for testing
and not found.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 11:42


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

I think it's because of the print_r($_SESSION) somewhere - remove that and
it'll be fine

 

On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
wrote:

Hi Pat

thanks for the update.

I've been testing on both the techdis server and locally via xampp.
Obviously I won't have tested every single permutation yet but from tests so
far all seems fine apart from this issue of not being able to create a new
project after creating one already until refresh. However this happens
without a moodle integration path added too.

 

Here's the steps to reproduce with current svn code plus your changed files.

Click create to create a new project based on Xerte Online Toolkits template

Close the editor and try to create another project - nothing happens upon
clicking create

Refresh the browser and click create works but the cycle repeats e.g. can't
create a second project

 

Using debugger in IE9 I get the following error when closing the editor
window:

 

SCRIPT5009: 'window_reference' is undefined 

edit.php?template_id=17, line 32 character 1

 

Not really sure where to look for the cause/solution to this one but is
there perhaps an include/require missing somewhere?

 

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: 05 December 2012 09:38


To: For Xerte technical developers

Subject: [Xerte-dev] Re: moodle fix

 

the problem in new template was that for some reason moodle is leaving or
creating another database link so when toolkits sends the request to the
database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being
used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.

 

On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
wrote:

Hi Pat

thanks - from tests so far those files have certainly improved things!

 

What did you find/change? What was the main cause of the problem?

 

I've tested creating new projects and folders, moving and deleting projects
all of which were a problem previously so looking hopeful.

 

One problem/difference at the moment which I don't think was there before is
that with a moodle 1.9 integration path I can now create a new project
without the workspace refreshing and it appears etc but if I then try to
create a second project clicking create to create another Xerte Online
Toolkit project doesn't do anything. I have to refresh the browser before I
can create another project. Clicking to create an RSS project does work
without refresh and with moodle 2 configured I can create a second and third
template etc without problem.

 

I've only tested this locally so far will test on the techdis server next...

 

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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix

 

try swapping these files 

 


_______________________________________________
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

 


_______________________________________________ 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: 

From Julian.Tenney at nottingham.ac.uk  Wed Dec  5 16:13:46 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Wed, 5 Dec 2012 16:13:46 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: <012701cdd303$b79e4d20$26dae760$@co.uk>
References: 
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
	
	<002001cdd2dc$bb8becc0$32a3c640$@co.uk>
	
	<003801cdd2de$feaff710$fc0fe530$@co.uk>
	
	<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>
	
	<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>
	
	
	
	<009501cdd2f1$5f37dbe0$1da793a0$@co.uk>
	
	<00bc01cdd2f9$56a1b3e0$03e51ba0$@co.uk>
	
	<012701cdd303$b79e4d20$26dae760$@co.uk>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8CE5@EXCHANGE1.ad.nottingham.ac.uk>

> Up a creek without...
A boat.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 05 December 2012 16:15
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: moodle fix

Thanks for all your help Pat not sure where we'd be without you! Up a creek without... I suspect ;-)

I'm going to be offline now until late tomorrow afternoon so unable to test any further until then.

Meanwhile the create a new project can't create another window_reference error can be seen on the techdis install for anyone that wants to see/test that and monitor via console etc.

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: 05 December 2012 15:54
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

i know the change is almost certainly my fault, as in theory I made the last change, which is fine.

The merge is done line by line, so it's not a process by which you'd remove a line of code unless it was in conflict (and database_connect isn't that kind of code, you can connect to a database a million times and not worry about it), and if you look at new_template.php it hasn't had a database connect call for quite some time - it wasn't there in March (which was the last change). So these changes make it work in moodle 1.9, I didn't commit them as I haven't tested them outside moodle. I also worry as to why PHP would behave differently (a require once should kill all PHP, not just moodle PHP) depending on being inside Moodle.

The code in the SVN works outside of moodle, it works in moodle 2.3. If I make a change in future, does it have to work in moodle 1.9? There is no reason I can tell you why the old 1.9 wouldn't work in moodle, but I'd be loathe to do a completely new install just to test it on the off chance moodle is being weird.

On Wed, Dec 5, 2012 at 3:00 PM, Ron Mitchell > wrote:
Hi Pat
Firstly I'm not saying you broke anything I still have no idea really about what changed to cause these problems. All I can say for sure is that we've been using the Techdis install for months during the 1.8 development and more recently the html 5 development and I've been updating that server daily simply by getting and exporting the latest svn code and uploading that to the test install. Sometimes hourly let alone daily and weekly. On that server/install nothing else had changed. In my local xampp nothing else had changed.

I haven't had time to investigate but perhaps the svn merge created that duplicate require statement in your_templates.php and that seems to have been the cause of the workspace refresh issue. Perhaps it's something else like that which caused the new project issue I really can't say for sure.

I know what you mean about all the possible external tools and perhaps the LTI work Simon started would be the ultimate solution to all that but the fact remains there are a lot of organisations using XOT combined with Moodle for authentication. That may never had evolved if XOT had its own account management etc but again it's just a fact that you never needed that at Nottingham and it's never really been fully implemented so it's either LDAP or Moodle for most and lot's of organisations can't use the LDAP option for all sorts of reasons. Tom may be able to provide some stats about that from his work in Europe etc and I think it will definitely be worth doing a survey at some point.

To my mind we want people to upgrade and provide feedback on the latest release so ensuring this works for those with moodle authentication is a key ingredient of that.

Do you agree that 1 & 2 below shouldn't break anything when moodle integration isn't used?
1. The change to new_template.php fixes the main issue I was seeing e.g. not being able to create new projects with a moodle 1.9 integration path enabled. I can't see how that change would break non moodle use?
2. The change to your_templates.php fixes the other main issue of the workspace not refreshing after creating a project. This was just removal of a duplicate require line. Not sure if that was always there, or introduced recently, or only a problem with moodle integration in place, but again I really can't see how this would break non moodle use?
How do we crack the closing the editor window issue? Can anyone else replicate that with the latest svn trunk code?
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: 05 December 2012 14:26

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

it's all of those things though.

We don't know who uses XOT and with what, so we can't guess on who uses stuff. I could make an argument the WordPress plugin would be a world simpler if Xerte did X and Y, but I wanted to make it work, so I found a way round it.

If we aren't going to release changes because it breaks X, then what is X. because we upgraded to PHP 5 and told people to change host if they had a problem with that

So at present, if we make changes to XOT, we are only going to release them in they work with Moodle? Which Moodles? For how long?

I don't see why those changes are required for moodle to work, I didn't remove any of those lines of code, or add them in. I didn't change anything in modularisation to do with folders (as it doesn't need it). All I changed in new template was returning one extra parameter in the query - but the code has broken a long time before that change comes into play.

On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell > wrote:
hang on a sec - let's discuss this objectively and practically...

We have a very small developer list membership and even fewer of that membership testing/developing the latest code on anything but xampp

Realistically for organisations to use XOT in earnest they need a public facing server install with either ldap or moodle authentication. e.g. guest, static or db aren't current/realistic options.

I'd wager, but prepared to be proved wrong and perhaps we should do a survey, that there are far more xot installations in use that are using moodle for authentication than ldap. I certainly know for a fact that there are organisations using xot that wouldn't be and wouldn't be able to if they weren't able to use moodle for authentication. I know there's no internal requirement at Nottingham for Moodle integration but we've had it working for years now and it's not a change to moodle code that has stopped it working. It's not even a change to the xot moodle integration code that has stopped it working. Pat has worked magic in finding a solution to the two main issues I've reported but I'm not sure we've really nailed exactly what changed to break things in the first place or if it was one thing or different things. (see below)

These problems with moodle integration didn't exist until last week - something has caused a conflict. There's no problem with the previous moodle integration in 1.7/1.8 regardless of moodle version.

There have been different errors and different issues reported during this last week not all of which are down to the same cause/solution. I can only reliably report on the issues I've found/tested and it's not always easy or efficient to test one thing at a time especially when there are so many permutations too. e.g. The blank window and language change issue that Tom reported I haven't seen and a fix for Tom re the language setting didn't change/fix anything for me. Different problem and  different solution I think.

Comparing the changes Pat sent through from the current svn code I've replaced files individually to test what fixes what:

1. The change to new_template.php fixes the main issue I was seeing e.g. not being able to create new projects with a moodle 1.9 integration path enabled. I can't see how that change would break non moodle use?

2. The change to your_templates.php fixes the other main issue of the workspace not refreshing after creating a project. This was just removal of a duplicate require line. Not sure if that was always there, or introduced recently, or only a problem with moodle integration in place, but again I really can't see how this would break non moodle use?

The above two changes fix the main issues I was getting when using an install with a moodle 1.9 integration path. The other changes to folder_library.php, user_library.php and make_new_folder.php don't seem to be needed to fix those main issues as far as I can tell. Not sure if they fixes other issues that I haven't seen.

Remaining issue
I am still getting the issue that after creating a new project clicking create doesn't work again until after a refresh but that's happening without a moodle integration path and as far as I can tell is happening with the latest svn code so may be a new problem.

HTH
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: 05 December 2012 13:05

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

but the PHP works outside of moodle 1.9 fine

the problem is once with a database and once with a path

Also - we are setting a precedent. We have a working code base, but when added into another product, it stops.

On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett > wrote:
The pathing on Moodle 2.0 is a wild and crazy thing.
Maybe 1.9 was a bit of a test bed for some of what became 2.0?
Wild guessing.

________________________________
Date: Wed, 5 Dec 2012 12:32:09 +0000
From: patrick.lockley at googlemail.com
To: xerte-dev at lists.nottingham.ac.uk

Subject: [Xerte-dev] Re: moodle fix

it's not really about introducing errors or changes, but why moodle 1.9 requires the code to be different? That seems a bit worrying.

On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell > wrote:

I've been testing without a moodle integration path as well as with.



This particular window_reference error happens with and without a moodle integration path.

I'm testing via xampp but you can see it on the techdis install although that obviously is using moodle authentication.



I haven't found any other errors when testing without integration path so I'm not sure your changed files have introduced any problems unless this js error is a result of those changes.



From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:14

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix




Yeah, my bad - not sure why that would happen. Nothing I've changed javascript side.

I wouldn't commit those changes as they just don't make sense to me. I don't get why moodle inclusion would cause those problems and I am not sure what they do outside of moodle.



On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell > wrote:

I thought that window_reference is undefined is a js error?



BTW

Are you going to commit those changed php files or do you want me to on your behalf?



From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:02

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix



Not sure then, I assumed it was that (as this was more of a patch than a fix)

Do you get a JS error?



On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell > wrote:

Just print_r($_SESSION) or could there be a similar print_r(something) causing the same problem?

Have searched for print_r($_SESSION) in the install I'm using for testing and not found.



From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 11:42

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix



I think it's because of the print_r($_SESSION) somewhere - remove that and it'll be fine



On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell > wrote:

Hi Pat

thanks for the update.

I've been testing on both the techdis server and locally via xampp. Obviously I won't have tested every single permutation yet but from tests so far all seems fine apart from this issue of not being able to create a new project after creating one already until refresh. However this happens without a moodle integration path added too.



Here's the steps to reproduce with current svn code plus your changed files.

Click create to create a new project based on Xerte Online Toolkits template

Close the editor and try to create another project - nothing happens upon clicking create

Refresh the browser and click create works but the cycle repeats e.g. can't create a second project



Using debugger in IE9 I get the following error when closing the editor window:



SCRIPT5009: 'window_reference' is undefined

edit.php?template_id=17, line 32 character 1



Not really sure where to look for the cause/solution to this one but is there perhaps an include/require missing somewhere?



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: 05 December 2012 09:38

To: For Xerte technical developers

Subject: [Xerte-dev] Re: moodle fix



the problem in new template was that for some reason moodle is leaving or creating another database link so when toolkits sends the request to the database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.



On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell > wrote:

Hi Pat

thanks - from tests so far those files have certainly improved things!



What did you find/change? What was the main cause of the problem?



I've tested creating new projects and folders, moving and deleting projects all of which were a problem previously so looking hopeful.



One problem/difference at the moment which I don't think was there before is that with a moodle 1.9 integration path I can now create a new project without the workspace refreshing and it appears etc but if I then try to create a second project clicking create to create another Xerte Online Toolkit project doesn't do anything. I have to refresh the browser before I can create another project. Clicking to create an RSS project does work without refresh and with moodle 2 configured I can create a second and third template etc without problem.



I've only tested this locally so far will test on the techdis server next...



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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix



try swapping these files



_______________________________________________
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


_______________________________________________ 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: 

From patrick.lockley at googlemail.com  Wed Dec  5 16:30:03 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Wed, 5 Dec 2012 16:30:03 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8CAD@EXCHANGE1.ad.nottingham.ac.uk>
References: 
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
	
	<002001cdd2dc$bb8becc0$32a3c640$@co.uk>
	
	<003801cdd2de$feaff710$fc0fe530$@co.uk>
	
	<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>
	
	<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>
	
	
	
	<009501cdd2f1$5f37dbe0$1da793a0$@co.uk>
	
	<00bc01cdd2f9$56a1b3e0$03e51ba0$@co.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8CAD@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

this is the thing though, as "core" XOT now covers moodle integration,
which is a big thing.

Muddling through is fine, but if we are developing new stuff we need to
know what we are developing for / to work with? I'm not really using XOT at
work, so I'm doing this for free

I can have a look tonight at the window_reference thing, suspect it's
simple.




On Wed, Dec 5, 2012 at 3:57 PM, Julian Tenney <
Julian.Tenney at nottingham.ac.uk> wrote:

> Quite. I?d prefer us to be accessing the moodle session data through some
> ?approved? means of doing so, because presumably it could change at any
> major / minor version update?****
>
> ** **
>
> Are you able to look at the second create / refresh issue Pat?****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 15:54
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
> ** **
>
> i know the change is almost certainly my fault, as in theory I made the
> last change, which is fine.
>
> The merge is done line by line, so it's not a process by which you'd
> remove a line of code unless it was in conflict (and database_connect isn't
> that kind of code, you can connect to a database a million times and not
> worry about it), and if you look at new_template.php it hasn't had a
> database connect call for quite some time - it wasn't there in March (which
> was the last change). So these changes make it work in moodle 1.9, I didn't
> commit them as I haven't tested them outside moodle. I also worry as to why
> PHP would behave differently (a require once should kill all PHP, not just
> moodle PHP) depending on being inside Moodle.
>
> The code in the SVN works outside of moodle, it works in moodle 2.3. If I
> make a change in future, does it have to work in moodle 1.9? There is no
> reason I can tell you why the old 1.9 wouldn't work in moodle, but I'd be
> loathe to do a completely new install just to test it on the off chance
> moodle is being weird.
>
> ****
>
> ** **
>
> On Wed, Dec 5, 2012 at 3:00 PM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> Firstly I'm not saying you broke anything I still have no idea really
> about what changed to cause these problems. All I can say for sure is that
> we've been using the Techdis install for months during the 1.8 development
> and more recently the html 5 development and I've been updating that server
> daily simply by getting and exporting the latest svn code and uploading
> that to the test install. Sometimes hourly let alone daily and weekly. On
> that server/install nothing else had changed. In my local xampp nothing
> else had changed.****
>
>  ****
>
> I haven't had time to investigate but perhaps the svn merge created that
> duplicate require statement in your_templates.php and that seems to have
> been the cause of the workspace refresh issue. Perhaps it's something else
> like that which caused the new project issue I really can't say for sure.*
> ***
>
>  ****
>
> I know what you mean about all the possible external tools and perhaps the
> LTI work Simon started would be the ultimate solution to all that but the
> fact remains there are a lot of organisations using XOT combined with
> Moodle for authentication. That may never had evolved if XOT had its own
> account management etc but again it's just a fact that you never needed
> that at Nottingham and it's never really been fully implemented so it's
> either LDAP or Moodle for most and lot's of organisations can't use the
> LDAP option for all sorts of reasons. Tom may be able to provide some stats
> about that from his work in Europe etc and I think it will definitely be
> worth doing a survey at some point.****
>
>  ****
>
> To my mind we want people to upgrade and provide feedback on the latest
> release so ensuring this works for those with moodle authentication is a
> key ingredient of that.****
>
>  ****
>
> Do you agree that 1 & 2 below shouldn't break anything when moodle
> integration isn't used?****
>
> 1. The change to new_template.php fixes the main issue I was seeing e.g.
> not being able to create new projects with a moodle 1.9 integration path
> enabled. I can't see how that change would break non moodle use?****
>
> 2. The change to your_templates.php fixes the other main issue of the
> workspace not refreshing after creating a project. This was just removal of
> a duplicate require line. Not sure if that was always there, or introduced
> recently, or only a problem with moodle integration in place, but again I
> really can't see how this would break non moodle use?****
>
> How do we crack the closing the editor window issue? Can anyone else
> replicate that with the latest svn trunk code?****
>
> 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:* 05 December 2012 14:26****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> it's all of those things though.
>
> We don't know who uses XOT and with what, so we can't guess on who uses
> stuff. I could make an argument the WordPress plugin would be a world
> simpler if Xerte did X and Y, but I wanted to make it work, so I found a
> way round it.
>
> If we aren't going to release changes because it breaks X, then what is X.
> because we upgraded to PHP 5 and told people to change host if they had a
> problem with that
>
> So at present, if we make changes to XOT, we are only going to release
> them in they work with Moodle? Which Moodles? For how long?
>
> I don't see why those changes are required for moodle to work, I didn't
> remove any of those lines of code, or add them in. I didn't change anything
> in modularisation to do with folders (as it doesn't need it). All I changed
> in new template was returning one extra parameter in the query - but the
> code has broken a long time before that change comes into play.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell 
> wrote:****
>
> hang on a sec - let's discuss this objectively and practically...****
>
>  ****
>
> We have a very small developer list membership and even fewer of that
> membership testing/developing the latest code on anything but xampp****
>
>  ****
>
> Realistically for organisations to use XOT in earnest they need a public
> facing server install with either ldap or moodle authentication. e.g.
> guest, static or db aren't current/realistic options.****
>
>  ****
>
> I'd wager, but prepared to be proved wrong and perhaps we should do a
> survey, that there are far more xot installations in use that are using
> moodle for authentication than ldap. I certainly know for a fact that there
> are organisations using xot that wouldn't be and wouldn't be able to if
> they weren't able to use moodle for authentication. I know there's no
> internal requirement at Nottingham for Moodle integration but we've had it
> working for years now and it's not a change to moodle code that has stopped
> it working. It's not even a change to the xot moodle integration code that
> has stopped it working. Pat has worked magic in finding a solution to the
> two main issues I've reported but I'm not sure we've really nailed exactly
> what changed to break things in the first place or if it was one thing or
> different things. (see below)****
>
>  ****
>
> These problems with moodle integration didn't exist until last week -
> something has caused a conflict. There's no problem with the previous
> moodle integration in 1.7/1.8 regardless of moodle version.****
>
>  ****
>
> There have been different errors and different issues reported during this
> last week not all of which are down to the same cause/solution. I can only
> reliably report on the issues I've found/tested and it's not always easy or
> efficient to test one thing at a time especially when there are so many
> permutations too. e.g. The blank window and language change issue that Tom
> reported I haven't seen and a fix for Tom re the language setting didn't
> change/fix anything for me. Different problem and  different solution I
> think.****
>
>  ****
>
> Comparing the changes Pat sent through from the current svn code I've
> replaced files individually to test what fixes what:****
>
>  ****
>
> 1. The change to new_template.php fixes the main issue I was seeing e.g.
> not being able to create new projects with a moodle 1.9 integration path
> enabled. I can't see how that change would break non moodle use?****
>
>  ****
>
> 2. The change to your_templates.php fixes the other main issue of the
> workspace not refreshing after creating a project. This was just removal of
> a duplicate require line. Not sure if that was always there, or introduced
> recently, or only a problem with moodle integration in place, but again I
> really can't see how this would break non moodle use?****
>
>  ****
>
> The above two changes fix the main issues I was getting when using an
> install with a moodle 1.9 integration path. The other changes to
> folder_library.php, user_library.php and make_new_folder.php don't seem to
> be needed to fix those main issues as far as I can tell. Not sure if they
> fixes other issues that I haven't seen.****
>
>  ****
>
> Remaining issue****
>
> I am still getting the issue that after creating a new project clicking
> create doesn't work again until after a refresh but that's happening
> without a moodle integration path and as far as I can tell is happening
> with the latest svn code so may be a new problem.****
>
>  ****
>
> HTH****
>
> 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:* 05 December 2012 13:05****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> but the PHP works outside of moodle 1.9 fine
>
> the problem is once with a database and once with a path
>
> Also - we are setting a precedent. We have a working code base, but when
> added into another product, it stops.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett 
> wrote:****
>
> The pathing on Moodle 2.0 is a wild and crazy thing.****
>
> Maybe 1.9 was a bit of a test bed for some of what became 2.0?****
>
> Wild guessing.****
>
>  ****
> ------------------------------
>
> Date: Wed, 5 Dec 2012 12:32:09 +0000
> From: patrick.lockley at googlemail.com
> To: xerte-dev at lists.nottingham.ac.uk****
>
>
> Subject: [Xerte-dev] Re: moodle fix
>
> it's not really about introducing errors or changes, but why moodle 1.9
> requires the code to be different? That seems a bit worrying.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell 
> wrote:****
>
> I've been testing without a moodle integration path as well as with.****
>
>  ****
>
> This particular window_reference error happens with and without a moodle
> integration path. ****
>
> I'm testing via xampp but you can see it on the techdis install although
> that obviously is using moodle authentication.****
>
>  ****
>
> I haven't found any other errors when testing without integration path so
> I'm not sure your changed files have introduced any problems unless this js
> error is a result of those changes.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 12:14****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
>  ****
>
> Yeah, my bad - not sure why that would happen. Nothing I've changed
> javascript side.
>
> I wouldn't commit those changes as they just don't make sense to me. I
> don't get why moodle inclusion would cause those problems and I am not sure
> what they do outside of moodle.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell 
> wrote:****
>
> I thought that window_reference is undefined is a js error?****
>
>  ****
>
> BTW****
>
> Are you going to commit those changed php files or do you want me to on
> your behalf?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 12:02****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> Not sure then, I assumed it was that (as this was more of a patch than a
> fix)
>
> Do you get a JS error?****
>
>  ****
>
> On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell 
> wrote:****
>
> Just print_r($_SESSION) or could there be a similar print_r(something)
> causing the same problem?****
>
> Have searched for print_r($_SESSION) in the install I'm using for testing
> and not found.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 11:42****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> I think it's because of the print_r($_SESSION) somewhere - remove that and
> it'll be fine****
>
>  ****
>
> On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> thanks for the update.****
>
> I've been testing on both the techdis server and locally via xampp.
> Obviously I won't have tested every single permutation yet but from tests
> so far all seems fine apart from this issue of not being able to create a
> new project after creating one already until refresh. However this happens
> without a moodle integration path added too.****
>
>  ****
>
> Here's the steps to reproduce with current svn code plus your changed
> files.****
>
> Click create to create a new project based on Xerte Online Toolkits
> template****
>
> Close the editor and try to create another project - nothing happens upon
> clicking create****
>
> Refresh the browser and click create works but the cycle repeats e.g.
> can't create a second project****
>
>  ****
>
> Using debugger in IE9 I get the following error when closing the editor
> window:****
>
>  ****
>
> SCRIPT5009: 'window_reference' is undefined ****
>
> edit.php?template_id=17, line 32 character 1****
>
>  ****
>
> Not really sure where to look for the cause/solution to this one but is
> there perhaps an include/require missing somewhere?****
>
>  ****
>
> 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:* 05 December 2012 09:38****
>
>
> *To:* For Xerte technical developers****
>
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> the problem in new template was that for some reason moodle is leaving or
> creating another database link so when toolkits sends the request to the
> database it fails as the code is now pointing at the wrong database.
>
> Added in another database_connect call to fix this
>
> the problem in new folder creation was two require_once("config.php")
> being used. Removed one and it works.
>
> Why these would only affect moodle 1.9? No idea.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> thanks - from tests so far those files have certainly improved things!****
>
>  ****
>
> What did you find/change? What was the main cause of the problem?****
>
>  ****
>
> I've tested creating new projects and folders, moving and deleting
> projects all of which were a problem previously so looking hopeful.****
>
>  ****
>
> One problem/difference at the moment which I don't think was there before
> is that with a moodle 1.9 integration path I can now create a new project
> without the workspace refreshing and it appears etc but if I then try to
> create a second project clicking create to create another Xerte Online
> Toolkit project doesn't do anything. I have to refresh the browser before I
> can create another project. Clicking to create an RSS project does work
> without refresh and with moodle 2 configured I can create a second and
> third template etc without problem.****
>
>  ****
>
> I've only tested this locally so far will test on the techdis server
> next...****
>
>  ****
>
> 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:* 05 December 2012 00:29
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] moodle fix****
>
>  ****
>
> try swapping these files ****
>
>  ****
>
>
> _______________________________________________
> 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****
>
>  ****
>
>
> _______________________________________________ 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: 

From Julian.Tenney at nottingham.ac.uk  Wed Dec  5 16:50:37 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Wed, 5 Dec 2012 16:50:37 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: 
References: 
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
	
	<002001cdd2dc$bb8becc0$32a3c640$@co.uk>
	
	<003801cdd2de$feaff710$fc0fe530$@co.uk>
	
	<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>
	
	<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>
	
	
	
	<009501cdd2f1$5f37dbe0$1da793a0$@co.uk>
	
	<00bc01cdd2f9$56a1b3e0$03e51ba0$@co.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8CAD@EXCHANGE1.ad.nottingham.ac.uk>
	
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8D25@EXCHANGE1.ad.nottingham.ac.uk>

I would prefer we have some sort of service in between the two products that can do the work robustly. I don't think XOT should risk being delayed because some moodle update has screwed things up. This seems to me a classic case of code originally written for one thing, now catering for unforeseen circumstances, and I think we should rethink it, otherwise we have the same nightmare we had with youtube pages having to cope with different ways of finding the IDs, but in a more serious place. But let's leave it for now if it's fixed for now.

Let's get the remaining issues sorted out, so we can go into Christmas with this release done,

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 16:30
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

this is the thing though, as "core" XOT now covers moodle integration, which is a big thing.

Muddling through is fine, but if we are developing new stuff we need to know what we are developing for / to work with? I'm not really using XOT at work, so I'm doing this for free

I can have a look tonight at the window_reference thing, suspect it's simple.


On Wed, Dec 5, 2012 at 3:57 PM, Julian Tenney > wrote:
Quite. I'd prefer us to be accessing the moodle session data through some 'approved' means of doing so, because presumably it could change at any major / minor version update?

Are you able to look at the second create / refresh issue Pat?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 15:54

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

i know the change is almost certainly my fault, as in theory I made the last change, which is fine.

The merge is done line by line, so it's not a process by which you'd remove a line of code unless it was in conflict (and database_connect isn't that kind of code, you can connect to a database a million times and not worry about it), and if you look at new_template.php it hasn't had a database connect call for quite some time - it wasn't there in March (which was the last change). So these changes make it work in moodle 1.9, I didn't commit them as I haven't tested them outside moodle. I also worry as to why PHP would behave differently (a require once should kill all PHP, not just moodle PHP) depending on being inside Moodle.

The code in the SVN works outside of moodle, it works in moodle 2.3. If I make a change in future, does it have to work in moodle 1.9? There is no reason I can tell you why the old 1.9 wouldn't work in moodle, but I'd be loathe to do a completely new install just to test it on the off chance moodle is being weird.

On Wed, Dec 5, 2012 at 3:00 PM, Ron Mitchell > wrote:
Hi Pat
Firstly I'm not saying you broke anything I still have no idea really about what changed to cause these problems. All I can say for sure is that we've been using the Techdis install for months during the 1.8 development and more recently the html 5 development and I've been updating that server daily simply by getting and exporting the latest svn code and uploading that to the test install. Sometimes hourly let alone daily and weekly. On that server/install nothing else had changed. In my local xampp nothing else had changed.

I haven't had time to investigate but perhaps the svn merge created that duplicate require statement in your_templates.php and that seems to have been the cause of the workspace refresh issue. Perhaps it's something else like that which caused the new project issue I really can't say for sure.

I know what you mean about all the possible external tools and perhaps the LTI work Simon started would be the ultimate solution to all that but the fact remains there are a lot of organisations using XOT combined with Moodle for authentication. That may never had evolved if XOT had its own account management etc but again it's just a fact that you never needed that at Nottingham and it's never really been fully implemented so it's either LDAP or Moodle for most and lot's of organisations can't use the LDAP option for all sorts of reasons. Tom may be able to provide some stats about that from his work in Europe etc and I think it will definitely be worth doing a survey at some point.

To my mind we want people to upgrade and provide feedback on the latest release so ensuring this works for those with moodle authentication is a key ingredient of that.

Do you agree that 1 & 2 below shouldn't break anything when moodle integration isn't used?
1. The change to new_template.php fixes the main issue I was seeing e.g. not being able to create new projects with a moodle 1.9 integration path enabled. I can't see how that change would break non moodle use?
2. The change to your_templates.php fixes the other main issue of the workspace not refreshing after creating a project. This was just removal of a duplicate require line. Not sure if that was always there, or introduced recently, or only a problem with moodle integration in place, but again I really can't see how this would break non moodle use?
How do we crack the closing the editor window issue? Can anyone else replicate that with the latest svn trunk code?
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: 05 December 2012 14:26

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

it's all of those things though.

We don't know who uses XOT and with what, so we can't guess on who uses stuff. I could make an argument the WordPress plugin would be a world simpler if Xerte did X and Y, but I wanted to make it work, so I found a way round it.

If we aren't going to release changes because it breaks X, then what is X. because we upgraded to PHP 5 and told people to change host if they had a problem with that

So at present, if we make changes to XOT, we are only going to release them in they work with Moodle? Which Moodles? For how long?

I don't see why those changes are required for moodle to work, I didn't remove any of those lines of code, or add them in. I didn't change anything in modularisation to do with folders (as it doesn't need it). All I changed in new template was returning one extra parameter in the query - but the code has broken a long time before that change comes into play.

On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell > wrote:
hang on a sec - let's discuss this objectively and practically...

We have a very small developer list membership and even fewer of that membership testing/developing the latest code on anything but xampp

Realistically for organisations to use XOT in earnest they need a public facing server install with either ldap or moodle authentication. e.g. guest, static or db aren't current/realistic options.

I'd wager, but prepared to be proved wrong and perhaps we should do a survey, that there are far more xot installations in use that are using moodle for authentication than ldap. I certainly know for a fact that there are organisations using xot that wouldn't be and wouldn't be able to if they weren't able to use moodle for authentication. I know there's no internal requirement at Nottingham for Moodle integration but we've had it working for years now and it's not a change to moodle code that has stopped it working. It's not even a change to the xot moodle integration code that has stopped it working. Pat has worked magic in finding a solution to the two main issues I've reported but I'm not sure we've really nailed exactly what changed to break things in the first place or if it was one thing or different things. (see below)

These problems with moodle integration didn't exist until last week - something has caused a conflict. There's no problem with the previous moodle integration in 1.7/1.8 regardless of moodle version.

There have been different errors and different issues reported during this last week not all of which are down to the same cause/solution. I can only reliably report on the issues I've found/tested and it's not always easy or efficient to test one thing at a time especially when there are so many permutations too. e.g. The blank window and language change issue that Tom reported I haven't seen and a fix for Tom re the language setting didn't change/fix anything for me. Different problem and  different solution I think.

Comparing the changes Pat sent through from the current svn code I've replaced files individually to test what fixes what:

1. The change to new_template.php fixes the main issue I was seeing e.g. not being able to create new projects with a moodle 1.9 integration path enabled. I can't see how that change would break non moodle use?

2. The change to your_templates.php fixes the other main issue of the workspace not refreshing after creating a project. This was just removal of a duplicate require line. Not sure if that was always there, or introduced recently, or only a problem with moodle integration in place, but again I really can't see how this would break non moodle use?

The above two changes fix the main issues I was getting when using an install with a moodle 1.9 integration path. The other changes to folder_library.php, user_library.php and make_new_folder.php don't seem to be needed to fix those main issues as far as I can tell. Not sure if they fixes other issues that I haven't seen.

Remaining issue
I am still getting the issue that after creating a new project clicking create doesn't work again until after a refresh but that's happening without a moodle integration path and as far as I can tell is happening with the latest svn code so may be a new problem.

HTH
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: 05 December 2012 13:05

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

but the PHP works outside of moodle 1.9 fine

the problem is once with a database and once with a path

Also - we are setting a precedent. We have a working code base, but when added into another product, it stops.

On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett > wrote:
The pathing on Moodle 2.0 is a wild and crazy thing.
Maybe 1.9 was a bit of a test bed for some of what became 2.0?
Wild guessing.

________________________________
Date: Wed, 5 Dec 2012 12:32:09 +0000
From: patrick.lockley at googlemail.com
To: xerte-dev at lists.nottingham.ac.uk

Subject: [Xerte-dev] Re: moodle fix

it's not really about introducing errors or changes, but why moodle 1.9 requires the code to be different? That seems a bit worrying.

On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell > wrote:

I've been testing without a moodle integration path as well as with.



This particular window_reference error happens with and without a moodle integration path.

I'm testing via xampp but you can see it on the techdis install although that obviously is using moodle authentication.



I haven't found any other errors when testing without integration path so I'm not sure your changed files have introduced any problems unless this js error is a result of those changes.



From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:14

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix




Yeah, my bad - not sure why that would happen. Nothing I've changed javascript side.

I wouldn't commit those changes as they just don't make sense to me. I don't get why moodle inclusion would cause those problems and I am not sure what they do outside of moodle.



On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell > wrote:

I thought that window_reference is undefined is a js error?



BTW

Are you going to commit those changed php files or do you want me to on your behalf?



From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:02

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix



Not sure then, I assumed it was that (as this was more of a patch than a fix)

Do you get a JS error?



On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell > wrote:

Just print_r($_SESSION) or could there be a similar print_r(something) causing the same problem?

Have searched for print_r($_SESSION) in the install I'm using for testing and not found.



From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 11:42

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix



I think it's because of the print_r($_SESSION) somewhere - remove that and it'll be fine



On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell > wrote:

Hi Pat

thanks for the update.

I've been testing on both the techdis server and locally via xampp. Obviously I won't have tested every single permutation yet but from tests so far all seems fine apart from this issue of not being able to create a new project after creating one already until refresh. However this happens without a moodle integration path added too.



Here's the steps to reproduce with current svn code plus your changed files.

Click create to create a new project based on Xerte Online Toolkits template

Close the editor and try to create another project - nothing happens upon clicking create

Refresh the browser and click create works but the cycle repeats e.g. can't create a second project



Using debugger in IE9 I get the following error when closing the editor window:



SCRIPT5009: 'window_reference' is undefined

edit.php?template_id=17, line 32 character 1



Not really sure where to look for the cause/solution to this one but is there perhaps an include/require missing somewhere?



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: 05 December 2012 09:38

To: For Xerte technical developers

Subject: [Xerte-dev] Re: moodle fix



the problem in new template was that for some reason moodle is leaving or creating another database link so when toolkits sends the request to the database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.



On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell > wrote:

Hi Pat

thanks - from tests so far those files have certainly improved things!



What did you find/change? What was the main cause of the problem?



I've tested creating new projects and folders, moving and deleting projects all of which were a problem previously so looking hopeful.



One problem/difference at the moment which I don't think was there before is that with a moodle 1.9 integration path I can now create a new project without the workspace refreshing and it appears etc but if I then try to create a second project clicking create to create another Xerte Online Toolkit project doesn't do anything. I have to refresh the browser before I can create another project. Clicking to create an RSS project does work without refresh and with moodle 2 configured I can create a second and third template etc without problem.



I've only tested this locally so far will test on the techdis server next...



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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix



try swapping these files



_______________________________________________
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


_______________________________________________ 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: 

From Julian.Tenney at nottingham.ac.uk  Thu Dec  6 08:39:55 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Thu, 6 Dec 2012 08:39:55 +0000
Subject: [Xerte-dev] Firefox Problem
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8DA7@EXCHANGE1.ad.nottingham.ac.uk>

Have you got any idea why I suddenly can't open the wizard in Firefox: I don't think we've changed anything on our server. Fine in Chrome and IE

I can log in, get my projects in the workspace, properties all work OK.

But if I select a project and click edit, I get a blank window, likewise if I try and preview from the workspace preview button.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From patrick.lockley at googlemail.com  Thu Dec  6 09:35:24 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Thu, 6 Dec 2012 09:35:24 +0000
Subject: [Xerte-dev] Re: Firefox Problem
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8DA7@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8DA7@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

on 1.8, or on the techdis box?


On Thu, Dec 6, 2012 at 8:39 AM, Julian Tenney <
Julian.Tenney at nottingham.ac.uk> wrote:

> Have you got any idea why I suddenly can?t open the wizard in Firefox: I
> don?t think we?ve changed anything on our server. Fine in Chrome and IE***
> *
>
> ** **
>
> I can log in, get my projects in the workspace, properties all work OK.***
> *
>
> ** **
>
> But if I select a project and click edit, I get a blank window, likewise
> if I try and preview from the workspace preview button.****
>
>
>
>
> _______________________________________________
> 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: 

From Julian.Tenney at nottingham.ac.uk  Thu Dec  6 09:37:40 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Thu, 6 Dec 2012 09:37:40 +0000
Subject: [Xerte-dev] Re: Firefox Problem
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8DA7@EXCHANGE1.ad.nottingham.ac.uk>
	
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8E06@EXCHANGE1.ad.nottingham.ac.uk>

On our live server here. It's not all machines either, Simon can access it all fine. I had a user raise the issue, who has since told me it's gone away - not for me though. I suspect some flash player update has screwed things, as there is some chatter in some forums recently about similar issues, but I can't find a fix. I've tried reinstalling Flash player.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 06 December 2012 09:35
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Firefox Problem

on 1.8, or on the techdis box?

On Thu, Dec 6, 2012 at 8:39 AM, Julian Tenney > wrote:
Have you got any idea why I suddenly can't open the wizard in Firefox: I don't think we've changed anything on our server. Fine in Chrome and IE

I can log in, get my projects in the workspace, properties all work OK.

But if I select a project and click edit, I get a blank window, likewise if I try and preview from the workspace preview button.




_______________________________________________
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: 

From ronm at mitchellmedia.co.uk  Thu Dec  6 09:42:36 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Thu, 6 Dec 2012 09:42:36 +0000
Subject: [Xerte-dev] Re: Firefox Problem
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8E06@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8DA7@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8E06@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: <0D432095-1019-4976-B8C6-FF2A17EFFD3D@mitchellmedia.co.uk>

I can't reproduce that - works fine in Firefox for me. Presumably you've cleared cache etc

Sent from my iPhone

On 6 Dec 2012, at 09:37, Julian Tenney  wrote:

> On our live server here. It?s not all machines either, Simon can access it all fine. I had a user raise the issue, who has since told me it?s gone away ? not for me though. I suspect some flash player update has screwed things, as there is some chatter in some forums recently about similar issues, but I can?t find a fix. I?ve tried reinstalling Flash player.
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 06 December 2012 09:35
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: Firefox Problem
>  
> on 1.8, or on the techdis box?
>  
> 
> On Thu, Dec 6, 2012 at 8:39 AM, Julian Tenney  wrote:
> Have you got any idea why I suddenly can?t open the wizard in Firefox: I don?t think we?ve changed anything on our server. Fine in Chrome and IE
>  
> I can log in, get my projects in the workspace, properties all work OK.
>  
> But if I select a project and click edit, I get a blank window, likewise if I try and preview from the workspace preview button.
> 
> 
> 
> 
> _______________________________________________
> 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: 

From Julian.Tenney at nottingham.ac.uk  Thu Dec  6 09:46:23 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Thu, 6 Dec 2012 09:46:23 +0000
Subject: [Xerte-dev] Re: Firefox Problem
In-Reply-To: <0D432095-1019-4976-B8C6-FF2A17EFFD3D@mitchellmedia.co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8DA7@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8E06@EXCHANGE1.ad.nottingham.ac.uk>
	<0D432095-1019-4976-B8C6-FF2A17EFFD3D@mitchellmedia.co.uk>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8E1D@EXCHANGE1.ad.nottingham.ac.uk>

[slaps forehead]

Cleared cache.
Problem gone.

Cheers ;-)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 06 December 2012 09:43
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Firefox Problem

I can't reproduce that - works fine in Firefox for me. Presumably you've cleared cache etc

Sent from my iPhone

On 6 Dec 2012, at 09:37, Julian Tenney > wrote:
On our live server here. It?s not all machines either, Simon can access it all fine. I had a user raise the issue, who has since told me it?s gone away ? not for me though. I suspect some flash player update has screwed things, as there is some chatter in some forums recently about similar issues, but I can?t find a fix. I?ve tried reinstalling Flash player.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 06 December 2012 09:35
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Firefox Problem

on 1.8, or on the techdis box?

On Thu, Dec 6, 2012 at 8:39 AM, Julian Tenney > wrote:
Have you got any idea why I suddenly can?t open the wizard in Firefox: I don?t think we?ve changed anything on our server. Fine in Chrome and IE

I can log in, get my projects in the workspace, properties all work OK.

But if I select a project and click edit, I get a blank window, likewise if I try and preview from the workspace preview button.




_______________________________________________
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: 

From patrick.lockley at googlemail.com  Thu Dec  6 09:49:16 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Thu, 6 Dec 2012 09:49:16 +0000
Subject: [Xerte-dev] Re: Firefox Problem
In-Reply-To: <0D432095-1019-4976-B8C6-FF2A17EFFD3D@mitchellmedia.co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8DA7@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8E06@EXCHANGE1.ad.nottingham.ac.uk>
	<0D432095-1019-4976-B8C6-FF2A17EFFD3D@mitchellmedia.co.uk>
Message-ID: 

anything in firebug?


On Thu, Dec 6, 2012 at 9:42 AM, Ron Mitchell wrote:

> I can't reproduce that - works fine in Firefox for me. Presumably you've
> cleared cache etc
>
> Sent from my iPhone
>
> On 6 Dec 2012, at 09:37, Julian Tenney 
> wrote:
>
> On our live server here. It?s not all machines either, Simon can access it
> all fine. I had a user raise the issue, who has since told me it?s gone
> away ? not for me though. I suspect some flash player update has screwed
> things, as there is some chatter in some forums recently about similar
> issues, but I can?t find a fix. I?ve tried reinstalling Flash player.****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat Lockley
> *Sent:* 06 December 2012 09:35
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Firefox Problem****
>
> ** **
>
> on 1.8, or on the techdis box?****
>
> ** **
>
> On Thu, Dec 6, 2012 at 8:39 AM, Julian Tenney <
> Julian.Tenney at nottingham.ac.uk> wrote:****
>
> Have you got any idea why I suddenly can?t open the wizard in Firefox: I
> don?t think we?ve changed anything on our server. Fine in Chrome and IE***
> *
>
>  ****
>
> I can log in, get my projects in the workspace, properties all work OK.***
> *
>
>  ****
>
> But if I select a project and click edit, I get a blank window, likewise
> if I try and preview from the workspace preview button.****
>
>
>
>
>
> _______________________________________________
> 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: 

From patrick.lockley at googlemail.com  Thu Dec  6 20:45:06 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Thu, 6 Dec 2012 20:45:06 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48CD8D25@EXCHANGE1.ad.nottingham.ac.uk>
References: 
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
	
	<002001cdd2dc$bb8becc0$32a3c640$@co.uk>
	
	<003801cdd2de$feaff710$fc0fe530$@co.uk>
	
	<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>
	
	<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>
	
	
	
	<009501cdd2f1$5f37dbe0$1da793a0$@co.uk>
	
	<00bc01cdd2f9$56a1b3e0$03e51ba0$@co.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8CAD@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8D25@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

Try this as a fix for the JS problem


On Wed, Dec 5, 2012 at 4:50 PM, Julian Tenney <
Julian.Tenney at nottingham.ac.uk> wrote:

> I would prefer we have some sort of service in between the two products
> that can do the work robustly. I don?t think XOT should risk being delayed
> because some moodle update has screwed things up. This seems to me a
> classic case of code originally written for one thing, now catering for
> unforeseen circumstances, and I think we should rethink it, otherwise we
> have the same nightmare we had with youtube pages having to cope with
> different ways of finding the IDs, but in a more serious place. But let?s
> leave it for now if it?s fixed for now.****
>
> ** **
>
> Let?s get the remaining issues sorted out, so we can go into Christmas
> with this release done,****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 16:30
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
> ** **
>
> this is the thing though, as "core" XOT now covers moodle integration,
> which is a big thing.
>
> Muddling through is fine, but if we are developing new stuff we need to
> know what we are developing for / to work with? I'm not really using XOT at
> work, so I'm doing this for free
>
> I can have a look tonight at the window_reference thing, suspect it's
> simple.
>
> ****
>
> ** **
>
> On Wed, Dec 5, 2012 at 3:57 PM, Julian Tenney <
> Julian.Tenney at nottingham.ac.uk> wrote:****
>
> Quite. I?d prefer us to be accessing the moodle session data through some
> ?approved? means of doing so, because presumably it could change at any
> major / minor version update?****
>
>  ****
>
> Are you able to look at the second create / refresh issue Pat?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 15:54****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> i know the change is almost certainly my fault, as in theory I made the
> last change, which is fine.
>
> The merge is done line by line, so it's not a process by which you'd
> remove a line of code unless it was in conflict (and database_connect isn't
> that kind of code, you can connect to a database a million times and not
> worry about it), and if you look at new_template.php it hasn't had a
> database connect call for quite some time - it wasn't there in March (which
> was the last change). So these changes make it work in moodle 1.9, I didn't
> commit them as I haven't tested them outside moodle. I also worry as to why
> PHP would behave differently (a require once should kill all PHP, not just
> moodle PHP) depending on being inside Moodle.
>
> The code in the SVN works outside of moodle, it works in moodle 2.3. If I
> make a change in future, does it have to work in moodle 1.9? There is no
> reason I can tell you why the old 1.9 wouldn't work in moodle, but I'd be
> loathe to do a completely new install just to test it on the off chance
> moodle is being weird.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 3:00 PM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> Firstly I'm not saying you broke anything I still have no idea really
> about what changed to cause these problems. All I can say for sure is that
> we've been using the Techdis install for months during the 1.8 development
> and more recently the html 5 development and I've been updating that server
> daily simply by getting and exporting the latest svn code and uploading
> that to the test install. Sometimes hourly let alone daily and weekly. On
> that server/install nothing else had changed. In my local xampp nothing
> else had changed.****
>
>  ****
>
> I haven't had time to investigate but perhaps the svn merge created that
> duplicate require statement in your_templates.php and that seems to have
> been the cause of the workspace refresh issue. Perhaps it's something else
> like that which caused the new project issue I really can't say for sure.*
> ***
>
>  ****
>
> I know what you mean about all the possible external tools and perhaps the
> LTI work Simon started would be the ultimate solution to all that but the
> fact remains there are a lot of organisations using XOT combined with
> Moodle for authentication. That may never had evolved if XOT had its own
> account management etc but again it's just a fact that you never needed
> that at Nottingham and it's never really been fully implemented so it's
> either LDAP or Moodle for most and lot's of organisations can't use the
> LDAP option for all sorts of reasons. Tom may be able to provide some stats
> about that from his work in Europe etc and I think it will definitely be
> worth doing a survey at some point.****
>
>  ****
>
> To my mind we want people to upgrade and provide feedback on the latest
> release so ensuring this works for those with moodle authentication is a
> key ingredient of that.****
>
>  ****
>
> Do you agree that 1 & 2 below shouldn't break anything when moodle
> integration isn't used?****
>
> 1. The change to new_template.php fixes the main issue I was seeing e.g.
> not being able to create new projects with a moodle 1.9 integration path
> enabled. I can't see how that change would break non moodle use?****
>
> 2. The change to your_templates.php fixes the other main issue of the
> workspace not refreshing after creating a project. This was just removal of
> a duplicate require line. Not sure if that was always there, or introduced
> recently, or only a problem with moodle integration in place, but again I
> really can't see how this would break non moodle use?****
>
> How do we crack the closing the editor window issue? Can anyone else
> replicate that with the latest svn trunk code?****
>
> 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:* 05 December 2012 14:26****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> it's all of those things though.
>
> We don't know who uses XOT and with what, so we can't guess on who uses
> stuff. I could make an argument the WordPress plugin would be a world
> simpler if Xerte did X and Y, but I wanted to make it work, so I found a
> way round it.
>
> If we aren't going to release changes because it breaks X, then what is X.
> because we upgraded to PHP 5 and told people to change host if they had a
> problem with that
>
> So at present, if we make changes to XOT, we are only going to release
> them in they work with Moodle? Which Moodles? For how long?
>
> I don't see why those changes are required for moodle to work, I didn't
> remove any of those lines of code, or add them in. I didn't change anything
> in modularisation to do with folders (as it doesn't need it). All I changed
> in new template was returning one extra parameter in the query - but the
> code has broken a long time before that change comes into play.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell 
> wrote:****
>
> hang on a sec - let's discuss this objectively and practically...****
>
>  ****
>
> We have a very small developer list membership and even fewer of that
> membership testing/developing the latest code on anything but xampp****
>
>  ****
>
> Realistically for organisations to use XOT in earnest they need a public
> facing server install with either ldap or moodle authentication. e.g.
> guest, static or db aren't current/realistic options.****
>
>  ****
>
> I'd wager, but prepared to be proved wrong and perhaps we should do a
> survey, that there are far more xot installations in use that are using
> moodle for authentication than ldap. I certainly know for a fact that there
> are organisations using xot that wouldn't be and wouldn't be able to if
> they weren't able to use moodle for authentication. I know there's no
> internal requirement at Nottingham for Moodle integration but we've had it
> working for years now and it's not a change to moodle code that has stopped
> it working. It's not even a change to the xot moodle integration code that
> has stopped it working. Pat has worked magic in finding a solution to the
> two main issues I've reported but I'm not sure we've really nailed exactly
> what changed to break things in the first place or if it was one thing or
> different things. (see below)****
>
>  ****
>
> These problems with moodle integration didn't exist until last week -
> something has caused a conflict. There's no problem with the previous
> moodle integration in 1.7/1.8 regardless of moodle version.****
>
>  ****
>
> There have been different errors and different issues reported during this
> last week not all of which are down to the same cause/solution. I can only
> reliably report on the issues I've found/tested and it's not always easy or
> efficient to test one thing at a time especially when there are so many
> permutations too. e.g. The blank window and language change issue that Tom
> reported I haven't seen and a fix for Tom re the language setting didn't
> change/fix anything for me. Different problem and  different solution I
> think.****
>
>  ****
>
> Comparing the changes Pat sent through from the current svn code I've
> replaced files individually to test what fixes what:****
>
>  ****
>
> 1. The change to new_template.php fixes the main issue I was seeing e.g.
> not being able to create new projects with a moodle 1.9 integration path
> enabled. I can't see how that change would break non moodle use?****
>
>  ****
>
> 2. The change to your_templates.php fixes the other main issue of the
> workspace not refreshing after creating a project. This was just removal of
> a duplicate require line. Not sure if that was always there, or introduced
> recently, or only a problem with moodle integration in place, but again I
> really can't see how this would break non moodle use?****
>
>  ****
>
> The above two changes fix the main issues I was getting when using an
> install with a moodle 1.9 integration path. The other changes to
> folder_library.php, user_library.php and make_new_folder.php don't seem to
> be needed to fix those main issues as far as I can tell. Not sure if they
> fixes other issues that I haven't seen.****
>
>  ****
>
> Remaining issue****
>
> I am still getting the issue that after creating a new project clicking
> create doesn't work again until after a refresh but that's happening
> without a moodle integration path and as far as I can tell is happening
> with the latest svn code so may be a new problem.****
>
>  ****
>
> HTH****
>
> 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:* 05 December 2012 13:05****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> but the PHP works outside of moodle 1.9 fine
>
> the problem is once with a database and once with a path
>
> Also - we are setting a precedent. We have a working code base, but when
> added into another product, it stops.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett 
> wrote:****
>
> The pathing on Moodle 2.0 is a wild and crazy thing.****
>
> Maybe 1.9 was a bit of a test bed for some of what became 2.0?****
>
> Wild guessing.****
>
>  ****
> ------------------------------
>
> Date: Wed, 5 Dec 2012 12:32:09 +0000
> From: patrick.lockley at googlemail.com
> To: xerte-dev at lists.nottingham.ac.uk****
>
>
> Subject: [Xerte-dev] Re: moodle fix
>
> it's not really about introducing errors or changes, but why moodle 1.9
> requires the code to be different? That seems a bit worrying.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell 
> wrote:****
>
> I've been testing without a moodle integration path as well as with.****
>
>  ****
>
> This particular window_reference error happens with and without a moodle
> integration path. ****
>
> I'm testing via xampp but you can see it on the techdis install although
> that obviously is using moodle authentication.****
>
>  ****
>
> I haven't found any other errors when testing without integration path so
> I'm not sure your changed files have introduced any problems unless this js
> error is a result of those changes.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 12:14****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
>  ****
>
> Yeah, my bad - not sure why that would happen. Nothing I've changed
> javascript side.
>
> I wouldn't commit those changes as they just don't make sense to me. I
> don't get why moodle inclusion would cause those problems and I am not sure
> what they do outside of moodle.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell 
> wrote:****
>
> I thought that window_reference is undefined is a js error?****
>
>  ****
>
> BTW****
>
> Are you going to commit those changed php files or do you want me to on
> your behalf?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 12:02****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> Not sure then, I assumed it was that (as this was more of a patch than a
> fix)
>
> Do you get a JS error?****
>
>  ****
>
> On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell 
> wrote:****
>
> Just print_r($_SESSION) or could there be a similar print_r(something)
> causing the same problem?****
>
> Have searched for print_r($_SESSION) in the install I'm using for testing
> and not found.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 11:42****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> I think it's because of the print_r($_SESSION) somewhere - remove that and
> it'll be fine****
>
>  ****
>
> On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> thanks for the update.****
>
> I've been testing on both the techdis server and locally via xampp.
> Obviously I won't have tested every single permutation yet but from tests
> so far all seems fine apart from this issue of not being able to create a
> new project after creating one already until refresh. However this happens
> without a moodle integration path added too.****
>
>  ****
>
> Here's the steps to reproduce with current svn code plus your changed
> files.****
>
> Click create to create a new project based on Xerte Online Toolkits
> template****
>
> Close the editor and try to create another project - nothing happens upon
> clicking create****
>
> Refresh the browser and click create works but the cycle repeats e.g.
> can't create a second project****
>
>  ****
>
> Using debugger in IE9 I get the following error when closing the editor
> window:****
>
>  ****
>
> SCRIPT5009: 'window_reference' is undefined ****
>
> edit.php?template_id=17, line 32 character 1****
>
>  ****
>
> Not really sure where to look for the cause/solution to this one but is
> there perhaps an include/require missing somewhere?****
>
>  ****
>
> 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:* 05 December 2012 09:38****
>
>
> *To:* For Xerte technical developers****
>
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> the problem in new template was that for some reason moodle is leaving or
> creating another database link so when toolkits sends the request to the
> database it fails as the code is now pointing at the wrong database.
>
> Added in another database_connect call to fix this
>
> the problem in new folder creation was two require_once("config.php")
> being used. Removed one and it works.
>
> Why these would only affect moodle 1.9? No idea.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> thanks - from tests so far those files have certainly improved things!****
>
>  ****
>
> What did you find/change? What was the main cause of the problem?****
>
>  ****
>
> I've tested creating new projects and folders, moving and deleting
> projects all of which were a problem previously so looking hopeful.****
>
>  ****
>
> One problem/difference at the moment which I don't think was there before
> is that with a moodle 1.9 integration path I can now create a new project
> without the workspace refreshing and it appears etc but if I then try to
> create a second project clicking create to create another Xerte Online
> Toolkit project doesn't do anything. I have to refresh the browser before I
> can create another project. Clicking to create an RSS project does work
> without refresh and with moodle 2 configured I can create a second and
> third template etc without problem.****
>
>  ****
>
> I've only tested this locally so far will test on the techdis server
> next...****
>
>  ****
>
> 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:* 05 December 2012 00:29
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] moodle fix****
>
>  ****
>
> try swapping these files ****
>
>  ****
>
>
> _______________________________________________
> 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****
>
>  ****
>
>
> _______________________________________________ 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****
>
> ** **
>
>
>
>
> _______________________________________________
> 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: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: display_library.php
Type: application/x-httpd-php
Size: 18712 bytes
Desc: not available
URL: 

From ronm at mitchellmedia.co.uk  Thu Dec  6 20:59:49 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Thu, 6 Dec 2012 20:59:49 -0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: 
References: 	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>		<002001cdd2dc$bb8becc0$32a3c640$@co.uk>		<003801cdd2de$feaff710$fc0fe530$@co.uk>		<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>		<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>				<009501cdd2f1$5f37dbe0$1da793a0$@co.uk>		<00bc01cdd2f9$56a1b3e0$03e51ba0$@co.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48CD8CAD@EXCHANGE1
	.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48CD8D25@EXCHANGE1.ad.nottingham.ac.uk>
	
Message-ID: <006101cdd3f4$a21be330$e653a990$@co.uk>

That seems to have done the trick Pat. It's in place on the Techdis server.

I can see the file differences but what caused the problem and need for the
change?

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: 06 December 2012 20:45
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

Try this as a fix for the JS problem

 

On Wed, Dec 5, 2012 at 4:50 PM, Julian Tenney
 wrote:

I would prefer we have some sort of service in between the two products that
can do the work robustly. I don't think XOT should risk being delayed
because some moodle update has screwed things up. This seems to me a classic
case of code originally written for one thing, now catering for unforeseen
circumstances, and I think we should rethink it, otherwise we have the same
nightmare we had with youtube pages having to cope with different ways of
finding the IDs, but in a more serious place. But let's leave it for now if
it's fixed for now.

 

Let's get the remaining issues sorted out, so we can go into Christmas with
this release done,

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 16:30


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

this is the thing though, as "core" XOT now covers moodle integration, which
is a big thing.

Muddling through is fine, but if we are developing new stuff we need to know
what we are developing for / to work with? I'm not really using XOT at work,
so I'm doing this for free

I can have a look tonight at the window_reference thing, suspect it's
simple.

 

On Wed, Dec 5, 2012 at 3:57 PM, Julian Tenney
 wrote:

Quite. I'd prefer us to be accessing the moodle session data through some
'approved' means of doing so, because presumably it could change at any
major / minor version update?

 

Are you able to look at the second create / refresh issue Pat?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 15:54


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

i know the change is almost certainly my fault, as in theory I made the last
change, which is fine.

The merge is done line by line, so it's not a process by which you'd remove
a line of code unless it was in conflict (and database_connect isn't that
kind of code, you can connect to a database a million times and not worry
about it), and if you look at new_template.php it hasn't had a database
connect call for quite some time - it wasn't there in March (which was the
last change). So these changes make it work in moodle 1.9, I didn't commit
them as I haven't tested them outside moodle. I also worry as to why PHP
would behave differently (a require once should kill all PHP, not just
moodle PHP) depending on being inside Moodle. 

The code in the SVN works outside of moodle, it works in moodle 2.3. If I
make a change in future, does it have to work in moodle 1.9? There is no
reason I can tell you why the old 1.9 wouldn't work in moodle, but I'd be
loathe to do a completely new install just to test it on the off chance
moodle is being weird.

 

On Wed, Dec 5, 2012 at 3:00 PM, Ron Mitchell 
wrote:

Hi Pat

Firstly I'm not saying you broke anything I still have no idea really about
what changed to cause these problems. All I can say for sure is that we've
been using the Techdis install for months during the 1.8 development and
more recently the html 5 development and I've been updating that server
daily simply by getting and exporting the latest svn code and uploading that
to the test install. Sometimes hourly let alone daily and weekly. On that
server/install nothing else had changed. In my local xampp nothing else had
changed.

 

I haven't had time to investigate but perhaps the svn merge created that
duplicate require statement in your_templates.php and that seems to have
been the cause of the workspace refresh issue. Perhaps it's something else
like that which caused the new project issue I really can't say for sure.

 

I know what you mean about all the possible external tools and perhaps the
LTI work Simon started would be the ultimate solution to all that but the
fact remains there are a lot of organisations using XOT combined with Moodle
for authentication. That may never had evolved if XOT had its own account
management etc but again it's just a fact that you never needed that at
Nottingham and it's never really been fully implemented so it's either LDAP
or Moodle for most and lot's of organisations can't use the LDAP option for
all sorts of reasons. Tom may be able to provide some stats about that from
his work in Europe etc and I think it will definitely be worth doing a
survey at some point.

 

To my mind we want people to upgrade and provide feedback on the latest
release so ensuring this works for those with moodle authentication is a key
ingredient of that.

 

Do you agree that 1 & 2 below shouldn't break anything when moodle
integration isn't used?

1. The change to new_template.php fixes the main issue I was seeing e.g. not
being able to create new projects with a moodle 1.9 integration path
enabled. I can't see how that change would break non moodle use?

2. The change to your_templates.php fixes the other main issue of the
workspace not refreshing after creating a project. This was just removal of
a duplicate require line. Not sure if that was always there, or introduced
recently, or only a problem with moodle integration in place, but again I
really can't see how this would break non moodle use?

How do we crack the closing the editor window issue? Can anyone else
replicate that with the latest svn trunk code?

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: 05 December 2012 14:26


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

it's all of those things though.

We don't know who uses XOT and with what, so we can't guess on who uses
stuff. I could make an argument the WordPress plugin would be a world
simpler if Xerte did X and Y, but I wanted to make it work, so I found a way
round it.

If we aren't going to release changes because it breaks X, then what is X.
because we upgraded to PHP 5 and told people to change host if they had a
problem with that

So at present, if we make changes to XOT, we are only going to release them
in they work with Moodle? Which Moodles? For how long?

I don't see why those changes are required for moodle to work, I didn't
remove any of those lines of code, or add them in. I didn't change anything
in modularisation to do with folders (as it doesn't need it). All I changed
in new template was returning one extra parameter in the query - but the
code has broken a long time before that change comes into play.

 

On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell 
wrote:

hang on a sec - let's discuss this objectively and practically...

 

We have a very small developer list membership and even fewer of that
membership testing/developing the latest code on anything but xampp

 

Realistically for organisations to use XOT in earnest they need a public
facing server install with either ldap or moodle authentication. e.g. guest,
static or db aren't current/realistic options.

 

I'd wager, but prepared to be proved wrong and perhaps we should do a
survey, that there are far more xot installations in use that are using
moodle for authentication than ldap. I certainly know for a fact that there
are organisations using xot that wouldn't be and wouldn't be able to if they
weren't able to use moodle for authentication. I know there's no internal
requirement at Nottingham for Moodle integration but we've had it working
for years now and it's not a change to moodle code that has stopped it
working. It's not even a change to the xot moodle integration code that has
stopped it working. Pat has worked magic in finding a solution to the two
main issues I've reported but I'm not sure we've really nailed exactly what
changed to break things in the first place or if it was one thing or
different things. (see below)

 

These problems with moodle integration didn't exist until last week -
something has caused a conflict. There's no problem with the previous moodle
integration in 1.7/1.8 regardless of moodle version.

 

There have been different errors and different issues reported during this
last week not all of which are down to the same cause/solution. I can only
reliably report on the issues I've found/tested and it's not always easy or
efficient to test one thing at a time especially when there are so many
permutations too. e.g. The blank window and language change issue that Tom
reported I haven't seen and a fix for Tom re the language setting didn't
change/fix anything for me. Different problem and  different solution I
think.

 

Comparing the changes Pat sent through from the current svn code I've
replaced files individually to test what fixes what:

 

1. The change to new_template.php fixes the main issue I was seeing e.g. not
being able to create new projects with a moodle 1.9 integration path
enabled. I can't see how that change would break non moodle use?

 

2. The change to your_templates.php fixes the other main issue of the
workspace not refreshing after creating a project. This was just removal of
a duplicate require line. Not sure if that was always there, or introduced
recently, or only a problem with moodle integration in place, but again I
really can't see how this would break non moodle use?

 

The above two changes fix the main issues I was getting when using an
install with a moodle 1.9 integration path. The other changes to
folder_library.php, user_library.php and make_new_folder.php don't seem to
be needed to fix those main issues as far as I can tell. Not sure if they
fixes other issues that I haven't seen.

 

Remaining issue

I am still getting the issue that after creating a new project clicking
create doesn't work again until after a refresh but that's happening without
a moodle integration path and as far as I can tell is happening with the
latest svn code so may be a new problem.

 

HTH

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: 05 December 2012 13:05


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

but the PHP works outside of moodle 1.9 fine

the problem is once with a database and once with a path

Also - we are setting a precedent. We have a working code base, but when
added into another product, it stops.

 

On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett 
wrote:

The pathing on Moodle 2.0 is a wild and crazy thing.

Maybe 1.9 was a bit of a test bed for some of what became 2.0?

Wild guessing.

 

  _____  

Date: Wed, 5 Dec 2012 12:32:09 +0000
From: patrick.lockley at googlemail.com
To: xerte-dev at lists.nottingham.ac.uk


Subject: [Xerte-dev] Re: moodle fix

it's not really about introducing errors or changes, but why moodle 1.9
requires the code to be different? That seems a bit worrying.

 

On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell 
wrote:

I've been testing without a moodle integration path as well as with.

 

This particular window_reference error happens with and without a moodle
integration path. 

I'm testing via xampp but you can see it on the techdis install although
that obviously is using moodle authentication.

 

I haven't found any other errors when testing without integration path so
I'm not sure your changed files have introduced any problems unless this js
error is a result of those changes.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:14


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

 

Yeah, my bad - not sure why that would happen. Nothing I've changed
javascript side.

I wouldn't commit those changes as they just don't make sense to me. I don't
get why moodle inclusion would cause those problems and I am not sure what
they do outside of moodle.

 

On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell 
wrote:

I thought that window_reference is undefined is a js error?

 

BTW

Are you going to commit those changed php files or do you want me to on your
behalf?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:02


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

Not sure then, I assumed it was that (as this was more of a patch than a
fix)

Do you get a JS error?

 

On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell 
wrote:

Just print_r($_SESSION) or could there be a similar print_r(something)
causing the same problem?

Have searched for print_r($_SESSION) in the install I'm using for testing
and not found.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 11:42


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

I think it's because of the print_r($_SESSION) somewhere - remove that and
it'll be fine

 

On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
wrote:

Hi Pat

thanks for the update.

I've been testing on both the techdis server and locally via xampp.
Obviously I won't have tested every single permutation yet but from tests so
far all seems fine apart from this issue of not being able to create a new
project after creating one already until refresh. However this happens
without a moodle integration path added too.

 

Here's the steps to reproduce with current svn code plus your changed files.

Click create to create a new project based on Xerte Online Toolkits template

Close the editor and try to create another project - nothing happens upon
clicking create

Refresh the browser and click create works but the cycle repeats e.g. can't
create a second project

 

Using debugger in IE9 I get the following error when closing the editor
window:

 

SCRIPT5009: 'window_reference' is undefined 

edit.php?template_id=17, line 32 character 1

 

Not really sure where to look for the cause/solution to this one but is
there perhaps an include/require missing somewhere?

 

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: 05 December 2012 09:38


To: For Xerte technical developers

Subject: [Xerte-dev] Re: moodle fix

 

the problem in new template was that for some reason moodle is leaving or
creating another database link so when toolkits sends the request to the
database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being
used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.

 

On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
wrote:

Hi Pat

thanks - from tests so far those files have certainly improved things!

 

What did you find/change? What was the main cause of the problem?

 

I've tested creating new projects and folders, moving and deleting projects
all of which were a problem previously so looking hopeful.

 

One problem/difference at the moment which I don't think was there before is
that with a moodle 1.9 integration path I can now create a new project
without the workspace refreshing and it appears etc but if I then try to
create a second project clicking create to create another Xerte Online
Toolkit project doesn't do anything. I have to refresh the browser before I
can create another project. Clicking to create an RSS project does work
without refresh and with moodle 2 configured I can create a second and third
template etc without problem.

 

I've only tested this locally so far will test on the techdis server next...

 

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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix

 

try swapping these files 

 


_______________________________________________
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

 


_______________________________________________ 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

 






_______________________________________________
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: 

From patrick.lockley at googlemail.com  Thu Dec  6 21:08:10 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Thu, 6 Dec 2012 21:08:10 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: <006101cdd3f4$a21be330$e653a990$@co.uk>
References: 
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
	
	<002001cdd2dc$bb8becc0$32a3c640$@co.uk>
	
	<003801cdd2de$feaff710$fc0fe530$@co.uk>
	
	<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>
	
	<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>
	
	
	
	<009501cdd2f1$5f37dbe0$1da793a0$@co.uk>
	
	<00bc01cdd2f9$56a1b3e0$03e51ba0$@co.uk>
	
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8D25@EXCHANGE1.ad.nottingham.ac.uk>
	
	<006101cdd3f4$a21be330$e653a990$@co.uk>
Message-ID: 

For some reason there are two calls to a function which does the same
thing, and they clashed with each other.

No idea why.


On Thu, Dec 6, 2012 at 8:59 PM, Ron Mitchell wrote:

> That seems to have done the trick Pat. It's in place on the Techdis server.
> ****
>
> I can see the file differences but what caused the problem and need for
> the change?****
>
> 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:* 06 December 2012 20:45
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
> ** **
>
> Try this as a fix for the JS problem****
>
> ** **
>
> On Wed, Dec 5, 2012 at 4:50 PM, Julian Tenney <
> Julian.Tenney at nottingham.ac.uk> wrote:****
>
> I would prefer we have some sort of service in between the two products
> that can do the work robustly. I don?t think XOT should risk being delayed
> because some moodle update has screwed things up. This seems to me a
> classic case of code originally written for one thing, now catering for
> unforeseen circumstances, and I think we should rethink it, otherwise we
> have the same nightmare we had with youtube pages having to cope with
> different ways of finding the IDs, but in a more serious place. But let?s
> leave it for now if it?s fixed for now.****
>
>  ****
>
> Let?s get the remaining issues sorted out, so we can go into Christmas
> with this release done,****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 16:30****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> this is the thing though, as "core" XOT now covers moodle integration,
> which is a big thing.
>
> Muddling through is fine, but if we are developing new stuff we need to
> know what we are developing for / to work with? I'm not really using XOT at
> work, so I'm doing this for free
>
> I can have a look tonight at the window_reference thing, suspect it's
> simple.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 3:57 PM, Julian Tenney <
> Julian.Tenney at nottingham.ac.uk> wrote:****
>
> Quite. I?d prefer us to be accessing the moodle session data through some
> ?approved? means of doing so, because presumably it could change at any
> major / minor version update?****
>
>  ****
>
> Are you able to look at the second create / refresh issue Pat?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 15:54****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> i know the change is almost certainly my fault, as in theory I made the
> last change, which is fine.
>
> The merge is done line by line, so it's not a process by which you'd
> remove a line of code unless it was in conflict (and database_connect isn't
> that kind of code, you can connect to a database a million times and not
> worry about it), and if you look at new_template.php it hasn't had a
> database connect call for quite some time - it wasn't there in March (which
> was the last change). So these changes make it work in moodle 1.9, I didn't
> commit them as I haven't tested them outside moodle. I also worry as to why
> PHP would behave differently (a require once should kill all PHP, not just
> moodle PHP) depending on being inside Moodle.
>
> The code in the SVN works outside of moodle, it works in moodle 2.3. If I
> make a change in future, does it have to work in moodle 1.9? There is no
> reason I can tell you why the old 1.9 wouldn't work in moodle, but I'd be
> loathe to do a completely new install just to test it on the off chance
> moodle is being weird.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 3:00 PM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> Firstly I'm not saying you broke anything I still have no idea really
> about what changed to cause these problems. All I can say for sure is that
> we've been using the Techdis install for months during the 1.8 development
> and more recently the html 5 development and I've been updating that server
> daily simply by getting and exporting the latest svn code and uploading
> that to the test install. Sometimes hourly let alone daily and weekly. On
> that server/install nothing else had changed. In my local xampp nothing
> else had changed.****
>
>  ****
>
> I haven't had time to investigate but perhaps the svn merge created that
> duplicate require statement in your_templates.php and that seems to have
> been the cause of the workspace refresh issue. Perhaps it's something else
> like that which caused the new project issue I really can't say for sure.*
> ***
>
>  ****
>
> I know what you mean about all the possible external tools and perhaps the
> LTI work Simon started would be the ultimate solution to all that but the
> fact remains there are a lot of organisations using XOT combined with
> Moodle for authentication. That may never had evolved if XOT had its own
> account management etc but again it's just a fact that you never needed
> that at Nottingham and it's never really been fully implemented so it's
> either LDAP or Moodle for most and lot's of organisations can't use the
> LDAP option for all sorts of reasons. Tom may be able to provide some stats
> about that from his work in Europe etc and I think it will definitely be
> worth doing a survey at some point.****
>
>  ****
>
> To my mind we want people to upgrade and provide feedback on the latest
> release so ensuring this works for those with moodle authentication is a
> key ingredient of that.****
>
>  ****
>
> Do you agree that 1 & 2 below shouldn't break anything when moodle
> integration isn't used?****
>
> 1. The change to new_template.php fixes the main issue I was seeing e.g.
> not being able to create new projects with a moodle 1.9 integration path
> enabled. I can't see how that change would break non moodle use?****
>
> 2. The change to your_templates.php fixes the other main issue of the
> workspace not refreshing after creating a project. This was just removal of
> a duplicate require line. Not sure if that was always there, or introduced
> recently, or only a problem with moodle integration in place, but again I
> really can't see how this would break non moodle use?****
>
> How do we crack the closing the editor window issue? Can anyone else
> replicate that with the latest svn trunk code?****
>
> 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:* 05 December 2012 14:26****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> it's all of those things though.
>
> We don't know who uses XOT and with what, so we can't guess on who uses
> stuff. I could make an argument the WordPress plugin would be a world
> simpler if Xerte did X and Y, but I wanted to make it work, so I found a
> way round it.
>
> If we aren't going to release changes because it breaks X, then what is X.
> because we upgraded to PHP 5 and told people to change host if they had a
> problem with that
>
> So at present, if we make changes to XOT, we are only going to release
> them in they work with Moodle? Which Moodles? For how long?
>
> I don't see why those changes are required for moodle to work, I didn't
> remove any of those lines of code, or add them in. I didn't change anything
> in modularisation to do with folders (as it doesn't need it). All I changed
> in new template was returning one extra parameter in the query - but the
> code has broken a long time before that change comes into play.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell 
> wrote:****
>
> hang on a sec - let's discuss this objectively and practically...****
>
>  ****
>
> We have a very small developer list membership and even fewer of that
> membership testing/developing the latest code on anything but xampp****
>
>  ****
>
> Realistically for organisations to use XOT in earnest they need a public
> facing server install with either ldap or moodle authentication. e.g.
> guest, static or db aren't current/realistic options.****
>
>  ****
>
> I'd wager, but prepared to be proved wrong and perhaps we should do a
> survey, that there are far more xot installations in use that are using
> moodle for authentication than ldap. I certainly know for a fact that there
> are organisations using xot that wouldn't be and wouldn't be able to if
> they weren't able to use moodle for authentication. I know there's no
> internal requirement at Nottingham for Moodle integration but we've had it
> working for years now and it's not a change to moodle code that has stopped
> it working. It's not even a change to the xot moodle integration code that
> has stopped it working. Pat has worked magic in finding a solution to the
> two main issues I've reported but I'm not sure we've really nailed exactly
> what changed to break things in the first place or if it was one thing or
> different things. (see below)****
>
>  ****
>
> These problems with moodle integration didn't exist until last week -
> something has caused a conflict. There's no problem with the previous
> moodle integration in 1.7/1.8 regardless of moodle version.****
>
>  ****
>
> There have been different errors and different issues reported during this
> last week not all of which are down to the same cause/solution. I can only
> reliably report on the issues I've found/tested and it's not always easy or
> efficient to test one thing at a time especially when there are so many
> permutations too. e.g. The blank window and language change issue that Tom
> reported I haven't seen and a fix for Tom re the language setting didn't
> change/fix anything for me. Different problem and  different solution I
> think.****
>
>  ****
>
> Comparing the changes Pat sent through from the current svn code I've
> replaced files individually to test what fixes what:****
>
>  ****
>
> 1. The change to new_template.php fixes the main issue I was seeing e.g.
> not being able to create new projects with a moodle 1.9 integration path
> enabled. I can't see how that change would break non moodle use?****
>
>  ****
>
> 2. The change to your_templates.php fixes the other main issue of the
> workspace not refreshing after creating a project. This was just removal of
> a duplicate require line. Not sure if that was always there, or introduced
> recently, or only a problem with moodle integration in place, but again I
> really can't see how this would break non moodle use?****
>
>  ****
>
> The above two changes fix the main issues I was getting when using an
> install with a moodle 1.9 integration path. The other changes to
> folder_library.php, user_library.php and make_new_folder.php don't seem to
> be needed to fix those main issues as far as I can tell. Not sure if they
> fixes other issues that I haven't seen.****
>
>  ****
>
> Remaining issue****
>
> I am still getting the issue that after creating a new project clicking
> create doesn't work again until after a refresh but that's happening
> without a moodle integration path and as far as I can tell is happening
> with the latest svn code so may be a new problem.****
>
>  ****
>
> HTH****
>
> 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:* 05 December 2012 13:05****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> but the PHP works outside of moodle 1.9 fine
>
> the problem is once with a database and once with a path
>
> Also - we are setting a precedent. We have a working code base, but when
> added into another product, it stops.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett 
> wrote:****
>
> The pathing on Moodle 2.0 is a wild and crazy thing.****
>
> Maybe 1.9 was a bit of a test bed for some of what became 2.0?****
>
> Wild guessing.****
>
>  ****
> ------------------------------
>
> Date: Wed, 5 Dec 2012 12:32:09 +0000
> From: patrick.lockley at googlemail.com
> To: xerte-dev at lists.nottingham.ac.uk****
>
>
> Subject: [Xerte-dev] Re: moodle fix
>
> it's not really about introducing errors or changes, but why moodle 1.9
> requires the code to be different? That seems a bit worrying.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell 
> wrote:****
>
> I've been testing without a moodle integration path as well as with.****
>
>  ****
>
> This particular window_reference error happens with and without a moodle
> integration path. ****
>
> I'm testing via xampp but you can see it on the techdis install although
> that obviously is using moodle authentication.****
>
>  ****
>
> I haven't found any other errors when testing without integration path so
> I'm not sure your changed files have introduced any problems unless this js
> error is a result of those changes.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 12:14****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
>  ****
>
> Yeah, my bad - not sure why that would happen. Nothing I've changed
> javascript side.
>
> I wouldn't commit those changes as they just don't make sense to me. I
> don't get why moodle inclusion would cause those problems and I am not sure
> what they do outside of moodle.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell 
> wrote:****
>
> I thought that window_reference is undefined is a js error?****
>
>  ****
>
> BTW****
>
> Are you going to commit those changed php files or do you want me to on
> your behalf?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 12:02****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> Not sure then, I assumed it was that (as this was more of a patch than a
> fix)
>
> Do you get a JS error?****
>
>  ****
>
> On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell 
> wrote:****
>
> Just print_r($_SESSION) or could there be a similar print_r(something)
> causing the same problem?****
>
> Have searched for print_r($_SESSION) in the install I'm using for testing
> and not found.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 11:42****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> I think it's because of the print_r($_SESSION) somewhere - remove that and
> it'll be fine****
>
>  ****
>
> On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> thanks for the update.****
>
> I've been testing on both the techdis server and locally via xampp.
> Obviously I won't have tested every single permutation yet but from tests
> so far all seems fine apart from this issue of not being able to create a
> new project after creating one already until refresh. However this happens
> without a moodle integration path added too.****
>
>  ****
>
> Here's the steps to reproduce with current svn code plus your changed
> files.****
>
> Click create to create a new project based on Xerte Online Toolkits
> template****
>
> Close the editor and try to create another project - nothing happens upon
> clicking create****
>
> Refresh the browser and click create works but the cycle repeats e.g.
> can't create a second project****
>
>  ****
>
> Using debugger in IE9 I get the following error when closing the editor
> window:****
>
>  ****
>
> SCRIPT5009: 'window_reference' is undefined ****
>
> edit.php?template_id=17, line 32 character 1****
>
>  ****
>
> Not really sure where to look for the cause/solution to this one but is
> there perhaps an include/require missing somewhere?****
>
>  ****
>
> 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:* 05 December 2012 09:38****
>
>
> *To:* For Xerte technical developers****
>
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> the problem in new template was that for some reason moodle is leaving or
> creating another database link so when toolkits sends the request to the
> database it fails as the code is now pointing at the wrong database.
>
> Added in another database_connect call to fix this
>
> the problem in new folder creation was two require_once("config.php")
> being used. Removed one and it works.
>
> Why these would only affect moodle 1.9? No idea.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> thanks - from tests so far those files have certainly improved things!****
>
>  ****
>
> What did you find/change? What was the main cause of the problem?****
>
>  ****
>
> I've tested creating new projects and folders, moving and deleting
> projects all of which were a problem previously so looking hopeful.****
>
>  ****
>
> One problem/difference at the moment which I don't think was there before
> is that with a moodle 1.9 integration path I can now create a new project
> without the workspace refreshing and it appears etc but if I then try to
> create a second project clicking create to create another Xerte Online
> Toolkit project doesn't do anything. I have to refresh the browser before I
> can create another project. Clicking to create an RSS project does work
> without refresh and with moodle 2 configured I can create a second and
> third template etc without problem.****
>
>  ****
>
> I've only tested this locally so far will test on the techdis server
> next...****
>
>  ****
>
> 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:* 05 December 2012 00:29
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] moodle fix****
>
>  ****
>
> try swapping these files ****
>
>  ****
>
>
> _______________________________________________
> 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****
>
>  ****
>
>
> _______________________________________________ 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****
>
>  ****
>
>
>
> ****
>
>
> _______________________________________________
> 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: 

From patrick.lockley at googlemail.com  Thu Dec  6 21:08:29 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Thu, 6 Dec 2012 21:08:29 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: 
References: 
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
	
	<002001cdd2dc$bb8becc0$32a3c640$@co.uk>
	
	<003801cdd2de$feaff710$fc0fe530$@co.uk>
	
	<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>
	
	<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>
	
	
	
	<009501cdd2f1$5f37dbe0$1da793a0$@co.uk>
	
	<00bc01cdd2f9$56a1b3e0$03e51ba0$@co.uk>
	
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8D25@EXCHANGE1.ad.nottingham.ac.uk>
	
	<006101cdd3f4$a21be330$e653a990$@co.uk>
	
Message-ID: 

This isn't the window_reference error by the way


On Thu, Dec 6, 2012 at 9:08 PM, Pat Lockley
wrote:

> For some reason there are two calls to a function which does the same
> thing, and they clashed with each other.
>
> No idea why.
>
>
> On Thu, Dec 6, 2012 at 8:59 PM, Ron Mitchell wrote:
>
>> That seems to have done the trick Pat. It's in place on the Techdis
>> server.****
>>
>> I can see the file differences but what caused the problem and need for
>> the change?****
>>
>> 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:* 06 December 2012 20:45
>>
>> *To:* For Xerte technical developers
>> *Subject:* [Xerte-dev] Re: moodle fix****
>>
>> ** **
>>
>> Try this as a fix for the JS problem****
>>
>> ** **
>>
>> On Wed, Dec 5, 2012 at 4:50 PM, Julian Tenney <
>> Julian.Tenney at nottingham.ac.uk> wrote:****
>>
>> I would prefer we have some sort of service in between the two products
>> that can do the work robustly. I don?t think XOT should risk being delayed
>> because some moodle update has screwed things up. This seems to me a
>> classic case of code originally written for one thing, now catering for
>> unforeseen circumstances, and I think we should rethink it, otherwise we
>> have the same nightmare we had with youtube pages having to cope with
>> different ways of finding the IDs, but in a more serious place. But let?s
>> leave it for now if it?s fixed for now.****
>>
>>  ****
>>
>> Let?s get the remaining issues sorted out, so we can go into Christmas
>> with this release done,****
>>
>>  ****
>>
>> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
>> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
>> *Sent:* 05 December 2012 16:30****
>>
>>
>> *To:* For Xerte technical developers
>> *Subject:* [Xerte-dev] Re: moodle fix****
>>
>>  ****
>>
>> this is the thing though, as "core" XOT now covers moodle integration,
>> which is a big thing.
>>
>> Muddling through is fine, but if we are developing new stuff we need to
>> know what we are developing for / to work with? I'm not really using XOT at
>> work, so I'm doing this for free
>>
>> I can have a look tonight at the window_reference thing, suspect it's
>> simple.****
>>
>>  ****
>>
>> On Wed, Dec 5, 2012 at 3:57 PM, Julian Tenney <
>> Julian.Tenney at nottingham.ac.uk> wrote:****
>>
>> Quite. I?d prefer us to be accessing the moodle session data through some
>> ?approved? means of doing so, because presumably it could change at any
>> major / minor version update?****
>>
>>  ****
>>
>> Are you able to look at the second create / refresh issue Pat?****
>>
>>  ****
>>
>> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
>> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
>> *Sent:* 05 December 2012 15:54****
>>
>>
>> *To:* For Xerte technical developers
>> *Subject:* [Xerte-dev] Re: moodle fix****
>>
>>  ****
>>
>> i know the change is almost certainly my fault, as in theory I made the
>> last change, which is fine.
>>
>> The merge is done line by line, so it's not a process by which you'd
>> remove a line of code unless it was in conflict (and database_connect isn't
>> that kind of code, you can connect to a database a million times and not
>> worry about it), and if you look at new_template.php it hasn't had a
>> database connect call for quite some time - it wasn't there in March (which
>> was the last change). So these changes make it work in moodle 1.9, I didn't
>> commit them as I haven't tested them outside moodle. I also worry as to why
>> PHP would behave differently (a require once should kill all PHP, not just
>> moodle PHP) depending on being inside Moodle.
>>
>> The code in the SVN works outside of moodle, it works in moodle 2.3. If I
>> make a change in future, does it have to work in moodle 1.9? There is no
>> reason I can tell you why the old 1.9 wouldn't work in moodle, but I'd be
>> loathe to do a completely new install just to test it on the off chance
>> moodle is being weird.****
>>
>>  ****
>>
>> On Wed, Dec 5, 2012 at 3:00 PM, Ron Mitchell 
>> wrote:****
>>
>> Hi Pat****
>>
>> Firstly I'm not saying you broke anything I still have no idea really
>> about what changed to cause these problems. All I can say for sure is that
>> we've been using the Techdis install for months during the 1.8 development
>> and more recently the html 5 development and I've been updating that server
>> daily simply by getting and exporting the latest svn code and uploading
>> that to the test install. Sometimes hourly let alone daily and weekly. On
>> that server/install nothing else had changed. In my local xampp nothing
>> else had changed.****
>>
>>  ****
>>
>> I haven't had time to investigate but perhaps the svn merge created that
>> duplicate require statement in your_templates.php and that seems to have
>> been the cause of the workspace refresh issue. Perhaps it's something else
>> like that which caused the new project issue I really can't say for sure.
>> ****
>>
>>  ****
>>
>> I know what you mean about all the possible external tools and perhaps
>> the LTI work Simon started would be the ultimate solution to all that but
>> the fact remains there are a lot of organisations using XOT combined with
>> Moodle for authentication. That may never had evolved if XOT had its own
>> account management etc but again it's just a fact that you never needed
>> that at Nottingham and it's never really been fully implemented so it's
>> either LDAP or Moodle for most and lot's of organisations can't use the
>> LDAP option for all sorts of reasons. Tom may be able to provide some stats
>> about that from his work in Europe etc and I think it will definitely be
>> worth doing a survey at some point.****
>>
>>  ****
>>
>> To my mind we want people to upgrade and provide feedback on the latest
>> release so ensuring this works for those with moodle authentication is a
>> key ingredient of that.****
>>
>>  ****
>>
>> Do you agree that 1 & 2 below shouldn't break anything when moodle
>> integration isn't used?****
>>
>> 1. The change to new_template.php fixes the main issue I was seeing e.g.
>> not being able to create new projects with a moodle 1.9 integration path
>> enabled. I can't see how that change would break non moodle use?****
>>
>> 2. The change to your_templates.php fixes the other main issue of the
>> workspace not refreshing after creating a project. This was just removal of
>> a duplicate require line. Not sure if that was always there, or introduced
>> recently, or only a problem with moodle integration in place, but again I
>> really can't see how this would break non moodle use?****
>>
>> How do we crack the closing the editor window issue? Can anyone else
>> replicate that with the latest svn trunk code?****
>>
>> 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:* 05 December 2012 14:26****
>>
>>
>> *To:* For Xerte technical developers
>> *Subject:* [Xerte-dev] Re: moodle fix****
>>
>>  ****
>>
>> it's all of those things though.
>>
>> We don't know who uses XOT and with what, so we can't guess on who uses
>> stuff. I could make an argument the WordPress plugin would be a world
>> simpler if Xerte did X and Y, but I wanted to make it work, so I found a
>> way round it.
>>
>> If we aren't going to release changes because it breaks X, then what is
>> X. because we upgraded to PHP 5 and told people to change host if they had
>> a problem with that
>>
>> So at present, if we make changes to XOT, we are only going to release
>> them in they work with Moodle? Which Moodles? For how long?
>>
>> I don't see why those changes are required for moodle to work, I didn't
>> remove any of those lines of code, or add them in. I didn't change anything
>> in modularisation to do with folders (as it doesn't need it). All I changed
>> in new template was returning one extra parameter in the query - but the
>> code has broken a long time before that change comes into play.****
>>
>>  ****
>>
>> On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell 
>> wrote:****
>>
>> hang on a sec - let's discuss this objectively and practically...****
>>
>>  ****
>>
>> We have a very small developer list membership and even fewer of that
>> membership testing/developing the latest code on anything but xampp****
>>
>>  ****
>>
>> Realistically for organisations to use XOT in earnest they need a public
>> facing server install with either ldap or moodle authentication. e.g.
>> guest, static or db aren't current/realistic options.****
>>
>>  ****
>>
>> I'd wager, but prepared to be proved wrong and perhaps we should do a
>> survey, that there are far more xot installations in use that are using
>> moodle for authentication than ldap. I certainly know for a fact that there
>> are organisations using xot that wouldn't be and wouldn't be able to if
>> they weren't able to use moodle for authentication. I know there's no
>> internal requirement at Nottingham for Moodle integration but we've had it
>> working for years now and it's not a change to moodle code that has stopped
>> it working. It's not even a change to the xot moodle integration code that
>> has stopped it working. Pat has worked magic in finding a solution to the
>> two main issues I've reported but I'm not sure we've really nailed exactly
>> what changed to break things in the first place or if it was one thing or
>> different things. (see below)****
>>
>>  ****
>>
>> These problems with moodle integration didn't exist until last week -
>> something has caused a conflict. There's no problem with the previous
>> moodle integration in 1.7/1.8 regardless of moodle version.****
>>
>>  ****
>>
>> There have been different errors and different issues reported during
>> this last week not all of which are down to the same cause/solution. I can
>> only reliably report on the issues I've found/tested and it's not always
>> easy or efficient to test one thing at a time especially when there are so
>> many permutations too. e.g. The blank window and language change issue that
>> Tom reported I haven't seen and a fix for Tom re the language setting
>> didn't change/fix anything for me. Different problem and  different
>> solution I think.****
>>
>>  ****
>>
>> Comparing the changes Pat sent through from the current svn code I've
>> replaced files individually to test what fixes what:****
>>
>>  ****
>>
>> 1. The change to new_template.php fixes the main issue I was seeing e.g.
>> not being able to create new projects with a moodle 1.9 integration path
>> enabled. I can't see how that change would break non moodle use?****
>>
>>  ****
>>
>> 2. The change to your_templates.php fixes the other main issue of the
>> workspace not refreshing after creating a project. This was just removal of
>> a duplicate require line. Not sure if that was always there, or introduced
>> recently, or only a problem with moodle integration in place, but again I
>> really can't see how this would break non moodle use?****
>>
>>  ****
>>
>> The above two changes fix the main issues I was getting when using an
>> install with a moodle 1.9 integration path. The other changes to
>> folder_library.php, user_library.php and make_new_folder.php don't seem to
>> be needed to fix those main issues as far as I can tell. Not sure if they
>> fixes other issues that I haven't seen.****
>>
>>  ****
>>
>> Remaining issue****
>>
>> I am still getting the issue that after creating a new project clicking
>> create doesn't work again until after a refresh but that's happening
>> without a moodle integration path and as far as I can tell is happening
>> with the latest svn code so may be a new problem.****
>>
>>  ****
>>
>> HTH****
>>
>> 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:* 05 December 2012 13:05****
>>
>>
>> *To:* For Xerte technical developers
>> *Subject:* [Xerte-dev] Re: moodle fix****
>>
>>  ****
>>
>> but the PHP works outside of moodle 1.9 fine
>>
>> the problem is once with a database and once with a path
>>
>> Also - we are setting a precedent. We have a working code base, but when
>> added into another product, it stops.****
>>
>>  ****
>>
>> On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett 
>> wrote:****
>>
>> The pathing on Moodle 2.0 is a wild and crazy thing.****
>>
>> Maybe 1.9 was a bit of a test bed for some of what became 2.0?****
>>
>> Wild guessing.****
>>
>>  ****
>> ------------------------------
>>
>> Date: Wed, 5 Dec 2012 12:32:09 +0000
>> From: patrick.lockley at googlemail.com
>> To: xerte-dev at lists.nottingham.ac.uk****
>>
>>
>> Subject: [Xerte-dev] Re: moodle fix
>>
>> it's not really about introducing errors or changes, but why moodle 1.9
>> requires the code to be different? That seems a bit worrying.****
>>
>>  ****
>>
>> On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell 
>> wrote:****
>>
>> I've been testing without a moodle integration path as well as with.****
>>
>>  ****
>>
>> This particular window_reference error happens with and without a moodle
>> integration path. ****
>>
>> I'm testing via xampp but you can see it on the techdis install although
>> that obviously is using moodle authentication.****
>>
>>  ****
>>
>> I haven't found any other errors when testing without integration path so
>> I'm not sure your changed files have introduced any problems unless this js
>> error is a result of those changes.****
>>
>>  ****
>>
>> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
>> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
>> *Sent:* 05 December 2012 12:14****
>>
>>
>> *To:* For Xerte technical developers
>> *Subject:* [Xerte-dev] Re: moodle fix****
>>
>>  ****
>>
>>  ****
>>
>> Yeah, my bad - not sure why that would happen. Nothing I've changed
>> javascript side.
>>
>> I wouldn't commit those changes as they just don't make sense to me. I
>> don't get why moodle inclusion would cause those problems and I am not sure
>> what they do outside of moodle.****
>>
>>  ****
>>
>> On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell 
>> wrote:****
>>
>> I thought that window_reference is undefined is a js error?****
>>
>>  ****
>>
>> BTW****
>>
>> Are you going to commit those changed php files or do you want me to on
>> your behalf?****
>>
>>  ****
>>
>> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
>> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
>> *Sent:* 05 December 2012 12:02****
>>
>>
>> *To:* For Xerte technical developers
>> *Subject:* [Xerte-dev] Re: moodle fix****
>>
>>  ****
>>
>> Not sure then, I assumed it was that (as this was more of a patch than a
>> fix)
>>
>> Do you get a JS error?****
>>
>>  ****
>>
>> On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell 
>> wrote:****
>>
>> Just print_r($_SESSION) or could there be a similar print_r(something)
>> causing the same problem?****
>>
>> Have searched for print_r($_SESSION) in the install I'm using for testing
>> and not found.****
>>
>>  ****
>>
>> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
>> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
>> *Sent:* 05 December 2012 11:42****
>>
>>
>> *To:* For Xerte technical developers
>> *Subject:* [Xerte-dev] Re: moodle fix****
>>
>>  ****
>>
>> I think it's because of the print_r($_SESSION) somewhere - remove that
>> and it'll be fine****
>>
>>  ****
>>
>> On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
>> wrote:****
>>
>> Hi Pat****
>>
>> thanks for the update.****
>>
>> I've been testing on both the techdis server and locally via xampp.
>> Obviously I won't have tested every single permutation yet but from tests
>> so far all seems fine apart from this issue of not being able to create a
>> new project after creating one already until refresh. However this happens
>> without a moodle integration path added too.****
>>
>>  ****
>>
>> Here's the steps to reproduce with current svn code plus your changed
>> files.****
>>
>> Click create to create a new project based on Xerte Online Toolkits
>> template****
>>
>> Close the editor and try to create another project - nothing happens upon
>> clicking create****
>>
>> Refresh the browser and click create works but the cycle repeats e.g.
>> can't create a second project****
>>
>>  ****
>>
>> Using debugger in IE9 I get the following error when closing the editor
>> window:****
>>
>>  ****
>>
>> SCRIPT5009: 'window_reference' is undefined ****
>>
>> edit.php?template_id=17, line 32 character 1****
>>
>>  ****
>>
>> Not really sure where to look for the cause/solution to this one but is
>> there perhaps an include/require missing somewhere?****
>>
>>  ****
>>
>> 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:* 05 December 2012 09:38****
>>
>>
>> *To:* For Xerte technical developers****
>>
>> *Subject:* [Xerte-dev] Re: moodle fix****
>>
>>  ****
>>
>> the problem in new template was that for some reason moodle is leaving or
>> creating another database link so when toolkits sends the request to the
>> database it fails as the code is now pointing at the wrong database.
>>
>> Added in another database_connect call to fix this
>>
>> the problem in new folder creation was two require_once("config.php")
>> being used. Removed one and it works.
>>
>> Why these would only affect moodle 1.9? No idea.****
>>
>>  ****
>>
>> On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
>> wrote:****
>>
>> Hi Pat****
>>
>> thanks - from tests so far those files have certainly improved things!***
>> *
>>
>>  ****
>>
>> What did you find/change? What was the main cause of the problem?****
>>
>>  ****
>>
>> I've tested creating new projects and folders, moving and deleting
>> projects all of which were a problem previously so looking hopeful.****
>>
>>  ****
>>
>> One problem/difference at the moment which I don't think was there before
>> is that with a moodle 1.9 integration path I can now create a new project
>> without the workspace refreshing and it appears etc but if I then try to
>> create a second project clicking create to create another Xerte Online
>> Toolkit project doesn't do anything. I have to refresh the browser before I
>> can create another project. Clicking to create an RSS project does work
>> without refresh and with moodle 2 configured I can create a second and
>> third template etc without problem.****
>>
>>  ****
>>
>> I've only tested this locally so far will test on the techdis server
>> next...****
>>
>>  ****
>>
>> 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:* 05 December 2012 00:29
>> *To:* For Xerte technical developers
>> *Subject:* [Xerte-dev] moodle fix****
>>
>>  ****
>>
>> try swapping these files ****
>>
>>  ****
>>
>>
>> _______________________________________________
>> 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****
>>
>>  ****
>>
>>
>> _______________________________________________ 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****
>>
>>  ****
>>
>>
>>
>> ****
>>
>>
>> _______________________________________________
>> 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: 

From ronm at mitchellmedia.co.uk  Thu Dec  6 21:50:54 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Thu, 6 Dec 2012 21:50:54 -0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: 
References: 	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>		<002001cdd2dc$bb8becc0$32a3c640$@co.uk>		<003801cdd2de$feaff710$fc0fe530$@co.uk>		<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>		<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>				<009501cdd2f1$5f37dbe0$1da793a0$@co.uk>		<00bc01cdd2f9$56a1b3e0$03e51ba0$@co.uk>			<12C67A1EEC419342AF5E59DA31562C3F0C48CD8D25@EXCHANGE1.ad.nottingham.ac.uk>		<006101cdd3f4$a21be330$e653a990$@co.uk>	
	
Message-ID: <008d01cdd3fb$c57084b0$50518e10$@co.uk>

Yeah I just tested locally and can see that I can now create one project
after another without problem but if I turn on debugger I still get the
window_reference error.

 

Clearly that error wasn't the cause of not being able to create consecutive
projects but was the only js error detected. I guess if that isn't causing a
problem it shouldn't delay release.

 

re you going to commit your change?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 06 December 2012 21:08
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

This isn't the window_reference error by the way

 

On Thu, Dec 6, 2012 at 9:08 PM, Pat Lockley 
wrote:

For some reason there are two calls to a function which does the same thing,
and they clashed with each other.

 

No idea why.

 

On Thu, Dec 6, 2012 at 8:59 PM, Ron Mitchell 
wrote:

That seems to have done the trick Pat. It's in place on the Techdis server.

I can see the file differences but what caused the problem and need for the
change?

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: 06 December 2012 20:45


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

Try this as a fix for the JS problem

 

On Wed, Dec 5, 2012 at 4:50 PM, Julian Tenney
 wrote:

I would prefer we have some sort of service in between the two products that
can do the work robustly. I don't think XOT should risk being delayed
because some moodle update has screwed things up. This seems to me a classic
case of code originally written for one thing, now catering for unforeseen
circumstances, and I think we should rethink it, otherwise we have the same
nightmare we had with youtube pages having to cope with different ways of
finding the IDs, but in a more serious place. But let's leave it for now if
it's fixed for now.

 

Let's get the remaining issues sorted out, so we can go into Christmas with
this release done,

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 16:30


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

this is the thing though, as "core" XOT now covers moodle integration, which
is a big thing.

Muddling through is fine, but if we are developing new stuff we need to know
what we are developing for / to work with? I'm not really using XOT at work,
so I'm doing this for free

I can have a look tonight at the window_reference thing, suspect it's
simple.

 

On Wed, Dec 5, 2012 at 3:57 PM, Julian Tenney
 wrote:

Quite. I'd prefer us to be accessing the moodle session data through some
'approved' means of doing so, because presumably it could change at any
major / minor version update?

 

Are you able to look at the second create / refresh issue Pat?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 15:54


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

i know the change is almost certainly my fault, as in theory I made the last
change, which is fine.

The merge is done line by line, so it's not a process by which you'd remove
a line of code unless it was in conflict (and database_connect isn't that
kind of code, you can connect to a database a million times and not worry
about it), and if you look at new_template.php it hasn't had a database
connect call for quite some time - it wasn't there in March (which was the
last change). So these changes make it work in moodle 1.9, I didn't commit
them as I haven't tested them outside moodle. I also worry as to why PHP
would behave differently (a require once should kill all PHP, not just
moodle PHP) depending on being inside Moodle. 

The code in the SVN works outside of moodle, it works in moodle 2.3. If I
make a change in future, does it have to work in moodle 1.9? There is no
reason I can tell you why the old 1.9 wouldn't work in moodle, but I'd be
loathe to do a completely new install just to test it on the off chance
moodle is being weird.

 

On Wed, Dec 5, 2012 at 3:00 PM, Ron Mitchell 
wrote:

Hi Pat

Firstly I'm not saying you broke anything I still have no idea really about
what changed to cause these problems. All I can say for sure is that we've
been using the Techdis install for months during the 1.8 development and
more recently the html 5 development and I've been updating that server
daily simply by getting and exporting the latest svn code and uploading that
to the test install. Sometimes hourly let alone daily and weekly. On that
server/install nothing else had changed. In my local xampp nothing else had
changed.

 

I haven't had time to investigate but perhaps the svn merge created that
duplicate require statement in your_templates.php and that seems to have
been the cause of the workspace refresh issue. Perhaps it's something else
like that which caused the new project issue I really can't say for sure.

 

I know what you mean about all the possible external tools and perhaps the
LTI work Simon started would be the ultimate solution to all that but the
fact remains there are a lot of organisations using XOT combined with Moodle
for authentication. That may never had evolved if XOT had its own account
management etc but again it's just a fact that you never needed that at
Nottingham and it's never really been fully implemented so it's either LDAP
or Moodle for most and lot's of organisations can't use the LDAP option for
all sorts of reasons. Tom may be able to provide some stats about that from
his work in Europe etc and I think it will definitely be worth doing a
survey at some point.

 

To my mind we want people to upgrade and provide feedback on the latest
release so ensuring this works for those with moodle authentication is a key
ingredient of that.

 

Do you agree that 1 & 2 below shouldn't break anything when moodle
integration isn't used?

1. The change to new_template.php fixes the main issue I was seeing e.g. not
being able to create new projects with a moodle 1.9 integration path
enabled. I can't see how that change would break non moodle use?

2. The change to your_templates.php fixes the other main issue of the
workspace not refreshing after creating a project. This was just removal of
a duplicate require line. Not sure if that was always there, or introduced
recently, or only a problem with moodle integration in place, but again I
really can't see how this would break non moodle use?

How do we crack the closing the editor window issue? Can anyone else
replicate that with the latest svn trunk code?

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: 05 December 2012 14:26


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

it's all of those things though.

We don't know who uses XOT and with what, so we can't guess on who uses
stuff. I could make an argument the WordPress plugin would be a world
simpler if Xerte did X and Y, but I wanted to make it work, so I found a way
round it.

If we aren't going to release changes because it breaks X, then what is X.
because we upgraded to PHP 5 and told people to change host if they had a
problem with that

So at present, if we make changes to XOT, we are only going to release them
in they work with Moodle? Which Moodles? For how long?

I don't see why those changes are required for moodle to work, I didn't
remove any of those lines of code, or add them in. I didn't change anything
in modularisation to do with folders (as it doesn't need it). All I changed
in new template was returning one extra parameter in the query - but the
code has broken a long time before that change comes into play.

 

On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell 
wrote:

hang on a sec - let's discuss this objectively and practically...

 

We have a very small developer list membership and even fewer of that
membership testing/developing the latest code on anything but xampp

 

Realistically for organisations to use XOT in earnest they need a public
facing server install with either ldap or moodle authentication. e.g. guest,
static or db aren't current/realistic options.

 

I'd wager, but prepared to be proved wrong and perhaps we should do a
survey, that there are far more xot installations in use that are using
moodle for authentication than ldap. I certainly know for a fact that there
are organisations using xot that wouldn't be and wouldn't be able to if they
weren't able to use moodle for authentication. I know there's no internal
requirement at Nottingham for Moodle integration but we've had it working
for years now and it's not a change to moodle code that has stopped it
working. It's not even a change to the xot moodle integration code that has
stopped it working. Pat has worked magic in finding a solution to the two
main issues I've reported but I'm not sure we've really nailed exactly what
changed to break things in the first place or if it was one thing or
different things. (see below)

 

These problems with moodle integration didn't exist until last week -
something has caused a conflict. There's no problem with the previous moodle
integration in 1.7/1.8 regardless of moodle version.

 

There have been different errors and different issues reported during this
last week not all of which are down to the same cause/solution. I can only
reliably report on the issues I've found/tested and it's not always easy or
efficient to test one thing at a time especially when there are so many
permutations too. e.g. The blank window and language change issue that Tom
reported I haven't seen and a fix for Tom re the language setting didn't
change/fix anything for me. Different problem and  different solution I
think.

 

Comparing the changes Pat sent through from the current svn code I've
replaced files individually to test what fixes what:

 

1. The change to new_template.php fixes the main issue I was seeing e.g. not
being able to create new projects with a moodle 1.9 integration path
enabled. I can't see how that change would break non moodle use?

 

2. The change to your_templates.php fixes the other main issue of the
workspace not refreshing after creating a project. This was just removal of
a duplicate require line. Not sure if that was always there, or introduced
recently, or only a problem with moodle integration in place, but again I
really can't see how this would break non moodle use?

 

The above two changes fix the main issues I was getting when using an
install with a moodle 1.9 integration path. The other changes to
folder_library.php, user_library.php and make_new_folder.php don't seem to
be needed to fix those main issues as far as I can tell. Not sure if they
fixes other issues that I haven't seen.

 

Remaining issue

I am still getting the issue that after creating a new project clicking
create doesn't work again until after a refresh but that's happening without
a moodle integration path and as far as I can tell is happening with the
latest svn code so may be a new problem.

 

HTH

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: 05 December 2012 13:05


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

but the PHP works outside of moodle 1.9 fine

the problem is once with a database and once with a path

Also - we are setting a precedent. We have a working code base, but when
added into another product, it stops.

 

On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett 
wrote:

The pathing on Moodle 2.0 is a wild and crazy thing.

Maybe 1.9 was a bit of a test bed for some of what became 2.0?

Wild guessing.

 

  _____  

Date: Wed, 5 Dec 2012 12:32:09 +0000
From: patrick.lockley at googlemail.com
To: xerte-dev at lists.nottingham.ac.uk


Subject: [Xerte-dev] Re: moodle fix

it's not really about introducing errors or changes, but why moodle 1.9
requires the code to be different? That seems a bit worrying.

 

On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell 
wrote:

I've been testing without a moodle integration path as well as with.

 

This particular window_reference error happens with and without a moodle
integration path. 

I'm testing via xampp but you can see it on the techdis install although
that obviously is using moodle authentication.

 

I haven't found any other errors when testing without integration path so
I'm not sure your changed files have introduced any problems unless this js
error is a result of those changes.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:14


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

 

Yeah, my bad - not sure why that would happen. Nothing I've changed
javascript side.

I wouldn't commit those changes as they just don't make sense to me. I don't
get why moodle inclusion would cause those problems and I am not sure what
they do outside of moodle.

 

On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell 
wrote:

I thought that window_reference is undefined is a js error?

 

BTW

Are you going to commit those changed php files or do you want me to on your
behalf?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:02


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

Not sure then, I assumed it was that (as this was more of a patch than a
fix)

Do you get a JS error?

 

On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell 
wrote:

Just print_r($_SESSION) or could there be a similar print_r(something)
causing the same problem?

Have searched for print_r($_SESSION) in the install I'm using for testing
and not found.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 11:42


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

I think it's because of the print_r($_SESSION) somewhere - remove that and
it'll be fine

 

On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
wrote:

Hi Pat

thanks for the update.

I've been testing on both the techdis server and locally via xampp.
Obviously I won't have tested every single permutation yet but from tests so
far all seems fine apart from this issue of not being able to create a new
project after creating one already until refresh. However this happens
without a moodle integration path added too.

 

Here's the steps to reproduce with current svn code plus your changed files.

Click create to create a new project based on Xerte Online Toolkits template

Close the editor and try to create another project - nothing happens upon
clicking create

Refresh the browser and click create works but the cycle repeats e.g. can't
create a second project

 

Using debugger in IE9 I get the following error when closing the editor
window:

 

SCRIPT5009: 'window_reference' is undefined 

edit.php?template_id=17, line 32 character 1

 

Not really sure where to look for the cause/solution to this one but is
there perhaps an include/require missing somewhere?

 

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: 05 December 2012 09:38


To: For Xerte technical developers

Subject: [Xerte-dev] Re: moodle fix

 

the problem in new template was that for some reason moodle is leaving or
creating another database link so when toolkits sends the request to the
database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being
used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.

 

On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
wrote:

Hi Pat

thanks - from tests so far those files have certainly improved things!

 

What did you find/change? What was the main cause of the problem?

 

I've tested creating new projects and folders, moving and deleting projects
all of which were a problem previously so looking hopeful.

 

One problem/difference at the moment which I don't think was there before is
that with a moodle 1.9 integration path I can now create a new project
without the workspace refreshing and it appears etc but if I then try to
create a second project clicking create to create another Xerte Online
Toolkit project doesn't do anything. I have to refresh the browser before I
can create another project. Clicking to create an RSS project does work
without refresh and with moodle 2 configured I can create a second and third
template etc without problem.

 

I've only tested this locally so far will test on the techdis server next...

 

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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix

 

try swapping these files 

 


_______________________________________________
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

 


_______________________________________________ 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

 

 


_______________________________________________
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: 

From patrick.lockley at googlemail.com  Thu Dec  6 21:59:08 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Thu, 6 Dec 2012 21:59:08 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: <008d01cdd3fb$c57084b0$50518e10$@co.uk>
References: 
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
	
	<002001cdd2dc$bb8becc0$32a3c640$@co.uk>
	
	<003801cdd2de$feaff710$fc0fe530$@co.uk>
	
	<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>
	
	<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>
	
	
	
	<009501cdd2f1$5f37dbe0$1da793a0$@co.uk>
	
	<00bc01cdd2f9$56a1b3e0$03e51ba0$@co.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8D25@EXCHANGE1.ad.nottingham.ac.uk>
	
	<006101cdd3f4$a21be330$e653a990$@co.uk>
	
	
	<008d01cdd3fb$c57084b0$50518e10$@co.uk>
Message-ID: 

window_reference is used in the lock file code - so the editor window knows
the window which created it so they can talk to each other.

If you're near an SVN commit it.


On Thu, Dec 6, 2012 at 9:50 PM, Ron Mitchell wrote:

> Yeah I just tested locally and can see that I can now create one project
> after another without problem but if I turn on debugger I still get the
> window_reference error.****
>
> ** **
>
> Clearly that error wasn't the cause of not being able to create
> consecutive projects but was the only js error detected. I guess if that
> isn't causing a problem it shouldn't delay release.****
>
> ** **
>
> re you going to commit your change?****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 06 December 2012 21:08
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
> ** **
>
> This isn't the window_reference error by the way****
>
> ** **
>
> On Thu, Dec 6, 2012 at 9:08 PM, Pat Lockley <
> patrick.lockley at googlemail.com> wrote:****
>
> For some reason there are two calls to a function which does the same
> thing, and they clashed with each other.****
>
> ** **
>
> No idea why.****
>
> ** **
>
> On Thu, Dec 6, 2012 at 8:59 PM, Ron Mitchell 
> wrote:****
>
> That seems to have done the trick Pat. It's in place on the Techdis server.
> ****
>
> I can see the file differences but what caused the problem and need for
> the change?****
>
> 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:* 06 December 2012 20:45****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> Try this as a fix for the JS problem****
>
>  ****
>
> On Wed, Dec 5, 2012 at 4:50 PM, Julian Tenney <
> Julian.Tenney at nottingham.ac.uk> wrote:****
>
> I would prefer we have some sort of service in between the two products
> that can do the work robustly. I don?t think XOT should risk being delayed
> because some moodle update has screwed things up. This seems to me a
> classic case of code originally written for one thing, now catering for
> unforeseen circumstances, and I think we should rethink it, otherwise we
> have the same nightmare we had with youtube pages having to cope with
> different ways of finding the IDs, but in a more serious place. But let?s
> leave it for now if it?s fixed for now.****
>
>  ****
>
> Let?s get the remaining issues sorted out, so we can go into Christmas
> with this release done,****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 16:30****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> this is the thing though, as "core" XOT now covers moodle integration,
> which is a big thing.
>
> Muddling through is fine, but if we are developing new stuff we need to
> know what we are developing for / to work with? I'm not really using XOT at
> work, so I'm doing this for free
>
> I can have a look tonight at the window_reference thing, suspect it's
> simple.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 3:57 PM, Julian Tenney <
> Julian.Tenney at nottingham.ac.uk> wrote:****
>
> Quite. I?d prefer us to be accessing the moodle session data through some
> ?approved? means of doing so, because presumably it could change at any
> major / minor version update?****
>
>  ****
>
> Are you able to look at the second create / refresh issue Pat?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 15:54****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> i know the change is almost certainly my fault, as in theory I made the
> last change, which is fine.
>
> The merge is done line by line, so it's not a process by which you'd
> remove a line of code unless it was in conflict (and database_connect isn't
> that kind of code, you can connect to a database a million times and not
> worry about it), and if you look at new_template.php it hasn't had a
> database connect call for quite some time - it wasn't there in March (which
> was the last change). So these changes make it work in moodle 1.9, I didn't
> commit them as I haven't tested them outside moodle. I also worry as to why
> PHP would behave differently (a require once should kill all PHP, not just
> moodle PHP) depending on being inside Moodle.
>
> The code in the SVN works outside of moodle, it works in moodle 2.3. If I
> make a change in future, does it have to work in moodle 1.9? There is no
> reason I can tell you why the old 1.9 wouldn't work in moodle, but I'd be
> loathe to do a completely new install just to test it on the off chance
> moodle is being weird.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 3:00 PM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> Firstly I'm not saying you broke anything I still have no idea really
> about what changed to cause these problems. All I can say for sure is that
> we've been using the Techdis install for months during the 1.8 development
> and more recently the html 5 development and I've been updating that server
> daily simply by getting and exporting the latest svn code and uploading
> that to the test install. Sometimes hourly let alone daily and weekly. On
> that server/install nothing else had changed. In my local xampp nothing
> else had changed.****
>
>  ****
>
> I haven't had time to investigate but perhaps the svn merge created that
> duplicate require statement in your_templates.php and that seems to have
> been the cause of the workspace refresh issue. Perhaps it's something else
> like that which caused the new project issue I really can't say for sure.*
> ***
>
>  ****
>
> I know what you mean about all the possible external tools and perhaps the
> LTI work Simon started would be the ultimate solution to all that but the
> fact remains there are a lot of organisations using XOT combined with
> Moodle for authentication. That may never had evolved if XOT had its own
> account management etc but again it's just a fact that you never needed
> that at Nottingham and it's never really been fully implemented so it's
> either LDAP or Moodle for most and lot's of organisations can't use the
> LDAP option for all sorts of reasons. Tom may be able to provide some stats
> about that from his work in Europe etc and I think it will definitely be
> worth doing a survey at some point.****
>
>  ****
>
> To my mind we want people to upgrade and provide feedback on the latest
> release so ensuring this works for those with moodle authentication is a
> key ingredient of that.****
>
>  ****
>
> Do you agree that 1 & 2 below shouldn't break anything when moodle
> integration isn't used?****
>
> 1. The change to new_template.php fixes the main issue I was seeing e.g.
> not being able to create new projects with a moodle 1.9 integration path
> enabled. I can't see how that change would break non moodle use?****
>
> 2. The change to your_templates.php fixes the other main issue of the
> workspace not refreshing after creating a project. This was just removal of
> a duplicate require line. Not sure if that was always there, or introduced
> recently, or only a problem with moodle integration in place, but again I
> really can't see how this would break non moodle use?****
>
> How do we crack the closing the editor window issue? Can anyone else
> replicate that with the latest svn trunk code?****
>
> 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:* 05 December 2012 14:26****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> it's all of those things though.
>
> We don't know who uses XOT and with what, so we can't guess on who uses
> stuff. I could make an argument the WordPress plugin would be a world
> simpler if Xerte did X and Y, but I wanted to make it work, so I found a
> way round it.
>
> If we aren't going to release changes because it breaks X, then what is X.
> because we upgraded to PHP 5 and told people to change host if they had a
> problem with that
>
> So at present, if we make changes to XOT, we are only going to release
> them in they work with Moodle? Which Moodles? For how long?
>
> I don't see why those changes are required for moodle to work, I didn't
> remove any of those lines of code, or add them in. I didn't change anything
> in modularisation to do with folders (as it doesn't need it). All I changed
> in new template was returning one extra parameter in the query - but the
> code has broken a long time before that change comes into play.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell 
> wrote:****
>
> hang on a sec - let's discuss this objectively and practically...****
>
>  ****
>
> We have a very small developer list membership and even fewer of that
> membership testing/developing the latest code on anything but xampp****
>
>  ****
>
> Realistically for organisations to use XOT in earnest they need a public
> facing server install with either ldap or moodle authentication. e.g.
> guest, static or db aren't current/realistic options.****
>
>  ****
>
> I'd wager, but prepared to be proved wrong and perhaps we should do a
> survey, that there are far more xot installations in use that are using
> moodle for authentication than ldap. I certainly know for a fact that there
> are organisations using xot that wouldn't be and wouldn't be able to if
> they weren't able to use moodle for authentication. I know there's no
> internal requirement at Nottingham for Moodle integration but we've had it
> working for years now and it's not a change to moodle code that has stopped
> it working. It's not even a change to the xot moodle integration code that
> has stopped it working. Pat has worked magic in finding a solution to the
> two main issues I've reported but I'm not sure we've really nailed exactly
> what changed to break things in the first place or if it was one thing or
> different things. (see below)****
>
>  ****
>
> These problems with moodle integration didn't exist until last week -
> something has caused a conflict. There's no problem with the previous
> moodle integration in 1.7/1.8 regardless of moodle version.****
>
>  ****
>
> There have been different errors and different issues reported during this
> last week not all of which are down to the same cause/solution. I can only
> reliably report on the issues I've found/tested and it's not always easy or
> efficient to test one thing at a time especially when there are so many
> permutations too. e.g. The blank window and language change issue that Tom
> reported I haven't seen and a fix for Tom re the language setting didn't
> change/fix anything for me. Different problem and  different solution I
> think.****
>
>  ****
>
> Comparing the changes Pat sent through from the current svn code I've
> replaced files individually to test what fixes what:****
>
>  ****
>
> 1. The change to new_template.php fixes the main issue I was seeing e.g.
> not being able to create new projects with a moodle 1.9 integration path
> enabled. I can't see how that change would break non moodle use?****
>
>  ****
>
> 2. The change to your_templates.php fixes the other main issue of the
> workspace not refreshing after creating a project. This was just removal of
> a duplicate require line. Not sure if that was always there, or introduced
> recently, or only a problem with moodle integration in place, but again I
> really can't see how this would break non moodle use?****
>
>  ****
>
> The above two changes fix the main issues I was getting when using an
> install with a moodle 1.9 integration path. The other changes to
> folder_library.php, user_library.php and make_new_folder.php don't seem to
> be needed to fix those main issues as far as I can tell. Not sure if they
> fixes other issues that I haven't seen.****
>
>  ****
>
> Remaining issue****
>
> I am still getting the issue that after creating a new project clicking
> create doesn't work again until after a refresh but that's happening
> without a moodle integration path and as far as I can tell is happening
> with the latest svn code so may be a new problem.****
>
>  ****
>
> HTH****
>
> 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:* 05 December 2012 13:05****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> but the PHP works outside of moodle 1.9 fine
>
> the problem is once with a database and once with a path
>
> Also - we are setting a precedent. We have a working code base, but when
> added into another product, it stops.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett 
> wrote:****
>
> The pathing on Moodle 2.0 is a wild and crazy thing.****
>
> Maybe 1.9 was a bit of a test bed for some of what became 2.0?****
>
> Wild guessing.****
>
>  ****
> ------------------------------
>
> Date: Wed, 5 Dec 2012 12:32:09 +0000
> From: patrick.lockley at googlemail.com
> To: xerte-dev at lists.nottingham.ac.uk****
>
>
> Subject: [Xerte-dev] Re: moodle fix
>
> it's not really about introducing errors or changes, but why moodle 1.9
> requires the code to be different? That seems a bit worrying.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell 
> wrote:****
>
> I've been testing without a moodle integration path as well as with.****
>
>  ****
>
> This particular window_reference error happens with and without a moodle
> integration path. ****
>
> I'm testing via xampp but you can see it on the techdis install although
> that obviously is using moodle authentication.****
>
>  ****
>
> I haven't found any other errors when testing without integration path so
> I'm not sure your changed files have introduced any problems unless this js
> error is a result of those changes.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 12:14****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
>  ****
>
> Yeah, my bad - not sure why that would happen. Nothing I've changed
> javascript side.
>
> I wouldn't commit those changes as they just don't make sense to me. I
> don't get why moodle inclusion would cause those problems and I am not sure
> what they do outside of moodle.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell 
> wrote:****
>
> I thought that window_reference is undefined is a js error?****
>
>  ****
>
> BTW****
>
> Are you going to commit those changed php files or do you want me to on
> your behalf?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 12:02****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> Not sure then, I assumed it was that (as this was more of a patch than a
> fix)
>
> Do you get a JS error?****
>
>  ****
>
> On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell 
> wrote:****
>
> Just print_r($_SESSION) or could there be a similar print_r(something)
> causing the same problem?****
>
> Have searched for print_r($_SESSION) in the install I'm using for testing
> and not found.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 05 December 2012 11:42****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> I think it's because of the print_r($_SESSION) somewhere - remove that and
> it'll be fine****
>
>  ****
>
> On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> thanks for the update.****
>
> I've been testing on both the techdis server and locally via xampp.
> Obviously I won't have tested every single permutation yet but from tests
> so far all seems fine apart from this issue of not being able to create a
> new project after creating one already until refresh. However this happens
> without a moodle integration path added too.****
>
>  ****
>
> Here's the steps to reproduce with current svn code plus your changed
> files.****
>
> Click create to create a new project based on Xerte Online Toolkits
> template****
>
> Close the editor and try to create another project - nothing happens upon
> clicking create****
>
> Refresh the browser and click create works but the cycle repeats e.g.
> can't create a second project****
>
>  ****
>
> Using debugger in IE9 I get the following error when closing the editor
> window:****
>
>  ****
>
> SCRIPT5009: 'window_reference' is undefined ****
>
> edit.php?template_id=17, line 32 character 1****
>
>  ****
>
> Not really sure where to look for the cause/solution to this one but is
> there perhaps an include/require missing somewhere?****
>
>  ****
>
> 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:* 05 December 2012 09:38****
>
>
> *To:* For Xerte technical developers****
>
> *Subject:* [Xerte-dev] Re: moodle fix****
>
>  ****
>
> the problem in new template was that for some reason moodle is leaving or
> creating another database link so when toolkits sends the request to the
> database it fails as the code is now pointing at the wrong database.
>
> Added in another database_connect call to fix this
>
> the problem in new folder creation was two require_once("config.php")
> being used. Removed one and it works.
>
> Why these would only affect moodle 1.9? No idea.****
>
>  ****
>
> On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> thanks - from tests so far those files have certainly improved things!****
>
>  ****
>
> What did you find/change? What was the main cause of the problem?****
>
>  ****
>
> I've tested creating new projects and folders, moving and deleting
> projects all of which were a problem previously so looking hopeful.****
>
>  ****
>
> One problem/difference at the moment which I don't think was there before
> is that with a moodle 1.9 integration path I can now create a new project
> without the workspace refreshing and it appears etc but if I then try to
> create a second project clicking create to create another Xerte Online
> Toolkit project doesn't do anything. I have to refresh the browser before I
> can create another project. Clicking to create an RSS project does work
> without refresh and with moodle 2 configured I can create a second and
> third template etc without problem.****
>
>  ****
>
> I've only tested this locally so far will test on the techdis server
> next...****
>
>  ****
>
> 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:* 05 December 2012 00:29
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] moodle fix****
>
>  ****
>
> try swapping these files ****
>
>  ****
>
>
> _______________________________________________
> 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****
>
>  ****
>
>
> _______________________________________________ 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****
>
>  ****
>
> ** **
>
>
> _______________________________________________
> 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: 

From ronm at mitchellmedia.co.uk  Thu Dec  6 22:30:09 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Thu, 6 Dec 2012 22:30:09 -0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: 
References: 	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>		<002001cdd2dc$bb8becc0$32a3c640$@co.uk>		<003801cdd2de$feaff710$fc0fe530$@co.uk>		<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>		<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>				<009501cdd2f1$5f37dbe0$1da793a0$@co.uk>		<00bc01cdd2f9$56a1b3e0$03e51ba0$@co.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48CD8D25@EXCHANGE1
	.ad.nottingham.ac.uk>		<006101cdd3f4$a21be330$e653a990$@co.uk>			<008d01cdd3fb$c57084b0$50518e10$@co.uk>
	
Message-ID: <00a301cdd401$40733400$c1599c00$@co.uk>

committed.

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: 06 December 2012 21:59
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

window_reference is used in the lock file code - so the editor window knows
the window which created it so they can talk to each other.

 

If you're near an SVN commit it.

 

On Thu, Dec 6, 2012 at 9:50 PM, Ron Mitchell 
wrote:

Yeah I just tested locally and can see that I can now create one project
after another without problem but if I turn on debugger I still get the
window_reference error.

 

Clearly that error wasn't the cause of not being able to create consecutive
projects but was the only js error detected. I guess if that isn't causing a
problem it shouldn't delay release.

 

re you going to commit your change?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 06 December 2012 21:08


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

This isn't the window_reference error by the way

 

On Thu, Dec 6, 2012 at 9:08 PM, Pat Lockley 
wrote:

For some reason there are two calls to a function which does the same thing,
and they clashed with each other.

 

No idea why.

 

On Thu, Dec 6, 2012 at 8:59 PM, Ron Mitchell 
wrote:

That seems to have done the trick Pat. It's in place on the Techdis server.

I can see the file differences but what caused the problem and need for the
change?

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: 06 December 2012 20:45


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

Try this as a fix for the JS problem

 

On Wed, Dec 5, 2012 at 4:50 PM, Julian Tenney
 wrote:

I would prefer we have some sort of service in between the two products that
can do the work robustly. I don't think XOT should risk being delayed
because some moodle update has screwed things up. This seems to me a classic
case of code originally written for one thing, now catering for unforeseen
circumstances, and I think we should rethink it, otherwise we have the same
nightmare we had with youtube pages having to cope with different ways of
finding the IDs, but in a more serious place. But let's leave it for now if
it's fixed for now.

 

Let's get the remaining issues sorted out, so we can go into Christmas with
this release done,

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 16:30


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

this is the thing though, as "core" XOT now covers moodle integration, which
is a big thing.

Muddling through is fine, but if we are developing new stuff we need to know
what we are developing for / to work with? I'm not really using XOT at work,
so I'm doing this for free

I can have a look tonight at the window_reference thing, suspect it's
simple.

 

On Wed, Dec 5, 2012 at 3:57 PM, Julian Tenney
 wrote:

Quite. I'd prefer us to be accessing the moodle session data through some
'approved' means of doing so, because presumably it could change at any
major / minor version update?

 

Are you able to look at the second create / refresh issue Pat?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 15:54


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

i know the change is almost certainly my fault, as in theory I made the last
change, which is fine.

The merge is done line by line, so it's not a process by which you'd remove
a line of code unless it was in conflict (and database_connect isn't that
kind of code, you can connect to a database a million times and not worry
about it), and if you look at new_template.php it hasn't had a database
connect call for quite some time - it wasn't there in March (which was the
last change). So these changes make it work in moodle 1.9, I didn't commit
them as I haven't tested them outside moodle. I also worry as to why PHP
would behave differently (a require once should kill all PHP, not just
moodle PHP) depending on being inside Moodle. 

The code in the SVN works outside of moodle, it works in moodle 2.3. If I
make a change in future, does it have to work in moodle 1.9? There is no
reason I can tell you why the old 1.9 wouldn't work in moodle, but I'd be
loathe to do a completely new install just to test it on the off chance
moodle is being weird.

 

On Wed, Dec 5, 2012 at 3:00 PM, Ron Mitchell 
wrote:

Hi Pat

Firstly I'm not saying you broke anything I still have no idea really about
what changed to cause these problems. All I can say for sure is that we've
been using the Techdis install for months during the 1.8 development and
more recently the html 5 development and I've been updating that server
daily simply by getting and exporting the latest svn code and uploading that
to the test install. Sometimes hourly let alone daily and weekly. On that
server/install nothing else had changed. In my local xampp nothing else had
changed.

 

I haven't had time to investigate but perhaps the svn merge created that
duplicate require statement in your_templates.php and that seems to have
been the cause of the workspace refresh issue. Perhaps it's something else
like that which caused the new project issue I really can't say for sure.

 

I know what you mean about all the possible external tools and perhaps the
LTI work Simon started would be the ultimate solution to all that but the
fact remains there are a lot of organisations using XOT combined with Moodle
for authentication. That may never had evolved if XOT had its own account
management etc but again it's just a fact that you never needed that at
Nottingham and it's never really been fully implemented so it's either LDAP
or Moodle for most and lot's of organisations can't use the LDAP option for
all sorts of reasons. Tom may be able to provide some stats about that from
his work in Europe etc and I think it will definitely be worth doing a
survey at some point.

 

To my mind we want people to upgrade and provide feedback on the latest
release so ensuring this works for those with moodle authentication is a key
ingredient of that.

 

Do you agree that 1 & 2 below shouldn't break anything when moodle
integration isn't used?

1. The change to new_template.php fixes the main issue I was seeing e.g. not
being able to create new projects with a moodle 1.9 integration path
enabled. I can't see how that change would break non moodle use?

2. The change to your_templates.php fixes the other main issue of the
workspace not refreshing after creating a project. This was just removal of
a duplicate require line. Not sure if that was always there, or introduced
recently, or only a problem with moodle integration in place, but again I
really can't see how this would break non moodle use?

How do we crack the closing the editor window issue? Can anyone else
replicate that with the latest svn trunk code?

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: 05 December 2012 14:26


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

it's all of those things though.

We don't know who uses XOT and with what, so we can't guess on who uses
stuff. I could make an argument the WordPress plugin would be a world
simpler if Xerte did X and Y, but I wanted to make it work, so I found a way
round it.

If we aren't going to release changes because it breaks X, then what is X.
because we upgraded to PHP 5 and told people to change host if they had a
problem with that

So at present, if we make changes to XOT, we are only going to release them
in they work with Moodle? Which Moodles? For how long?

I don't see why those changes are required for moodle to work, I didn't
remove any of those lines of code, or add them in. I didn't change anything
in modularisation to do with folders (as it doesn't need it). All I changed
in new template was returning one extra parameter in the query - but the
code has broken a long time before that change comes into play.

 

On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell 
wrote:

hang on a sec - let's discuss this objectively and practically...

 

We have a very small developer list membership and even fewer of that
membership testing/developing the latest code on anything but xampp

 

Realistically for organisations to use XOT in earnest they need a public
facing server install with either ldap or moodle authentication. e.g. guest,
static or db aren't current/realistic options.

 

I'd wager, but prepared to be proved wrong and perhaps we should do a
survey, that there are far more xot installations in use that are using
moodle for authentication than ldap. I certainly know for a fact that there
are organisations using xot that wouldn't be and wouldn't be able to if they
weren't able to use moodle for authentication. I know there's no internal
requirement at Nottingham for Moodle integration but we've had it working
for years now and it's not a change to moodle code that has stopped it
working. It's not even a change to the xot moodle integration code that has
stopped it working. Pat has worked magic in finding a solution to the two
main issues I've reported but I'm not sure we've really nailed exactly what
changed to break things in the first place or if it was one thing or
different things. (see below)

 

These problems with moodle integration didn't exist until last week -
something has caused a conflict. There's no problem with the previous moodle
integration in 1.7/1.8 regardless of moodle version.

 

There have been different errors and different issues reported during this
last week not all of which are down to the same cause/solution. I can only
reliably report on the issues I've found/tested and it's not always easy or
efficient to test one thing at a time especially when there are so many
permutations too. e.g. The blank window and language change issue that Tom
reported I haven't seen and a fix for Tom re the language setting didn't
change/fix anything for me. Different problem and  different solution I
think.

 

Comparing the changes Pat sent through from the current svn code I've
replaced files individually to test what fixes what:

 

1. The change to new_template.php fixes the main issue I was seeing e.g. not
being able to create new projects with a moodle 1.9 integration path
enabled. I can't see how that change would break non moodle use?

 

2. The change to your_templates.php fixes the other main issue of the
workspace not refreshing after creating a project. This was just removal of
a duplicate require line. Not sure if that was always there, or introduced
recently, or only a problem with moodle integration in place, but again I
really can't see how this would break non moodle use?

 

The above two changes fix the main issues I was getting when using an
install with a moodle 1.9 integration path. The other changes to
folder_library.php, user_library.php and make_new_folder.php don't seem to
be needed to fix those main issues as far as I can tell. Not sure if they
fixes other issues that I haven't seen.

 

Remaining issue

I am still getting the issue that after creating a new project clicking
create doesn't work again until after a refresh but that's happening without
a moodle integration path and as far as I can tell is happening with the
latest svn code so may be a new problem.

 

HTH

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: 05 December 2012 13:05


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

but the PHP works outside of moodle 1.9 fine

the problem is once with a database and once with a path

Also - we are setting a precedent. We have a working code base, but when
added into another product, it stops.

 

On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett 
wrote:

The pathing on Moodle 2.0 is a wild and crazy thing.

Maybe 1.9 was a bit of a test bed for some of what became 2.0?

Wild guessing.

 

  _____  

Date: Wed, 5 Dec 2012 12:32:09 +0000
From: patrick.lockley at googlemail.com
To: xerte-dev at lists.nottingham.ac.uk


Subject: [Xerte-dev] Re: moodle fix

it's not really about introducing errors or changes, but why moodle 1.9
requires the code to be different? That seems a bit worrying.

 

On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell 
wrote:

I've been testing without a moodle integration path as well as with.

 

This particular window_reference error happens with and without a moodle
integration path. 

I'm testing via xampp but you can see it on the techdis install although
that obviously is using moodle authentication.

 

I haven't found any other errors when testing without integration path so
I'm not sure your changed files have introduced any problems unless this js
error is a result of those changes.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:14


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

 

Yeah, my bad - not sure why that would happen. Nothing I've changed
javascript side.

I wouldn't commit those changes as they just don't make sense to me. I don't
get why moodle inclusion would cause those problems and I am not sure what
they do outside of moodle.

 

On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell 
wrote:

I thought that window_reference is undefined is a js error?

 

BTW

Are you going to commit those changed php files or do you want me to on your
behalf?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:02


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

Not sure then, I assumed it was that (as this was more of a patch than a
fix)

Do you get a JS error?

 

On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell 
wrote:

Just print_r($_SESSION) or could there be a similar print_r(something)
causing the same problem?

Have searched for print_r($_SESSION) in the install I'm using for testing
and not found.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 11:42


To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

 

I think it's because of the print_r($_SESSION) somewhere - remove that and
it'll be fine

 

On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell 
wrote:

Hi Pat

thanks for the update.

I've been testing on both the techdis server and locally via xampp.
Obviously I won't have tested every single permutation yet but from tests so
far all seems fine apart from this issue of not being able to create a new
project after creating one already until refresh. However this happens
without a moodle integration path added too.

 

Here's the steps to reproduce with current svn code plus your changed files.

Click create to create a new project based on Xerte Online Toolkits template

Close the editor and try to create another project - nothing happens upon
clicking create

Refresh the browser and click create works but the cycle repeats e.g. can't
create a second project

 

Using debugger in IE9 I get the following error when closing the editor
window:

 

SCRIPT5009: 'window_reference' is undefined 

edit.php?template_id=17, line 32 character 1

 

Not really sure where to look for the cause/solution to this one but is
there perhaps an include/require missing somewhere?

 

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: 05 December 2012 09:38


To: For Xerte technical developers

Subject: [Xerte-dev] Re: moodle fix

 

the problem in new template was that for some reason moodle is leaving or
creating another database link so when toolkits sends the request to the
database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being
used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.

 

On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell 
wrote:

Hi Pat

thanks - from tests so far those files have certainly improved things!

 

What did you find/change? What was the main cause of the problem?

 

I've tested creating new projects and folders, moving and deleting projects
all of which were a problem previously so looking hopeful.

 

One problem/difference at the moment which I don't think was there before is
that with a moodle 1.9 integration path I can now create a new project
without the workspace refreshing and it appears etc but if I then try to
create a second project clicking create to create another Xerte Online
Toolkit project doesn't do anything. I have to refresh the browser before I
can create another project. Clicking to create an RSS project does work
without refresh and with moodle 2 configured I can create a second and third
template etc without problem.

 

I've only tested this locally so far will test on the techdis server next...

 

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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix

 

try swapping these files 

 


_______________________________________________
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

 


_______________________________________________ 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

 

 


_______________________________________________
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: 

From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 08:30:29 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 08:30:29 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: <00a301cdd401$40733400$c1599c00$@co.uk>
References: 
	<018401cdd2bd$1d4bef20$57e3cd60$@co.uk>
	
	<002001cdd2dc$bb8becc0$32a3c640$@co.uk>
	
	<003801cdd2de$feaff710$fc0fe530$@co.uk>
	
	<004d01cdd2e1$ea73e1f0$bf5ba5d0$@co.uk>
	
	<005e01cdd2e3$e0f9d150$a2ed73f0$@co.uk>
	
	
	
	<009501cdd2f1$5f37dbe0$1da793a0$@co.uk>
	
	<00bc01cdd2f9$56a1b3e0$03e51ba0$@co.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48CD8D25@EXCHANGE1	.ad.nottingham.ac.uk>
	
	<006101cdd3f4$a21be330$e653a990$@co.uk>
	
	
	<008d01cdd3fb$c57084b0$50518e10$@co.uk>
	
	<00a301cdd401$40733400$c1599c00$@co.uk>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E754BF@EXCHANGE1.ad.nottingham.ac.uk>

OK, can we make a zip for testing? Is everything commited?

J

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 06 December 2012 22:30
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: moodle fix

committed.
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: 06 December 2012 21:59
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

window_reference is used in the lock file code - so the editor window knows the window which created it so they can talk to each other.

If you're near an SVN commit it.

On Thu, Dec 6, 2012 at 9:50 PM, Ron Mitchell > wrote:
Yeah I just tested locally and can see that I can now create one project after another without problem but if I turn on debugger I still get the window_reference error.

Clearly that error wasn't the cause of not being able to create consecutive projects but was the only js error detected. I guess if that isn't causing a problem it shouldn't delay release.

re you going to commit your change?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 06 December 2012 21:08

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

This isn't the window_reference error by the way

On Thu, Dec 6, 2012 at 9:08 PM, Pat Lockley > wrote:
For some reason there are two calls to a function which does the same thing, and they clashed with each other.

No idea why.

On Thu, Dec 6, 2012 at 8:59 PM, Ron Mitchell > wrote:
That seems to have done the trick Pat. It's in place on the Techdis server.
I can see the file differences but what caused the problem and need for the change?
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: 06 December 2012 20:45

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

Try this as a fix for the JS problem

On Wed, Dec 5, 2012 at 4:50 PM, Julian Tenney > wrote:
I would prefer we have some sort of service in between the two products that can do the work robustly. I don't think XOT should risk being delayed because some moodle update has screwed things up. This seems to me a classic case of code originally written for one thing, now catering for unforeseen circumstances, and I think we should rethink it, otherwise we have the same nightmare we had with youtube pages having to cope with different ways of finding the IDs, but in a more serious place. But let's leave it for now if it's fixed for now.

Let's get the remaining issues sorted out, so we can go into Christmas with this release done,

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 16:30

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

this is the thing though, as "core" XOT now covers moodle integration, which is a big thing.

Muddling through is fine, but if we are developing new stuff we need to know what we are developing for / to work with? I'm not really using XOT at work, so I'm doing this for free

I can have a look tonight at the window_reference thing, suspect it's simple.

On Wed, Dec 5, 2012 at 3:57 PM, Julian Tenney > wrote:
Quite. I'd prefer us to be accessing the moodle session data through some 'approved' means of doing so, because presumably it could change at any major / minor version update?

Are you able to look at the second create / refresh issue Pat?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 15:54

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

i know the change is almost certainly my fault, as in theory I made the last change, which is fine.

The merge is done line by line, so it's not a process by which you'd remove a line of code unless it was in conflict (and database_connect isn't that kind of code, you can connect to a database a million times and not worry about it), and if you look at new_template.php it hasn't had a database connect call for quite some time - it wasn't there in March (which was the last change). So these changes make it work in moodle 1.9, I didn't commit them as I haven't tested them outside moodle. I also worry as to why PHP would behave differently (a require once should kill all PHP, not just moodle PHP) depending on being inside Moodle.

The code in the SVN works outside of moodle, it works in moodle 2.3. If I make a change in future, does it have to work in moodle 1.9? There is no reason I can tell you why the old 1.9 wouldn't work in moodle, but I'd be loathe to do a completely new install just to test it on the off chance moodle is being weird.

On Wed, Dec 5, 2012 at 3:00 PM, Ron Mitchell > wrote:
Hi Pat
Firstly I'm not saying you broke anything I still have no idea really about what changed to cause these problems. All I can say for sure is that we've been using the Techdis install for months during the 1.8 development and more recently the html 5 development and I've been updating that server daily simply by getting and exporting the latest svn code and uploading that to the test install. Sometimes hourly let alone daily and weekly. On that server/install nothing else had changed. In my local xampp nothing else had changed.

I haven't had time to investigate but perhaps the svn merge created that duplicate require statement in your_templates.php and that seems to have been the cause of the workspace refresh issue. Perhaps it's something else like that which caused the new project issue I really can't say for sure.

I know what you mean about all the possible external tools and perhaps the LTI work Simon started would be the ultimate solution to all that but the fact remains there are a lot of organisations using XOT combined with Moodle for authentication. That may never had evolved if XOT had its own account management etc but again it's just a fact that you never needed that at Nottingham and it's never really been fully implemented so it's either LDAP or Moodle for most and lot's of organisations can't use the LDAP option for all sorts of reasons. Tom may be able to provide some stats about that from his work in Europe etc and I think it will definitely be worth doing a survey at some point.

To my mind we want people to upgrade and provide feedback on the latest release so ensuring this works for those with moodle authentication is a key ingredient of that.

Do you agree that 1 & 2 below shouldn't break anything when moodle integration isn't used?
1. The change to new_template.php fixes the main issue I was seeing e.g. not being able to create new projects with a moodle 1.9 integration path enabled. I can't see how that change would break non moodle use?
2. The change to your_templates.php fixes the other main issue of the workspace not refreshing after creating a project. This was just removal of a duplicate require line. Not sure if that was always there, or introduced recently, or only a problem with moodle integration in place, but again I really can't see how this would break non moodle use?
How do we crack the closing the editor window issue? Can anyone else replicate that with the latest svn trunk code?
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: 05 December 2012 14:26

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

it's all of those things though.

We don't know who uses XOT and with what, so we can't guess on who uses stuff. I could make an argument the WordPress plugin would be a world simpler if Xerte did X and Y, but I wanted to make it work, so I found a way round it.

If we aren't going to release changes because it breaks X, then what is X. because we upgraded to PHP 5 and told people to change host if they had a problem with that

So at present, if we make changes to XOT, we are only going to release them in they work with Moodle? Which Moodles? For how long?

I don't see why those changes are required for moodle to work, I didn't remove any of those lines of code, or add them in. I didn't change anything in modularisation to do with folders (as it doesn't need it). All I changed in new template was returning one extra parameter in the query - but the code has broken a long time before that change comes into play.

On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell > wrote:
hang on a sec - let's discuss this objectively and practically...

We have a very small developer list membership and even fewer of that membership testing/developing the latest code on anything but xampp

Realistically for organisations to use XOT in earnest they need a public facing server install with either ldap or moodle authentication. e.g. guest, static or db aren't current/realistic options.

I'd wager, but prepared to be proved wrong and perhaps we should do a survey, that there are far more xot installations in use that are using moodle for authentication than ldap. I certainly know for a fact that there are organisations using xot that wouldn't be and wouldn't be able to if they weren't able to use moodle for authentication. I know there's no internal requirement at Nottingham for Moodle integration but we've had it working for years now and it's not a change to moodle code that has stopped it working. It's not even a change to the xot moodle integration code that has stopped it working. Pat has worked magic in finding a solution to the two main issues I've reported but I'm not sure we've really nailed exactly what changed to break things in the first place or if it was one thing or different things. (see below)

These problems with moodle integration didn't exist until last week - something has caused a conflict. There's no problem with the previous moodle integration in 1.7/1.8 regardless of moodle version.

There have been different errors and different issues reported during this last week not all of which are down to the same cause/solution. I can only reliably report on the issues I've found/tested and it's not always easy or efficient to test one thing at a time especially when there are so many permutations too. e.g. The blank window and language change issue that Tom reported I haven't seen and a fix for Tom re the language setting didn't change/fix anything for me. Different problem and  different solution I think.

Comparing the changes Pat sent through from the current svn code I've replaced files individually to test what fixes what:

1. The change to new_template.php fixes the main issue I was seeing e.g. not being able to create new projects with a moodle 1.9 integration path enabled. I can't see how that change would break non moodle use?

2. The change to your_templates.php fixes the other main issue of the workspace not refreshing after creating a project. This was just removal of a duplicate require line. Not sure if that was always there, or introduced recently, or only a problem with moodle integration in place, but again I really can't see how this would break non moodle use?

The above two changes fix the main issues I was getting when using an install with a moodle 1.9 integration path. The other changes to folder_library.php, user_library.php and make_new_folder.php don't seem to be needed to fix those main issues as far as I can tell. Not sure if they fixes other issues that I haven't seen.

Remaining issue
I am still getting the issue that after creating a new project clicking create doesn't work again until after a refresh but that's happening without a moodle integration path and as far as I can tell is happening with the latest svn code so may be a new problem.

HTH
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: 05 December 2012 13:05

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

but the PHP works outside of moodle 1.9 fine

the problem is once with a database and once with a path

Also - we are setting a precedent. We have a working code base, but when added into another product, it stops.

On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett > wrote:
The pathing on Moodle 2.0 is a wild and crazy thing.
Maybe 1.9 was a bit of a test bed for some of what became 2.0?
Wild guessing.

________________________________
Date: Wed, 5 Dec 2012 12:32:09 +0000
From: patrick.lockley at googlemail.com
To: xerte-dev at lists.nottingham.ac.uk

Subject: [Xerte-dev] Re: moodle fix

it's not really about introducing errors or changes, but why moodle 1.9 requires the code to be different? That seems a bit worrying.

On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell > wrote:

I've been testing without a moodle integration path as well as with.



This particular window_reference error happens with and without a moodle integration path.

I'm testing via xampp but you can see it on the techdis install although that obviously is using moodle authentication.



I haven't found any other errors when testing without integration path so I'm not sure your changed files have introduced any problems unless this js error is a result of those changes.



From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:14

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix




Yeah, my bad - not sure why that would happen. Nothing I've changed javascript side.

I wouldn't commit those changes as they just don't make sense to me. I don't get why moodle inclusion would cause those problems and I am not sure what they do outside of moodle.



On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell > wrote:

I thought that window_reference is undefined is a js error?



BTW

Are you going to commit those changed php files or do you want me to on your behalf?



From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:02

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix



Not sure then, I assumed it was that (as this was more of a patch than a fix)

Do you get a JS error?



On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell > wrote:

Just print_r($_SESSION) or could there be a similar print_r(something) causing the same problem?

Have searched for print_r($_SESSION) in the install I'm using for testing and not found.



From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 11:42

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix



I think it's because of the print_r($_SESSION) somewhere - remove that and it'll be fine



On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell > wrote:

Hi Pat

thanks for the update.

I've been testing on both the techdis server and locally via xampp. Obviously I won't have tested every single permutation yet but from tests so far all seems fine apart from this issue of not being able to create a new project after creating one already until refresh. However this happens without a moodle integration path added too.



Here's the steps to reproduce with current svn code plus your changed files.

Click create to create a new project based on Xerte Online Toolkits template

Close the editor and try to create another project - nothing happens upon clicking create

Refresh the browser and click create works but the cycle repeats e.g. can't create a second project



Using debugger in IE9 I get the following error when closing the editor window:



SCRIPT5009: 'window_reference' is undefined

edit.php?template_id=17, line 32 character 1



Not really sure where to look for the cause/solution to this one but is there perhaps an include/require missing somewhere?



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: 05 December 2012 09:38

To: For Xerte technical developers

Subject: [Xerte-dev] Re: moodle fix



the problem in new template was that for some reason moodle is leaving or creating another database link so when toolkits sends the request to the database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.



On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell > wrote:

Hi Pat

thanks - from tests so far those files have certainly improved things!



What did you find/change? What was the main cause of the problem?



I've tested creating new projects and folders, moving and deleting projects all of which were a problem previously so looking hopeful.



One problem/difference at the moment which I don't think was there before is that with a moodle 1.9 integration path I can now create a new project without the workspace refreshing and it appears etc but if I then try to create a second project clicking create to create another Xerte Online Toolkit project doesn't do anything. I have to refresh the browser before I can create another project. Clicking to create an RSS project does work without refresh and with moodle 2 configured I can create a second and third template etc without problem.



I've only tested this locally so far will test on the techdis server next...



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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix



try swapping these files



_______________________________________________
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


_______________________________________________ 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



_______________________________________________
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: 

From J.J.Smith at gcu.ac.uk  Fri Dec  7 08:36:38 2012
From: J.J.Smith at gcu.ac.uk (Smith, John)
Date: Fri, 7 Dec 2012 08:36:38 +0000
Subject: [Xerte-dev] Re: moodle fix
Message-ID: 

Everything from my end except the chart model which i'll try to slip in today.

Regards

John Smith
Learning Technologist
School of Health and Life Sciences

Sent from Samsung Galaxy SII


Julian Tenney  wrote:


OK, can we make a zip for testing? Is everything commited?

J

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 06 December 2012 22:30
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: moodle fix

committed.
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: 06 December 2012 21:59
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

window_reference is used in the lock file code - so the editor window knows the window which created it so they can talk to each other.

If you're near an SVN commit it.

On Thu, Dec 6, 2012 at 9:50 PM, Ron Mitchell > wrote:
Yeah I just tested locally and can see that I can now create one project after another without problem but if I turn on debugger I still get the window_reference error.

Clearly that error wasn't the cause of not being able to create consecutive projects but was the only js error detected. I guess if that isn't causing a problem it shouldn't delay release.

re you going to commit your change?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 06 December 2012 21:08

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

This isn't the window_reference error by the way

On Thu, Dec 6, 2012 at 9:08 PM, Pat Lockley > wrote:
For some reason there are two calls to a function which does the same thing, and they clashed with each other.

No idea why.

On Thu, Dec 6, 2012 at 8:59 PM, Ron Mitchell > wrote:
That seems to have done the trick Pat. It's in place on the Techdis server.
I can see the file differences but what caused the problem and need for the change?
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: 06 December 2012 20:45

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

Try this as a fix for the JS problem

On Wed, Dec 5, 2012 at 4:50 PM, Julian Tenney > wrote:
I would prefer we have some sort of service in between the two products that can do the work robustly. I don?t think XOT should risk being delayed because some moodle update has screwed things up. This seems to me a classic case of code originally written for one thing, now catering for unforeseen circumstances, and I think we should rethink it, otherwise we have the same nightmare we had with youtube pages having to cope with different ways of finding the IDs, but in a more serious place. But let?s leave it for now if it?s fixed for now.

Let?s get the remaining issues sorted out, so we can go into Christmas with this release done,

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 16:30

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

this is the thing though, as "core" XOT now covers moodle integration, which is a big thing.

Muddling through is fine, but if we are developing new stuff we need to know what we are developing for / to work with? I'm not really using XOT at work, so I'm doing this for free

I can have a look tonight at the window_reference thing, suspect it's simple.

On Wed, Dec 5, 2012 at 3:57 PM, Julian Tenney > wrote:
Quite. I?d prefer us to be accessing the moodle session data through some ?approved? means of doing so, because presumably it could change at any major / minor version update?

Are you able to look at the second create / refresh issue Pat?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 15:54

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

i know the change is almost certainly my fault, as in theory I made the last change, which is fine.

The merge is done line by line, so it's not a process by which you'd remove a line of code unless it was in conflict (and database_connect isn't that kind of code, you can connect to a database a million times and not worry about it), and if you look at new_template.php it hasn't had a database connect call for quite some time - it wasn't there in March (which was the last change). So these changes make it work in moodle 1.9, I didn't commit them as I haven't tested them outside moodle. I also worry as to why PHP would behave differently (a require once should kill all PHP, not just moodle PHP) depending on being inside Moodle.

The code in the SVN works outside of moodle, it works in moodle 2.3. If I make a change in future, does it have to work in moodle 1.9? There is no reason I can tell you why the old 1.9 wouldn't work in moodle, but I'd be loathe to do a completely new install just to test it on the off chance moodle is being weird.

On Wed, Dec 5, 2012 at 3:00 PM, Ron Mitchell > wrote:
Hi Pat
Firstly I'm not saying you broke anything I still have no idea really about what changed to cause these problems. All I can say for sure is that we've been using the Techdis install for months during the 1.8 development and more recently the html 5 development and I've been updating that server daily simply by getting and exporting the latest svn code and uploading that to the test install. Sometimes hourly let alone daily and weekly. On that server/install nothing else had changed. In my local xampp nothing else had changed.

I haven't had time to investigate but perhaps the svn merge created that duplicate require statement in your_templates.php and that seems to have been the cause of the workspace refresh issue. Perhaps it's something else like that which caused the new project issue I really can't say for sure.

I know what you mean about all the possible external tools and perhaps the LTI work Simon started would be the ultimate solution to all that but the fact remains there are a lot of organisations using XOT combined with Moodle for authentication. That may never had evolved if XOT had its own account management etc but again it's just a fact that you never needed that at Nottingham and it's never really been fully implemented so it's either LDAP or Moodle for most and lot's of organisations can't use the LDAP option for all sorts of reasons. Tom may be able to provide some stats about that from his work in Europe etc and I think it will definitely be worth doing a survey at some point.

To my mind we want people to upgrade and provide feedback on the latest release so ensuring this works for those with moodle authentication is a key ingredient of that.

Do you agree that 1 & 2 below shouldn't break anything when moodle integration isn't used?
1. The change to new_template.php fixes the main issue I was seeing e.g. not being able to create new projects with a moodle 1.9 integration path enabled. I can't see how that change would break non moodle use?
2. The change to your_templates.php fixes the other main issue of the workspace not refreshing after creating a project. This was just removal of a duplicate require line. Not sure if that was always there, or introduced recently, or only a problem with moodle integration in place, but again I really can't see how this would break non moodle use?
How do we crack the closing the editor window issue? Can anyone else replicate that with the latest svn trunk code?
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: 05 December 2012 14:26

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

it's all of those things though.

We don't know who uses XOT and with what, so we can't guess on who uses stuff. I could make an argument the WordPress plugin would be a world simpler if Xerte did X and Y, but I wanted to make it work, so I found a way round it.

If we aren't going to release changes because it breaks X, then what is X. because we upgraded to PHP 5 and told people to change host if they had a problem with that

So at present, if we make changes to XOT, we are only going to release them in they work with Moodle? Which Moodles? For how long?

I don't see why those changes are required for moodle to work, I didn't remove any of those lines of code, or add them in. I didn't change anything in modularisation to do with folders (as it doesn't need it). All I changed in new template was returning one extra parameter in the query - but the code has broken a long time before that change comes into play.

On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell > wrote:
hang on a sec - let's discuss this objectively and practically...

We have a very small developer list membership and even fewer of that membership testing/developing the latest code on anything but xampp

Realistically for organisations to use XOT in earnest they need a public facing server install with either ldap or moodle authentication. e.g. guest, static or db aren't current/realistic options.

I'd wager, but prepared to be proved wrong and perhaps we should do a survey, that there are far more xot installations in use that are using moodle for authentication than ldap. I certainly know for a fact that there are organisations using xot that wouldn't be and wouldn't be able to if they weren't able to use moodle for authentication. I know there's no internal requirement at Nottingham for Moodle integration but we've had it working for years now and it's not a change to moodle code that has stopped it working. It's not even a change to the xot moodle integration code that has stopped it working. Pat has worked magic in finding a solution to the two main issues I've reported but I'm not sure we've really nailed exactly what changed to break things in the first place or if it was one thing or different things. (see below)

These problems with moodle integration didn't exist until last week - something has caused a conflict. There's no problem with the previous moodle integration in 1.7/1.8 regardless of moodle version.

There have been different errors and different issues reported during this last week not all of which are down to the same cause/solution. I can only reliably report on the issues I've found/tested and it's not always easy or efficient to test one thing at a time especially when there are so many permutations too. e.g. The blank window and language change issue that Tom reported I haven't seen and a fix for Tom re the language setting didn't change/fix anything for me. Different problem and  different solution I think.

Comparing the changes Pat sent through from the current svn code I've replaced files individually to test what fixes what:

1. The change to new_template.php fixes the main issue I was seeing e.g. not being able to create new projects with a moodle 1.9 integration path enabled. I can't see how that change would break non moodle use?

2. The change to your_templates.php fixes the other main issue of the workspace not refreshing after creating a project. This was just removal of a duplicate require line. Not sure if that was always there, or introduced recently, or only a problem with moodle integration in place, but again I really can't see how this would break non moodle use?

The above two changes fix the main issues I was getting when using an install with a moodle 1.9 integration path. The other changes to folder_library.php, user_library.php and make_new_folder.php don't seem to be needed to fix those main issues as far as I can tell. Not sure if they fixes other issues that I haven't seen.

Remaining issue
I am still getting the issue that after creating a new project clicking create doesn't work again until after a refresh but that's happening without a moodle integration path and as far as I can tell is happening with the latest svn code so may be a new problem.

HTH
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: 05 December 2012 13:05

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

but the PHP works outside of moodle 1.9 fine

the problem is once with a database and once with a path

Also - we are setting a precedent. We have a working code base, but when added into another product, it stops.

On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett > wrote:
The pathing on Moodle 2.0 is a wild and crazy thing.
Maybe 1.9 was a bit of a test bed for some of what became 2.0?
Wild guessing.

________________________________
Date: Wed, 5 Dec 2012 12:32:09 +0000
From: patrick.lockley at googlemail.com
To: xerte-dev at lists.nottingham.ac.uk

Subject: [Xerte-dev] Re: moodle fix

it's not really about introducing errors or changes, but why moodle 1.9 requires the code to be different? That seems a bit worrying.

On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell > wrote:

I've been testing without a moodle integration path as well as with.



This particular window_reference error happens with and without a moodle integration path.

I'm testing via xampp but you can see it on the techdis install although that obviously is using moodle authentication.



I haven't found any other errors when testing without integration path so I'm not sure your changed files have introduced any problems unless this js error is a result of those changes.



From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:14

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix




Yeah, my bad - not sure why that would happen. Nothing I've changed javascript side.

I wouldn't commit those changes as they just don't make sense to me. I don't get why moodle inclusion would cause those problems and I am not sure what they do outside of moodle.



On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell > wrote:

I thought that window_reference is undefined is a js error?



BTW

Are you going to commit those changed php files or do you want me to on your behalf?



From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:02

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix



Not sure then, I assumed it was that (as this was more of a patch than a fix)

Do you get a JS error?



On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell > wrote:

Just print_r($_SESSION) or could there be a similar print_r(something) causing the same problem?

Have searched for print_r($_SESSION) in the install I'm using for testing and not found.



From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 11:42

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix



I think it's because of the print_r($_SESSION) somewhere - remove that and it'll be fine



On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell > wrote:

Hi Pat

thanks for the update.

I've been testing on both the techdis server and locally via xampp. Obviously I won't have tested every single permutation yet but from tests so far all seems fine apart from this issue of not being able to create a new project after creating one already until refresh. However this happens without a moodle integration path added too.



Here's the steps to reproduce with current svn code plus your changed files.

Click create to create a new project based on Xerte Online Toolkits template

Close the editor and try to create another project - nothing happens upon clicking create

Refresh the browser and click create works but the cycle repeats e.g. can't create a second project



Using debugger in IE9 I get the following error when closing the editor window:



SCRIPT5009: 'window_reference' is undefined

edit.php?template_id=17, line 32 character 1



Not really sure where to look for the cause/solution to this one but is there perhaps an include/require missing somewhere?



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: 05 December 2012 09:38

To: For Xerte technical developers

Subject: [Xerte-dev] Re: moodle fix



the problem in new template was that for some reason moodle is leaving or creating another database link so when toolkits sends the request to the database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.



On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell > wrote:

Hi Pat

thanks - from tests so far those files have certainly improved things!



What did you find/change? What was the main cause of the problem?



I've tested creating new projects and folders, moving and deleting projects all of which were a problem previously so looking hopeful.



One problem/difference at the moment which I don't think was there before is that with a moodle 1.9 integration path I can now create a new project without the workspace refreshing and it appears etc but if I then try to create a second project clicking create to create another Xerte Online Toolkit project doesn't do anything. I have to refresh the browser before I can create another project. Clicking to create an RSS project does work without refresh and with moodle 2 configured I can create a second and third template etc without problem.



I've only tested this locally so far will test on the techdis server next...



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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix



try swapping these files



_______________________________________________
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


_______________________________________________ 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



_______________________________________________
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





Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 08:38:43 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 08:38:43 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: 
References: 
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E754CA@EXCHANGE1.ad.nottingham.ac.uk>

The only file that changed when I just updated was display_library.php - are there more to check in Ron / Pat?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 07 December 2012 08:37
To: xerte-dev at lists.nottingham.ac.uk
Subject: [Xerte-dev] Re: moodle fix

Everything from my end except the chart model which i'll try to slip in today.

Regards

John Smith
Learning Technologist
School of Health and Life Sciences

Sent from Samsung Galaxy SII


Julian Tenney  wrote:


OK, can we make a zip for testing? Is everything commited?

J

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 06 December 2012 22:30
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: moodle fix

committed.
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: 06 December 2012 21:59
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

window_reference is used in the lock file code - so the editor window knows the window which created it so they can talk to each other.

If you're near an SVN commit it.

On Thu, Dec 6, 2012 at 9:50 PM, Ron Mitchell > wrote:
Yeah I just tested locally and can see that I can now create one project after another without problem but if I turn on debugger I still get the window_reference error.

Clearly that error wasn't the cause of not being able to create consecutive projects but was the only js error detected. I guess if that isn't causing a problem it shouldn't delay release.

re you going to commit your change?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 06 December 2012 21:08

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

This isn't the window_reference error by the way

On Thu, Dec 6, 2012 at 9:08 PM, Pat Lockley > wrote:
For some reason there are two calls to a function which does the same thing, and they clashed with each other.

No idea why.

On Thu, Dec 6, 2012 at 8:59 PM, Ron Mitchell > wrote:
That seems to have done the trick Pat. It's in place on the Techdis server.
I can see the file differences but what caused the problem and need for the change?
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: 06 December 2012 20:45

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

Try this as a fix for the JS problem

On Wed, Dec 5, 2012 at 4:50 PM, Julian Tenney > wrote:
I would prefer we have some sort of service in between the two products that can do the work robustly. I don't think XOT should risk being delayed because some moodle update has screwed things up. This seems to me a classic case of code originally written for one thing, now catering for unforeseen circumstances, and I think we should rethink it, otherwise we have the same nightmare we had with youtube pages having to cope with different ways of finding the IDs, but in a more serious place. But let's leave it for now if it's fixed for now.

Let's get the remaining issues sorted out, so we can go into Christmas with this release done,

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 16:30

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

this is the thing though, as "core" XOT now covers moodle integration, which is a big thing.

Muddling through is fine, but if we are developing new stuff we need to know what we are developing for / to work with? I'm not really using XOT at work, so I'm doing this for free

I can have a look tonight at the window_reference thing, suspect it's simple.

On Wed, Dec 5, 2012 at 3:57 PM, Julian Tenney > wrote:
Quite. I'd prefer us to be accessing the moodle session data through some 'approved' means of doing so, because presumably it could change at any major / minor version update?

Are you able to look at the second create / refresh issue Pat?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 15:54

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

i know the change is almost certainly my fault, as in theory I made the last change, which is fine.

The merge is done line by line, so it's not a process by which you'd remove a line of code unless it was in conflict (and database_connect isn't that kind of code, you can connect to a database a million times and not worry about it), and if you look at new_template.php it hasn't had a database connect call for quite some time - it wasn't there in March (which was the last change). So these changes make it work in moodle 1.9, I didn't commit them as I haven't tested them outside moodle. I also worry as to why PHP would behave differently (a require once should kill all PHP, not just moodle PHP) depending on being inside Moodle.

The code in the SVN works outside of moodle, it works in moodle 2.3. If I make a change in future, does it have to work in moodle 1.9? There is no reason I can tell you why the old 1.9 wouldn't work in moodle, but I'd be loathe to do a completely new install just to test it on the off chance moodle is being weird.

On Wed, Dec 5, 2012 at 3:00 PM, Ron Mitchell > wrote:
Hi Pat
Firstly I'm not saying you broke anything I still have no idea really about what changed to cause these problems. All I can say for sure is that we've been using the Techdis install for months during the 1.8 development and more recently the html 5 development and I've been updating that server daily simply by getting and exporting the latest svn code and uploading that to the test install. Sometimes hourly let alone daily and weekly. On that server/install nothing else had changed. In my local xampp nothing else had changed.

I haven't had time to investigate but perhaps the svn merge created that duplicate require statement in your_templates.php and that seems to have been the cause of the workspace refresh issue. Perhaps it's something else like that which caused the new project issue I really can't say for sure.

I know what you mean about all the possible external tools and perhaps the LTI work Simon started would be the ultimate solution to all that but the fact remains there are a lot of organisations using XOT combined with Moodle for authentication. That may never had evolved if XOT had its own account management etc but again it's just a fact that you never needed that at Nottingham and it's never really been fully implemented so it's either LDAP or Moodle for most and lot's of organisations can't use the LDAP option for all sorts of reasons. Tom may be able to provide some stats about that from his work in Europe etc and I think it will definitely be worth doing a survey at some point.

To my mind we want people to upgrade and provide feedback on the latest release so ensuring this works for those with moodle authentication is a key ingredient of that.

Do you agree that 1 & 2 below shouldn't break anything when moodle integration isn't used?
1. The change to new_template.php fixes the main issue I was seeing e.g. not being able to create new projects with a moodle 1.9 integration path enabled. I can't see how that change would break non moodle use?
2. The change to your_templates.php fixes the other main issue of the workspace not refreshing after creating a project. This was just removal of a duplicate require line. Not sure if that was always there, or introduced recently, or only a problem with moodle integration in place, but again I really can't see how this would break non moodle use?
How do we crack the closing the editor window issue? Can anyone else replicate that with the latest svn trunk code?
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: 05 December 2012 14:26

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

it's all of those things though.

We don't know who uses XOT and with what, so we can't guess on who uses stuff. I could make an argument the WordPress plugin would be a world simpler if Xerte did X and Y, but I wanted to make it work, so I found a way round it.

If we aren't going to release changes because it breaks X, then what is X. because we upgraded to PHP 5 and told people to change host if they had a problem with that

So at present, if we make changes to XOT, we are only going to release them in they work with Moodle? Which Moodles? For how long?

I don't see why those changes are required for moodle to work, I didn't remove any of those lines of code, or add them in. I didn't change anything in modularisation to do with folders (as it doesn't need it). All I changed in new template was returning one extra parameter in the query - but the code has broken a long time before that change comes into play.

On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell > wrote:
hang on a sec - let's discuss this objectively and practically...

We have a very small developer list membership and even fewer of that membership testing/developing the latest code on anything but xampp

Realistically for organisations to use XOT in earnest they need a public facing server install with either ldap or moodle authentication. e.g. guest, static or db aren't current/realistic options.

I'd wager, but prepared to be proved wrong and perhaps we should do a survey, that there are far more xot installations in use that are using moodle for authentication than ldap. I certainly know for a fact that there are organisations using xot that wouldn't be and wouldn't be able to if they weren't able to use moodle for authentication. I know there's no internal requirement at Nottingham for Moodle integration but we've had it working for years now and it's not a change to moodle code that has stopped it working. It's not even a change to the xot moodle integration code that has stopped it working. Pat has worked magic in finding a solution to the two main issues I've reported but I'm not sure we've really nailed exactly what changed to break things in the first place or if it was one thing or different things. (see below)

These problems with moodle integration didn't exist until last week - something has caused a conflict. There's no problem with the previous moodle integration in 1.7/1.8 regardless of moodle version.

There have been different errors and different issues reported during this last week not all of which are down to the same cause/solution. I can only reliably report on the issues I've found/tested and it's not always easy or efficient to test one thing at a time especially when there are so many permutations too. e.g. The blank window and language change issue that Tom reported I haven't seen and a fix for Tom re the language setting didn't change/fix anything for me. Different problem and  different solution I think.

Comparing the changes Pat sent through from the current svn code I've replaced files individually to test what fixes what:

1. The change to new_template.php fixes the main issue I was seeing e.g. not being able to create new projects with a moodle 1.9 integration path enabled. I can't see how that change would break non moodle use?

2. The change to your_templates.php fixes the other main issue of the workspace not refreshing after creating a project. This was just removal of a duplicate require line. Not sure if that was always there, or introduced recently, or only a problem with moodle integration in place, but again I really can't see how this would break non moodle use?

The above two changes fix the main issues I was getting when using an install with a moodle 1.9 integration path. The other changes to folder_library.php, user_library.php and make_new_folder.php don't seem to be needed to fix those main issues as far as I can tell. Not sure if they fixes other issues that I haven't seen.

Remaining issue
I am still getting the issue that after creating a new project clicking create doesn't work again until after a refresh but that's happening without a moodle integration path and as far as I can tell is happening with the latest svn code so may be a new problem.

HTH
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: 05 December 2012 13:05

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

but the PHP works outside of moodle 1.9 fine

the problem is once with a database and once with a path

Also - we are setting a precedent. We have a working code base, but when added into another product, it stops.

On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett > wrote:
The pathing on Moodle 2.0 is a wild and crazy thing.
Maybe 1.9 was a bit of a test bed for some of what became 2.0?
Wild guessing.

________________________________
Date: Wed, 5 Dec 2012 12:32:09 +0000
From: patrick.lockley at googlemail.com
To: xerte-dev at lists.nottingham.ac.uk

Subject: [Xerte-dev] Re: moodle fix

it's not really about introducing errors or changes, but why moodle 1.9 requires the code to be different? That seems a bit worrying.

On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell > wrote:

I've been testing without a moodle integration path as well as with.



This particular window_reference error happens with and without a moodle integration path.

I'm testing via xampp but you can see it on the techdis install although that obviously is using moodle authentication.



I haven't found any other errors when testing without integration path so I'm not sure your changed files have introduced any problems unless this js error is a result of those changes.



From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:14

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix




Yeah, my bad - not sure why that would happen. Nothing I've changed javascript side.

I wouldn't commit those changes as they just don't make sense to me. I don't get why moodle inclusion would cause those problems and I am not sure what they do outside of moodle.



On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell > wrote:

I thought that window_reference is undefined is a js error?



BTW

Are you going to commit those changed php files or do you want me to on your behalf?



From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:02

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix



Not sure then, I assumed it was that (as this was more of a patch than a fix)

Do you get a JS error?



On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell > wrote:

Just print_r($_SESSION) or could there be a similar print_r(something) causing the same problem?

Have searched for print_r($_SESSION) in the install I'm using for testing and not found.



From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 11:42

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix



I think it's because of the print_r($_SESSION) somewhere - remove that and it'll be fine



On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell > wrote:

Hi Pat

thanks for the update.

I've been testing on both the techdis server and locally via xampp. Obviously I won't have tested every single permutation yet but from tests so far all seems fine apart from this issue of not being able to create a new project after creating one already until refresh. However this happens without a moodle integration path added too.



Here's the steps to reproduce with current svn code plus your changed files.

Click create to create a new project based on Xerte Online Toolkits template

Close the editor and try to create another project - nothing happens upon clicking create

Refresh the browser and click create works but the cycle repeats e.g. can't create a second project



Using debugger in IE9 I get the following error when closing the editor window:



SCRIPT5009: 'window_reference' is undefined

edit.php?template_id=17, line 32 character 1



Not really sure where to look for the cause/solution to this one but is there perhaps an include/require missing somewhere?



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: 05 December 2012 09:38

To: For Xerte technical developers

Subject: [Xerte-dev] Re: moodle fix



the problem in new template was that for some reason moodle is leaving or creating another database link so when toolkits sends the request to the database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.



On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell > wrote:

Hi Pat

thanks - from tests so far those files have certainly improved things!



What did you find/change? What was the main cause of the problem?



I've tested creating new projects and folders, moving and deleting projects all of which were a problem previously so looking hopeful.



One problem/difference at the moment which I don't think was there before is that with a moodle 1.9 integration path I can now create a new project without the workspace refreshing and it appears etc but if I then try to create a second project clicking create to create another Xerte Online Toolkit project doesn't do anything. I have to refresh the browser before I can create another project. Clicking to create an RSS project does work without refresh and with moodle 2 configured I can create a second and third template etc without problem.



I've only tested this locally so far will test on the techdis server next...



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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix



try swapping these files



_______________________________________________
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


_______________________________________________ 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



_______________________________________________
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





Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html

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


From ronm at mitchellmedia.co.uk  Fri Dec  7 08:58:19 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Fri, 7 Dec 2012 08:58:19 -0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E754CA@EXCHANGE1.ad.nottingham.ac.uk>
References: 
	<12C67A1EEC419342AF5E59DA31562C3F0C48E754CA@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: <003301cdd459$017ed6c0$047c8440$@co.uk>

If you're up-to-date with revision 579 that should include everything that
I'm aware of.

I think there are still some additions needed for htaccess (see my previous
post about regular expressions) but nothing critical to prevent the zip for
now I don't think.

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 08:39
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

The only file that changed when I just updated was display_library.php - are
there more to check in Ron / Pat?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 07 December 2012 08:37
To: xerte-dev at lists.nottingham.ac.uk
Subject: [Xerte-dev] Re: moodle fix

Everything from my end except the chart model which i'll try to slip in
today.

Regards

John Smith
Learning Technologist
School of Health and Life Sciences

Sent from Samsung Galaxy SII


Julian Tenney  wrote:


OK, can we make a zip for testing? Is everything commited?

J

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 06 December 2012 22:30
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: moodle fix

committed.
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: 06 December 2012 21:59
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

window_reference is used in the lock file code - so the editor window knows
the window which created it so they can talk to each other.

If you're near an SVN commit it.

On Thu, Dec 6, 2012 at 9:50 PM, Ron Mitchell
> wrote:
Yeah I just tested locally and can see that I can now create one project
after another without problem but if I turn on debugger I still get the
window_reference error.

Clearly that error wasn't the cause of not being able to create consecutive
projects but was the only js error detected. I guess if that isn't causing a
problem it shouldn't delay release.

re you going to commit your change?

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 06 December 2012 21:08

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

This isn't the window_reference error by the way

On Thu, Dec 6, 2012 at 9:08 PM, Pat Lockley
>
wrote:
For some reason there are two calls to a function which does the same thing,
and they clashed with each other.

No idea why.

On Thu, Dec 6, 2012 at 8:59 PM, Ron Mitchell
> wrote:
That seems to have done the trick Pat. It's in place on the Techdis server.
I can see the file differences but what caused the problem and need for the
change?
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: 06 December 2012 20:45

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

Try this as a fix for the JS problem

On Wed, Dec 5, 2012 at 4:50 PM, Julian Tenney
>
wrote:
I would prefer we have some sort of service in between the two products that
can do the work robustly. I don't think XOT should risk being delayed
because some moodle update has screwed things up. This seems to me a classic
case of code originally written for one thing, now catering for unforeseen
circumstances, and I think we should rethink it, otherwise we have the same
nightmare we had with youtube pages having to cope with different ways of
finding the IDs, but in a more serious place. But let's leave it for now if
it's fixed for now.

Let's get the remaining issues sorted out, so we can go into Christmas with
this release done,

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 16:30

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

this is the thing though, as "core" XOT now covers moodle integration, which
is a big thing.

Muddling through is fine, but if we are developing new stuff we need to know
what we are developing for / to work with? I'm not really using XOT at work,
so I'm doing this for free

I can have a look tonight at the window_reference thing, suspect it's
simple.

On Wed, Dec 5, 2012 at 3:57 PM, Julian Tenney
>
wrote:
Quite. I'd prefer us to be accessing the moodle session data through some
'approved' means of doing so, because presumably it could change at any
major / minor version update?

Are you able to look at the second create / refresh issue Pat?

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 15:54

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

i know the change is almost certainly my fault, as in theory I made the last
change, which is fine.

The merge is done line by line, so it's not a process by which you'd remove
a line of code unless it was in conflict (and database_connect isn't that
kind of code, you can connect to a database a million times and not worry
about it), and if you look at new_template.php it hasn't had a database
connect call for quite some time - it wasn't there in March (which was the
last change). So these changes make it work in moodle 1.9, I didn't commit
them as I haven't tested them outside moodle. I also worry as to why PHP
would behave differently (a require once should kill all PHP, not just
moodle PHP) depending on being inside Moodle.

The code in the SVN works outside of moodle, it works in moodle 2.3. If I
make a change in future, does it have to work in moodle 1.9? There is no
reason I can tell you why the old 1.9 wouldn't work in moodle, but I'd be
loathe to do a completely new install just to test it on the off chance
moodle is being weird.

On Wed, Dec 5, 2012 at 3:00 PM, Ron Mitchell
> wrote:
Hi Pat
Firstly I'm not saying you broke anything I still have no idea really about
what changed to cause these problems. All I can say for sure is that we've
been using the Techdis install for months during the 1.8 development and
more recently the html 5 development and I've been updating that server
daily simply by getting and exporting the latest svn code and uploading that
to the test install. Sometimes hourly let alone daily and weekly. On that
server/install nothing else had changed. In my local xampp nothing else had
changed.

I haven't had time to investigate but perhaps the svn merge created that
duplicate require statement in your_templates.php and that seems to have
been the cause of the workspace refresh issue. Perhaps it's something else
like that which caused the new project issue I really can't say for sure.

I know what you mean about all the possible external tools and perhaps the
LTI work Simon started would be the ultimate solution to all that but the
fact remains there are a lot of organisations using XOT combined with Moodle
for authentication. That may never had evolved if XOT had its own account
management etc but again it's just a fact that you never needed that at
Nottingham and it's never really been fully implemented so it's either LDAP
or Moodle for most and lot's of organisations can't use the LDAP option for
all sorts of reasons. Tom may be able to provide some stats about that from
his work in Europe etc and I think it will definitely be worth doing a
survey at some point.

To my mind we want people to upgrade and provide feedback on the latest
release so ensuring this works for those with moodle authentication is a key
ingredient of that.

Do you agree that 1 & 2 below shouldn't break anything when moodle
integration isn't used?
1. The change to new_template.php fixes the main issue I was seeing e.g. not
being able to create new projects with a moodle 1.9 integration path
enabled. I can't see how that change would break non moodle use?
2. The change to your_templates.php fixes the other main issue of the
workspace not refreshing after creating a project. This was just removal of
a duplicate require line. Not sure if that was always there, or introduced
recently, or only a problem with moodle integration in place, but again I
really can't see how this would break non moodle use?
How do we crack the closing the editor window issue? Can anyone else
replicate that with the latest svn trunk code?
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: 05 December 2012 14:26

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

it's all of those things though.

We don't know who uses XOT and with what, so we can't guess on who uses
stuff. I could make an argument the WordPress plugin would be a world
simpler if Xerte did X and Y, but I wanted to make it work, so I found a way
round it.

If we aren't going to release changes because it breaks X, then what is X.
because we upgraded to PHP 5 and told people to change host if they had a
problem with that

So at present, if we make changes to XOT, we are only going to release them
in they work with Moodle? Which Moodles? For how long?

I don't see why those changes are required for moodle to work, I didn't
remove any of those lines of code, or add them in. I didn't change anything
in modularisation to do with folders (as it doesn't need it). All I changed
in new template was returning one extra parameter in the query - but the
code has broken a long time before that change comes into play.

On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell
> wrote:
hang on a sec - let's discuss this objectively and practically...

We have a very small developer list membership and even fewer of that
membership testing/developing the latest code on anything but xampp

Realistically for organisations to use XOT in earnest they need a public
facing server install with either ldap or moodle authentication. e.g. guest,
static or db aren't current/realistic options.

I'd wager, but prepared to be proved wrong and perhaps we should do a
survey, that there are far more xot installations in use that are using
moodle for authentication than ldap. I certainly know for a fact that there
are organisations using xot that wouldn't be and wouldn't be able to if they
weren't able to use moodle for authentication. I know there's no internal
requirement at Nottingham for Moodle integration but we've had it working
for years now and it's not a change to moodle code that has stopped it
working. It's not even a change to the xot moodle integration code that has
stopped it working. Pat has worked magic in finding a solution to the two
main issues I've reported but I'm not sure we've really nailed exactly what
changed to break things in the first place or if it was one thing or
different things. (see below)

These problems with moodle integration didn't exist until last week -
something has caused a conflict. There's no problem with the previous moodle
integration in 1.7/1.8 regardless of moodle version.

There have been different errors and different issues reported during this
last week not all of which are down to the same cause/solution. I can only
reliably report on the issues I've found/tested and it's not always easy or
efficient to test one thing at a time especially when there are so many
permutations too. e.g. The blank window and language change issue that Tom
reported I haven't seen and a fix for Tom re the language setting didn't
change/fix anything for me. Different problem and  different solution I
think.

Comparing the changes Pat sent through from the current svn code I've
replaced files individually to test what fixes what:

1. The change to new_template.php fixes the main issue I was seeing e.g. not
being able to create new projects with a moodle 1.9 integration path
enabled. I can't see how that change would break non moodle use?

2. The change to your_templates.php fixes the other main issue of the
workspace not refreshing after creating a project. This was just removal of
a duplicate require line. Not sure if that was always there, or introduced
recently, or only a problem with moodle integration in place, but again I
really can't see how this would break non moodle use?

The above two changes fix the main issues I was getting when using an
install with a moodle 1.9 integration path. The other changes to
folder_library.php, user_library.php and make_new_folder.php don't seem to
be needed to fix those main issues as far as I can tell. Not sure if they
fixes other issues that I haven't seen.

Remaining issue
I am still getting the issue that after creating a new project clicking
create doesn't work again until after a refresh but that's happening without
a moodle integration path and as far as I can tell is happening with the
latest svn code so may be a new problem.

HTH
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: 05 December 2012 13:05

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

but the PHP works outside of moodle 1.9 fine

the problem is once with a database and once with a path

Also - we are setting a precedent. We have a working code base, but when
added into another product, it stops.

On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett
> wrote:
The pathing on Moodle 2.0 is a wild and crazy thing.
Maybe 1.9 was a bit of a test bed for some of what became 2.0?
Wild guessing.

________________________________
Date: Wed, 5 Dec 2012 12:32:09 +0000
From: patrick.lockley at googlemail.com
To:
xerte-dev at lists.nottingham.ac.uk

Subject: [Xerte-dev] Re: moodle fix

it's not really about introducing errors or changes, but why moodle 1.9
requires the code to be different? That seems a bit worrying.

On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell
> wrote:

I've been testing without a moodle integration path as well as with.



This particular window_reference error happens with and without a moodle
integration path.

I'm testing via xampp but you can see it on the techdis install although
that obviously is using moodle authentication.



I haven't found any other errors when testing without integration path so
I'm not sure your changed files have introduced any problems unless this js
error is a result of those changes.



From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:14

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix




Yeah, my bad - not sure why that would happen. Nothing I've changed
javascript side.

I wouldn't commit those changes as they just don't make sense to me. I don't
get why moodle inclusion would cause those problems and I am not sure what
they do outside of moodle.



On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell
> wrote:

I thought that window_reference is undefined is a js error?



BTW

Are you going to commit those changed php files or do you want me to on your
behalf?



From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:02

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix



Not sure then, I assumed it was that (as this was more of a patch than a
fix)

Do you get a JS error?



On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell
> wrote:

Just print_r($_SESSION) or could there be a similar print_r(something)
causing the same problem?

Have searched for print_r($_SESSION) in the install I'm using for testing
and not found.



From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 11:42

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix



I think it's because of the print_r($_SESSION) somewhere - remove that and
it'll be fine



On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell
> wrote:

Hi Pat

thanks for the update.

I've been testing on both the techdis server and locally via xampp.
Obviously I won't have tested every single permutation yet but from tests so
far all seems fine apart from this issue of not being able to create a new
project after creating one already until refresh. However this happens
without a moodle integration path added too.



Here's the steps to reproduce with current svn code plus your changed files.

Click create to create a new project based on Xerte Online Toolkits template

Close the editor and try to create another project - nothing happens upon
clicking create

Refresh the browser and click create works but the cycle repeats e.g. can't
create a second project



Using debugger in IE9 I get the following error when closing the editor
window:



SCRIPT5009: 'window_reference' is undefined

edit.php?template_id=17, line 32 character 1



Not really sure where to look for the cause/solution to this one but is
there perhaps an include/require missing somewhere?



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: 05 December 2012 09:38

To: For Xerte technical developers

Subject: [Xerte-dev] Re: moodle fix



the problem in new template was that for some reason moodle is leaving or
creating another database link so when toolkits sends the request to the
database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being
used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.



On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell
> wrote:

Hi Pat

thanks - from tests so far those files have certainly improved things!



What did you find/change? What was the main cause of the problem?



I've tested creating new projects and folders, moving and deleting projects
all of which were a problem previously so looking hopeful.



One problem/difference at the moment which I don't think was there before is
that with a moodle 1.9 integration path I can now create a new project
without the workspace refreshing and it appears etc but if I then try to
create a second project clicking create to create another Xerte Online
Toolkit project doesn't do anything. I have to refresh the browser before I
can create another project. Clicking to create an RSS project does work
without refresh and with moodle 2 configured I can create a second and third
template etc without problem.



I've only tested this locally so far will test on the techdis server next...



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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix



try swapping these files



_______________________________________________
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


_______________________________________________ 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



_______________________________________________
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





Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html

_______________________________________________
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
This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 08:57:37 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 08:57:37 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: <003301cdd459$017ed6c0$047c8440$@co.uk>
References: 
	<12C67A1EEC419342AF5E59DA31562C3F0C48E754CA@EXCHANGE1.ad.nottingham.ac.uk>
	<003301cdd459$017ed6c0$047c8440$@co.uk>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E754E5@EXCHANGE1.ad.nottingham.ac.uk>

Yep, I have that.

So shall we release it..? We haven't tested other than the issues that have surfaced - but you have been running it on techdis, and other than the Xenith stuff (which isn't finished anyway) and the new stuff from Pat (where I think the issues have surfaced and been fixed) not too much has changed?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 07 December 2012 08:58
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: moodle fix

If you're up-to-date with revision 579 that should include everything that I'm aware of.

I think there are still some additions needed for htaccess (see my previous post about regular expressions) but nothing critical to prevent the zip for now I don't think.

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 08:39
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

The only file that changed when I just updated was display_library.php - are there more to check in Ron / Pat?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 07 December 2012 08:37
To: xerte-dev at lists.nottingham.ac.uk
Subject: [Xerte-dev] Re: moodle fix

Everything from my end except the chart model which i'll try to slip in today.

Regards

John Smith
Learning Technologist
School of Health and Life Sciences

Sent from Samsung Galaxy SII


Julian Tenney  wrote:


OK, can we make a zip for testing? Is everything commited?

J

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 06 December 2012 22:30
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: moodle fix

committed.
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: 06 December 2012 21:59
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

window_reference is used in the lock file code - so the editor window knows the window which created it so they can talk to each other.

If you're near an SVN commit it.

On Thu, Dec 6, 2012 at 9:50 PM, Ron Mitchell > wrote:
Yeah I just tested locally and can see that I can now create one project after another without problem but if I turn on debugger I still get the window_reference error.

Clearly that error wasn't the cause of not being able to create consecutive projects but was the only js error detected. I guess if that isn't causing a problem it shouldn't delay release.

re you going to commit your change?

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 06 December 2012 21:08

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

This isn't the window_reference error by the way

On Thu, Dec 6, 2012 at 9:08 PM, Pat Lockley >
wrote:
For some reason there are two calls to a function which does the same thing, and they clashed with each other.

No idea why.

On Thu, Dec 6, 2012 at 8:59 PM, Ron Mitchell > wrote:
That seems to have done the trick Pat. It's in place on the Techdis server.
I can see the file differences but what caused the problem and need for the change?
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: 06 December 2012 20:45

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

Try this as a fix for the JS problem

On Wed, Dec 5, 2012 at 4:50 PM, Julian Tenney >
wrote:
I would prefer we have some sort of service in between the two products that can do the work robustly. I don't think XOT should risk being delayed because some moodle update has screwed things up. This seems to me a classic case of code originally written for one thing, now catering for unforeseen circumstances, and I think we should rethink it, otherwise we have the same nightmare we had with youtube pages having to cope with different ways of finding the IDs, but in a more serious place. But let's leave it for now if it's fixed for now.

Let's get the remaining issues sorted out, so we can go into Christmas with this release done,

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 16:30

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

this is the thing though, as "core" XOT now covers moodle integration, which is a big thing.

Muddling through is fine, but if we are developing new stuff we need to know what we are developing for / to work with? I'm not really using XOT at work, so I'm doing this for free

I can have a look tonight at the window_reference thing, suspect it's simple.

On Wed, Dec 5, 2012 at 3:57 PM, Julian Tenney >
wrote:
Quite. I'd prefer us to be accessing the moodle session data through some 'approved' means of doing so, because presumably it could change at any major / minor version update?

Are you able to look at the second create / refresh issue Pat?

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 15:54

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

i know the change is almost certainly my fault, as in theory I made the last change, which is fine.

The merge is done line by line, so it's not a process by which you'd remove a line of code unless it was in conflict (and database_connect isn't that kind of code, you can connect to a database a million times and not worry about it), and if you look at new_template.php it hasn't had a database connect call for quite some time - it wasn't there in March (which was the last change). So these changes make it work in moodle 1.9, I didn't commit them as I haven't tested them outside moodle. I also worry as to why PHP would behave differently (a require once should kill all PHP, not just moodle PHP) depending on being inside Moodle.

The code in the SVN works outside of moodle, it works in moodle 2.3. If I make a change in future, does it have to work in moodle 1.9? There is no reason I can tell you why the old 1.9 wouldn't work in moodle, but I'd be loathe to do a completely new install just to test it on the off chance moodle is being weird.

On Wed, Dec 5, 2012 at 3:00 PM, Ron Mitchell > wrote:
Hi Pat
Firstly I'm not saying you broke anything I still have no idea really about what changed to cause these problems. All I can say for sure is that we've been using the Techdis install for months during the 1.8 development and more recently the html 5 development and I've been updating that server daily simply by getting and exporting the latest svn code and uploading that to the test install. Sometimes hourly let alone daily and weekly. On that server/install nothing else had changed. In my local xampp nothing else had changed.

I haven't had time to investigate but perhaps the svn merge created that duplicate require statement in your_templates.php and that seems to have been the cause of the workspace refresh issue. Perhaps it's something else like that which caused the new project issue I really can't say for sure.

I know what you mean about all the possible external tools and perhaps the LTI work Simon started would be the ultimate solution to all that but the fact remains there are a lot of organisations using XOT combined with Moodle for authentication. That may never had evolved if XOT had its own account management etc but again it's just a fact that you never needed that at Nottingham and it's never really been fully implemented so it's either LDAP or Moodle for most and lot's of organisations can't use the LDAP option for all sorts of reasons. Tom may be able to provide some stats about that from his work in Europe etc and I think it will definitely be worth doing a survey at some point.

To my mind we want people to upgrade and provide feedback on the latest release so ensuring this works for those with moodle authentication is a key ingredient of that.

Do you agree that 1 & 2 below shouldn't break anything when moodle integration isn't used?
1. The change to new_template.php fixes the main issue I was seeing e.g. not being able to create new projects with a moodle 1.9 integration path enabled. I can't see how that change would break non moodle use?
2. The change to your_templates.php fixes the other main issue of the workspace not refreshing after creating a project. This was just removal of a duplicate require line. Not sure if that was always there, or introduced recently, or only a problem with moodle integration in place, but again I really can't see how this would break non moodle use?
How do we crack the closing the editor window issue? Can anyone else replicate that with the latest svn trunk code?
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: 05 December 2012 14:26

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

it's all of those things though.

We don't know who uses XOT and with what, so we can't guess on who uses stuff. I could make an argument the WordPress plugin would be a world simpler if Xerte did X and Y, but I wanted to make it work, so I found a way round it.

If we aren't going to release changes because it breaks X, then what is X.
because we upgraded to PHP 5 and told people to change host if they had a problem with that

So at present, if we make changes to XOT, we are only going to release them in they work with Moodle? Which Moodles? For how long?

I don't see why those changes are required for moodle to work, I didn't remove any of those lines of code, or add them in. I didn't change anything in modularisation to do with folders (as it doesn't need it). All I changed in new template was returning one extra parameter in the query - but the code has broken a long time before that change comes into play.

On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell > wrote:
hang on a sec - let's discuss this objectively and practically...

We have a very small developer list membership and even fewer of that membership testing/developing the latest code on anything but xampp

Realistically for organisations to use XOT in earnest they need a public facing server install with either ldap or moodle authentication. e.g. guest, static or db aren't current/realistic options.

I'd wager, but prepared to be proved wrong and perhaps we should do a survey, that there are far more xot installations in use that are using moodle for authentication than ldap. I certainly know for a fact that there are organisations using xot that wouldn't be and wouldn't be able to if they weren't able to use moodle for authentication. I know there's no internal requirement at Nottingham for Moodle integration but we've had it working for years now and it's not a change to moodle code that has stopped it working. It's not even a change to the xot moodle integration code that has stopped it working. Pat has worked magic in finding a solution to the two main issues I've reported but I'm not sure we've really nailed exactly what changed to break things in the first place or if it was one thing or different things. (see below)

These problems with moodle integration didn't exist until last week - something has caused a conflict. There's no problem with the previous moodle integration in 1.7/1.8 regardless of moodle version.

There have been different errors and different issues reported during this last week not all of which are down to the same cause/solution. I can only reliably report on the issues I've found/tested and it's not always easy or efficient to test one thing at a time especially when there are so many permutations too. e.g. The blank window and language change issue that Tom reported I haven't seen and a fix for Tom re the language setting didn't change/fix anything for me. Different problem and  different solution I think.

Comparing the changes Pat sent through from the current svn code I've replaced files individually to test what fixes what:

1. The change to new_template.php fixes the main issue I was seeing e.g. not being able to create new projects with a moodle 1.9 integration path enabled. I can't see how that change would break non moodle use?

2. The change to your_templates.php fixes the other main issue of the workspace not refreshing after creating a project. This was just removal of a duplicate require line. Not sure if that was always there, or introduced recently, or only a problem with moodle integration in place, but again I really can't see how this would break non moodle use?

The above two changes fix the main issues I was getting when using an install with a moodle 1.9 integration path. The other changes to folder_library.php, user_library.php and make_new_folder.php don't seem to be needed to fix those main issues as far as I can tell. Not sure if they fixes other issues that I haven't seen.

Remaining issue
I am still getting the issue that after creating a new project clicking create doesn't work again until after a refresh but that's happening without a moodle integration path and as far as I can tell is happening with the latest svn code so may be a new problem.

HTH
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: 05 December 2012 13:05

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

but the PHP works outside of moodle 1.9 fine

the problem is once with a database and once with a path

Also - we are setting a precedent. We have a working code base, but when added into another product, it stops.

On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett > wrote:
The pathing on Moodle 2.0 is a wild and crazy thing.
Maybe 1.9 was a bit of a test bed for some of what became 2.0?
Wild guessing.

________________________________
Date: Wed, 5 Dec 2012 12:32:09 +0000
From: patrick.lockley at googlemail.com
To:
xerte-dev at lists.nottingham.ac.uk

Subject: [Xerte-dev] Re: moodle fix

it's not really about introducing errors or changes, but why moodle 1.9 requires the code to be different? That seems a bit worrying.

On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell > wrote:

I've been testing without a moodle integration path as well as with.



This particular window_reference error happens with and without a moodle integration path.

I'm testing via xampp but you can see it on the techdis install although that obviously is using moodle authentication.



I haven't found any other errors when testing without integration path so I'm not sure your changed files have introduced any problems unless this js error is a result of those changes.



From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:14

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix




Yeah, my bad - not sure why that would happen. Nothing I've changed javascript side.

I wouldn't commit those changes as they just don't make sense to me. I don't get why moodle inclusion would cause those problems and I am not sure what they do outside of moodle.



On Wed, Dec 5, 2012 at 12:13 PM, Ron Mitchell > wrote:

I thought that window_reference is undefined is a js error?



BTW

Are you going to commit those changed php files or do you want me to on your behalf?



From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 12:02

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix



Not sure then, I assumed it was that (as this was more of a patch than a
fix)

Do you get a JS error?



On Wed, Dec 5, 2012 at 11:52 AM, Ron Mitchell > wrote:

Just print_r($_SESSION) or could there be a similar print_r(something) causing the same problem?

Have searched for print_r($_SESSION) in the install I'm using for testing and not found.



From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 05 December 2012 11:42

To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix



I think it's because of the print_r($_SESSION) somewhere - remove that and it'll be fine



On Wed, Dec 5, 2012 at 11:36 AM, Ron Mitchell > wrote:

Hi Pat

thanks for the update.

I've been testing on both the techdis server and locally via xampp.
Obviously I won't have tested every single permutation yet but from tests so far all seems fine apart from this issue of not being able to create a new project after creating one already until refresh. However this happens without a moodle integration path added too.



Here's the steps to reproduce with current svn code plus your changed files.

Click create to create a new project based on Xerte Online Toolkits template

Close the editor and try to create another project - nothing happens upon clicking create

Refresh the browser and click create works but the cycle repeats e.g. can't create a second project



Using debugger in IE9 I get the following error when closing the editor
window:



SCRIPT5009: 'window_reference' is undefined

edit.php?template_id=17, line 32 character 1



Not really sure where to look for the cause/solution to this one but is there perhaps an include/require missing somewhere?



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: 05 December 2012 09:38

To: For Xerte technical developers

Subject: [Xerte-dev] Re: moodle fix



the problem in new template was that for some reason moodle is leaving or creating another database link so when toolkits sends the request to the database it fails as the code is now pointing at the wrong database.

Added in another database_connect call to fix this

the problem in new folder creation was two require_once("config.php") being used. Removed one and it works.

Why these would only affect moodle 1.9? No idea.



On Wed, Dec 5, 2012 at 7:49 AM, Ron Mitchell > wrote:

Hi Pat

thanks - from tests so far those files have certainly improved things!



What did you find/change? What was the main cause of the problem?



I've tested creating new projects and folders, moving and deleting projects all of which were a problem previously so looking hopeful.



One problem/difference at the moment which I don't think was there before is that with a moodle 1.9 integration path I can now create a new project without the workspace refreshing and it appears etc but if I then try to create a second project clicking create to create another Xerte Online Toolkit project doesn't do anything. I have to refresh the browser before I can create another project. Clicking to create an RSS project does work without refresh and with moodle 2 configured I can create a second and third template etc without problem.



I've only tested this locally so far will test on the techdis server next...



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: 05 December 2012 00:29
To: For Xerte technical developers
Subject: [Xerte-dev] moodle fix



try swapping these files



_______________________________________________
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


_______________________________________________ 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



_______________________________________________
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





Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html

_______________________________________________
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
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.


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


From patrick.lockley at googlemail.com  Fri Dec  7 09:38:12 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Fri, 7 Dec 2012 09:38:12 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E754E5@EXCHANGE1.ad.nottingham.ac.uk>
References: 
	<12C67A1EEC419342AF5E59DA31562C3F0C48E754CA@EXCHANGE1.ad.nottingham.ac.uk>
	<003301cdd459$017ed6c0$047c8440$@co.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E754E5@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: <31519B81-E9DF-4070-AAF5-E162E7C2C5A2@googlemail.com>

I've nothing new to commit

On 7 Dec 2012, at 08:57, Julian Tenney  wrote:

> Yep, I have that.
> 
> So shall we release it..? We haven't tested other than the issues that have surfaced - but you have been running it on techdis, and other than the Xenith stuff (which isn't finished anyway) and the new stuff from Pat (where I think the issues have surfaced and been fixed) not too much has changed?
> 
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
> Sent: 07 December 2012 08:58
> To: 'For Xerte technical developers'
> Subject: [Xerte-dev] Re: moodle fix
> 
> If you're up-to-date with revision 579 that should include everything that I'm aware of.
> 
> I think there are still some additions needed for htaccess (see my previous post about regular expressions) but nothing critical to prevent the zip for now I don't think.
> 
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 08:39
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: moodle fix
> 
> The only file that changed when I just updated was display_library.php - are there more to check in Ron / Pat?
> 
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
> Sent: 07 December 2012 08:37
> To: xerte-dev at lists.nottingham.ac.uk
> Subject: [Xerte-dev] Re: moodle fix
> 
> Everything from my end except the chart model which i'll try to slip in today.
> 
> Regards
> 
> John Smith
> Learning Technologist
> School of Health and Life Sciences
> 
> Sent from Samsung Galaxy SII
> 
> 
> Julian Tenney  wrote:
> 
> 
> OK, can we make a zip for testing? Is everything commited?
> 
> J
> 
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
> Sent: 06 December 2012 22:30
> To: 'For Xerte technical developers'
> Subject: [Xerte-dev] Re: moodle fix
> 
> committed.
> Cheers
> Ron
> 
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk ingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 06 December 2012 21:59
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: moodle fix
> 
> window_reference is used in the lock file code - so the editor window knows the window which created it so they can talk to each other.
> 
> If you're near an SVN commit it.
> 
> On Thu, Dec 6, 2012 at 9:50 PM, Ron Mitchell > wrote:
> Yeah I just tested locally and can see that I can now create one project after another without problem but if I turn on debugger I still get the window_reference error.
> 
> Clearly that error wasn't the cause of not being able to create consecutive projects but was the only js error detected. I guess if that isn't causing a problem it shouldn't delay release.
> 
> re you going to commit your change?
> 
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk ingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk sts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> Sent: 06 December 2012 21:08
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: moodle fix
> 
> This isn't the window_reference error by the way
> 
> On Thu, Dec 6, 2012 at 9:08 PM, Pat Lockley >
> wrote:
> For some reason there are two calls to a function which does the same thing, and they clashed with each other.
> 
> No idea why.
> 
> On Thu, Dec 6, 2012 at 8:59 PM, Ron Mitchell > wrote:
> That seems to have done the trick Pat. It's in place on the Techdis server.
> I can see the file differences but what caused the problem and need for the change?
> Cheers
> Ron
> 
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk ingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk sts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> Sent: 06 December 2012 20:45
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: moodle fix
> 
> Try this as a fix for the JS problem
> 
> On Wed, Dec 5, 2012 at 4:50 PM, Julian Tenney >
> wrote:
> I would prefer we have some sort of service in between the two products that can do the work robustly. I don't think XOT should risk being delayed because some moodle update has screwed things up. This seems to me a classic case of code originally written for one thing, now catering for unforeseen circumstances, and I think we should rethink it, otherwise we have the same nightmare we had with youtube pages having to cope with different ways of finding the IDs, but in a more serious place. But let's leave it for now if it's fixed for now.
> 
> Let's get the remaining issues sorted out, so we can go into Christmas with this release done,
> 
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk ingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk sts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> Sent: 05 December 2012 16:30
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: moodle fix
> 
> this is the thing though, as "core" XOT now covers moodle integration, which is a big thing.
> 
> Muddling through is fine, but if we are developing new stuff we need to know what we are developing for / to work with? I'm not really using XOT at work, so I'm doing this for free
> 
> I can have a look tonight at the window_reference thing, suspect it's simple.
> 
> On Wed, Dec 5, 2012 at 3:57 PM, Julian Tenney >
> wrote:
> Quite. I'd prefer us to be accessing the moodle session data through some 'approved' means of doing so, because presumably it could change at any major / minor version update?
> 
> Are you able to look at the second create / refresh issue Pat?
> 
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk ingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk sts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> Sent: 05 December 2012 15:54
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: moodle fix
> 
> i know the change is almost certainly my fault, as in theory I made the last change, which is fine.
> 
> The merge is done line by line, so it's not a process by which you'd remove a line of code unless it was in conflict (and database_connect isn't that kind of code, you can connect to a database a million times and not worry about it), and if you look at new_template.php it hasn't had a database connect call for quite some time - it wasn't there in March (which was the last change). So these changes make it work in moodle 1.9, I didn't commit them as I haven't tested them outside moodle. I also worry as to why PHP would behave differently (a require once should kill all PHP, not just moodle PHP) depending on being inside Moodle.
> 
> The code in the SVN works outside of moodle, it works in moodle 2.3. If I make a change in future, does it have to work in moodle 1.9? There is no reason I can tell you why the old 1.9 wouldn't work in moodle, but I'd be loathe to do a completely new install just to test it on the off chance moodle is being weird.
> 
> On Wed, Dec 5, 2012 at 3:00 PM, Ron Mitchell > wrote:
> Hi Pat
> Firstly I'm not saying you broke anything I still have no idea really about what changed to cause these problems. All I can say for sure is that we've been using the Techdis install for months during the 1.8 development and more recently the html 5 development and I've been updating that server daily simply by getting and exporting the latest svn code and uploading that to the test install. Sometimes hourly let alone daily and weekly. On that server/install nothing else had changed. In my local xampp nothing else had changed.
> 
> I haven't had time to investigate but perhaps the svn merge created that duplicate require statement in your_templates.php and that seems to have been the cause of the workspace refresh issue. Perhaps it's something else like that which caused the new project issue I really can't say for sure.
> 
> I know what you mean about all the possible external tools and perhaps the LTI work Simon started would be the ultimate solution to all that but the fact remains there are a lot of organisations using XOT combined with Moodle for authentication. That may never had evolved if XOT had its own account management etc but again it's just a fact that you never needed that at Nottingham and it's never really been fully implemented so it's either LDAP or Moodle for most and lot's of organisations can't use the LDAP option for all sorts of reasons. Tom may be able to provide some stats about that from his work in Europe etc and I think it will definitely be worth doing a survey at some point.
> 
> To my mind we want people to upgrade and provide feedback on the latest release so ensuring this works for those with moodle authentication is a key ingredient of that.
> 
> Do you agree that 1 & 2 below shouldn't break anything when moodle integration isn't used?
> 1. The change to new_template.php fixes the main issue I was seeing e.g. not being able to create new projects with a moodle 1.9 integration path enabled. I can't see how that change would break non moodle use?
> 2. The change to your_templates.php fixes the other main issue of the workspace not refreshing after creating a project. This was just removal of a duplicate require line. Not sure if that was always there, or introduced recently, or only a problem with moodle integration in place, but again I really can't see how this would break non moodle use?
> How do we crack the closing the editor window issue? Can anyone else replicate that with the latest svn trunk code?
> Cheers
> Ron
> 
> 
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk ingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk sts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> Sent: 05 December 2012 14:26
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: moodle fix
> 
> it's all of those things though.
> 
> We don't know who uses XOT and with what, so we can't guess on who uses stuff. I could make an argument the WordPress plugin would be a world simpler if Xerte did X and Y, but I wanted to make it work, so I found a way round it.
> 
> If we aren't going to release changes because it breaks X, then what is X.
> because we upgraded to PHP 5 and told people to change host if they had a problem with that
> 
> So at present, if we make changes to XOT, we are only going to release them in they work with Moodle? Which Moodles? For how long?
> 
> I don't see why those changes are required for moodle to work, I didn't remove any of those lines of code, or add them in. I didn't change anything in modularisation to do with folders (as it doesn't need it). All I changed in new template was returning one extra parameter in the query - but the code has broken a long time before that change comes into play.
> 
> On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell > wrote:
> hang on a sec - let's discuss this objectively and practically...
> 
> We have a very small developer list membership and even fewer of that membership testing/developing the latest code on anything but xampp
> 
> Realistically for organisations to use XOT in earnest they need a public facing server install with either ldap or moodle authentication. e.g. guest, static or db aren't current/realistic options.
> 
> I'd wager, but prepared to be proved wrong and perhaps we should do a survey, that there are far more xot installations in use that are using moodle for authentication than ldap. I certainly know for a fact that there are organisations using xot that wouldn't be and wouldn't be able to if they weren't able to use moodle for authentication. I know there's no internal requirement at Nottingham for Moodle integration but we've had it working for years now and it's not a change to moodle code that has stopped it working. It's not even a change to the xot moodle integration code that has stopped it working. Pat has worked magic in finding a solution to the two main issues I've reported but I'm not sure we've really nailed exactly what changed to break things in the first place or if it was one thing or different things. (see below)
> 
> These problems with moodle integration didn't exist until last week - something has caused a conflict. There's no problem with the previous moodle integration in 1.7/1.8 regardless of moodle version.
> 
> There have been different errors and different issues reported during this last week not all of which are down to the same cause/solution. I can only reliably report on the issues I've found/tested and it's not always easy or efficient to test one thing at a time especially when there are so many permutations too. e.g. The blank window and language change issue that Tom reported I haven't seen and a fix for Tom re the language setting didn't change/fix anything for me. Different problem and  different solution I think.
> 
> Comparing the changes Pat sent through from the current svn code I've replaced files individually to test what fixes what:
> 
> 1. The change to new_template.php fixes the main issue I was seeing e.g. not being able to create new projects with a moodle 1.9 integration path enabled. I can't see how that change would break non moodle use?
> 
> 2. The change to your_templates.php fixes the other main issue of the workspace not refreshing after creating a project. This was just removal of a duplicate require line. Not sure if that was always there, or introduced recently, or only a problem with moodle integration in place, but again I really can't see how this would break non moodle use?
> 
> The above two changes fix the main issues I was getting when using an install with a moodle 1.9 integration path. The other changes to folder_library.php, user_library.php and make_new_folder.php don't seem to be needed to fix those main issues as far as I can tell. Not sure if they fixes other issues that I haven't seen.
> 
> Remaining issue
> I am still getting the issue that after creating a new project clicking create doesn't work again until after a refresh but that's happening without a moodle integration path and as far as I can tell is happening with the latest svn code so may be a new problem.
> 
> HTH
> Ron
> 
> 
> 
> 
> 
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk ingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk sts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> Sent: 05 December 2012 13:05
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: moodle fix
> 
> but the PHP works outside of moodle 1.9 fine
> 
> the problem is once with a database and once with a path
> 
> Also - we are setting a precedent. We have a working code base, but when added into another product, it stops.
> 
> On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett > wrote:
> The pathing on Moodle 2.0 is a wild and crazy thing.
> Maybe 1.9 was a bit of a test bed for some of what became 2.0?
> Wild guessing.
> 
> ________________________________
> Date: Wed, 5 Dec 2012 12:32:09 +0000
> From: patrick.lockley at googlemail.com
> To:
> xerte-dev at lists.nottingham.ac.uk
> 
> Subject: [Xerte-dev] Re: moodle fix
> 
> it's not really about introducing errors or changes, but why moodle 1.9 requires the code to be different? That seems a bit worrying.
> 
> On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell > wrote:
> 
> I've been testing without a moodle integration path as well as with.
> 
> 
> 
> This particular window_reference error happens with and without a moodle integration path.
> 
> I'm testing


From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 09:39:11 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 09:39:11 +0000
Subject: [Xerte-dev] Re: moodle fix
In-Reply-To: <31519B81-E9DF-4070-AAF5-E162E7C2C5A2@googlemail.com>
References: 
	<12C67A1EEC419342AF5E59DA31562C3F0C48E754CA@EXCHANGE1.ad.nottingham.ac.uk>
	<003301cdd459$017ed6c0$047c8440$@co.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E754E5@EXCHANGE1.ad.nottingham.ac.uk>
	<31519B81-E9DF-4070-AAF5-E162E7C2C5A2@googlemail.com>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E7553E@EXCHANGE1.ad.nottingham.ac.uk>

OK, cheers, I'll zip it up later on, just got a few things to do this morning

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 09:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: moodle fix

I've nothing new to commit

On 7 Dec 2012, at 08:57, Julian Tenney  wrote:

> Yep, I have that.
>
> So shall we release it..? We haven't tested other than the issues that have surfaced - but you have been running it on techdis, and other than the Xenith stuff (which isn't finished anyway) and the new stuff from Pat (where I think the issues have surfaced and been fixed) not too much has changed?
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron
> Mitchell
> Sent: 07 December 2012 08:58
> To: 'For Xerte technical developers'
> Subject: [Xerte-dev] Re: moodle fix
>
> If you're up-to-date with revision 579 that should include everything that I'm aware of.
>
> I think there are still some additions needed for htaccess (see my previous post about regular expressions) but nothing critical to prevent the zip for now I don't think.
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian
> Tenney
> Sent: 07 December 2012 08:39
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: moodle fix
>
> The only file that changed when I just updated was display_library.php - are there more to check in Ron / Pat?
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith,
> John
> Sent: 07 December 2012 08:37
> To: xerte-dev at lists.nottingham.ac.uk
> Subject: [Xerte-dev] Re: moodle fix
>
> Everything from my end except the chart model which i'll try to slip in today.
>
> Regards
>
> John Smith
> Learning Technologist
> School of Health and Life Sciences
>
> Sent from Samsung Galaxy SII
>
>
> Julian Tenney  wrote:
>
>
> OK, can we make a zip for testing? Is everything commited?
>
> J
>
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron
> Mitchell
> Sent: 06 December 2012 22:30
> To: 'For Xerte technical developers'
> Subject: [Xerte-dev] Re: moodle fix
>
> committed.
> Cheers
> Ron
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nott ingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 06 December 2012 21:59
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: moodle fix
>
> window_reference is used in the lock file code - so the editor window knows the window which created it so they can talk to each other.
>
> If you're near an SVN commit it.
>
> On Thu, Dec 6, 2012 at 9:50 PM, Ron Mitchell > wrote:
> Yeah I just tested locally and can see that I can now create one project after another without problem but if I turn on debugger I still get the window_reference error.
>
> Clearly that error wasn't the cause of not being able to create consecutive projects but was the only js error detected. I guess if that isn't causing a problem it shouldn't delay release.
>
> re you going to commit your change?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nott
> ingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at li sts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> Sent: 06 December 2012 21:08
>
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: moodle fix
>
> This isn't the window_reference error by the way
>
> On Thu, Dec 6, 2012 at 9:08 PM, Pat Lockley
> 
> >
> wrote:
> For some reason there are two calls to a function which does the same thing, and they clashed with each other.
>
> No idea why.
>
> On Thu, Dec 6, 2012 at 8:59 PM, Ron Mitchell > wrote:
> That seems to have done the trick Pat. It's in place on the Techdis server.
> I can see the file differences but what caused the problem and need for the change?
> Cheers
> Ron
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nott
> ingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at li sts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> Sent: 06 December 2012 20:45
>
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: moodle fix
>
> Try this as a fix for the JS problem
>
> On Wed, Dec 5, 2012 at 4:50 PM, Julian Tenney
> 
> >
> wrote:
> I would prefer we have some sort of service in between the two products that can do the work robustly. I don't think XOT should risk being delayed because some moodle update has screwed things up. This seems to me a classic case of code originally written for one thing, now catering for unforeseen circumstances, and I think we should rethink it, otherwise we have the same nightmare we had with youtube pages having to cope with different ways of finding the IDs, but in a more serious place. But let's leave it for now if it's fixed for now.
>
> Let's get the remaining issues sorted out, so we can go into Christmas
> with this release done,
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nott
> ingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at li sts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> Sent: 05 December 2012 16:30
>
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: moodle fix
>
> this is the thing though, as "core" XOT now covers moodle integration, which is a big thing.
>
> Muddling through is fine, but if we are developing new stuff we need
> to know what we are developing for / to work with? I'm not really
> using XOT at work, so I'm doing this for free
>
> I can have a look tonight at the window_reference thing, suspect it's simple.
>
> On Wed, Dec 5, 2012 at 3:57 PM, Julian Tenney
> 
> >
> wrote:
> Quite. I'd prefer us to be accessing the moodle session data through some 'approved' means of doing so, because presumably it could change at any major / minor version update?
>
> Are you able to look at the second create / refresh issue Pat?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nott
> ingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at li sts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> Sent: 05 December 2012 15:54
>
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: moodle fix
>
> i know the change is almost certainly my fault, as in theory I made the last change, which is fine.
>
> The merge is done line by line, so it's not a process by which you'd remove a line of code unless it was in conflict (and database_connect isn't that kind of code, you can connect to a database a million times and not worry about it), and if you look at new_template.php it hasn't had a database connect call for quite some time - it wasn't there in March (which was the last change). So these changes make it work in moodle 1.9, I didn't commit them as I haven't tested them outside moodle. I also worry as to why PHP would behave differently (a require once should kill all PHP, not just moodle PHP) depending on being inside Moodle.
>
> The code in the SVN works outside of moodle, it works in moodle 2.3. If I make a change in future, does it have to work in moodle 1.9? There is no reason I can tell you why the old 1.9 wouldn't work in moodle, but I'd be loathe to do a completely new install just to test it on the off chance moodle is being weird.
>
> On Wed, Dec 5, 2012 at 3:00 PM, Ron Mitchell > wrote:
> Hi Pat
> Firstly I'm not saying you broke anything I still have no idea really about what changed to cause these problems. All I can say for sure is that we've been using the Techdis install for months during the 1.8 development and more recently the html 5 development and I've been updating that server daily simply by getting and exporting the latest svn code and uploading that to the test install. Sometimes hourly let alone daily and weekly. On that server/install nothing else had changed. In my local xampp nothing else had changed.
>
> I haven't had time to investigate but perhaps the svn merge created that duplicate require statement in your_templates.php and that seems to have been the cause of the workspace refresh issue. Perhaps it's something else like that which caused the new project issue I really can't say for sure.
>
> I know what you mean about all the possible external tools and perhaps the LTI work Simon started would be the ultimate solution to all that but the fact remains there are a lot of organisations using XOT combined with Moodle for authentication. That may never had evolved if XOT had its own account management etc but again it's just a fact that you never needed that at Nottingham and it's never really been fully implemented so it's either LDAP or Moodle for most and lot's of organisations can't use the LDAP option for all sorts of reasons. Tom may be able to provide some stats about that from his work in Europe etc and I think it will definitely be worth doing a survey at some point.
>
> To my mind we want people to upgrade and provide feedback on the latest release so ensuring this works for those with moodle authentication is a key ingredient of that.
>
> Do you agree that 1 & 2 below shouldn't break anything when moodle integration isn't used?
> 1. The change to new_template.php fixes the main issue I was seeing e.g. not being able to create new projects with a moodle 1.9 integration path enabled. I can't see how that change would break non moodle use?
> 2. The change to your_templates.php fixes the other main issue of the workspace not refreshing after creating a project. This was just removal of a duplicate require line. Not sure if that was always there, or introduced recently, or only a problem with moodle integration in place, but again I really can't see how this would break non moodle use?
> How do we crack the closing the editor window issue? Can anyone else replicate that with the latest svn trunk code?
> Cheers
> Ron
>
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nott
> ingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at li sts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> Sent: 05 December 2012 14:26
>
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: moodle fix
>
> it's all of those things though.
>
> We don't know who uses XOT and with what, so we can't guess on who uses stuff. I could make an argument the WordPress plugin would be a world simpler if Xerte did X and Y, but I wanted to make it work, so I found a way round it.
>
> If we aren't going to release changes because it breaks X, then what is X.
> because we upgraded to PHP 5 and told people to change host if they
> had a problem with that
>
> So at present, if we make changes to XOT, we are only going to release them in they work with Moodle? Which Moodles? For how long?
>
> I don't see why those changes are required for moodle to work, I didn't remove any of those lines of code, or add them in. I didn't change anything in modularisation to do with folders (as it doesn't need it). All I changed in new template was returning one extra parameter in the query - but the code has broken a long time before that change comes into play.
>
> On Wed, Dec 5, 2012 at 2:03 PM, Ron Mitchell > wrote:
> hang on a sec - let's discuss this objectively and practically...
>
> We have a very small developer list membership and even fewer of that
> membership testing/developing the latest code on anything but xampp
>
> Realistically for organisations to use XOT in earnest they need a public facing server install with either ldap or moodle authentication. e.g. guest, static or db aren't current/realistic options.
>
> I'd wager, but prepared to be proved wrong and perhaps we should do a
> survey, that there are far more xot installations in use that are
> using moodle for authentication than ldap. I certainly know for a fact
> that there are organisations using xot that wouldn't be and wouldn't
> be able to if they weren't able to use moodle for authentication. I
> know there's no internal requirement at Nottingham for Moodle
> integration but we've had it working for years now and it's not a
> change to moodle code that has stopped it working. It's not even a
> change to the xot moodle integration code that has stopped it working.
> Pat has worked magic in finding a solution to the two main issues I've
> reported but I'm not sure we've really nailed exactly what changed to
> break things in the first place or if it was one thing or different
> things. (see below)
>
> These problems with moodle integration didn't exist until last week - something has caused a conflict. There's no problem with the previous moodle integration in 1.7/1.8 regardless of moodle version.
>
> There have been different errors and different issues reported during this last week not all of which are down to the same cause/solution. I can only reliably report on the issues I've found/tested and it's not always easy or efficient to test one thing at a time especially when there are so many permutations too. e.g. The blank window and language change issue that Tom reported I haven't seen and a fix for Tom re the language setting didn't change/fix anything for me. Different problem and  different solution I think.
>
> Comparing the changes Pat sent through from the current svn code I've replaced files individually to test what fixes what:
>
> 1. The change to new_template.php fixes the main issue I was seeing e.g. not being able to create new projects with a moodle 1.9 integration path enabled. I can't see how that change would break non moodle use?
>
> 2. The change to your_templates.php fixes the other main issue of the workspace not refreshing after creating a project. This was just removal of a duplicate require line. Not sure if that was always there, or introduced recently, or only a problem with moodle integration in place, but again I really can't see how this would break non moodle use?
>
> The above two changes fix the main issues I was getting when using an install with a moodle 1.9 integration path. The other changes to folder_library.php, user_library.php and make_new_folder.php don't seem to be needed to fix those main issues as far as I can tell. Not sure if they fixes other issues that I haven't seen.
>
> Remaining issue
> I am still getting the issue that after creating a new project clicking create doesn't work again until after a refresh but that's happening without a moodle integration path and as far as I can tell is happening with the latest svn code so may be a new problem.
>
> HTH
> Ron
>
>
>
>
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nott
> ingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at li sts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> Sent: 05 December 2012 13:05
>
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: moodle fix
>
> but the PHP works outside of moodle 1.9 fine
>
> the problem is once with a database and once with a path
>
> Also - we are setting a precedent. We have a working code base, but when added into another product, it stops.
>
> On Wed, Dec 5, 2012 at 12:47 PM, Dave Burnett > wrote:
> The pathing on Moodle 2.0 is a wild and crazy thing.
> Maybe 1.9 was a bit of a test bed for some of what became 2.0?
> Wild guessing.
>
> ________________________________
> Date: Wed, 5 Dec 2012 12:32:09 +0000
> From:
> patrick.lockley at googlemail.com
> To:
> xerte-dev at lists.nottingham.ac.uk uk>
>
> Subject: [Xerte-dev] Re: moodle fix
>
> it's not really about introducing errors or changes, but why moodle 1.9 requires the code to be different? That seems a bit worrying.
>
> On Wed, Dec 5, 2012 at 12:27 PM, Ron Mitchell > wrote:
>
> I've been testing without a moodle integration path as well as with.
>
>
>
> This particular window_reference error happens with and without a moodle integration path.
>
> I'm testing

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


From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 11:17:05 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 11:17:05 +0000
Subject: [Xerte-dev] 1.9 zip
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>

Is there anything in the svn that I shouldn't include in the zip?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 11:25:23 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 11:25:23 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>

When I do an xamppp setup, build simple project and publish etc, I can't preview it on the link in the properties panel, i.e. this link doesn't work.

There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.

Do I move the file (where is it?) or change the link(to point to ?)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:17
To: For Xerte technical developers
Subject: [Xerte-dev] 1.9 zip

Is there anything in the svn that I shouldn't include in the zip?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 11:28:29 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 11:28:29 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>

Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

When I do an xamppp setup, build simple project and publish etc, I can't preview it on the link in the properties panel, i.e. this link doesn't work.

There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.

Do I move the file (where is it?) or change the link(to point to ?)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:17
To: For Xerte technical developers
Subject: [Xerte-dev] 1.9 zip

Is there anything in the svn that I shouldn't include in the zip?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From patrick.lockley at googlemail.com  Fri Dec  7 11:29:27 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Fri, 7 Dec 2012 11:29:27 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

Does xampp use htaccess by default?

On 7 Dec 2012, at 11:28, Julian Tenney  wrote:

> Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
>  
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>  
> Do I move the file (where is it?) or change the link(to point to ?)
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>  
> Is there anything in the svn that I shouldn?t include in the zip?
> 
> 
> 
> _______________________________________________
> 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: 

From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 11:30:12 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 11:30:12 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>

Dunno.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 11:29
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Does xampp use htaccess by default?

On 7 Dec 2012, at 11:28, Julian Tenney > wrote:
Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.

There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.

Do I move the file (where is it?) or change the link(to point to ?)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:17
To: For Xerte technical developers
Subject: [Xerte-dev] 1.9 zip

Is there anything in the svn that I shouldn?t include in the zip?


_______________________________________________
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: 

From patrick.lockley at googlemail.com  Fri Dec  7 11:27:36 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Fri, 7 Dec 2012 11:27:36 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

Not knowingly

On 7 Dec 2012, at 11:17, Julian Tenney  wrote:

> Is there anything in the svn that I shouldn?t include in the zip?
> 
> 
> 
> _______________________________________________
> 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: 

From patrick.lockley at googlemail.com  Fri Dec  7 11:33:40 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Fri, 7 Dec 2012 11:33:40 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

What's the URL?

On 7 Dec 2012, at 11:30, Julian Tenney  wrote:

> Dunno.
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Does xampp use htaccess by default?
> 
> On 7 Dec 2012, at 11:28, Julian Tenney  wrote:
> 
> Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
>  
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>  
> Do I move the file (where is it?) or change the link(to point to ?)
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>  
> Is there anything in the svn that I shouldn?t include in the zip?
> 
> 
> 
> _______________________________________________
> 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: 

From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 11:37:01 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 11:37:01 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>

Ah, it?s working now.

It only works after you?ve published the file from the workspace button.

I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.

Any idea what makes the two publishes different?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:30
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Dunno.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 11:29
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Does xampp use htaccess by default?

On 7 Dec 2012, at 11:28, Julian Tenney > wrote:
Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.

There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.

Do I move the file (where is it?) or change the link(to point to ?)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:17
To: For Xerte technical developers
Subject: [Xerte-dev] 1.9 zip

Is there anything in the svn that I shouldn?t include in the zip?

_______________________________________________
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: 

From patrick.lockley at googlemail.com  Fri Dec  7 11:28:43 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Fri, 7 Dec 2012 11:28:43 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

I would leave xerte code in the xerte module

On 7 Dec 2012, at 11:25, Julian Tenney  wrote:

> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
>  
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>  
> Do I move the file (where is it?) or change the link(to point to ?)
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>  
> Is there anything in the svn that I shouldn?t include in the zip?
> 
> 
> 
> _______________________________________________
> 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: 

From J.J.Smith at gcu.ac.uk  Fri Dec  7 11:38:16 2012
From: J.J.Smith at gcu.ac.uk (Smith, John)
Date: Fri, 7 Dec 2012 11:38:16 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

Xenith.js and the HTML files are all in the right place... its in common_html5/js/

Does the URL work if you change the flash one by adding _html5??

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 11:28 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

When I do an xamppp setup, build simple project and publish etc, I can't preview it on the link in the properties panel, i.e. this link doesn't work.

There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.

Do I move the file (where is it?) or change the link(to point to ?)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:17
To: For Xerte technical developers
Subject: [Xerte-dev] 1.9 zip

Is there anything in the svn that I shouldn't include in the zip?



Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 11:41:53 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 11:41:53 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E75739@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75739@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E75742@EXCHANGE1.ad.nottingham.ac.uk>

The publish panel (when you click on the publish button in the workspace) doesn?t have the play_html5 link it, just the flash one.

From: Tenney Julian
Sent: 07 December 2012 11:39
To: Tenney Julian
Subject: RE: [Xerte-dev] Re: 1.9 zip

More specifically, it?s the wndow closing publish that fails. If I hit the button it works.

From: Tenney Julian
Sent: 07 December 2012 11:37
To: 'For Xerte technical developers'
Subject: RE: [Xerte-dev] Re: 1.9 zip

Ah, it?s working now.

It only works after you?ve published the file from the workspace button.

I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.

Any idea what makes the two publishes different?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:30
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Dunno.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 11:29
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Does xampp use htaccess by default?

On 7 Dec 2012, at 11:28, Julian Tenney > wrote:
Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.

There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.

Do I move the file (where is it?) or change the link(to point to ?)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:17
To: For Xerte technical developers
Subject: [Xerte-dev] 1.9 zip

Is there anything in the svn that I shouldn?t include in the zip?

_______________________________________________
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: 

From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 11:42:53 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 11:42:53 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E75745@EXCHANGE1.ad.nottingham.ac.uk>

Sorry I ought to spend more time getting it sussed out before mailing stuff!

It's publishing when the wizard window closes that fails: you are asked if you want to publish, say OK, but it doesn't publish.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 07 December 2012 11:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Xenith.js and the HTML files are all in the right place... its in common_html5/js/

Does the URL work if you change the flash one by adding _html5??

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 11:28 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

When I do an xamppp setup, build simple project and publish etc, I can't preview it on the link in the properties panel, i.e. this link doesn't work.

There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.

Do I move the file (where is it?) or change the link(to point to ?)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:17
To: For Xerte technical developers
Subject: [Xerte-dev] 1.9 zip

Is there anything in the svn that I shouldn't include in the zip?


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From patrick.lockley at googlemail.com  Fri Dec  7 11:42:06 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Fri, 7 Dec 2012 11:42:06 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

Publish now modularised

What code does the publish button run?

On 7 Dec 2012, at 11:37, Julian Tenney  wrote:

> Ah, it?s working now.
>  
> It only works after you?ve published the file from the workspace button.
>  
> I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
>  
> Any idea what makes the two publishes different?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Dunno.
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Does xampp use htaccess by default?
> 
> On 7 Dec 2012, at 11:28, Julian Tenney  wrote:
> 
> Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
>  
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>  
> Do I move the file (where is it?) or change the link(to point to ?)
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>  
> Is there anything in the svn that I shouldn?t include in the zip?
>  
> 
> _______________________________________________
> 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: 

From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 11:46:25 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 11:46:25 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E7574C@EXCHANGE1.ad.nottingham.ac.uk>

The publish button works, it?s the window.close from the wizard thing that doesn?t?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 11:42
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Publish now modularised

What code does the publish button run?

On 7 Dec 2012, at 11:37, Julian Tenney > wrote:
Ah, it?s working now.

It only works after you?ve published the file from the workspace button.

I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.

Any idea what makes the two publishes different?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:30
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Dunno.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 11:29
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Does xampp use htaccess by default?

On 7 Dec 2012, at 11:28, Julian Tenney > wrote:
Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.

There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.

Do I move the file (where is it?) or change the link(to point to ?)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:17
To: For Xerte technical developers
Subject: [Xerte-dev] 1.9 zip

Is there anything in the svn that I shouldn?t include in the zip?

_______________________________________________
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: 

From patrick.lockley at googlemail.com  Fri Dec  7 11:47:42 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Fri, 7 Dec 2012 11:47:42 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E75745@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75745@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

It should copy the file over.

If you run the console in chrome or firebug watch the network traffic - which php file does it run after to click yes?

On 7 Dec 2012, at 11:42, Julian Tenney  wrote:

> Sorry I ought to spend more time getting it sussed out before mailing stuff!
>  
> It?s publishing when the wizard window closes that fails: you are asked if you want to publish, say OK, but it doesn?t publish.
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
> Sent: 07 December 2012 11:38
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Xenith.js and the HTML files are all in the right place? its in common_html5/js/
>  
> Does the URL work if you change the flash one by adding _html5??
>  
> Regards,
>  
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:28 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
>  
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>  
> Do I move the file (where is it?) or change the link(to point to ?)
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>  
> Is there anything in the svn that I shouldn?t include in the zip?
>  
> 
> 
> Glasgow Caledonian University is a registered Scottish charity, number SC021474
> 
> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
> 
> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
> 
> 
> 
> _______________________________________________
> 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: 

From J.J.Smith at gcu.ac.uk  Fri Dec  7 11:45:02 2012
From: J.J.Smith at gcu.ac.uk (Smith, John)
Date: Fri, 7 Dec 2012 11:45:02 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E75745@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75745@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

No worries...

Ah yes, did wonder about that. I seem to remember that it does IF access has been set in the access panel. Or am I just imagining that?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 11:43 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Sorry I ought to spend more time getting it sussed out before mailing stuff!

It's publishing when the wizard window closes that fails: you are asked if you want to publish, say OK, but it doesn't publish.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 07 December 2012 11:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Xenith.js and the HTML files are all in the right place... its in common_html5/js/

Does the URL work if you change the flash one by adding _html5??

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 11:28 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

When I do an xamppp setup, build simple project and publish etc, I can't preview it on the link in the properties panel, i.e. this link doesn't work.

There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.

Do I move the file (where is it?) or change the link(to point to ?)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:17
To: For Xerte technical developers
Subject: [Xerte-dev] 1.9 zip

Is there anything in the svn that I shouldn't include in the zip?


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html



Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From J.J.Smith at gcu.ac.uk  Fri Dec  7 11:41:26 2012
From: J.J.Smith at gcu.ac.uk (Smith, John)
Date: Fri, 7 Dec 2012 11:41:26 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

You have to make it public in the workspace before it?s accessible ? well that?s what I?ve always had to do?

Publish in the editor doesn?t appear to do much unless you set the access level?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 11:37 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ah, it?s working now.

It only works after you?ve published the file from the workspace button.

I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.

Any idea what makes the two publishes different?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:30
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Dunno.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 11:29
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Does xampp use htaccess by default?

On 7 Dec 2012, at 11:28, Julian Tenney > wrote:
Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.

There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.

Do I move the file (where is it?) or change the link(to point to ?)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:17
To: For Xerte technical developers
Subject: [Xerte-dev] 1.9 zip

Is there anything in the svn that I shouldn?t include in the zip?

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

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From patrick.lockley at googlemail.com  Fri Dec  7 11:42:54 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Fri, 7 Dec 2012 11:42:54 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E75742@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75739@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75742@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

Guess no one added it in

On 7 Dec 2012, at 11:41, Julian Tenney  wrote:

> The publish panel (when you click on the publish button in the workspace) doesn?t have the play_html5 link it, just the flash one.
>  
> From: Tenney Julian 
> Sent: 07 December 2012 11:39
> To: Tenney Julian
> Subject: RE: [Xerte-dev] Re: 1.9 zip
>  
> More specifically, it?s the wndow closing publish that fails. If I hit the button it works.
>  
> From: Tenney Julian 
> Sent: 07 December 2012 11:37
> To: 'For Xerte technical developers'
> Subject: RE: [Xerte-dev] Re: 1.9 zip
>  
> Ah, it?s working now.
>  
> It only works after you?ve published the file from the workspace button.
>  
> I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
>  
> Any idea what makes the two publishes different?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Dunno.
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Does xampp use htaccess by default?
> 
> On 7 Dec 2012, at 11:28, Julian Tenney  wrote:
> 
> Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
>  
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>  
> Do I move the file (where is it?) or change the link(to point to ?)
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>  
> Is there anything in the svn that I shouldn?t include in the zip?
>  
> 
> _______________________________________________
> 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: 

From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 11:52:43 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 11:52:43 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75745@EXCHANGE1.ad.nottingham.ac.uk>
	
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E75763@EXCHANGE1.ad.nottingham.ac.uk>

template_close.php

Then update_file.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: 07 December 2012 11:48
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It should copy the file over.

If you run the console in chrome or firebug watch the network traffic - which php file does it run after to click yes?

On 7 Dec 2012, at 11:42, Julian Tenney > wrote:
Sorry I ought to spend more time getting it sussed out before mailing stuff!

It?s publishing when the wizard window closes that fails: you are asked if you want to publish, say OK, but it doesn?t publish.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 07 December 2012 11:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Xenith.js and the HTML files are all in the right place? its in common_html5/js/

Does the URL work if you change the flash one by adding _html5??

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 11:28 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.

There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.

Do I move the file (where is it?) or change the link(to point to ?)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:17
To: For Xerte technical developers
Subject: [Xerte-dev] 1.9 zip

Is there anything in the svn that I shouldn?t include in the zip?


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


_______________________________________________
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: 

From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 11:53:10 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 11:53:10 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75739@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75742@EXCHANGE1.ad.nottingham.ac.uk>
	
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E75766@EXCHANGE1.ad.nottingham.ac.uk>

Do you think so?

;-)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 11:43
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Guess no one added it in

On 7 Dec 2012, at 11:41, Julian Tenney > wrote:
The publish panel (when you click on the publish button in the workspace) doesn?t have the play_html5 link it, just the flash one.

From: Tenney Julian
Sent: 07 December 2012 11:39
To: Tenney Julian
Subject: RE: [Xerte-dev] Re: 1.9 zip

More specifically, it?s the wndow closing publish that fails. If I hit the button it works.

From: Tenney Julian
Sent: 07 December 2012 11:37
To: 'For Xerte technical developers'
Subject: RE: [Xerte-dev] Re: 1.9 zip

Ah, it?s working now.

It only works after you?ve published the file from the workspace button.

I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.

Any idea what makes the two publishes different?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:30
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Dunno.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 11:29
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Does xampp use htaccess by default?

On 7 Dec 2012, at 11:28, Julian Tenney > wrote:
Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.

There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.

Do I move the file (where is it?) or change the link(to point to ?)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:17
To: For Xerte technical developers
Subject: [Xerte-dev] 1.9 zip

Is there anything in the svn that I shouldn?t include in the zip?

_______________________________________________
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: 

From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 11:55:39 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 11:55:39 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>

It?s a bit more than that. Here?s what I?m doing:

Create project
Got to properties, make it public
Goto wizard edit something
Close editor
Prompted to publish ? say yes
Goto properties, hit the link
No dice.

But it?s also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn?t accounted for in the wizard window?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 07 December 2012 11:41
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

You have to make it public in the workspace before it?s accessible ? well that?s what I?ve always had to do?

Publish in the editor doesn?t appear to do much unless you set the access level?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 11:37 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ah, it?s working now.

It only works after you?ve published the file from the workspace button.

I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.

Any idea what makes the two publishes different?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:30
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Dunno.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 11:29
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Does xampp use htaccess by default?

On 7 Dec 2012, at 11:28, Julian Tenney > wrote:
Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.

There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.

Do I move the file (where is it?) or change the link(to point to ?)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:17
To: For Xerte technical developers
Subject: [Xerte-dev] 1.9 zip

Is there anything in the svn that I shouldn?t include in the zip?

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

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 11:58:00 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 11:58:00 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75745@EXCHANGE1.ad.nottingham.ac.uk>
	
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E75772@EXCHANGE1.ad.nottingham.ac.uk>

It used to work: you could do it all from the wizard other than make it public, I've got till about 1.00 then I need to go out for the afternoon to rig up a time lapse camera so it'll have to wait till monday unless there's a quick fix.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 07 December 2012 11:45
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

No worries...

Ah yes, did wonder about that. I seem to remember that it does IF access has been set in the access panel. Or am I just imagining that?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 11:43 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Sorry I ought to spend more time getting it sussed out before mailing stuff!

It's publishing when the wizard window closes that fails: you are asked if you want to publish, say OK, but it doesn't publish.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 07 December 2012 11:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Xenith.js and the HTML files are all in the right place... its in common_html5/js/

Does the URL work if you change the flash one by adding _html5??

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 11:28 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

When I do an xamppp setup, build simple project and publish etc, I can't preview it on the link in the properties panel, i.e. this link doesn't work.

There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.

Do I move the file (where is it?) or change the link(to point to ?)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:17
To: For Xerte technical developers
Subject: [Xerte-dev] 1.9 zip

Is there anything in the svn that I shouldn't include in the zip?


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From patrick.lockley at googlemail.com  Fri Dec  7 12:04:12 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Fri, 7 Dec 2012 12:04:12 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E75763@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75745@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75763@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

Is update_file in versioncontrol? Is there another file in that folder?

On 7 Dec 2012, at 11:52, Julian Tenney  wrote:

> template_close.php
>  
> Then update_file.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: 07 December 2012 11:48
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> It should copy the file over.
>  
> If you run the console in chrome or firebug watch the network traffic - which php file does it run after to click yes?
> 
> On 7 Dec 2012, at 11:42, Julian Tenney  wrote:
> 
> Sorry I ought to spend more time getting it sussed out before mailing stuff!
>  
> It?s publishing when the wizard window closes that fails: you are asked if you want to publish, say OK, but it doesn?t publish.
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
> Sent: 07 December 2012 11:38
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Xenith.js and the HTML files are all in the right place? its in common_html5/js/
>  
> Does the URL work if you change the flash one by adding _html5??
>  
> Regards,
>  
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:28 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
>  
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>  
> Do I move the file (where is it?) or change the link(to point to ?)
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>  
> Is there anything in the svn that I shouldn?t include in the zip?
>  
> 
> 
> Glasgow Caledonian University is a registered Scottish charity, number SC021474
> 
> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
> 
> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
> 
> 
> 
> _______________________________________________
> 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: 

From patrick.lockley at googlemail.com  Fri Dec  7 12:04:47 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Fri, 7 Dec 2012 12:04:47 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E75766@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75739@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75742@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75766@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: <5C38CF4D-B107-40BA-A95A-254664B94385@googlemail.com>

Well I am just working out what's a bug and what's a forgotten to do

On 7 Dec 2012, at 11:53, Julian Tenney  wrote:

> Do you think so?
>  
> ;-)
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:43
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Guess no one added it in
> 
> On 7 Dec 2012, at 11:41, Julian Tenney  wrote:
> 
> The publish panel (when you click on the publish button in the workspace) doesn?t have the play_html5 link it, just the flash one.
>  
> From: Tenney Julian 
> Sent: 07 December 2012 11:39
> To: Tenney Julian
> Subject: RE: [Xerte-dev] Re: 1.9 zip
>  
> More specifically, it?s the wndow closing publish that fails. If I hit the button it works.
>  
> From: Tenney Julian 
> Sent: 07 December 2012 11:37
> To: 'For Xerte technical developers'
> Subject: RE: [Xerte-dev] Re: 1.9 zip
>  
> Ah, it?s working now.
>  
> It only works after you?ve published the file from the workspace button.
>  
> I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
>  
> Any idea what makes the two publishes different?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Dunno.
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Does xampp use htaccess by default?
> 
> On 7 Dec 2012, at 11:28, Julian Tenney  wrote:
> 
> Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
>  
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>  
> Do I move the file (where is it?) or change the link(to point to ?)
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>  
> Is there anything in the svn that I shouldn?t include in the zip?
>  
> 
> _______________________________________________
> 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: 

From patrick.lockley at googlemail.com  Fri Dec  7 12:06:02 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Fri, 7 Dec 2012 12:06:02 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: <0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>

I think I assumed all publishing went through one file, but that's not the case. Am on holiday but can poke around later on

So publishing when closing
And
Publishing Inside xerte

On 7 Dec 2012, at 11:55, Julian Tenney  wrote:

> It?s a bit more than that. Here?s what I?m doing:
>  
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish ? say yes
> Goto properties, hit the link
> No dice.
>  
> But it?s also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn?t accounted for in the wizard window?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> You have to make it public in the workspace before it?s accessible ? well that?s what I?ve always had to do?
>  
> Publish in the editor doesn?t appear to do much unless you set the access level?
>  
> Regards,
>  
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Ah, it?s working now.
>  
> It only works after you?ve published the file from the workspace button.
>  
> I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
>  
> Any idea what makes the two publishes different?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Dunno.
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Does xampp use htaccess by default?
> 
> On 7 Dec 2012, at 11:28, Julian Tenney  wrote:
> 
> Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
>  
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>  
> Do I move the file (where is it?) or change the link(to point to ?)
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>  
> Is there anything in the svn that I shouldn?t include in the zip?
>  
> 
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> 
> Glasgow Caledonian University is a registered Scottish charity, number SC021474
> 
> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
> 
> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
> _______________________________________________
> 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: 

From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 12:07:18 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 12:07:18 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>

It works from the publish buttons. Just not on the on close trapper

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 12:06
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

I think I assumed all publishing went through one file, but that's not the case. Am on holiday but can poke around later on

So publishing when closing
And
Publishing Inside xerte

On 7 Dec 2012, at 11:55, Julian Tenney > wrote:
It?s a bit more than that. Here?s what I?m doing:

Create project
Got to properties, make it public
Goto wizard edit something
Close editor
Prompted to publish ? say yes
Goto properties, hit the link
No dice.

But it?s also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn?t accounted for in the wizard window?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 07 December 2012 11:41
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

You have to make it public in the workspace before it?s accessible ? well that?s what I?ve always had to do?

Publish in the editor doesn?t appear to do much unless you set the access level?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 11:37 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ah, it?s working now.

It only works after you?ve published the file from the workspace button.

I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.

Any idea what makes the two publishes different?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:30
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Dunno.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 11:29
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Does xampp use htaccess by default?

On 7 Dec 2012, at 11:28, Julian Tenney > wrote:
Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.

There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.

Do I move the file (where is it?) or change the link(to point to ?)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:17
To: For Xerte technical developers
Subject: [Xerte-dev] 1.9 zip

Is there anything in the svn that I shouldn?t include in the zip?

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

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
_______________________________________________
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: 

From patrick.lockley at googlemail.com  Fri Dec  7 12:08:06 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Fri, 7 Dec 2012 12:08:06 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E75772@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75745@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75772@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: <59F586A9-9DC4-4A15-AAB5-DC39B1E5E0FC@googlemail.com>

You could look in version control as that publishing works - then try that code (bits of it) in the other files

On 7 Dec 2012, at 11:58, Julian Tenney  wrote:

> It used to work: you could do it all from the wizard other than make it public, I?ve got till about 1.00 then I need to go out for the afternoon to rig up a time lapse camera so it?ll have to wait till monday unless there?s a quick fix.
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
> Sent: 07 December 2012 11:45
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> No worries?
>  
> Ah yes, did wonder about that. I seem to remember that it does IF access has been set in the access panel. Or am I just imagining that?
>  
> Regards,
>  
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:43 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Sorry I ought to spend more time getting it sussed out before mailing stuff!
>  
> It?s publishing when the wizard window closes that fails: you are asked if you want to publish, say OK, but it doesn?t publish.
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
> Sent: 07 December 2012 11:38
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Xenith.js and the HTML files are all in the right place? its in common_html5/js/
>  
> Does the URL work if you change the flash one by adding _html5??
>  
> Regards,
>  
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:28 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
>  
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>  
> Do I move the file (where is it?) or change the link(to point to ?)
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>  
> Is there anything in the svn that I shouldn?t include in the zip?
>  
> 
> 
> Glasgow Caledonian University is a registered Scottish charity, number SC021474
> 
> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
> 
> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
>  
> 
> 
> Glasgow Caledonian University is a registered Scottish charity, number SC021474
> 
> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
> 
> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
> 
> 
> 
> _______________________________________________
> 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: 

From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 12:11:41 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 12:11:41 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75745@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75763@EXCHANGE1.ad.nottingham.ac.uk>
	
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E7579B@EXCHANGE1.ad.nottingham.ac.uk>

Yeah it is.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 12:04
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Is update_file in versioncontrol? Is there another file in that folder?

On 7 Dec 2012, at 11:52, Julian Tenney > wrote:
template_close.php

Then update_file.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: 07 December 2012 11:48
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It should copy the file over.

If you run the console in chrome or firebug watch the network traffic - which php file does it run after to click yes?

On 7 Dec 2012, at 11:42, Julian Tenney > wrote:
Sorry I ought to spend more time getting it sussed out before mailing stuff!

It?s publishing when the wizard window closes that fails: you are asked if you want to publish, say OK, but it doesn?t publish.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 07 December 2012 11:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Xenith.js and the HTML files are all in the right place? its in common_html5/js/

Does the URL work if you change the flash one by adding _html5??

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 11:28 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.

There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.

Do I move the file (where is it?) or change the link(to point to ?)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:17
To: For Xerte technical developers
Subject: [Xerte-dev] 1.9 zip

Is there anything in the svn that I shouldn?t include in the zip?


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html



_______________________________________________
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: 

From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 12:14:23 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 12:14:23 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <59F586A9-9DC4-4A15-AAB5-DC39B1E5E0FC@googlemail.com>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75745@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75772@EXCHANGE1.ad.nottingham.ac.uk>
	<59F586A9-9DC4-4A15-AAB5-DC39B1E5E0FC@googlemail.com>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E757A2@EXCHANGE1.ad.nottingham.ac.uk>

In the wizard, on the btnSave, you post the data to root.savepath, and that works.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 12:08
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

You could look in version control as that publishing works - then try that code (bits of it) in the other files

On 7 Dec 2012, at 11:58, Julian Tenney > wrote:
It used to work: you could do it all from the wizard other than make it public, I?ve got till about 1.00 then I need to go out for the afternoon to rig up a time lapse camera so it?ll have to wait till monday unless there?s a quick fix.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 07 December 2012 11:45
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

No worries?

Ah yes, did wonder about that. I seem to remember that it does IF access has been set in the access panel. Or am I just imagining that?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 11:43 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Sorry I ought to spend more time getting it sussed out before mailing stuff!

It?s publishing when the wizard window closes that fails: you are asked if you want to publish, say OK, but it doesn?t publish.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 07 December 2012 11:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Xenith.js and the HTML files are all in the right place? its in common_html5/js/

Does the URL work if you change the flash one by adding _html5??

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 11:28 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.

There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.

Do I move the file (where is it?) or change the link(to point to ?)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:17
To: For Xerte technical developers
Subject: [Xerte-dev] 1.9 zip

Is there anything in the svn that I shouldn?t include in the zip?


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


_______________________________________________
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: 

From patrick.lockley at googlemail.com  Fri Dec  7 12:25:51 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Fri, 7 Dec 2012 12:25:51 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E7579B@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75745@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75763@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7579B@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

Ok, so will fix update file later on - what is in Nottingham.info?

On 7 Dec 2012, at 12:11, Julian Tenney  wrote:

> Yeah it is.
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 12:04
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Is update_file in versioncontrol? Is there another file in that folder?
> 
> On 7 Dec 2012, at 11:52, Julian Tenney  wrote:
> 
> template_close.php
>  
> Then update_file.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: 07 December 2012 11:48
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> It should copy the file over.
>  
> If you run the console in chrome or firebug watch the network traffic - which php file does it run after to click yes?
> 
> On 7 Dec 2012, at 11:42, Julian Tenney  wrote:
> 
> Sorry I ought to spend more time getting it sussed out before mailing stuff!
>  
> It?s publishing when the wizard window closes that fails: you are asked if you want to publish, say OK, but it doesn?t publish.
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
> Sent: 07 December 2012 11:38
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Xenith.js and the HTML files are all in the right place? its in common_html5/js/
>  
> Does the URL work if you change the flash one by adding _html5??
>  
> Regards,
>  
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:28 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
>  
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>  
> Do I move the file (where is it?) or change the link(to point to ?)
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>  
> Is there anything in the svn that I shouldn?t include in the zip?
>  
> 
> 
> Glasgow Caledonian University is a registered Scottish charity, number SC021474
> 
> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
> 
> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
> 
> 
> 
> 
> _______________________________________________
> 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: 

From patrick.lockley at googlemail.com  Fri Dec  7 12:27:07 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Fri, 7 Dec 2012 12:27:07 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E757A2@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75745@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75772@EXCHANGE1.ad.nottingham.ac.uk>
	<59F586A9-9DC4-4A15-AAB5-DC39B1E5E0FC@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E757A2@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

Save path isn't publish path though? Or was there an extra parameter sent with publish? Update or something?

On 7 Dec 2012, at 12:14, Julian Tenney  wrote:

> In the wizard, on the btnSave, you post the data to root.savepath, and that works.
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 12:08
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> You could look in version control as that publishing works - then try that code (bits of it) in the other files
> 
> On 7 Dec 2012, at 11:58, Julian Tenney  wrote:
> 
> It used to work: you could do it all from the wizard other than make it public, I?ve got till about 1.00 then I need to go out for the afternoon to rig up a time lapse camera so it?ll have to wait till monday unless there?s a quick fix.
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
> Sent: 07 December 2012 11:45
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> No worries?
>  
> Ah yes, did wonder about that. I seem to remember that it does IF access has been set in the access panel. Or am I just imagining that?
>  
> Regards,
>  
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:43 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Sorry I ought to spend more time getting it sussed out before mailing stuff!
>  
> It?s publishing when the wizard window closes that fails: you are asked if you want to publish, say OK, but it doesn?t publish.
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
> Sent: 07 December 2012 11:38
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Xenith.js and the HTML files are all in the right place? its in common_html5/js/
>  
> Does the URL work if you change the flash one by adding _html5??
>  
> Regards,
>  
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:28 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
>  
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>  
> Do I move the file (where is it?) or change the link(to point to ?)
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>  
> Is there anything in the svn that I shouldn?t include in the zip?
>  
> 
> 
> Glasgow Caledonian University is a registered Scottish charity, number SC021474
> 
> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
> 
> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
>  
> 
> 
> Glasgow Caledonian University is a registered Scottish charity, number SC021474
> 
> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
> 
> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
> 
> 
> 
> _______________________________________________
> 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: 

From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 12:35:53 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 12:35:53 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75745@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75772@EXCHANGE1.ad.nottingham.ac.uk>
	<59F586A9-9DC4-4A15-AAB5-DC39B1E5E0FC@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E757A2@EXCHANGE1.ad.nottingham.ac.uk>
	
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E757C6@EXCHANGE1.ad.nottingham.ac.uk>

I?m not sure. OK. Let?s leave the zip till Monday, but I?d really like to have it done by the end of Monday so we can get it out there with a few days to spare before people start disappearing for the holidays,

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 12:27
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Save path isn't publish path though? Or was there an extra parameter sent with publish? Update or something?

On 7 Dec 2012, at 12:14, Julian Tenney > wrote:
In the wizard, on the btnSave, you post the data to root.savepath, and that works.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 12:08
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

You could look in version control as that publishing works - then try that code (bits of it) in the other files

On 7 Dec 2012, at 11:58, Julian Tenney > wrote:
It used to work: you could do it all from the wizard other than make it public, I?ve got till about 1.00 then I need to go out for the afternoon to rig up a time lapse camera so it?ll have to wait till monday unless there?s a quick fix.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 07 December 2012 11:45
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

No worries?

Ah yes, did wonder about that. I seem to remember that it does IF access has been set in the access panel. Or am I just imagining that?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 11:43 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Sorry I ought to spend more time getting it sussed out before mailing stuff!

It?s publishing when the wizard window closes that fails: you are asked if you want to publish, say OK, but it doesn?t publish.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 07 December 2012 11:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Xenith.js and the HTML files are all in the right place? its in common_html5/js/

Does the URL work if you change the flash one by adding _html5??

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 11:28 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.

There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.

Do I move the file (where is it?) or change the link(to point to ?)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:17
To: For Xerte technical developers
Subject: [Xerte-dev] 1.9 zip

Is there anything in the svn that I shouldn?t include in the zip?


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html



_______________________________________________
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: 

From J.J.Smith at gcu.ac.uk  Fri Dec  7 12:42:00 2012
From: J.J.Smith at gcu.ac.uk (Smith, John)
Date: Fri, 7 Dec 2012 12:42:00 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E757C6@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75745@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75772@EXCHANGE1.ad.nottingham.ac.uk>
	<59F586A9-9DC4-4A15-AAB5-DC39B1E5E0FC@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E757A2@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E757C6@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

Ok that?s more realistic for chart making it in? is Fay around today or won?t she be back now until after the packaging?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 12:36 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

I?m not sure. OK. Let?s leave the zip till Monday, but I?d really like to have it done by the end of Monday so we can get it out there with a few days to spare before people start disappearing for the holidays,

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 12:27
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Save path isn't publish path though? Or was there an extra parameter sent with publish? Update or something?

On 7 Dec 2012, at 12:14, Julian Tenney > wrote:
In the wizard, on the btnSave, you post the data to root.savepath, and that works.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 12:08
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

You could look in version control as that publishing works - then try that code (bits of it) in the other files

On 7 Dec 2012, at 11:58, Julian Tenney > wrote:
It used to work: you could do it all from the wizard other than make it public, I?ve got till about 1.00 then I need to go out for the afternoon to rig up a time lapse camera so it?ll have to wait till monday unless there?s a quick fix.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 07 December 2012 11:45
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

No worries?

Ah yes, did wonder about that. I seem to remember that it does IF access has been set in the access panel. Or am I just imagining that?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 11:43 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Sorry I ought to spend more time getting it sussed out before mailing stuff!

It?s publishing when the wizard window closes that fails: you are asked if you want to publish, say OK, but it doesn?t publish.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 07 December 2012 11:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Xenith.js and the HTML files are all in the right place? its in common_html5/js/

Does the URL work if you change the flash one by adding _html5??

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 11:28 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.

There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.

Do I move the file (where is it?) or change the link(to point to ?)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:17
To: For Xerte technical developers
Subject: [Xerte-dev] 1.9 zip

Is there anything in the svn that I shouldn?t include in the zip?


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


_______________________________________________
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

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 12:57:58 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 12:57:58 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75745@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75772@EXCHANGE1.ad.nottingham.ac.uk>
	<59F586A9-9DC4-4A15-AAB5-DC39B1E5E0FC@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E757A2@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E757C6@EXCHANGE1.ad.nottingham.ac.uk>
	
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E757DF@EXCHANGE1.ad.nottingham.ac.uk>

Fay?s in on Weds and Thurs.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 07 December 2012 12:42
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok that?s more realistic for chart making it in? is Fay around today or won?t she be back now until after the packaging?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 12:36 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

I?m not sure. OK. Let?s leave the zip till Monday, but I?d really like to have it done by the end of Monday so we can get it out there with a few days to spare before people start disappearing for the holidays,

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 12:27
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Save path isn't publish path though? Or was there an extra parameter sent with publish? Update or something?

On 7 Dec 2012, at 12:14, Julian Tenney > wrote:
In the wizard, on the btnSave, you post the data to root.savepath, and that works.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 12:08
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

You could look in version control as that publishing works - then try that code (bits of it) in the other files

On 7 Dec 2012, at 11:58, Julian Tenney > wrote:
It used to work: you could do it all from the wizard other than make it public, I?ve got till about 1.00 then I need to go out for the afternoon to rig up a time lapse camera so it?ll have to wait till monday unless there?s a quick fix.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 07 December 2012 11:45
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

No worries?

Ah yes, did wonder about that. I seem to remember that it does IF access has been set in the access panel. Or am I just imagining that?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 11:43 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Sorry I ought to spend more time getting it sussed out before mailing stuff!

It?s publishing when the wizard window closes that fails: you are asked if you want to publish, say OK, but it doesn?t publish.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 07 December 2012 11:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Xenith.js and the HTML files are all in the right place? its in common_html5/js/

Does the URL work if you change the flash one by adding _html5??

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 11:28 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.

There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.

Do I move the file (where is it?) or change the link(to point to ?)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:17
To: For Xerte technical developers
Subject: [Xerte-dev] 1.9 zip

Is there anything in the svn that I shouldn?t include in the zip?


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html

_______________________________________________
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

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From patrick.lockley at googlemail.com  Fri Dec  7 19:22:53 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Fri, 7 Dec 2012 19:22:53 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

fixed in moodle (both files in version control folder)

Please test


On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney <
Julian.Tenney at nottingham.ac.uk> wrote:

> It works from the publish buttons. Just not on the on close trapper****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
>
> *Sent:* 07 December 2012 12:06
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
> ** **
>
> I think I assumed all publishing went through one file, but that's not the
> case. Am on holiday but can poke around later on****
>
> ** **
>
> So publishing when closing****
>
> And****
>
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney 
> wrote:****
>
> It?s a bit more than that. Here?s what I?m doing:****
>
>  ****
>
> Create project****
>
> Got to properties, make it public****
>
> Goto wizard edit something****
>
> Close editor****
>
> Prompted to publish ? say yes****
>
> Goto properties, hit the link****
>
> No dice.****
>
>  ****
>
> But it?s also not publishing the changes for the flash verison either,so
> Pats on the right lines, the modularised publish stuff isn?t accounted for
> in the wizard window?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Smith, John
> *Sent:* 07 December 2012 11:41
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> You have to make it public in the workspace before it?s accessible ? well
> that?s what I?ve always had to do?****
>
>  ****
>
> Publish in the editor doesn?t appear to do much unless you set the access
> level?****
>
>  ****
>
> Regards,****
>
>  ****
>
> John Smith****
>
> Learning Technologist****
>
> School of Health & Life Sciences****
>
> Glasgow Caledonian University****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Julian Tenney
> *Sent:* Friday, December 07, 2012 11:37 AM
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> Ah, it?s working now.****
>
>  ****
>
> It only works after you?ve published the file from the workspace button.**
> **
>
>  ****
>
> I published from the wizard button (when it closed and asked me if I
> wanted to) but had to publish from the workspace before the link worked.**
> **
>
>  ****
>
> Any idea what makes the two publishes different?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Julian Tenney
> *Sent:* 07 December 2012 11:30
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> Dunno.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat Lockley
> *Sent:* 07 December 2012 11:29
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney 
> wrote:****
>
> Sorry the path and file are in the right place, but I get a blank screen
> when I try and CTRL-play for preview, or when I click the link in properties
> ****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Julian Tenney
> *Sent:* 07 December 2012 11:25
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> When I do an xamppp setup, build simple project and publish etc, I can?t
> preview it on the link in the properties panel, i.e. this link doesn?t work.
> ****
>
>  ****
>
> There is no xenith.js at
> modules/xerte/parent_templates/Nottingham/common_html5, which is where
> play_html5 is trying to load it from.****
>
>  ****
>
> Do I move the file (where is it?) or change the link(to point to ?)****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Julian Tenney
> *Sent:* 07 December 2012 11:17
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] 1.9 zip****
>
>  ****
>
> Is there anything in the svn that I shouldn?t include in the zip? ****
>
>  ****
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the
> Year 2009 and Herald Society?s Education Initiative of the Year 2009.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
> ****
>
> _______________________________________________
> 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: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: update_file.php
Type: application/x-httpd-php
Size: 2643 bytes
Desc: not available
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: template_close.php
Type: application/x-httpd-php
Size: 3068 bytes
Desc: not available
URL: 

From Julian.Tenney at nottingham.ac.uk  Fri Dec  7 22:21:25 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Fri, 7 Dec 2012 22:21:25 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>,
	
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>

thanks mate, I'll test on Monday,
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley [patrick.lockley at googlemail.com]
Sent: 07 December 2012 19:22
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

fixed in moodle (both files in version control folder)

Please test


On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney > wrote:
It works from the publish buttons. Just not on the on close trapper

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley

Sent: 07 December 2012 12:06
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

I think I assumed all publishing went through one file, but that's not the case. Am on holiday but can poke around later on

So publishing when closing
And
Publishing Inside xerte

On 7 Dec 2012, at 11:55, Julian Tenney > wrote:
It?s a bit more than that. Here?s what I?m doing:

Create project
Got to properties, make it public
Goto wizard edit something
Close editor
Prompted to publish ? say yes
Goto properties, hit the link
No dice.

But it?s also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn?t accounted for in the wizard window?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 07 December 2012 11:41
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

You have to make it public in the workspace before it?s accessible ? well that?s what I?ve always had to do?

Publish in the editor doesn?t appear to do much unless you set the access level?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, December 07, 2012 11:37 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ah, it?s working now.

It only works after you?ve published the file from the workspace button.

I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.

Any idea what makes the two publishes different?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:30
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Dunno.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 11:29
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Does xampp use htaccess by default?

On 7 Dec 2012, at 11:28, Julian Tenney > wrote:
Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.

There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.

Do I move the file (where is it?) or change the link(to point to ?)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 December 2012 11:17
To: For Xerte technical developers
Subject: [Xerte-dev] 1.9 zip

Is there anything in the svn that I shouldn?t include in the zip?

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

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
_______________________________________________
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




From patrick.lockley at googlemail.com  Fri Dec  7 22:36:57 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Fri, 7 Dec 2012 22:36:57 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: <2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney  wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> fixed in moodle (both files in version control folder)
> 
> Please test
> 
> 
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney > wrote:
> It works from the publish buttons. Just not on the on close trapper
> 
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> 
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> I think I assumed all publishing went through one file, but that's not the case. Am on holiday but can poke around later on
> 
> So publishing when closing
> And
> Publishing Inside xerte
> 
> On 7 Dec 2012, at 11:55, Julian Tenney > wrote:
> It?s a bit more than that. Here?s what I?m doing:
> 
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish ? say yes
> Goto properties, hit the link
> No dice.
> 
> But it?s also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn?t accounted for in the wizard window?
> 
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> You have to make it public in the workspace before it?s accessible ? well that?s what I?ve always had to do?
> 
> Publish in the editor doesn?t appear to do much unless you set the access level?
> 
> Regards,
> 
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
> 
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> Ah, it?s working now.
> 
> It only works after you?ve published the file from the workspace button.
> 
> I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
> 
> Any idea what makes the two publishes different?
> 
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> Dunno.
> 
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> Does xampp use htaccess by default?
> 
> On 7 Dec 2012, at 11:28, Julian Tenney > wrote:
> Sorry the path and file are in the right place, but I get a blank screen when I try and CTRL-play for preview, or when I click the link in properties
> 
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
> 
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
> 
> Do I move the file (where is it?) or change the link(to point to ?)
> 
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
> 
> Is there anything in the svn that I shouldn?t include in the zip?
> 
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> 
> Glasgow Caledonian University is a registered Scottish charity, number SC021474
> 
> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
> 
> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
> _______________________________________________
> 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
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
> 
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.


From Julian.Tenney at nottingham.ac.uk  Mon Dec 10 11:15:12 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Mon, 10 Dec 2012 11:15:12 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes
Go to properties, make access public
Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney  wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk 
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley 
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> fixed in moodle (both files in version control folder)
> 
> Please test
> 
> 
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney > wrote:
> It works from the publish buttons. Just not on the on close trapper
> 
> From: 
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
> 
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> I think I assumed all publishing went through one file, but that's not 
> the case. Am on holiday but can poke around later on
> 
> So publishing when closing
> And
> Publishing Inside xerte
> 
> On 7 Dec 2012, at 11:55, Julian Tenney > wrote:
> It?s a bit more than that. Here?s what I?m doing:
> 
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish ? say yes
> Goto properties, hit the link
> No dice.
> 
> But it?s also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn?t accounted for in the wizard window?
> 
> From: 
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] 
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> You have to make it public in the workspace before it?s accessible ? 
> well that?s what I?ve always had to do?
> 
> Publish in the editor doesn?t appear to do much unless you set the 
> access level?
> 
> Regards,
> 
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
> 
> From: 
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] 
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> Ah, it?s working now.
> 
> It only works after you?ve published the file from the workspace button.
> 
> I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
> 
> Any idea what makes the two publishes different?
> 
> From: 
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] 
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> Dunno.
> 
> From: 
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] 
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> Does xampp use htaccess by default?
> 
> On 7 Dec 2012, at 11:28, Julian Tenney > wrote:
> Sorry the path and file are in the right place, but I get a blank 
> screen when I try and CTRL-play for preview, or when I click the link 
> in properties
> 
> From: 
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] 
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
> 
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
> 
> Do I move the file (where is it?) or change the link(to point to ?)
> 
> From: 
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] 
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
> 
> Is there anything in the svn that I shouldn?t include in the zip?
> 
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> 
> Glasgow Caledonian University is a registered Scottish charity, number 
> SC021474
> 
> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
> 
> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> 
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk 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
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
> 
> This message has been checked for viruses but the contents of an 
> attachment may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with 
> the University of Nottingham may be monitored as permitted by UK legislation.

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

From patrick.lockley at googlemail.com  Mon Dec 10 11:29:30 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Mon, 10 Dec 2012 11:29:30 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

Ok, is the SVN synced up?


On Mon, Dec 10, 2012 at 11:15 AM, Julian Tenney <
Julian.Tenney at nottingham.ac.uk> wrote:

> It still doesn't work:
>
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - prompted to publish - say yes
> Go to properties, make access public
> Hit the URL. Nothing until I publish from a button somewhere (workspace or
> wizard).
>
> I think I'm going to put it out anyway, unless anyone can fix it today.
> I'm not so concerned about the html5 side of this not working, but
> previously working functionality doesn't work anymore. Maybe this isn't
> such a dealbreaker, perhaps we should disable the prompt and force a manual
> publish?
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 22:37
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Not sure why it would break but adding database connect in seemed to fix it
>
> On 7 Dec 2012, at 22:21, Julian Tenney 
> wrote:
>
> > thanks mate, I'll test on Monday,
> > ________________________________________
> > From: xerte-dev-bounces at lists.nottingham.ac.uk
> > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> > [patrick.lockley at googlemail.com]
> > Sent: 07 December 2012 19:22
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > fixed in moodle (both files in version control folder)
> >
> > Please test
> >
> >
> > On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney <
> Julian.Tenney at nottingham.ac.uk>
> wrote:
> > It works from the publish buttons. Just not on the on close trapper
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk>
> > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk > ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
> >
> > Sent: 07 December 2012 12:06
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > I think I assumed all publishing went through one file, but that's not
> > the case. Am on holiday but can poke around later on
> >
> > So publishing when closing
> > And
> > Publishing Inside xerte
> >
> > On 7 Dec 2012, at 11:55, Julian Tenney  > wrote:
> > It?s a bit more than that. Here?s what I?m doing:
> >
> > Create project
> > Got to properties, make it public
> > Goto wizard edit something
> > Close editor
> > Prompted to publish ? say yes
> > Goto properties, hit the link
> > No dice.
> >
> > But it?s also not publishing the changes for the flash verison either,so
> Pats on the right lines, the modularised publish stuff isn?t accounted for
> in the wizard window?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Smith, John
> > Sent: 07 December 2012 11:41
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > You have to make it public in the workspace before it?s accessible ?
> > well that?s what I?ve always had to do?
> >
> > Publish in the editor doesn?t appear to do much unless you set the
> > access level?
> >
> > Regards,
> >
> > John Smith
> > Learning Technologist
> > School of Health & Life Sciences
> > Glasgow Caledonian University
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: Friday, December 07, 2012 11:37 AM
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Ah, it?s working now.
> >
> > It only works after you?ve published the file from the workspace button.
> >
> > I published from the wizard button (when it closed and asked me if I
> wanted to) but had to publish from the workspace before the link worked.
> >
> > Any idea what makes the two publishes different?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:30
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Dunno.
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Pat Lockley
> > Sent: 07 December 2012 11:29
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Does xampp use htaccess by default?
> >
> > On 7 Dec 2012, at 11:28, Julian Tenney  > wrote:
> > Sorry the path and file are in the right place, but I get a blank
> > screen when I try and CTRL-play for preview, or when I click the link
> > in properties
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:25
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > When I do an xamppp setup, build simple project and publish etc, I can?t
> preview it on the link in the properties panel, i.e. this link doesn?t work.
> >
> > There is no xenith.js at
> modules/xerte/parent_templates/Nottingham/common_html5, which is where
> play_html5 is trying to load it from.
> >
> > Do I move the file (where is it?) or change the link(to point to ?)
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:17
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] 1.9 zip
> >
> > Is there anything in the svn that I shouldn?t include in the zip?
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > Glasgow Caledonian University is a registered Scottish charity, number
> > SC021474
> >
> > Winner: Times Higher Education?s Widening Participation Initiative of
> the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> > 219,en.html
> >
> > Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> > 5691,en.html _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > 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
> > This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this message
> in error, please send it back to me, and immediately delete it.   Please do
> not use, copy or disclose the information contained in this message or in
> any attachment.  Any views or opinions expressed by the author of this
> email do not necessarily reflect the views of the University of Nottingham.
> >
> > This message has been checked for viruses but the contents of an
> > attachment may still contain software viruses which could damage your
> computer system:
> > you are advised to perform your own checks. Email communications with
> > the University of Nottingham may be monitored as permitted by UK
> legislation.
>
> _______________________________________________
> 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: 

From Julian.Tenney at nottingham.ac.uk  Mon Dec 10 11:31:39 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Mon, 10 Dec 2012 11:31:39 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E75B63@EXCHANGE1.ad.nottingham.ac.uk>

I put those files in and commited them, yes,

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 11:29
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok, is the SVN synced up?

On Mon, Dec 10, 2012 at 11:15 AM, Julian Tenney > wrote:
It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes
Go to properties, make access public
Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney > wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney >> wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk
> ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney >> wrote:
> It's a bit more than that. Here's what I'm doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish - say yes
> Goto properties, hit the link
> No dice.
>
> But it's also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn't accounted for in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it's accessible -
> well that's what I've always had to do...
>
> Publish in the editor doesn't appear to do much unless you set the
> access level...
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it's working now.
>
> It only works after you've published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney >> wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can't preview it on the link in the properties panel, i.e. this link doesn't work.
>
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn't include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> 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
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK legislation.

_______________________________________________
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: 

From patrick.lockley at googlemail.com  Mon Dec 10 11:32:45 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Mon, 10 Dec 2012 11:32:45 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E75B63@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B63@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

I am no longer touching the SVN as it makes me responsible for bugs :)

(and also as that change worked in moodle, so needed testing, not sure
whether we should see the SVN as "tested" or "for testing"?)


On Mon, Dec 10, 2012 at 11:31 AM, Julian Tenney <
Julian.Tenney at nottingham.ac.uk> wrote:

> I put those files in and commited them, yes,****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 10 December 2012 11:29
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
> ** **
>
> Ok, is the SVN synced up?****
>
> ** **
>
> On Mon, Dec 10, 2012 at 11:15 AM, Julian Tenney <
> Julian.Tenney at nottingham.ac.uk> wrote:****
>
> It still doesn't work:
>
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - prompted to publish - say yes
> Go to properties, make access public
> Hit the URL. Nothing until I publish from a button somewhere (workspace or
> wizard).
>
> I think I'm going to put it out anyway, unless anyone can fix it today.
> I'm not so concerned about the html5 side of this not working, but
> previously working functionality doesn't work anymore. Maybe this isn't
> such a dealbreaker, perhaps we should disable the prompt and force a manual
> publish?****
>
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 22:37
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Not sure why it would break but adding database connect in seemed to fix it
>
> On 7 Dec 2012, at 22:21, Julian Tenney 
> wrote:
>
> > thanks mate, I'll test on Monday,
> > ________________________________________
> > From: xerte-dev-bounces at lists.nottingham.ac.uk
> > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> > [patrick.lockley at googlemail.com]
> > Sent: 07 December 2012 19:22
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > fixed in moodle (both files in version control folder)
> >
> > Please test
> >
> >
> > On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney <
> Julian.Tenney at nottingham.ac.uk>
> wrote:
> > It works from the publish buttons. Just not on the on close trapper
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk>
> > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk > ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
> >
> > Sent: 07 December 2012 12:06
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > I think I assumed all publishing went through one file, but that's not
> > the case. Am on holiday but can poke around later on
> >
> > So publishing when closing
> > And
> > Publishing Inside xerte
> >
> > On 7 Dec 2012, at 11:55, Julian Tenney  > wrote:
> > It?s a bit more than that. Here?s what I?m doing:
> >
> > Create project
> > Got to properties, make it public
> > Goto wizard edit something
> > Close editor
> > Prompted to publish ? say yes
> > Goto properties, hit the link
> > No dice.
> >
> > But it?s also not publishing the changes for the flash verison either,so
> Pats on the right lines, the modularised publish stuff isn?t accounted for
> in the wizard window?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Smith, John
> > Sent: 07 December 2012 11:41
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > You have to make it public in the workspace before it?s accessible ?
> > well that?s what I?ve always had to do?
> >
> > Publish in the editor doesn?t appear to do much unless you set the
> > access level?
> >
> > Regards,
> >
> > John Smith
> > Learning Technologist
> > School of Health & Life Sciences
> > Glasgow Caledonian University
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: Friday, December 07, 2012 11:37 AM
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Ah, it?s working now.
> >
> > It only works after you?ve published the file from the workspace button.
> >
> > I published from the wizard button (when it closed and asked me if I
> wanted to) but had to publish from the workspace before the link worked.
> >
> > Any idea what makes the two publishes different?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:30
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Dunno.
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Pat Lockley
> > Sent: 07 December 2012 11:29
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Does xampp use htaccess by default?
> >
> > On 7 Dec 2012, at 11:28, Julian Tenney  > wrote:
> > Sorry the path and file are in the right place, but I get a blank
> > screen when I try and CTRL-play for preview, or when I click the link
> > in properties
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:25
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > When I do an xamppp setup, build simple project and publish etc, I can?t
> preview it on the link in the properties panel, i.e. this link doesn?t work.
> >
> > There is no xenith.js at
> modules/xerte/parent_templates/Nottingham/common_html5, which is where
> play_html5 is trying to load it from.
> >
> > Do I move the file (where is it?) or change the link(to point to ?)
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:17
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] 1.9 zip
> >
> > Is there anything in the svn that I shouldn?t include in the zip?
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > Glasgow Caledonian University is a registered Scottish charity, number
> > SC021474
> >
> > Winner: Times Higher Education?s Widening Participation Initiative of
> the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> > 219,en.html
> >
> > Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1**
> **
>
> > 5691,en.html _______________________________________________****
>
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk **
>
> > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > 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
> > This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this message
> in error, please send it back to me, and immediately delete it.   Please do
> not use, copy or disclose the information contained in this message or in
> any attachment.  Any views or opinions expressed by the author of this
> email do not necessarily reflect the views of the University of Nottingham.
> >
> > This message has been checked for viruses but the contents of an
> > attachment may still contain software viruses which could damage your
> computer system:
> > you are advised to perform your own checks. Email communications with
> > the University of Nottingham may be monitored as permitted by UK
> legislation.
>
> _______________________________________________
> 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: 

From patrick.lockley at googlemail.com  Mon Dec 10 12:49:55 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Mon, 10 Dec 2012 12:49:55 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B63@EXCHANGE1.ad.nottingham.ac.uk>
	
Message-ID: 

Fix in the SVN - works on XAMPP, needs testing on a server / in moodle


On Mon, Dec 10, 2012 at 11:32 AM, Pat Lockley <
patrick.lockley at googlemail.com> wrote:

> I am no longer touching the SVN as it makes me responsible for bugs :)
>
> (and also as that change worked in moodle, so needed testing, not sure
> whether we should see the SVN as "tested" or "for testing"?)
>
>
>
> On Mon, Dec 10, 2012 at 11:31 AM, Julian Tenney <
> Julian.Tenney at nottingham.ac.uk> wrote:
>
>> I put those files in and commited them, yes,****
>>
>> ** **
>>
>> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
>> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
>> *Sent:* 10 December 2012 11:29
>>
>> *To:* For Xerte technical developers
>> *Subject:* [Xerte-dev] Re: 1.9 zip****
>>
>> ** **
>>
>> Ok, is the SVN synced up?****
>>
>> ** **
>>
>> On Mon, Dec 10, 2012 at 11:15 AM, Julian Tenney <
>> Julian.Tenney at nottingham.ac.uk> wrote:****
>>
>> It still doesn't work:
>>
>> Create project
>> Add a page
>> Preview (so the file is save)
>> Quit the wizard - prompted to publish - say yes
>> Go to properties, make access public
>> Hit the URL. Nothing until I publish from a button somewhere (workspace
>> or wizard).
>>
>> I think I'm going to put it out anyway, unless anyone can fix it today.
>> I'm not so concerned about the html5 side of this not working, but
>> previously working functionality doesn't work anymore. Maybe this isn't
>> such a dealbreaker, perhaps we should disable the prompt and force a manual
>> publish?****
>>
>>
>> -----Original Message-----
>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
>> xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
>> Sent: 07 December 2012 22:37
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: 1.9 zip
>>
>> Not sure why it would break but adding database connect in seemed to fix
>> it
>>
>> On 7 Dec 2012, at 22:21, Julian Tenney 
>> wrote:
>>
>> > thanks mate, I'll test on Monday,
>> > ________________________________________
>> > From: xerte-dev-bounces at lists.nottingham.ac.uk
>> > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
>> > [patrick.lockley at googlemail.com]
>> > Sent: 07 December 2012 19:22
>> > To: For Xerte technical developers
>> > Subject: [Xerte-dev] Re: 1.9 zip
>> >
>> > fixed in moodle (both files in version control folder)
>> >
>> > Please test
>> >
>> >
>> > On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney <
>> Julian.Tenney at nottingham.ac.uk>
>> wrote:
>> > It works from the publish buttons. Just not on the on close trapper
>> >
>> > From:
>> > xerte-dev-bounces at lists.nottingham.ac.uk> > s.nottingham.ac.uk>
>> > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk> > ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>> >
>> > Sent: 07 December 2012 12:06
>> > To: For Xerte technical developers
>> > Subject: [Xerte-dev] Re: 1.9 zip
>> >
>> > I think I assumed all publishing went through one file, but that's not
>> > the case. Am on holiday but can poke around later on
>> >
>> > So publishing when closing
>> > And
>> > Publishing Inside xerte
>> >
>> > On 7 Dec 2012, at 11:55, Julian Tenney > > wrote:
>> > It?s a bit more than that. Here?s what I?m doing:
>> >
>> > Create project
>> > Got to properties, make it public
>> > Goto wizard edit something
>> > Close editor
>> > Prompted to publish ? say yes
>> > Goto properties, hit the link
>> > No dice.
>> >
>> > But it?s also not publishing the changes for the flash verison
>> either,so Pats on the right lines, the modularised publish stuff isn?t
>> accounted for in the wizard window?
>> >
>> > From:
>> > xerte-dev-bounces at lists.nottingham.ac.uk> > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
>> > On Behalf Of Smith, John
>> > Sent: 07 December 2012 11:41
>> > To: For Xerte technical developers
>> > Subject: [Xerte-dev] Re: 1.9 zip
>> >
>> > You have to make it public in the workspace before it?s accessible ?
>> > well that?s what I?ve always had to do?
>> >
>> > Publish in the editor doesn?t appear to do much unless you set the
>> > access level?
>> >
>> > Regards,
>> >
>> > John Smith
>> > Learning Technologist
>> > School of Health & Life Sciences
>> > Glasgow Caledonian University
>> >
>> > From:
>> > xerte-dev-bounces at lists.nottingham.ac.uk> > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
>> > On Behalf Of Julian Tenney
>> > Sent: Friday, December 07, 2012 11:37 AM
>> > To: For Xerte technical developers
>> > Subject: [Xerte-dev] Re: 1.9 zip
>> >
>> > Ah, it?s working now.
>> >
>> > It only works after you?ve published the file from the workspace button.
>> >
>> > I published from the wizard button (when it closed and asked me if I
>> wanted to) but had to publish from the workspace before the link worked.
>> >
>> > Any idea what makes the two publishes different?
>> >
>> > From:
>> > xerte-dev-bounces at lists.nottingham.ac.uk> > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
>> > On Behalf Of Julian Tenney
>> > Sent: 07 December 2012 11:30
>> > To: For Xerte technical developers
>> > Subject: [Xerte-dev] Re: 1.9 zip
>> >
>> > Dunno.
>> >
>> > From:
>> > xerte-dev-bounces at lists.nottingham.ac.uk> > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
>> > On Behalf Of Pat Lockley
>> > Sent: 07 December 2012 11:29
>> > To: For Xerte technical developers
>> > Subject: [Xerte-dev] Re: 1.9 zip
>> >
>> > Does xampp use htaccess by default?
>> >
>> > On 7 Dec 2012, at 11:28, Julian Tenney > > wrote:
>> > Sorry the path and file are in the right place, but I get a blank
>> > screen when I try and CTRL-play for preview, or when I click the link
>> > in properties
>> >
>> > From:
>> > xerte-dev-bounces at lists.nottingham.ac.uk> > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
>> > On Behalf Of Julian Tenney
>> > Sent: 07 December 2012 11:25
>> > To: For Xerte technical developers
>> > Subject: [Xerte-dev] Re: 1.9 zip
>> >
>> > When I do an xamppp setup, build simple project and publish etc, I
>> can?t preview it on the link in the properties panel, i.e. this link
>> doesn?t work.
>> >
>> > There is no xenith.js at
>> modules/xerte/parent_templates/Nottingham/common_html5, which is where
>> play_html5 is trying to load it from.
>> >
>> > Do I move the file (where is it?) or change the link(to point to ?)
>> >
>> > From:
>> > xerte-dev-bounces at lists.nottingham.ac.uk> > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
>> > On Behalf Of Julian Tenney
>> > Sent: 07 December 2012 11:17
>> > To: For Xerte technical developers
>> > Subject: [Xerte-dev] 1.9 zip
>> >
>> > Is there anything in the svn that I shouldn?t include in the zip?
>> >
>> > _______________________________________________
>> > Xerte-dev mailing list
>> > Xerte-dev at lists.nottingham.ac.uk> > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>> >
>> > Glasgow Caledonian University is a registered Scottish charity, number
>> > SC021474
>> >
>> > Winner: Times Higher Education?s Widening Participation Initiative of
>> the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
>> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
>> > 219,en.html
>> >
>> > Winner: Times Higher Education?s Outstanding Support for Early Career
>> Researchers of the Year 2010, GCU as a lead with Universities Scotland
>> partners.
>> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1*
>> ***
>>
>> > 5691,en.html _______________________________________________****
>>
>> > Xerte-dev mailing list
>> > Xerte-dev at lists.nottingham.ac.uk> ***
>>
>> > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>> >
>> > _______________________________________________
>> > Xerte-dev mailing list
>> > Xerte-dev at lists.nottingham.ac.uk> > 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
>> > This message and any attachment are intended solely for the addressee
>> and may contain confidential information. If you have received this message
>> in error, please send it back to me, and immediately delete it.   Please do
>> not use, copy or disclose the information contained in this message or in
>> any attachment.  Any views or opinions expressed by the author of this
>> email do not necessarily reflect the views of the University of Nottingham.
>> >
>> > This message has been checked for viruses but the contents of an
>> > attachment may still contain software viruses which could damage your
>> computer system:
>> > you are advised to perform your own checks. Email communications with
>> > the University of Nottingham may be monitored as permitted by UK
>> legislation.
>>
>> _______________________________________________
>> 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: 

From ronm at mitchellmedia.co.uk  Mon Dec 10 13:06:11 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Mon, 10 Dec 2012 13:06:11 -0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: <012e01cdd6d7$2392ac20$6ab80460$@co.uk>

testing locally with guest access and no integration_config_path set...

Create project
Add a page
Preview (so the file is save)
Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted
If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?


-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney  wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley 
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> fixed in moodle (both files in version control folder)
> 
> Please test
> 
> 
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney > wrote:
> It works from the publish buttons. Just not on the on close trapper
> 
> From: 
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
> 
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> I think I assumed all publishing went through one file, but that's not 
> the case. Am on holiday but can poke around later on
> 
> So publishing when closing
> And
> Publishing Inside xerte
> 
> On 7 Dec 2012, at 11:55, Julian Tenney > wrote:
> It?s a bit more than that. Here?s what I?m doing:
> 
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish ? say yes
> Goto properties, hit the link
> No dice.
> 
> But it?s also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn?t accounted for in the wizard window?
> 
> From: 
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> You have to make it public in the workspace before it?s accessible ? 
> well that?s what I?ve always had to do?
> 
> Publish in the editor doesn?t appear to do much unless you set the 
> access level?
> 
> Regards,
> 
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
> 
> From: 
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> Ah, it?s working now.
> 
> It only works after you?ve published the file from the workspace button.
> 
> I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
> 
> Any idea what makes the two publishes different?
> 
> From: 
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> Dunno.
> 
> From: 
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> Does xampp use htaccess by default?
> 
> On 7 Dec 2012, at 11:28, Julian Tenney > wrote:
> Sorry the path and file are in the right place, but I get a blank 
> screen when I try and CTRL-play for preview, or when I click the link 
> in properties
> 
> From: 
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
> 
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
> 
> Do I move the file (where is it?) or change the link(to point to ?)
> 
> From: 
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
> 
> Is there anything in the svn that I shouldn?t include in the zip?
> 
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> 
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
> 
> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
> 
> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> 
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk 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
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
> 
> This message has been checked for viruses but the contents of an 
> attachment may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with 
> the University of Nottingham may be monitored as permitted by UK legislation.

_______________________________________________
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



From patrick.lockley at googlemail.com  Mon Dec 10 14:11:53 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Mon, 10 Dec 2012 14:11:53 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <012e01cdd6d7$2392ac20$6ab80460$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	<012e01cdd6d7$2392ac20$6ab80460$@co.uk>
Message-ID: 

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you
can add echo "HELLO" to your heart's content to debug it


On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell wrote:

> testing locally with guest access and no integration_config_path set...
>
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - I don't get prompted to publish at all even with the
> latest change Pat comitted
> If I publish manually all is fine.
>
> I'll test a clean install via xampp... If using the quick xampp install
> option what's the name of the db that gets created is it toolkits?
>
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 10 December 2012 11:15
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> It still doesn't work:
>
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - prompted to publish - say yes Go to properties, make
> access public Hit the URL. Nothing until I publish from a button somewhere
> (workspace or wizard).
>
> I think I'm going to put it out anyway, unless anyone can fix it today.
> I'm not so concerned about the html5 side of this not working, but
> previously working functionality doesn't work anymore. Maybe this isn't
> such a dealbreaker, perhaps we should disable the prompt and force a manual
> publish?
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 22:37
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Not sure why it would break but adding database connect in seemed to fix it
>
> On 7 Dec 2012, at 22:21, Julian Tenney 
> wrote:
>
> > thanks mate, I'll test on Monday,
> > ________________________________________
> > From: xerte-dev-bounces at lists.nottingham.ac.uk
> > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> > [patrick.lockley at googlemail.com]
> > Sent: 07 December 2012 19:22
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > fixed in moodle (both files in version control folder)
> >
> > Please test
> >
> >
> > On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney <
> Julian.Tenney at nottingham.ac.uk>
> wrote:
> > It works from the publish buttons. Just not on the on close trapper
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk>
> > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk > ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
> >
> > Sent: 07 December 2012 12:06
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > I think I assumed all publishing went through one file, but that's not
> > the case. Am on holiday but can poke around later on
> >
> > So publishing when closing
> > And
> > Publishing Inside xerte
> >
> > On 7 Dec 2012, at 11:55, Julian Tenney  > wrote:
> > It?s a bit more than that. Here?s what I?m doing:
> >
> > Create project
> > Got to properties, make it public
> > Goto wizard edit something
> > Close editor
> > Prompted to publish ? say yes
> > Goto properties, hit the link
> > No dice.
> >
> > But it?s also not publishing the changes for the flash verison either,so
> Pats on the right lines, the modularised publish stuff isn?t accounted for
> in the wizard window?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Smith, John
> > Sent: 07 December 2012 11:41
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > You have to make it public in the workspace before it?s accessible ?
> > well that?s what I?ve always had to do?
> >
> > Publish in the editor doesn?t appear to do much unless you set the
> > access level?
> >
> > Regards,
> >
> > John Smith
> > Learning Technologist
> > School of Health & Life Sciences
> > Glasgow Caledonian University
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: Friday, December 07, 2012 11:37 AM
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Ah, it?s working now.
> >
> > It only works after you?ve published the file from the workspace button.
> >
> > I published from the wizard button (when it closed and asked me if I
> wanted to) but had to publish from the workspace before the link worked.
> >
> > Any idea what makes the two publishes different?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:30
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Dunno.
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Pat Lockley
> > Sent: 07 December 2012 11:29
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Does xampp use htaccess by default?
> >
> > On 7 Dec 2012, at 11:28, Julian Tenney  > wrote:
> > Sorry the path and file are in the right place, but I get a blank
> > screen when I try and CTRL-play for preview, or when I click the link
> > in properties
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:25
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > When I do an xamppp setup, build simple project and publish etc, I can?t
> preview it on the link in the properties panel, i.e. this link doesn?t work.
> >
> > There is no xenith.js at
> modules/xerte/parent_templates/Nottingham/common_html5, which is where
> play_html5 is trying to load it from.
> >
> > Do I move the file (where is it?) or change the link(to point to ?)
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:17
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] 1.9 zip
> >
> > Is there anything in the svn that I shouldn?t include in the zip?
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > Glasgow Caledonian University is a registered Scottish charity, number
> > SC021474
> >
> > Winner: Times Higher Education?s Widening Participation Initiative of
> the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> > 219,en.html
> >
> > Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> > 5691,en.html _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > 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
> > This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this message
> in error, please send it back to me, and immediately delete it.   Please do
> not use, copy or disclose the information contained in this message or in
> any attachment.  Any views or opinions expressed by the author of this
> email do not necessarily reflect the views of the University of Nottingham.
> >
> > This message has been checked for viruses but the contents of an
> > attachment may still contain software viruses which could damage your
> computer system:
> > you are advised to perform your own checks. Email communications with
> > the University of Nottingham may be monitored as permitted by UK
> legislation.
>
> _______________________________________________
> 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: 

From ronm at mitchellmedia.co.uk  Mon Dec 10 14:25:22 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Mon, 10 Dec 2012 14:25:22 -0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>	<012e01cdd6d7$2
	392ac20$6ab80460$@co.uk>
	
Message-ID: <016501cdd6e2$31a014a0$94e03de0$@co.uk>

Hi Pat

are you sure about the db name?

 

as far as I can see when using the quick xampp install option the db created
is called toolkits_data as defines in \setup\xampp_database.txt

 

Testing the publishing options with a clean xampp install...

 

I get the prompt whether to publish with Chrome, Safari and FF but not IE.
Possibly because I still get the window_reference error when using IE.
Perhaps specific to my local IE?

 

But as Julian reported even when clicking ok to publish the changes aren't
published until manually publishing.

 

HTH

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: 10 December 2012 14:12
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can
add echo "HELLO" to your heart's content to debug it

 

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell 
wrote:

testing locally with guest access and no integration_config_path set...


Create project
Add a page
Preview (so the file is save)

Quit the wizard - I don't get prompted to publish at all even with the
latest change Pat comitted
If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install
option what's the name of the db that gets created is it toolkits?



-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make
access public Hit the URL. Nothing until I publish from a button somewhere
(workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm
not so concerned about the html5 side of this not working, but previously
working functionality doesn't work anymore. Maybe this isn't such a
dealbreaker, perhaps we should disable the prompt and force a manual
publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney 
wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney
>
wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney
>
wrote:
> It's a bit more than that. Here's what I'm doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish - say yes
> Goto properties, hit the link
> No dice.
>
> But it's also not publishing the changes for the flash verison either,so
Pats on the right lines, the modularised publish stuff isn't accounted for
in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it's accessible -
> well that's what I've always had to do.
>
> Publish in the editor doesn't appear to do much unless you set the
> access level.
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it's working now.
>
> It only works after you've published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I
wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney
>
wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can't
preview it on the link in the properties panel, i.e. this link doesn't work.
>
> There is no xenith.js at
modules/xerte/parent_templates/Nottingham/common_html5, which is where
play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn't include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk 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
> This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK
legislation.

_______________________________________________
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: 

From Julian.Tenney at nottingham.ac.uk  Mon Dec 10 14:25:50 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Mon, 10 Dec 2012 14:25:50 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <016501cdd6e2$31a014a0$94e03de0$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	<012e01cdd6d7$2	392ac20$6ab80460$@co.uk>
	
	<016501cdd6e2$31a014a0$94e03de0$@co.uk>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E75CA8@EXCHANGE1.ad.nottingham.ac.uk>

toolkits_data is the folder in xampp\mysql\data so I always thought that wa the nae of the database?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 10 December 2012 14:25
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

Hi Pat
are you sure about the db name?

as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt

Testing the publishing options with a clean xampp install...

I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE?

But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing.

HTH
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: 10 December 2012 14:12
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell > wrote:
testing locally with guest access and no integration_config_path set...

Create project
Add a page
Preview (so the file is save)
Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted
If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?


-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney > wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney >> wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk
> ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney >> wrote:
> It's a bit more than that. Here's what I'm doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish - say yes
> Goto properties, hit the link
> No dice.
>
> But it's also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn't accounted for in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it's accessible -
> well that's what I've always had to do...
>
> Publish in the editor doesn't appear to do much unless you set the
> access level...
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it's working now.
>
> It only works after you've published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney >> wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can't preview it on the link in the properties panel, i.e. this link doesn't work.
>
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn't include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> 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
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK legislation.

_______________________________________________
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: 

From patrick.lockley at googlemail.com  Mon Dec 10 14:26:52 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Mon, 10 Dec 2012 14:26:52 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <016501cdd6e2$31a014a0$94e03de0$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	
	<016501cdd6e2$31a014a0$94e03de0$@co.uk>
Message-ID: 

Pah,

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see
where it gets too. Easiest way to debug (it's all I'd do, but mine err,
works).

Pat


On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell wrote:

> Hi Pat****
>
> are you sure about the db name?****
>
> ** **
>
> as far as I can see when using the quick xampp install option the db
> created is called toolkits_data as defines in \setup\xampp_database.txt***
> *
>
> ** **
>
> Testing the publishing options with a clean xampp install...****
>
> ** **
>
> I get the prompt whether to publish with Chrome, Safari and FF but not IE.
> Possibly because I still get the window_reference error when using IE.
> Perhaps specific to my local IE?****
>
> ** **
>
> But as Julian reported even when clicking ok to publish the changes aren't
> published until manually publishing.****
>
> ** **
>
> HTH****
>
> 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:* 10 December 2012 14:12
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
> ** **
>
> xertetoolkits
>
> mine is a fresh xampp and it works
>
> it's both files in versioncontrol and the response is alerted out so you
> can add echo "HELLO" to your heart's content to debug it****
>
> ** **
>
> On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell 
> wrote:****
>
> testing locally with guest access and no integration_config_path set...***
> *
>
>
> Create project
> Add a page
> Preview (so the file is save)****
>
> Quit the wizard - I don't get prompted to publish at all even with the
> latest change Pat comitted
> If I publish manually all is fine.
>
> I'll test a clean install via xampp... If using the quick xampp install
> option what's the name of the db that gets created is it toolkits?****
>
>
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 10 December 2012 11:15
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> It still doesn't work:
>
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - prompted to publish - say yes Go to properties, make
> access public Hit the URL. Nothing until I publish from a button somewhere
> (workspace or wizard).
>
> I think I'm going to put it out anyway, unless anyone can fix it today.
> I'm not so concerned about the html5 side of this not working, but
> previously working functionality doesn't work anymore. Maybe this isn't
> such a dealbreaker, perhaps we should disable the prompt and force a manual
> publish?
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 22:37
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Not sure why it would break but adding database connect in seemed to fix it
>
> On 7 Dec 2012, at 22:21, Julian Tenney 
> wrote:
>
> > thanks mate, I'll test on Monday,
> > ________________________________________
> > From: xerte-dev-bounces at lists.nottingham.ac.uk
> > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> > [patrick.lockley at googlemail.com]
> > Sent: 07 December 2012 19:22
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > fixed in moodle (both files in version control folder)
> >
> > Please test
> >
> >
> > On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney <
> Julian.Tenney at nottingham.ac.uk>
> wrote:
> > It works from the publish buttons. Just not on the on close trapper
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk>
> > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk > ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
> >
> > Sent: 07 December 2012 12:06
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > I think I assumed all publishing went through one file, but that's not
> > the case. Am on holiday but can poke around later on
> >
> > So publishing when closing
> > And
> > Publishing Inside xerte
> >
> > On 7 Dec 2012, at 11:55, Julian Tenney  > wrote:
> > It?s a bit more than that. Here?s what I?m doing:
> >
> > Create project
> > Got to properties, make it public
> > Goto wizard edit something
> > Close editor
> > Prompted to publish ? say yes
> > Goto properties, hit the link
> > No dice.
> >
> > But it?s also not publishing the changes for the flash verison either,so
> Pats on the right lines, the modularised publish stuff isn?t accounted for
> in the wizard window?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Smith, John
> > Sent: 07 December 2012 11:41
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > You have to make it public in the workspace before it?s accessible ?
> > well that?s what I?ve always had to do?
> >
> > Publish in the editor doesn?t appear to do much unless you set the
> > access level?
> >
> > Regards,
> >
> > John Smith
> > Learning Technologist
> > School of Health & Life Sciences
> > Glasgow Caledonian University
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: Friday, December 07, 2012 11:37 AM
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Ah, it?s working now.
> >
> > It only works after you?ve published the file from the workspace button.
> >
> > I published from the wizard button (when it closed and asked me if I
> wanted to) but had to publish from the workspace before the link worked.
> >
> > Any idea what makes the two publishes different?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:30
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Dunno.
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Pat Lockley
> > Sent: 07 December 2012 11:29
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Does xampp use htaccess by default?
> >
> > On 7 Dec 2012, at 11:28, Julian Tenney  > wrote:
> > Sorry the path and file are in the right place, but I get a blank
> > screen when I try and CTRL-play for preview, or when I click the link
> > in properties
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:25
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > When I do an xamppp setup, build simple project and publish etc, I can?t
> preview it on the link in the properties panel, i.e. this link doesn?t work.
> >
> > There is no xenith.js at
> modules/xerte/parent_templates/Nottingham/common_html5, which is where
> play_html5 is trying to load it from.
> >
> > Do I move the file (where is it?) or change the link(to point to ?)
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:17
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] 1.9 zip
> >
> > Is there anything in the svn that I shouldn?t include in the zip?
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > Glasgow Caledonian University is a registered Scottish charity, number
> > SC021474
> >
> > Winner: Times Higher Education?s Widening Participation Initiative of
> the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> > 219,en.html
> >
> > Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> > 5691,en.html _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > 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
> > This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this message
> in error, please send it back to me, and immediately delete it.   Please do
> not use, copy or disclose the information contained in this message or in
> any attachment.  Any views or opinions expressed by the author of this
> email do not necessarily reflect the views of the University of Nottingham.
> >
> > This message has been checked for viruses but the contents of an
> > attachment may still contain software viruses which could damage your
> computer system:
> > you are advised to perform your own checks. Email communications with
> > the University of Nottingham may be monitored as permitted by UK
> legislation.
>
> _______________________________________________
> 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: 

From patrick.lockley at googlemail.com  Mon Dec 10 14:27:41 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Mon, 10 Dec 2012 14:27:41 +0000
Subject: [Xerte-dev] Iframe
Message-ID: 

Hello,

Could we add an additional parameter to this model to allow for a zoom on
the HTML loaded in the iframe?

Thanks

Pat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From patrick.lockley at googlemail.com  Mon Dec 10 14:34:12 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Mon, 10 Dec 2012 14:34:12 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E75CA8@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	
	<016501cdd6e2$31a014a0$94e03de0$@co.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75CA8@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

ignore me, it's not pertinent to the bug :)


On Mon, Dec 10, 2012 at 2:25 PM, Julian Tenney <
Julian.Tenney at nottingham.ac.uk> wrote:

> toolkits_data is the folder in xampp\mysql\data so I always thought that
> wa the nae of the database?****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron Mitchell
> *Sent:* 10 December 2012 14:25
>
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
> ** **
>
> Hi Pat****
>
> are you sure about the db name?****
>
> ** **
>
> as far as I can see when using the quick xampp install option the db
> created is called toolkits_data as defines in \setup\xampp_database.txt***
> *
>
> ** **
>
> Testing the publishing options with a clean xampp install...****
>
> ** **
>
> I get the prompt whether to publish with Chrome, Safari and FF but not IE.
> Possibly because I still get the window_reference error when using IE.
> Perhaps specific to my local IE?****
>
> ** **
>
> But as Julian reported even when clicking ok to publish the changes aren't
> published until manually publishing.****
>
> ** **
>
> HTH****
>
> 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:* 10 December 2012 14:12
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
> ** **
>
> xertetoolkits
>
> mine is a fresh xampp and it works
>
> it's both files in versioncontrol and the response is alerted out so you
> can add echo "HELLO" to your heart's content to debug it****
>
> ** **
>
> On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell 
> wrote:****
>
> testing locally with guest access and no integration_config_path set...***
> *
>
>
> Create project
> Add a page
> Preview (so the file is save)****
>
> Quit the wizard - I don't get prompted to publish at all even with the
> latest change Pat comitted
> If I publish manually all is fine.
>
> I'll test a clean install via xampp... If using the quick xampp install
> option what's the name of the db that gets created is it toolkits?****
>
>
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 10 December 2012 11:15
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> It still doesn't work:
>
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - prompted to publish - say yes Go to properties, make
> access public Hit the URL. Nothing until I publish from a button somewhere
> (workspace or wizard).
>
> I think I'm going to put it out anyway, unless anyone can fix it today.
> I'm not so concerned about the html5 side of this not working, but
> previously working functionality doesn't work anymore. Maybe this isn't
> such a dealbreaker, perhaps we should disable the prompt and force a manual
> publish?
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 22:37
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Not sure why it would break but adding database connect in seemed to fix it
>
> On 7 Dec 2012, at 22:21, Julian Tenney 
> wrote:
>
> > thanks mate, I'll test on Monday,
> > ________________________________________
> > From: xerte-dev-bounces at lists.nottingham.ac.uk
> > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> > [patrick.lockley at googlemail.com]
> > Sent: 07 December 2012 19:22
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > fixed in moodle (both files in version control folder)
> >
> > Please test
> >
> >
> > On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney <
> Julian.Tenney at nottingham.ac.uk>
> wrote:
> > It works from the publish buttons. Just not on the on close trapper
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk>
> > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk > ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
> >
> > Sent: 07 December 2012 12:06
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > I think I assumed all publishing went through one file, but that's not
> > the case. Am on holiday but can poke around later on
> >
> > So publishing when closing
> > And
> > Publishing Inside xerte
> >
> > On 7 Dec 2012, at 11:55, Julian Tenney  > wrote:
> > It?s a bit more than that. Here?s what I?m doing:
> >
> > Create project
> > Got to properties, make it public
> > Goto wizard edit something
> > Close editor
> > Prompted to publish ? say yes
> > Goto properties, hit the link
> > No dice.
> >
> > But it?s also not publishing the changes for the flash verison either,so
> Pats on the right lines, the modularised publish stuff isn?t accounted for
> in the wizard window?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Smith, John
> > Sent: 07 December 2012 11:41
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > You have to make it public in the workspace before it?s accessible ?
> > well that?s what I?ve always had to do?
> >
> > Publish in the editor doesn?t appear to do much unless you set the
> > access level?
> >
> > Regards,
> >
> > John Smith
> > Learning Technologist
> > School of Health & Life Sciences
> > Glasgow Caledonian University
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: Friday, December 07, 2012 11:37 AM
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Ah, it?s working now.
> >
> > It only works after you?ve published the file from the workspace button.
> >
> > I published from the wizard button (when it closed and asked me if I
> wanted to) but had to publish from the workspace before the link worked.
> >
> > Any idea what makes the two publishes different?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:30
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Dunno.
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Pat Lockley
> > Sent: 07 December 2012 11:29
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Does xampp use htaccess by default?
> >
> > On 7 Dec 2012, at 11:28, Julian Tenney  > wrote:
> > Sorry the path and file are in the right place, but I get a blank
> > screen when I try and CTRL-play for preview, or when I click the link
> > in properties
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:25
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > When I do an xamppp setup, build simple project and publish etc, I can?t
> preview it on the link in the properties panel, i.e. this link doesn?t work.
> >
> > There is no xenith.js at
> modules/xerte/parent_templates/Nottingham/common_html5, which is where
> play_html5 is trying to load it from.
> >
> > Do I move the file (where is it?) or change the link(to point to ?)
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:17
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] 1.9 zip
> >
> > Is there anything in the svn that I shouldn?t include in the zip?
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > Glasgow Caledonian University is a registered Scottish charity, number
> > SC021474
> >
> > Winner: Times Higher Education?s Widening Participation Initiative of
> the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> > 219,en.html
> >
> > Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> > 5691,en.html _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > 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
> > This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this message
> in error, please send it back to me, and immediately delete it.   Please do
> not use, copy or disclose the information contained in this message or in
> any attachment.  Any views or opinions expressed by the author of this
> email do not necessarily reflect the views of the University of Nottingham.
> >
> > This message has been checked for viruses but the contents of an
> > attachment may still contain software viruses which could damage your
> computer system:
> > you are advised to perform your own checks. Email communications with
> > the University of Nottingham may be monitored as permitted by UK
> legislation.
>
> _______________________________________________
> 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: 

From ronm at mitchellmedia.co.uk  Mon Dec 10 15:01:41 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Mon, 10 Dec 2012 15:01:41 -0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>		<016501cdd6e2$31a014a0$94e03de0$@co.uk>
	
Message-ID: <019701cdd6e7$43c229c0$cb467d40$@co.uk>

I tested with a brand new svn update and export and a clean install using
the xampp option so not sure why we're seeing different things. I truned on
debugging and upon clicking ok to publish changes got the attached. Does
that help?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Pah, 

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see
where it gets too. Easiest way to debug (it's all I'd do, but mine err,
works).

Pat

 

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell 
wrote:

Hi Pat

are you sure about the db name?

 

as far as I can see when using the quick xampp install option the db created
is called toolkits_data as defines in \setup\xampp_database.txt

 

Testing the publishing options with a clean xampp install...

 

I get the prompt whether to publish with Chrome, Safari and FF but not IE.
Possibly because I still get the window_reference error when using IE.
Perhaps specific to my local IE?

 

But as Julian reported even when clicking ok to publish the changes aren't
published until manually publishing.

 

HTH

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: 10 December 2012 14:12


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can
add echo "HELLO" to your heart's content to debug it

 

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell 
wrote:

testing locally with guest access and no integration_config_path set...


Create project
Add a page
Preview (so the file is save)

Quit the wizard - I don't get prompted to publish at all even with the
latest change Pat comitted
If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install
option what's the name of the db that gets created is it toolkits?



-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make
access public Hit the URL. Nothing until I publish from a button somewhere
(workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm
not so concerned about the html5 side of this not working, but previously
working functionality doesn't work anymore. Maybe this isn't such a
dealbreaker, perhaps we should disable the prompt and force a manual
publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney 
wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney
>
wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney
>
wrote:
> It's a bit more than that. Here's what I'm doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish - say yes
> Goto properties, hit the link
> No dice.
>
> But it's also not publishing the changes for the flash verison either,so
Pats on the right lines, the modularised publish stuff isn't accounted for
in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it's accessible -
> well that's what I've always had to do.
>
> Publish in the editor doesn't appear to do much unless you set the
> access level.
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it's working now.
>
> It only works after you've published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I
wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney
>
wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can't
preview it on the link in the properties panel, i.e. this link doesn't work.
>
> There is no xenith.js at
modules/xerte/parent_templates/Nottingham/common_html5, which is where
play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn't include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk 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
> This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK
legislation.

_______________________________________________
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: 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: publish_confirm_error.txt
URL: 

From patrick.lockley at googlemail.com  Mon Dec 10 16:02:43 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Mon, 10 Dec 2012 16:02:43 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <019701cdd6e7$43c229c0$cb467d40$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	<016501cdd6e2$31a014a0$94e03de0$@co.uk>
	
	<019701cdd6e7$43c229c0$cb467d40$@co.uk>
Message-ID: 

Ok, so for you, the query doesn't work.

echo out the query and see what it is


On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell wrote:

> I tested with a brand new svn update and export and a clean install using
> the xampp option so not sure why we're seeing different things. I truned on
> debugging and upon clicking ok to publish changes got the attached. Does
> that help?****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 10 December 2012 14:27
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
> ** **
>
> Pah,
>
> It's been two years, but maybe that's my instinctive name for all things
> XOT
>
> Well it works here on my XAMPP, but start putting echos in the code to see
> where it gets too. Easiest way to debug (it's all I'd do, but mine err,
> works).
>
> Pat****
>
> ** **
>
> On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> are you sure about the db name?****
>
>  ****
>
> as far as I can see when using the quick xampp install option the db
> created is called toolkits_data as defines in \setup\xampp_database.txt***
> *
>
>  ****
>
> Testing the publishing options with a clean xampp install...****
>
>  ****
>
> I get the prompt whether to publish with Chrome, Safari and FF but not IE.
> Possibly because I still get the window_reference error when using IE.
> Perhaps specific to my local IE?****
>
>  ****
>
> But as Julian reported even when clicking ok to publish the changes aren't
> published until manually publishing.****
>
>  ****
>
> HTH****
>
> 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:* 10 December 2012 14:12****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> xertetoolkits
>
> mine is a fresh xampp and it works
>
> it's both files in versioncontrol and the response is alerted out so you
> can add echo "HELLO" to your heart's content to debug it****
>
>  ****
>
> On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell 
> wrote:****
>
> testing locally with guest access and no integration_config_path set...***
> *
>
>
> Create project
> Add a page
> Preview (so the file is save)****
>
> Quit the wizard - I don't get prompted to publish at all even with the
> latest change Pat comitted
> If I publish manually all is fine.
>
> I'll test a clean install via xampp... If using the quick xampp install
> option what's the name of the db that gets created is it toolkits?****
>
>
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 10 December 2012 11:15
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> It still doesn't work:
>
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - prompted to publish - say yes Go to properties, make
> access public Hit the URL. Nothing until I publish from a button somewhere
> (workspace or wizard).
>
> I think I'm going to put it out anyway, unless anyone can fix it today.
> I'm not so concerned about the html5 side of this not working, but
> previously working functionality doesn't work anymore. Maybe this isn't
> such a dealbreaker, perhaps we should disable the prompt and force a manual
> publish?
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 22:37
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Not sure why it would break but adding database connect in seemed to fix it
>
> On 7 Dec 2012, at 22:21, Julian Tenney 
> wrote:
>
> > thanks mate, I'll test on Monday,
> > ________________________________________
> > From: xerte-dev-bounces at lists.nottingham.ac.uk
> > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> > [patrick.lockley at googlemail.com]
> > Sent: 07 December 2012 19:22
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > fixed in moodle (both files in version control folder)
> >
> > Please test
> >
> >
> > On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney <
> Julian.Tenney at nottingham.ac.uk>
> wrote:
> > It works from the publish buttons. Just not on the on close trapper
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk>
> > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk > ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
> >
> > Sent: 07 December 2012 12:06
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > I think I assumed all publishing went through one file, but that's not
> > the case. Am on holiday but can poke around later on
> >
> > So publishing when closing
> > And
> > Publishing Inside xerte
> >
> > On 7 Dec 2012, at 11:55, Julian Tenney  > wrote:
> > It?s a bit more than that. Here?s what I?m doing:
> >
> > Create project
> > Got to properties, make it public
> > Goto wizard edit something
> > Close editor
> > Prompted to publish ? say yes
> > Goto properties, hit the link
> > No dice.
> >
> > But it?s also not publishing the changes for the flash verison either,so
> Pats on the right lines, the modularised publish stuff isn?t accounted for
> in the wizard window?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Smith, John
> > Sent: 07 December 2012 11:41
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > You have to make it public in the workspace before it?s accessible ?
> > well that?s what I?ve always had to do?
> >
> > Publish in the editor doesn?t appear to do much unless you set the
> > access level?
> >
> > Regards,
> >
> > John Smith
> > Learning Technologist
> > School of Health & Life Sciences
> > Glasgow Caledonian University
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: Friday, December 07, 2012 11:37 AM
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Ah, it?s working now.
> >
> > It only works after you?ve published the file from the workspace button.
> >
> > I published from the wizard button (when it closed and asked me if I
> wanted to) but had to publish from the workspace before the link worked.
> >
> > Any idea what makes the two publishes different?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:30
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Dunno.
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Pat Lockley
> > Sent: 07 December 2012 11:29
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Does xampp use htaccess by default?
> >
> > On 7 Dec 2012, at 11:28, Julian Tenney  > wrote:
> > Sorry the path and file are in the right place, but I get a blank
> > screen when I try and CTRL-play for preview, or when I click the link
> > in properties
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:25
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > When I do an xamppp setup, build simple project and publish etc, I can?t
> preview it on the link in the properties panel, i.e. this link doesn?t work.
> >
> > There is no xenith.js at
> modules/xerte/parent_templates/Nottingham/common_html5, which is where
> play_html5 is trying to load it from.
> >
> > Do I move the file (where is it?) or change the link(to point to ?)
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:17
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] 1.9 zip
> >
> > Is there anything in the svn that I shouldn?t include in the zip?
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > Glasgow Caledonian University is a registered Scottish charity, number
> > SC021474
> >
> > Winner: Times Higher Education?s Widening Participation Initiative of
> the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> > 219,en.html
> >
> > Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> > 5691,en.html _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > 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
> > This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this message
> in error, please send it back to me, and immediately delete it.   Please do
> not use, copy or disclose the information contained in this message or in
> any attachment.  Any views or opinions expressed by the author of this
> email do not necessarily reflect the views of the University of Nottingham.
> >
> > This message has been checked for viruses but the contents of an
> > attachment may still contain software viruses which could damage your
> computer system:
> > you are advised to perform your own checks. Email communications with
> > the University of Nottingham may be monitored as permitted by UK
> legislation.
>
> _______________________________________________
> 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: 

From ronm at mitchellmedia.co.uk  Mon Dec 10 17:14:16 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Mon, 10 Dec 2012 17:14:16 -0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>	<016501cdd6e2$3
	1a014a0$94e03de0$@co.uk>		<019701cdd6e7$43c229c0$cb467d40$@co.uk>
	
Message-ID: <01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>

Sorry what query? In what file?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Ok, so for you, the query doesn't work.

echo out the query and see what it is

 

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell 
wrote:

I tested with a brand new svn update and export and a clean install using
the xampp option so not sure why we're seeing different things. I truned on
debugging and upon clicking ok to publish changes got the attached. Does
that help?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Pah, 

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see
where it gets too. Easiest way to debug (it's all I'd do, but mine err,
works).

Pat

 

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell 
wrote:

Hi Pat

are you sure about the db name?

 

as far as I can see when using the quick xampp install option the db created
is called toolkits_data as defines in \setup\xampp_database.txt

 

Testing the publishing options with a clean xampp install...

 

I get the prompt whether to publish with Chrome, Safari and FF but not IE.
Possibly because I still get the window_reference error when using IE.
Perhaps specific to my local IE?

 

But as Julian reported even when clicking ok to publish the changes aren't
published until manually publishing.

 

HTH

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: 10 December 2012 14:12


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can
add echo "HELLO" to your heart's content to debug it

 

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell 
wrote:

testing locally with guest access and no integration_config_path set...


Create project
Add a page
Preview (so the file is save)

Quit the wizard - I don't get prompted to publish at all even with the
latest change Pat comitted
If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install
option what's the name of the db that gets created is it toolkits?



-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make
access public Hit the URL. Nothing until I publish from a button somewhere
(workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm
not so concerned about the html5 side of this not working, but previously
working functionality doesn't work anymore. Maybe this isn't such a
dealbreaker, perhaps we should disable the prompt and force a manual
publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney 
wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney
>
wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney
>
wrote:
> It's a bit more than that. Here's what I'm doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish - say yes
> Goto properties, hit the link
> No dice.
>
> But it's also not publishing the changes for the flash verison either,so
Pats on the right lines, the modularised publish stuff isn't accounted for
in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it's accessible -
> well that's what I've always had to do.
>
> Publish in the editor doesn't appear to do much unless you set the
> access level.
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it's working now.
>
> It only works after you've published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I
wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney
>
wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can't
preview it on the link in the properties panel, i.e. this link doesn't work.
>
> There is no xenith.js at
modules/xerte/parent_templates/Nottingham/common_html5, which is where
play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn't include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk 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
> This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK
legislation.

_______________________________________________
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: 

From patrick.lockley at googlemail.com  Mon Dec 10 17:58:17 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Mon, 10 Dec 2012 17:58:17 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	
	<019701cdd6e7$43c229c0$cb467d40$@co.uk>
	
	<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
Message-ID: 

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query


On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell wrote:

> Sorry what query? In what file?****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 10 December 2012 16:03
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
> ** **
>
> Ok, so for you, the query doesn't work.
>
> echo out the query and see what it is****
>
> ** **
>
> On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell 
> wrote:****
>
> I tested with a brand new svn update and export and a clean install using
> the xampp option so not sure why we're seeing different things. I truned on
> debugging and upon clicking ok to publish changes got the attached. Does
> that help?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 10 December 2012 14:27****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> Pah,
>
> It's been two years, but maybe that's my instinctive name for all things
> XOT
>
> Well it works here on my XAMPP, but start putting echos in the code to see
> where it gets too. Easiest way to debug (it's all I'd do, but mine err,
> works).
>
> Pat****
>
>  ****
>
> On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> are you sure about the db name?****
>
>  ****
>
> as far as I can see when using the quick xampp install option the db
> created is called toolkits_data as defines in \setup\xampp_database.txt***
> *
>
>  ****
>
> Testing the publishing options with a clean xampp install...****
>
>  ****
>
> I get the prompt whether to publish with Chrome, Safari and FF but not IE.
> Possibly because I still get the window_reference error when using IE.
> Perhaps specific to my local IE?****
>
>  ****
>
> But as Julian reported even when clicking ok to publish the changes aren't
> published until manually publishing.****
>
>  ****
>
> HTH****
>
> 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:* 10 December 2012 14:12****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> xertetoolkits
>
> mine is a fresh xampp and it works
>
> it's both files in versioncontrol and the response is alerted out so you
> can add echo "HELLO" to your heart's content to debug it****
>
>  ****
>
> On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell 
> wrote:****
>
> testing locally with guest access and no integration_config_path set...***
> *
>
>
> Create project
> Add a page
> Preview (so the file is save)****
>
> Quit the wizard - I don't get prompted to publish at all even with the
> latest change Pat comitted
> If I publish manually all is fine.
>
> I'll test a clean install via xampp... If using the quick xampp install
> option what's the name of the db that gets created is it toolkits?****
>
>
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 10 December 2012 11:15
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> It still doesn't work:
>
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - prompted to publish - say yes Go to properties, make
> access public Hit the URL. Nothing until I publish from a button somewhere
> (workspace or wizard).
>
> I think I'm going to put it out anyway, unless anyone can fix it today.
> I'm not so concerned about the html5 side of this not working, but
> previously working functionality doesn't work anymore. Maybe this isn't
> such a dealbreaker, perhaps we should disable the prompt and force a manual
> publish?
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 22:37
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Not sure why it would break but adding database connect in seemed to fix it
>
> On 7 Dec 2012, at 22:21, Julian Tenney 
> wrote:
>
> > thanks mate, I'll test on Monday,
> > ________________________________________
> > From: xerte-dev-bounces at lists.nottingham.ac.uk
> > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> > [patrick.lockley at googlemail.com]
> > Sent: 07 December 2012 19:22
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > fixed in moodle (both files in version control folder)
> >
> > Please test
> >
> >
> > On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney <
> Julian.Tenney at nottingham.ac.uk>
> wrote:
> > It works from the publish buttons. Just not on the on close trapper
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk>
> > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk > ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
> >
> > Sent: 07 December 2012 12:06
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > I think I assumed all publishing went through one file, but that's not
> > the case. Am on holiday but can poke around later on
> >
> > So publishing when closing
> > And
> > Publishing Inside xerte
> >
> > On 7 Dec 2012, at 11:55, Julian Tenney  > wrote:
> > It?s a bit more than that. Here?s what I?m doing:
> >
> > Create project
> > Got to properties, make it public
> > Goto wizard edit something
> > Close editor
> > Prompted to publish ? say yes
> > Goto properties, hit the link
> > No dice.
> >
> > But it?s also not publishing the changes for the flash verison either,so
> Pats on the right lines, the modularised publish stuff isn?t accounted for
> in the wizard window?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Smith, John
> > Sent: 07 December 2012 11:41
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > You have to make it public in the workspace before it?s accessible ?
> > well that?s what I?ve always had to do?
> >
> > Publish in the editor doesn?t appear to do much unless you set the
> > access level?
> >
> > Regards,
> >
> > John Smith
> > Learning Technologist
> > School of Health & Life Sciences
> > Glasgow Caledonian University
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: Friday, December 07, 2012 11:37 AM
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Ah, it?s working now.
> >
> > It only works after you?ve published the file from the workspace button.
> >
> > I published from the wizard button (when it closed and asked me if I
> wanted to) but had to publish from the workspace before the link worked.
> >
> > Any idea what makes the two publishes different?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:30
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Dunno.
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Pat Lockley
> > Sent: 07 December 2012 11:29
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Does xampp use htaccess by default?
> >
> > On 7 Dec 2012, at 11:28, Julian Tenney  > wrote:
> > Sorry the path and file are in the right place, but I get a blank
> > screen when I try and CTRL-play for preview, or when I click the link
> > in properties
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:25
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > When I do an xamppp setup, build simple project and publish etc, I can?t
> preview it on the link in the properties panel, i.e. this link doesn?t work.
> >
> > There is no xenith.js at
> modules/xerte/parent_templates/Nottingham/common_html5, which is where
> play_html5 is trying to load it from.
> >
> > Do I move the file (where is it?) or change the link(to point to ?)
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:17
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] 1.9 zip
> >
> > Is there anything in the svn that I shouldn?t include in the zip?
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > Glasgow Caledonian University is a registered Scottish charity, number
> > SC021474
> >
> > Winner: Times Higher Education?s Widening Participation Initiative of
> the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> > 219,en.html
> >
> > Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> > 5691,en.html _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > 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
> > This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this message
> in error, please send it back to me, and immediately delete it.   Please do
> not use, copy or disclose the information contained in this message or in
> any attachment.  Any views or opinions expressed by the author of this
> email do not necessarily reflect the views of the University of Nottingham.
> >
> > This message has been checked for viruses but the contents of an
> > attachment may still contain software viruses which could damage your
> computer system:
> > you are advised to perform your own checks. Email communications with
> > the University of Nottingham may be monitored as permitted by UK
> legislation.
>
> _______________________________________________
> 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****
>
> ** **
>
>
>
>
> _______________________________________________
> 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: 

From ronm at mitchellmedia.co.uk  Mon Dec 10 18:28:13 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Mon, 10 Dec 2012 18:28:13 -0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>		<019701cdd6e7$43c229c0$cb467d40$@co.uk>		<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
	
Message-ID: <01f001cdd704$1e42aea0$5ac80be0$@co.uk>

do these help?

 

$query_for_play_content_strip

 

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

 

$query_for_play_content

 

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="C:

mpphtdocs
rtetoolkits/USER" and role="creator"

 

 

$query_for_play_content_response

 

Resource id #20

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

 

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell 
wrote:

Sorry what query? In what file?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Ok, so for you, the query doesn't work.

echo out the query and see what it is

 

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell 
wrote:

I tested with a brand new svn update and export and a clean install using
the xampp option so not sure why we're seeing different things. I truned on
debugging and upon clicking ok to publish changes got the attached. Does
that help?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Pah, 

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see
where it gets too. Easiest way to debug (it's all I'd do, but mine err,
works).

Pat

 

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell 
wrote:

Hi Pat

are you sure about the db name?

 

as far as I can see when using the quick xampp install option the db created
is called toolkits_data as defines in \setup\xampp_database.txt

 

Testing the publishing options with a clean xampp install...

 

I get the prompt whether to publish with Chrome, Safari and FF but not IE.
Possibly because I still get the window_reference error when using IE.
Perhaps specific to my local IE?

 

But as Julian reported even when clicking ok to publish the changes aren't
published until manually publishing.

 

HTH

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: 10 December 2012 14:12


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can
add echo "HELLO" to your heart's content to debug it

 

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell 
wrote:

testing locally with guest access and no integration_config_path set...


Create project
Add a page
Preview (so the file is save)

Quit the wizard - I don't get prompted to publish at all even with the
latest change Pat comitted
If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install
option what's the name of the db that gets created is it toolkits?



-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make
access public Hit the URL. Nothing until I publish from a button somewhere
(workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm
not so concerned about the html5 side of this not working, but previously
working functionality doesn't work anymore. Maybe this isn't such a
dealbreaker, perhaps we should disable the prompt and force a manual
publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney 
wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney
>
wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney
>
wrote:
> It's a bit more than that. Here's what I'm doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish - say yes
> Goto properties, hit the link
> No dice.
>
> But it's also not publishing the changes for the flash verison either,so
Pats on the right lines, the modularised publish stuff isn't accounted for
in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it's accessible -
> well that's what I've always had to do.
>
> Publish in the editor doesn't appear to do much unless you set the
> access level.
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it's working now.
>
> It only works after you've published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I
wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney
>
wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can't
preview it on the link in the properties panel, i.e. this link doesn't work.
>
> There is no xenith.js at
modules/xerte/parent_templates/Nottingham/common_html5, which is where
play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn't include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk 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
> This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK
legislation.

_______________________________________________
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

 






_______________________________________________
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: 

From patrick.lockley at googlemail.com  Mon Dec 10 18:27:36 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Mon, 10 Dec 2012 18:27:36 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <01f001cdd704$1e42aea0$5ac80be0$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	
	<019701cdd6e7$43c229c0$cb467d40$@co.uk>
	
	<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
	
	<01f001cdd704$1e42aea0$5ac80be0$@co.uk>
Message-ID: 

Ok one of the queries has a ref to temp_array[0] in still

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell"  wrote:

> do these help?
>  
> $query_for_play_content_strip
>  
> select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"
>  
> $query_for_play_content
>  
> select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="C:
> mpphtdocs
> rtetoolkits/USER" and role="creator"
>  
>  
> $query_for_play_content_response
>  
> Resource id #20
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 17:58
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> website_code/php/versioncontrol/update_file.php
> 
> there will be a variable called query or something query
>  
> 
> On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell  wrote:
> Sorry what query? In what file?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 16:03
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Ok, so for you, the query doesn't work.
> 
> echo out the query and see what it is
>  
> 
> On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell  wrote:
> I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 14:27
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Pah, 
> 
> It's been two years, but maybe that's my instinctive name for all things XOT
> 
> Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works).
> 
> Pat
>  
> 
> On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell  wrote:
> Hi Pat
> are you sure about the db name?
>  
> as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt
>  
> Testing the publishing options with a clean xampp install...
>  
> I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE?
>  
> But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing.
>  
> HTH
> 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: 10 December 2012 14:12
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> xertetoolkits
> 
> mine is a fresh xampp and it works
> 
> it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it
>  
> 
> On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell  wrote:
> testing locally with guest access and no integration_config_path set...
> 
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted
> If I publish manually all is fine.
> 
> I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?
> 
> 
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 10 December 2012 11:15
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> It still doesn't work:
> 
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).
> 
> I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?
> 
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 22:37
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> Not sure why it would break but adding database connect in seemed to fix it
> 
> On 7 Dec 2012, at 22:21, Julian Tenney  wrote:
> 
> > thanks mate, I'll test on Monday,
> > ________________________________________
> > From: xerte-dev-bounces at lists.nottingham.ac.uk
> > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> > [patrick.lockley at googlemail.com]
> > Sent: 07 December 2012 19:22
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > fixed in moodle (both files in version control folder)
> >
> > Please test
> >
> >
> > On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney > wrote:
> > It works from the publish buttons. Just not on the on close trapper
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk>
> > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk > ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
> >
> > Sent: 07 December 2012 12:06
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > I think I assumed all publishing went through one file, but that's not
> > the case. Am on holiday but can poke around later on
> >
> > So publishing when closing
> > And
> > Publishing Inside xerte
> >
> > On 7 Dec 2012, at 11:55, Julian Tenney > wrote:
> > It?s a bit more than that. Here?s what I?m doing:
> >
> > Create project
> > Got to properties, make it public
> > Goto wizard edit something
> > Close editor
> > Prompted to publish ? say yes
> > Goto properties, hit the link
> > No dice.
> >
> > But it?s also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn?t accounted for in the wizard window?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Smith, John
> > Sent: 07 December 2012 11:41
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > You have to make it public in the workspace before it?s accessible ?
> > well that?s what I?ve always had to do?
> >
> > Publish in the editor doesn?t appear to do much unless you set the
> > access level?
> >
> > Regards,
> >
> > John Smith
> > Learning Technologist
> > School of Health & Life Sciences
> > Glasgow Caledonian University
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: Friday, December 07, 2012 11:37 AM
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Ah, it?s working now.
> >
> > It only works after you?ve published the file from the workspace button.
> >
> > I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
> >
> > Any idea what makes the two publishes different?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:30
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Dunno.
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Pat Lockley
> > Sent: 07 December 2012 11:29
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Does xampp use htaccess by default?
> >
> > On 7 Dec 2012, at 11:28, Julian Tenney > wrote:
> > Sorry the path and file are in the right place, but I get a blank
> > screen when I try and CTRL-play for preview, or when I click the link
> > in properties
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:25
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
> >
> > There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
> >
> > Do I move the file (where is it?) or change the link(to point to ?)
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:17
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] 1.9 zip
> >
> > Is there anything in the svn that I shouldn?t include in the zip?
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > Glasgow Caledonian University is a registered Scottish charity, number
> > SC021474
> >
> > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> > 219,en.html
> >
> > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> > 5691,en.html _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > 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
> > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
> >
> > This message has been checked for viruses but the contents of an
> > attachment may still contain software viruses which could damage your computer system:
> > you are advised to perform your own checks. Email communications with
> > the University of Nottingham may be monitored as permitted by UK legislation.
> 
> _______________________________________________
> 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
> 
>  
> 
> 
> 
> 
> _______________________________________________
> 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: 

From ronm at mitchellmedia.co.uk  Mon Dec 10 20:20:59 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Mon, 10 Dec 2012 20:20:59 -0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>		<019701cdd6e7$43c229c0$cb467d40$@co.uk>		<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>		<01f001cdd704$1e42aea0$5ac80be0$@co.uk>
	
Message-ID: <020701cdd713$debe5b20$9c3b1160$@co.uk>

There seems to be two occurrences of temp_array[0] 

http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589

 

Do both need changing or just one?

How come this works for you if same version?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Ok one of the queries has a ref to temp_array[0] in still

 

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell"  wrote:

do these help?

 

$query_for_play_content_strip

 

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

 

$query_for_play_content

 

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="C:

mpphtdocs
rtetoolkits/USER" and role="creator"

 

 

$query_for_play_content_response

 

Resource id #20

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

 

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell  wrote:

Sorry what query? In what file?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Ok, so for you, the query doesn't work.

echo out the query and see what it is

 

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell  wrote:

I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Pah, 

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works).

Pat

 

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell  wrote:

Hi Pat

are you sure about the db name?

 

as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt

 

Testing the publishing options with a clean xampp install...

 

I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE?

 

But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing.

 

HTH

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: 10 December 2012 14:12


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it

 

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell  wrote:

testing locally with guest access and no integration_config_path set...


Create project
Add a page
Preview (so the file is save)

Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted
If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?



-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney  wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney > wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney > wrote:
> It?s a bit more than that. Here?s what I?m doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish ? say yes
> Goto properties, hit the link
> No dice.
>
> But it?s also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn?t accounted for in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it?s accessible ?
> well that?s what I?ve always had to do?
>
> Publish in the editor doesn?t appear to do much unless you set the
> access level?
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it?s working now.
>
> It only works after you?ve published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney > wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
>
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn?t include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk 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
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK legislation.

_______________________________________________
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

 







_______________________________________________
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: 

From ronm at mitchellmedia.co.uk  Mon Dec 10 20:26:56 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Mon, 10 Dec 2012 20:26:56 -0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <020701cdd713$debe5b20$9c3b1160$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>		<019701cdd6e7$43c229c0$cb467d40$@co.uk>		<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>		<01f001cdd704$1e42aea0$5ac80be0$@co.uk>	
	<020701cdd713$debe5b20$9c3b1160$@co.uk>
Message-ID: <021201cdd714$b3f5a370$1be0ea50$@co.uk>

actually there's 4 occurrences...

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 10 December 2012 20:21
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

 

There seems to be two occurrences of temp_array[0] 

http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589  &r=589

 

Do both need changing or just one?

How come this works for you if same version?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Ok one of the queries has a ref to temp_array[0] in still

 

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell"  wrote:

do these help?

 

$query_for_play_content_strip

 

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

 

$query_for_play_content

 

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="C:

mpphtdocs
rtetoolkits/USER" and role="creator"

 

 

$query_for_play_content_response

 

Resource id #20

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

 

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell  wrote:

Sorry what query? In what file?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Ok, so for you, the query doesn't work.

echo out the query and see what it is

 

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell  wrote:

I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Pah, 

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works).

Pat

 

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell  wrote:

Hi Pat

are you sure about the db name?

 

as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt

 

Testing the publishing options with a clean xampp install...

 

I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE?

 

But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing.

 

HTH

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: 10 December 2012 14:12


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it

 

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell  wrote:

testing locally with guest access and no integration_config_path set...


Create project
Add a page
Preview (so the file is save)

Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted
If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?



-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney  wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney > wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney > wrote:
> It?s a bit more than that. Here?s what I?m doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish ? say yes
> Goto properties, hit the link
> No dice.
>
> But it?s also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn?t accounted for in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it?s accessible ?
> well that?s what I?ve always had to do?
>
> Publish in the editor doesn?t appear to do much unless you set the
> access level?
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it?s working now.
>
> It only works after you?ve published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney > wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
>
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn?t include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk 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
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK legislation.

_______________________________________________
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

 






_______________________________________________
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: 

From patrick.lockley at googlemail.com  Mon Dec 10 22:15:17 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Mon, 10 Dec 2012 22:15:17 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <020701cdd713$debe5b20$9c3b1160$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	
	<019701cdd6e7$43c229c0$cb467d40$@co.uk>
	
	<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
	
	<01f001cdd704$1e42aea0$5ac80be0$@co.uk>
	
	<020701cdd713$debe5b20$9c3b1160$@co.uk>
Message-ID: <4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>

No idea - all four temp arrays need to be replaced 

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell"  wrote:

> There seems to be two occurrences of temp_array[0]
> http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589
>  
> Do both need changing or just one?
> How come this works for you if same version?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 18:28
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Ok one of the queries has a ref to temp_array[0] in still
>  
> Replace with $template_id
> 
> On 10 Dec 2012, at 18:28, "Ron Mitchell"  wrote:
> 
> do these help?
>  
> $query_for_play_content_strip
>  
> select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"
>  
> $query_for_play_content
>  
> select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="C:
> mpphtdocs
> rtetoolkits/USER" and role="creator"
>  
>  
> $query_for_play_content_response
>  
> Resource id #20
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 17:58
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> website_code/php/versioncontrol/update_file.php
> 
> there will be a variable called query or something query
>  
> 
> On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell  wrote:
> Sorry what query? In what file?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 16:03
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Ok, so for you, the query doesn't work.
> 
> echo out the query and see what it is
>  
> 
> On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell  wrote:
> I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 14:27
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Pah, 
> 
> It's been two years, but maybe that's my instinctive name for all things XOT
> 
> Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works).
> 
> Pat
>  
> 
> On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell  wrote:
> Hi Pat
> are you sure about the db name?
>  
> as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt
>  
> Testing the publishing options with a clean xampp install...
>  
> I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE?
>  
> But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing.
>  
> HTH
> 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: 10 December 2012 14:12
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> xertetoolkits
> 
> mine is a fresh xampp and it works
> 
> it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it
>  
> 
> On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell  wrote:
> testing locally with guest access and no integration_config_path set...
> 
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted
> If I publish manually all is fine.
> 
> I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?
> 
> 
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 10 December 2012 11:15
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> It still doesn't work:
> 
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).
> 
> I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?
> 
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 22:37
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> Not sure why it would break but adding database connect in seemed to fix it
> 
> On 7 Dec 2012, at 22:21, Julian Tenney  wrote:
> 
> > thanks mate, I'll test on Monday,
> > ________________________________________
> > From: xerte-dev-bounces at lists.nottingham.ac.uk
> > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> > [patrick.lockley at googlemail.com]
> > Sent: 07 December 2012 19:22
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > fixed in moodle (both files in version control folder)
> >
> > Please test
> >
> >
> > On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney > wrote:
> > It works from the publish buttons. Just not on the on close trapper
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk>
> > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk > ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
> >
> > Sent: 07 December 2012 12:06
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > I think I assumed all publishing went through one file, but that's not
> > the case. Am on holiday but can poke around later on
> >
> > So publishing when closing
> > And
> > Publishing Inside xerte
> >
> > On 7 Dec 2012, at 11:55, Julian Tenney > wrote:
> > It?s a bit more than that. Here?s what I?m doing:
> >
> > Create project
> > Got to properties, make it public
> > Goto wizard edit something
> > Close editor
> > Prompted to publish ? say yes
> > Goto properties, hit the link
> > No dice.
> >
> > But it?s also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn?t accounted for in the wizard window?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Smith, John
> > Sent: 07 December 2012 11:41
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > You have to make it public in the workspace before it?s accessible ?
> > well that?s what I?ve always had to do?
> >
> > Publish in the editor doesn?t appear to do much unless you set the
> > access level?
> >
> > Regards,
> >
> > John Smith
> > Learning Technologist
> > School of Health & Life Sciences
> > Glasgow Caledonian University
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: Friday, December 07, 2012 11:37 AM
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Ah, it?s working now.
> >
> > It only works after you?ve published the file from the workspace button.
> >
> > I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
> >
> > Any idea what makes the two publishes different?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:30
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Dunno.
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Pat Lockley
> > Sent: 07 December 2012 11:29
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Does xampp use htaccess by default?
> >
> > On 7 Dec 2012, at 11:28, Julian Tenney > wrote:
> > Sorry the path and file are in the right place, but I get a blank
> > screen when I try and CTRL-play for preview, or when I click the link
> > in properties
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:25
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
> >
> > There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
> >
> > Do I move the file (where is it?) or change the link(to point to ?)
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:17
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] 1.9 zip
> >
> > Is there anything in the svn that I shouldn?t include in the zip?
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > Glasgow Caledonian University is a registered Scottish charity, number
> > SC021474
> >
> > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> > 219,en.html
> >
> > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> > 5691,en.html _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > 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
> > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
> >
> > This message has been checked for viruses but the contents of an
> > attachment may still contain software viruses which could damage your computer system:
> > you are advised to perform your own checks. Email communications with
> > the University of Nottingham may be monitored as permitted by UK legislation.
> 
> _______________________________________________
> 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
> 
>  
> 
> 
> 
> 
> 
> _______________________________________________
> 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: 

From ronm at mitchellmedia.co.uk  Tue Dec 11 09:10:55 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Tue, 11 Dec 2012 09:10:55 -0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>		<019701cdd6e7$43c229c0$cb467d40$@co.uk>		<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>		<01f001cdd704$1e42aea0$5ac80be0$@co.uk>		<020701cdd713$debe5b20$9c3b1160$@co.uk>
	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>
Message-ID: <002401cdd77f$6e0ff390$4a2fdab0$@co.uk>

Tried that but no change - project still not published upon clicking ok. Publishing manually works fine.

 

But still don't get why the files would be different? Your commit: http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589  &r=589

 

has the four temp_array[0] and you're saying that file is working for you? Or did something go wrong with the commit?

 

Going to be offline for at least a few hours now so perhaps someone else can have a look.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 22:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

No idea - all four temp arrays need to be replaced 

 

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell"  wrote:

There seems to be two occurrences of temp_array[0] 

http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589  &r=589

 

Do both need changing or just one?

How come this works for you if same version?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Ok one of the queries has a ref to temp_array[0] in still

 

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell"  wrote:

do these help?

 

$query_for_play_content_strip

 

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

 

$query_for_play_content

 

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="C:

mpphtdocs
rtetoolkits/USER" and role="creator"

 

 

$query_for_play_content_response

 

Resource id #20

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

 

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell  wrote:

Sorry what query? In what file?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Ok, so for you, the query doesn't work.

echo out the query and see what it is

 

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell  wrote:

I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Pah, 

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works).

Pat

 

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell  wrote:

Hi Pat

are you sure about the db name?

 

as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt

 

Testing the publishing options with a clean xampp install...

 

I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE?

 

But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing.

 

HTH

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: 10 December 2012 14:12


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it

 

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell  wrote:

testing locally with guest access and no integration_config_path set...


Create project
Add a page
Preview (so the file is save)

Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted
If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?



-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney  wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney > wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney > wrote:
> It?s a bit more than that. Here?s what I?m doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish ? say yes
> Goto properties, hit the link
> No dice.
>
> But it?s also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn?t accounted for in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it?s accessible ?
> well that?s what I?ve always had to do?
>
> Publish in the editor doesn?t appear to do much unless you set the
> access level?
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it?s working now.
>
> It only works after you?ve published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney > wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
>
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn?t include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk 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
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK legislation.

_______________________________________________
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

 








_______________________________________________
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: 

From patrick.lockley at googlemail.com  Tue Dec 11 09:30:20 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Tue, 11 Dec 2012 09:30:20 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <002401cdd77f$6e0ff390$4a2fdab0$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	
	<019701cdd6e7$43c229c0$cb467d40$@co.uk>
	
	<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
	
	<01f001cdd704$1e42aea0$5ac80be0$@co.uk>
	
	<020701cdd713$debe5b20$9c3b1160$@co.uk>
	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>
	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>
Message-ID: 

Look at the top, there is a conditional which means temp array is sometimes created and sometimes not

So some cases will need it and some won't

On 11 Dec 2012, at 09:10, "Ron Mitchell"  wrote:

> Tried that but no change - project still not published upon clicking ok. Publishing manually works fine.
>  
> But still don't get why the files would be different? Your commit: http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589
>  
> has the four temp_array[0] and you're saying that file is working for you? Or did something go wrong with the commit?
>  
> Going to be offline for at least a few hours now so perhaps someone else can have a look.
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 22:15
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> No idea - all four temp arrays need to be replaced 
>  
> As long as it is temp_array[0]
> 
> On 10 Dec 2012, at 20:20, "Ron Mitchell"  wrote:
> 
> There seems to be two occurrences of temp_array[0]
> http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589
>  
> Do both need changing or just one?
> How come this works for you if same version?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 18:28
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Ok one of the queries has a ref to temp_array[0] in still
>  
> Replace with $template_id
> 
> On 10 Dec 2012, at 18:28, "Ron Mitchell"  wrote:
> 
> do these help?
>  
> $query_for_play_content_strip
>  
> select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"
>  
> $query_for_play_content
>  
> select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="C:
> mpphtdocs
> rtetoolkits/USER" and role="creator"
>  
>  
> $query_for_play_content_response
>  
> Resource id #20
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 17:58
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> website_code/php/versioncontrol/update_file.php
> 
> there will be a variable called query or something query
>  
> 
> On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell  wrote:
> Sorry what query? In what file?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 16:03
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Ok, so for you, the query doesn't work.
> 
> echo out the query and see what it is
>  
> 
> On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell  wrote:
> I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 14:27
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Pah, 
> 
> It's been two years, but maybe that's my instinctive name for all things XOT
> 
> Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works).
> 
> Pat
>  
> 
> On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell  wrote:
> Hi Pat
> are you sure about the db name?
>  
> as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt
>  
> Testing the publishing options with a clean xampp install...
>  
> I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE?
>  
> But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing.
>  
> HTH
> 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: 10 December 2012 14:12
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> xertetoolkits
> 
> mine is a fresh xampp and it works
> 
> it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it
>  
> 
> On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell  wrote:
> testing locally with guest access and no integration_config_path set...
> 
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted
> If I publish manually all is fine.
> 
> I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?
> 
> 
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 10 December 2012 11:15
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> It still doesn't work:
> 
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).
> 
> I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?
> 
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 22:37
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> Not sure why it would break but adding database connect in seemed to fix it
> 
> On 7 Dec 2012, at 22:21, Julian Tenney  wrote:
> 
> > thanks mate, I'll test on Monday,
> > ________________________________________
> > From: xerte-dev-bounces at lists.nottingham.ac.uk
> > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> > [patrick.lockley at googlemail.com]
> > Sent: 07 December 2012 19:22
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > fixed in moodle (both files in version control folder)
> >
> > Please test
> >
> >
> > On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney > wrote:
> > It works from the publish buttons. Just not on the on close trapper
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk>
> > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk > ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
> >
> > Sent: 07 December 2012 12:06
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > I think I assumed all publishing went through one file, but that's not
> > the case. Am on holiday but can poke around later on
> >
> > So publishing when closing
> > And
> > Publishing Inside xerte
> >
> > On 7 Dec 2012, at 11:55, Julian Tenney > wrote:
> > It?s a bit more than that. Here?s what I?m doing:
> >
> > Create project
> > Got to properties, make it public
> > Goto wizard edit something
> > Close editor
> > Prompted to publish ? say yes
> > Goto properties, hit the link
> > No dice.
> >
> > But it?s also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn?t accounted for in the wizard window?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Smith, John
> > Sent: 07 December 2012 11:41
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > You have to make it public in the workspace before it?s accessible ?
> > well that?s what I?ve always had to do?
> >
> > Publish in the editor doesn?t appear to do much unless you set the
> > access level?
> >
> > Regards,
> >
> > John Smith
> > Learning Technologist
> > School of Health & Life Sciences
> > Glasgow Caledonian University
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: Friday, December 07, 2012 11:37 AM
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Ah, it?s working now.
> >
> > It only works after you?ve published the file from the workspace button.
> >
> > I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
> >
> > Any idea what makes the two publishes different?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:30
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Dunno.
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Pat Lockley
> > Sent: 07 December 2012 11:29
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Does xampp use htaccess by default?
> >
> > On 7 Dec 2012, at 11:28, Julian Tenney > wrote:
> > Sorry the path and file are in the right place, but I get a blank
> > screen when I try and CTRL-play for preview, or when I click the link
> > in properties
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:25
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
> >
> > There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
> >
> > Do I move the file (where is it?) or change the link(to point to ?)
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:17
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] 1.9 zip
> >
> > Is there anything in the svn that I shouldn?t include in the zip?
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > Glasgow Caledonian University is a registered Scottish charity, number
> > SC021474
> >
> > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> > 219,en.html
> >
> > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> > 5691,en.html _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > 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
> > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
> >
> > This message has been checked for viruses but the contents of an
> > attachment may still contain software viruses which could damage your computer system:
> > you are advised to perform your own checks. Email communications with
> > the University of Nottingham may be monitored as permitted by UK legislation.
> 
> _______________________________________________
> 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
> 
>  
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 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: 

From J.J.Smith at gcu.ac.uk  Tue Dec 11 11:36:49 2012
From: J.J.Smith at gcu.ac.uk (Smith, John)
Date: Tue, 11 Dec 2012 11:36:49 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	
	<019701cdd6e7$43c229c0$cb467d40$@co.uk>
	
	<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
	
	<01f001cdd704$1e42aea0$5ac80be0$@co.uk>
	
	<020701cdd713$debe5b20$9c3b1160$@co.uk>
	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>
	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>
	
Message-ID: 

Hi all,

Correct me if I?m wrong but if you made a change in the editor and then closed the window without Publishing you used to get a popup? I?m not getting that at all now at latest revision. Closing the window doesn?t give me any popup and the changes are lost now. Anyone else seeing this?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Tuesday, December 11, 2012 9:30 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Look at the top, there is a conditional which means temp array is sometimes created and sometimes not

So some cases will need it and some won't

On 11 Dec 2012, at 09:10, "Ron Mitchell" > wrote:
Tried that but no change - project still not published upon clicking ok. Publishing manually works fine.

But still don't get why the files would be different? Your commit: http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589

has the four temp_array[0] and you're saying that file is working for you? Or did something go wrong with the commit?

Going to be offline for at least a few hours now so perhaps someone else can have a look.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 22:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

No idea - all four temp arrays need to be replaced

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell" > wrote:
There seems to be two occurrences of temp_array[0]
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589

Do both need changing or just one?
How come this works for you if same version?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok one of the queries has a ref to temp_array[0] in still

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell" > wrote:
do these help?

$query_for_play_content_strip

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

$query_for_play_content

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="C:
mpphtdocs
rtetoolkits/USER" and role="creator"


$query_for_play_content_response

Resource id #20

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell > wrote:
Sorry what query? In what file?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok, so for you, the query doesn't work.

echo out the query and see what it is

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell > wrote:
I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Pah,

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works).

Pat

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell > wrote:
Hi Pat
are you sure about the db name?

as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt

Testing the publishing options with a clean xampp install...

I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE?

But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing.

HTH
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: 10 December 2012 14:12

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell > wrote:
testing locally with guest access and no integration_config_path set...

Create project
Add a page
Preview (so the file is save)
Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted
If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?


-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney > wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney >> wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk
> ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney >> wrote:
> It?s a bit more than that. Here?s what I?m doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish ? say yes
> Goto properties, hit the link
> No dice.
>
> But it?s also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn?t accounted for in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it?s accessible ?
> well that?s what I?ve always had to do?
>
> Publish in the editor doesn?t appear to do much unless you set the
> access level?
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it?s working now.
>
> It only works after you?ve published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney >> wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
>
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn?t include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> 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
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK legislation.

_______________________________________________
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







_______________________________________________
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



Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From Julian.Tenney at nottingham.ac.uk  Tue Dec 11 11:49:42 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Tue, 11 Dec 2012 11:49:42 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	
	<019701cdd6e7$43c229c0$cb467d40$@co.uk>
	
	<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
	
	<01f001cdd704$1e42aea0$5ac80be0$@co.uk>
	
	<020701cdd713$debe5b20$9c3b1160$@co.uk>
	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>
	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>
	,
	
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48BC799A@EXCHANGE1.ad.nottingham.ac.uk>

you mean thefile isn't gettng saved? THat happens on prevew, that's always been the case. SO if you haven't previewed, the file won't save, but you should be prompted if the file has been saved, to pubish those cahnges..?
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John [J.J.Smith at gcu.ac.uk]
Sent: 11 December 2012 11:36
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Hi all,

Correct me if I?m wrong but if you made a change in the editor and then closed the window without Publishing you used to get a popup? I?m not getting that at all now at latest revision. Closing the window doesn?t give me any popup and the changes are lost now. Anyone else seeing this?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Tuesday, December 11, 2012 9:30 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Look at the top, there is a conditional which means temp array is sometimes created and sometimes not

So some cases will need it and some won't

On 11 Dec 2012, at 09:10, "Ron Mitchell" > wrote:
Tried that but no change - project still not published upon clicking ok. Publishing manually works fine.

But still don't get why the files would be different? Your commit: http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589

has the four temp_array[0] and you're saying that file is working for you? Or did something go wrong with the commit?

Going to be offline for at least a few hours now so perhaps someone else can have a look.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 22:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

No idea - all four temp arrays need to be replaced

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell" > wrote:
There seems to be two occurrences of temp_array[0]
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589

Do both need changing or just one?
How come this works for you if same version?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok one of the queries has a ref to temp_array[0] in still

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell" > wrote:
do these help?

$query_for_play_content_strip

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

$query_for_play_content

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="C:
mpphtdocs
rtetoolkits/USER" and role="creator"


$query_for_play_content_response

Resource id #20

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell > wrote:
Sorry what query? In what file?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok, so for you, the query doesn't work.

echo out the query and see what it is

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell > wrote:
I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Pah,

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works).

Pat

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell > wrote:
Hi Pat
are you sure about the db name?

as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt

Testing the publishing options with a clean xampp install...

I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE?

But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing.

HTH
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: 10 December 2012 14:12

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell > wrote:
testing locally with guest access and no integration_config_path set...

Create project
Add a page
Preview (so the file is save)
Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted
If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?


-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney > wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney >> wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk
> ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney >> wrote:
> It?s a bit more than that. Here?s what I?m doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish ? say yes
> Goto properties, hit the link
> No dice.
>
> But it?s also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn?t accounted for in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it?s accessible ?
> well that?s what I?ve always had to do?
>
> Publish in the editor doesn?t appear to do much unless you set the
> access level?
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it?s working now.
>
> It only works after you?ve published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney >> wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
>
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn?t include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> 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
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK legislation.

_______________________________________________
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







_______________________________________________
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



Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


From J.J.Smith at gcu.ac.uk  Tue Dec 11 11:55:49 2012
From: J.J.Smith at gcu.ac.uk (Smith, John)
Date: Tue, 11 Dec 2012 11:55:49 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48BC799A@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	
	<019701cdd6e7$43c229c0$cb467d40$@co.uk>
	
	<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
	
	<01f001cdd704$1e42aea0$5ac80be0$@co.uk>
	
	<020701cdd713$debe5b20$9c3b1160$@co.uk>
	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>
	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>
	,
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC799A@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

Nah, I created a test LO, made it public, published it, made a change and then published it again.

Then edited it again, made another change and just closed the window. Didn't prompt and didn't save so changes were lost when I re-edited...

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University


-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Tuesday, December 11, 2012 11:50 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

you mean thefile isn't gettng saved? THat happens on prevew, that's always been the case. SO if you haven't previewed, the file won't save, but you should be prompted if the file has been saved, to pubish those cahnges..?
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John [J.J.Smith at gcu.ac.uk]
Sent: 11 December 2012 11:36
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Hi all,

Correct me if I?m wrong but if you made a change in the editor and then closed the window without Publishing you used to get a popup? I?m not getting that at all now at latest revision. Closing the window doesn?t give me any popup and the changes are lost now. Anyone else seeing this?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Tuesday, December 11, 2012 9:30 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Look at the top, there is a conditional which means temp array is sometimes created and sometimes not

So some cases will need it and some won't

On 11 Dec 2012, at 09:10, "Ron Mitchell" > wrote:
Tried that but no change - project still not published upon clicking ok. Publishing manually works fine.

But still don't get why the files would be different? Your commit: http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589

has the four temp_array[0] and you're saying that file is working for you? Or did something go wrong with the commit?

Going to be offline for at least a few hours now so perhaps someone else can have a look.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 22:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

No idea - all four temp arrays need to be replaced

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell" > wrote:
There seems to be two occurrences of temp_array[0]
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589

Do both need changing or just one?
How come this works for you if same version?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok one of the queries has a ref to temp_array[0] in still

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell" > wrote:
do these help?

$query_for_play_content_strip

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

$query_for_play_content

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="C:
mpphtdocs
rtetoolkits/USER" and role="creator"


$query_for_play_content_response

Resource id #20

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell > wrote:
Sorry what query? In what file?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok, so for you, the query doesn't work.

echo out the query and see what it is

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell > wrote:
I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Pah,

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works).

Pat

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell > wrote:
Hi Pat
are you sure about the db name?

as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt

Testing the publishing options with a clean xampp install...

I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE?

But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing.

HTH
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: 10 December 2012 14:12

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell > wrote:
testing locally with guest access and no integration_config_path set...

Create project
Add a page
Preview (so the file is save)
Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?


-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney > wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk>
> [xerte-dev-bounces at lists.nottingham.ac.uk ts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com
> ]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney >> wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk> n> ces at lists.nottingham.ac.uk>] On
> Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney >> wrote:
> It?s a bit more than that. Here?s what I?m doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish ? say yes
> Goto properties, hit the link
> No dice.
>
> But it?s also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn?t accounted for in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it?s accessible ?
> well that?s what I?ve always had to do?
>
> Publish in the editor doesn?t appear to do much unless you set the
> access level?
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it?s working now.
>
> It only works after you?ve published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney >> wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
>
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn?t include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK legislation.

_______________________________________________
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







_______________________________________________
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



Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html

From ronm at mitchellmedia.co.uk  Tue Dec 11 12:02:01 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Tue, 11 Dec 2012 12:02:01 -0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48BC799A@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>		<019701cdd6e7$43c229c0$cb467d40$@co.uk>		<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>		<01f001cdd704$1e42aea0$5ac80be0$@co.uk>		<020701cdd713$debe5b20$9c3b1160$@co.uk>	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>	,
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC799A@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: <006101cdd797$551a8f90$ff4faeb0$@co.uk>

Also John what browser are you using?

I get prompted to publish with all browsers but IE 9. Although clicking OK
doesn't publish the changes. :-(

I suspect the problem with IE is because I get a window_reference error with
IE upon closing the editor and I'm not sure if that's local to my setup or
happens for others too?

You'll see from my exchanges with Pat I don't understand why the publish is
working for Pat and not us or why there are differences between
update_file.php

http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589&r=589

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 11 December 2012 11:50
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

you mean thefile isn't gettng saved? THat happens on prevew, that's always
been the case. SO if you haven't previewed, the file won't save, but you
should be prompted if the file has been saved, to pubish those cahnges..?
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk
[xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
[J.J.Smith at gcu.ac.uk]
Sent: 11 December 2012 11:36
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Hi all,

Correct me if I'm wrong but if you made a change in the editor and then
closed the window without Publishing you used to get a popup? I'm not
getting that at all now at latest revision. Closing the window doesn't give
me any popup and the changes are lost now. Anyone else seeing this?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Tuesday, December 11, 2012 9:30 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Look at the top, there is a conditional which means temp array is sometimes
created and sometimes not

So some cases will need it and some won't

On 11 Dec 2012, at 09:10, "Ron Mitchell"
> wrote:
Tried that but no change - project still not published upon clicking ok.
Publishing manually works fine.

But still don't get why the files would be different? Your commit:
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589&r=589

has the four temp_array[0] and you're saying that file is working for you?
Or did something go wrong with the commit?

Going to be offline for at least a few hours now so perhaps someone else can
have a look.

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: 10 December 2012 22:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

No idea - all four temp arrays need to be replaced

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell"
> wrote:
There seems to be two occurrences of temp_array[0]
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589&r=589

Do both need changing or just one?
How come this works for you if same version?

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok one of the queries has a ref to temp_array[0] in still

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell"
> wrote:
do these help?

$query_for_play_content_strip

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

$query_for_play_content

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="C:
mpphtdocs
rtetoolkits/USER" and role="creator"


$query_for_play_content_response

Resource id #20

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell
> wrote:
Sorry what query? In what file?

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok, so for you, the query doesn't work.

echo out the query and see what it is

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell
> wrote:
I tested with a brand new svn update and export and a clean install using
the xampp option so not sure why we're seeing different things. I truned on
debugging and upon clicking ok to publish changes got the attached. Does
that help?

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Pah,

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see
where it gets too. Easiest way to debug (it's all I'd do, but mine err,
works).

Pat

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell
> wrote:
Hi Pat
are you sure about the db name?

as far as I can see when using the quick xampp install option the db created
is called toolkits_data as defines in \setup\xampp_database.txt

Testing the publishing options with a clean xampp install...

I get the prompt whether to publish with Chrome, Safari and FF but not IE.
Possibly because I still get the window_reference error when using IE.
Perhaps specific to my local IE?

But as Julian reported even when clicking ok to publish the changes aren't
published until manually publishing.

HTH
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: 10 December 2012 14:12

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can
add echo "HELLO" to your heart's content to debug it

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell
> wrote:
testing locally with guest access and no integration_config_path set...

Create project
Add a page
Preview (so the file is save)
Quit the wizard - I don't get prompted to publish at all even with the
latest change Pat comitted If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install
option what's the name of the db that gets created is it toolkits?


-----Original Message-----
From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make
access public Hit the URL. Nothing until I publish from a button somewhere
(workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm
not so concerned about the html5 side of this not working, but previously
working functionality doesn't work anymore. Maybe this isn't such a
dealbreaker, perhaps we should disable the prompt and force a manual
publish?

-----Original Message-----
From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney
>
wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: 
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> 
> [xerte-dev-bounces at lists.nottingham.ac.uk ts.nottingham.ac.uk>] On Behalf Of Pat Lockley 
> [patrick.lockley at googlemail.com
> ]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney
>>
wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk> n> ces at lists.nottingham.ac.uk>] On 
> Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not 
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney
>>
wrote:
> It's a bit more than that. Here's what I'm doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish - say yes
> Goto properties, hit the link
> No dice.
>
> But it's also not publishing the changes for the flash verison either,so
Pats on the right lines, the modularised publish stuff isn't accounted for
in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk> 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it's accessible - 
> well that's what I've always had to do.
>
> Publish in the editor doesn't appear to do much unless you set the 
> access level.
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk> 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it's working now.
>
> It only works after you've published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I
wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk> 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk> 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney
>>
wrote:
> Sorry the path and file are in the right place, but I get a blank 
> screen when I try and CTRL-play for preview, or when I click the link 
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk> 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can't
preview it on the link in the properties panel, i.e. this link doesn't work.
>
> There is no xenith.js at
modules/xerte/parent_templates/Nottingham/common_html5, which is where
play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk> 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn't include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an 
> attachment may still contain software viruses which could damage your
computer system:
> you are advised to perform your own checks. Email communications with 
> the University of Nottingham may be monitored as permitted by UK
legislation.

_______________________________________________
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







_______________________________________________
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



Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



From J.J.Smith at gcu.ac.uk  Tue Dec 11 13:28:37 2012
From: J.J.Smith at gcu.ac.uk (Smith, John)
Date: Tue, 11 Dec 2012 13:28:37 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <006101cdd797$551a8f90$ff4faeb0$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	
	<019701cdd6e7$43c229c0$cb467d40$@co.uk>
	
	<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
	
	<01f001cdd704$1e42aea0$5ac80be0$@co.uk>
	
	<020701cdd713$debe5b20$9c3b1160$@co.uk>
	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>
	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>
	,
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC799A@EXCHANGE1.ad.nottingham.ac.uk>
	<006101cdd797$551a8f90$ff4faeb0$@co.uk>
Message-ID: 

I'm using Chrome... and xampp and don't get the popup in Chrome or in IE... I'm up to date at R589

In IE the window_reference error doesn't show either...

This is bizzare

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University


-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: Tuesday, December 11, 2012 12:02 PM
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

Also John what browser are you using?

I get prompted to publish with all browsers but IE 9. Although clicking OK doesn't publish the changes. :-(

I suspect the problem with IE is because I get a window_reference error with IE upon closing the editor and I'm not sure if that's local to my setup or happens for others too?

You'll see from my exchanges with Pat I don't understand why the publish is working for Pat and not us or why there are differences between update_file.php

http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589&r=589

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 11 December 2012 11:50
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

you mean thefile isn't gettng saved? THat happens on prevew, that's always been the case. SO if you haven't previewed, the file won't save, but you should be prompted if the file has been saved, to pubish those cahnges..?
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk
[xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John [J.J.Smith at gcu.ac.uk]
Sent: 11 December 2012 11:36
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Hi all,

Correct me if I'm wrong but if you made a change in the editor and then closed the window without Publishing you used to get a popup? I'm not getting that at all now at latest revision. Closing the window doesn't give me any popup and the changes are lost now. Anyone else seeing this?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Tuesday, December 11, 2012 9:30 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Look at the top, there is a conditional which means temp array is sometimes created and sometimes not

So some cases will need it and some won't

On 11 Dec 2012, at 09:10, "Ron Mitchell"
> wrote:
Tried that but no change - project still not published upon clicking ok.
Publishing manually works fine.

But still don't get why the files would be different? Your commit:
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589&r=589

has the four temp_array[0] and you're saying that file is working for you?
Or did something go wrong with the commit?

Going to be offline for at least a few hours now so perhaps someone else can have a look.

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 22:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

No idea - all four temp arrays need to be replaced

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell"
> wrote:
There seems to be two occurrences of temp_array[0] http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589&r=589

Do both need changing or just one?
How come this works for you if same version?

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok one of the queries has a ref to temp_array[0] in still

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell"
> wrote:
do these help?

$query_for_play_content_strip

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

$query_for_play_content

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and
templaterights.template_id="C:
mpphtdocs
rtetoolkits/USER" and role="creator"


$query_for_play_content_response

Resource id #20

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell > wrote:
Sorry what query? In what file?

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok, so for you, the query doesn't work.

echo out the query and see what it is

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell > wrote:
I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help?

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Pah,

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works).

Pat

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell > wrote:
Hi Pat
are you sure about the db name?

as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt

Testing the publishing options with a clean xampp install...

I get the prompt whether to publish with Chrome, Safari and FF but not IE.
Possibly because I still get the window_reference error when using IE.
Perhaps specific to my local IE?

But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing.

HTH
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: 10 December 2012 14:12

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell > wrote:
testing locally with guest access and no integration_config_path set...

Create project
Add a page
Preview (so the file is save)
Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?


-----Original Message-----
From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?

-----Original Message-----
From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney
>
wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk>
> [xerte-dev-bounces at lists.nottingham.ac.uk ts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com
> ]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney
>>
wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk> n> ces at lists.nottingham.ac.uk>] On
> Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney
>>
wrote:
> It's a bit more than that. Here's what I'm doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish - say yes
> Goto properties, hit the link
> No dice.
>
> But it's also not publishing the changes for the flash verison
> either,so
Pats on the right lines, the modularised publish stuff isn't accounted for in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it's accessible -
> well that's what I've always had to do.
>
> Publish in the editor doesn't appear to do much unless you set the
> access level.
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it's working now.
>
> It only works after you've published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I
wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney
>>
wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I
> can't
preview it on the link in the properties panel, i.e. this link doesn't work.
>
> There is no xenith.js at
modules/xerte/parent_templates/Nottingham/common_html5, which is where
play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn't include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of
> the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> This message and any attachment are intended solely for the addressee
> and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK
legislation.

_______________________________________________
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







_______________________________________________
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



Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html

From patrick.lockley at googlemail.com  Tue Dec 11 14:02:28 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Tue, 11 Dec 2012 14:02:28 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <006101cdd797$551a8f90$ff4faeb0$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	
	<019701cdd6e7$43c229c0$cb467d40$@co.uk>
	
	<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
	
	<01f001cdd704$1e42aea0$5ac80be0$@co.uk>
	
	<020701cdd713$debe5b20$9c3b1160$@co.uk>
	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>
	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>
	
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC799A@EXCHANGE1.ad.nottingham.ac.uk>
	<006101cdd797$551a8f90$ff4faeb0$@co.uk>
Message-ID: <32A800D7-082F-4C47-82C0-381521F3D403@googlemail.com>

Don't worry about why it works for me

Add echos into update_file to see where it gets too

Then work backwards from there

On 11 Dec 2012, at 12:02, "Ron Mitchell"  wrote:

> Also John what browser are you using?
> 
> I get prompted to publish with all browsers but IE 9. Although clicking OK
> doesn't publish the changes. :-(
> 
> I suspect the problem with IE is because I get a window_reference error with
> IE upon closing the editor and I'm not sure if that's local to my setup or
> happens for others too?
> 
> You'll see from my exchanges with Pat I don't understand why the publish is
> working for Pat and not us or why there are differences between
> update_file.php
> 
> http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
> e/php/versioncontrol/update_file.php?spec=svn589&r=589
> 
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 11 December 2012 11:50
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> you mean thefile isn't gettng saved? THat happens on prevew, that's always
> been the case. SO if you haven't previewed, the file won't save, but you
> should be prompted if the file has been saved, to pubish those cahnges..?
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
> [J.J.Smith at gcu.ac.uk]
> Sent: 11 December 2012 11:36
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> Hi all,
> 
> Correct me if I'm wrong but if you made a change in the editor and then
> closed the window without Publishing you used to get a popup? I'm not
> getting that at all now at latest revision. Closing the window doesn't give
> me any popup and the changes are lost now. Anyone else seeing this?
> 
> Regards,
> 
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
> 
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: Tuesday, December 11, 2012 9:30 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> Look at the top, there is a conditional which means temp array is sometimes
> created and sometimes not
> 
> So some cases will need it and some won't
> 
> On 11 Dec 2012, at 09:10, "Ron Mitchell"
> > wrote:
> Tried that but no change - project still not published upon clicking ok.
> Publishing manually works fine.
> 
> But still don't get why the files would be different? Your commit:
> http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
> e/php/versioncontrol/update_file.php?spec=svn589&r=589
> 
> has the four temp_array[0] and you're saying that file is working for you?
> Or did something go wrong with the commit?
> 
> Going to be offline for at least a few hours now so perhaps someone else can
> have a look.
> 
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk ingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
> Pat Lockley
> Sent: 10 December 2012 22:15
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> No idea - all four temp arrays need to be replaced
> 
> As long as it is temp_array[0]
> 
> On 10 Dec 2012, at 20:20, "Ron Mitchell"
> > wrote:
> There seems to be two occurrences of temp_array[0]
> http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
> e/php/versioncontrol/update_file.php?spec=svn589&r=589
> 
> Do both need changing or just one?
> How come this works for you if same version?
> 
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk ingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
> Pat Lockley
> Sent: 10 December 2012 18:28
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> Ok one of the queries has a ref to temp_array[0] in still
> 
> Replace with $template_id
> 
> On 10 Dec 2012, at 18:28, "Ron Mitchell"
> > wrote:
> do these help?
> 
> $query_for_play_content_strip
> 
> select originaltemplatesdetails.template_name, logindetails.username,
> originaltemplatesdetails.template_framework, templaterights.user_id,
> templaterights.folder, templaterights.template_id,
> templatedetails.access_to_whom from originaltemplatesdetails,
> templaterights, templatedetails, logindetails where
> templatedetails.template_type_id = originaltemplatesdetails.template_type_id
> and templatedetails.creator_id = logindetails.login_id and
> templaterights.template_id = templatedetails.template_id and
> templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"
> 
> $query_for_play_content
> 
> select originaltemplatesdetails.template_name, logindetails.username,
> originaltemplatesdetails.template_framework, templaterights.user_id,
> templaterights.folder, templaterights.template_id,
> templatedetails.access_to_whom from originaltemplatesdetails,
> templaterights, templatedetails, logindetails where
> templatedetails.template_type_id = originaltemplatesdetails.template_type_id
> and templatedetails.creator_id = logindetails.login_id and
> templaterights.template_id = templatedetails.template_id and
> templaterights.template_id="C:
> mpphtdocs
> rtetoolkits/USER" and role="creator"
> 
> 
> $query_for_play_content_response
> 
> Resource id #20
> 
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk ingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
> Pat Lockley
> Sent: 10 December 2012 17:58
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> website_code/php/versioncontrol/update_file.php
> 
> there will be a variable called query or something query
> 
> On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell
> > wrote:
> Sorry what query? In what file?
> 
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk ingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk sts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> Sent: 10 December 2012 16:03
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> Ok, so for you, the query doesn't work.
> 
> echo out the query and see what it is
> 
> On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell
> > wrote:
> I tested with a brand new svn update and export and a clean install using
> the xampp option so not sure why we're seeing different things. I truned on
> debugging and upon clicking ok to publish changes got the attached. Does
> that help?
> 
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk ingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk sts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> Sent: 10 December 2012 14:27
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> Pah,
> 
> It's been two years, but maybe that's my instinctive name for all things XOT
> 
> Well it works here on my XAMPP, but start putting echos in the code to see
> where it gets too. Easiest way to debug (it's all I'd do, but mine err,
> works).
> 
> Pat
> 
> On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell
> > wrote:
> Hi Pat
> are you sure about the db name?
> 
> as far as I can see when using the quick xampp install option the db created
> is called toolkits_data as defines in \setup\xampp_database.txt
> 
> Testing the publishing options with a clean xampp install...
> 
> I get the prompt whether to publish with Chrome, Safari and FF but not IE.
> Possibly because I still get the window_reference error when using IE.
> Perhaps specific to my local IE?
> 
> But as Julian reported even when clicking ok to publish the changes aren't
> published until manually publishing.
> 
> HTH
> Ron
> 
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk ingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk sts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> Sent: 10 December 2012 14:12
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> xertetoolkits
> 
> mine is a fresh xampp and it works
> 
> it's both files in versioncontrol and the response is alerted out so you can
> add echo "HELLO" to your heart's content to debug it
> 
> On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell
> > wrote:
> testing locally with guest access and no integration_config_path set...
> 
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - I don't get prompted to publish at all even with the
> latest change Pat comitted If I publish manually all is fine.
> 
> I'll test a clean install via xampp... If using the quick xampp install
> option what's the name of the db that gets created is it toolkits?
> 
> 
> -----Original Message-----
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk ingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk sts.nottingham.ac.uk>] On Behalf Of Julian Tenney
> Sent: 10 December 2012 11:15
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> It still doesn't work:
> 
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - prompted to publish - say yes Go to properties, make
> access public Hit the URL. Nothing until I publish from a button somewhere
> (workspace or wizard).
> 
> I think I'm going to put it out anyway, unless anyone can fix it today. I'm
> not so concerned about the html5 side of this not working, but previously
> working functionality doesn't work anymore. Maybe this isn't such a
> dealbreaker, perhaps we should disable the prompt and force a manual
> publish?
> 
> -----Original Message-----
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk ingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk sts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> Sent: 07 December 2012 22:37
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> Not sure why it would break but adding database connect in seemed to fix it
> 
> On 7 Dec 2012, at 22:21, Julian Tenney
> >
> wrote:
> 
>> thanks mate, I'll test on Monday,
>> ________________________________________
>> From: 
>> xerte-dev-bounces at lists.nottingham.ac.uk> s.nottingham.ac.uk> 
>> [xerte-dev-bounces at lists.nottingham.ac.uk> ts.nottingham.ac.uk>] On Behalf Of Pat Lockley 
>> [patrick.lockley at googlemail.com
>> ]
>> Sent: 07 December 2012 19:22
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: 1.9 zip
>> 
>> fixed in moodle (both files in version control folder)
>> 
>> Please test
>> 
>> 
>> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney
>  o:Julian.Tenney at nottingham.ac.uk>>
> wrote:
>> It works from the publish buttons. Just not on the on close trapper
>> 
>> From:
>> xerte-dev-bounces at lists.nottingham.ac.uk> s.nottingham.ac.uk>> nces at list> s.nottingham.ac.uk>
>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk> ces at lists.nottingham.ac.uk>> n> ces at lists.nottingham.ac.uk>] On 
>> Behalf Of Pat Lockley
>> 
>> Sent: 07 December 2012 12:06
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: 1.9 zip
>> 
>> I think I assumed all publishing went through one file, but that's not 
>> the case. Am on holiday but can poke around later on
>> 
>> So publishing when closing
>> And
>> Publishing Inside xerte
>> 
>> On 7 Dec 2012, at 11:55, Julian Tenney
>  o:Julian.Tenney at nottingham.ac.uk>>
> wrote:
>> It's a bit more than that. Here's what I'm doing:
>> 
>> Create project
>> Got to properties, make it public
>> Goto wizard edit something
>> Close editor
>> Prompted to publish - say yes
>> Goto properties, hit the link
>> No dice.
>> 
>> But it's also not publishing the changes for the flash verison either,so
> Pats on the right lines, the modularised publish stuff isn't accounted for
> in the wizard window?
>> 
>> From:
>> xerte-dev-bounces at lists.nottingham.ac.uk> s.nottingham.ac.uk>> nces at list> s.nottingham.ac.uk> 
>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk> ces at lists.nottingham.ac.uk>]
>> On Behalf Of Smith, John
>> Sent: 07 December 2012 11:41
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: 1.9 zip
>> 
>> You have to make it public in the workspace before it's accessible - 
>> well that's what I've always had to do.
>> 
>> Publish in the editor doesn't appear to do much unless you set the 
>> access level.
>> 
>> Regards,
>> 
>> John Smith
>> Learning Technologist
>> School of Health & Life Sciences
>> Glasgow Caledonian University
>> 
>> From:
>> xerte-dev-bounces at lists.nottingham.ac.uk> s.nottingham.ac.uk>> nces at list> s.nottingham.ac.uk> 
>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk> ces at lists.nottingham.ac.uk>]
>> On Behalf Of Julian Tenney
>> Sent: Friday, December 07, 2012 11:37 AM
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: 1.9 zip
>> 
>> Ah, it's working now.
>> 
>> It only works after you've published the file from the workspace button.
>> 
>> I published from the wizard button (when it closed and asked me if I
> wanted to) but had to publish from the workspace before the link worked.
>> 
>> Any idea what makes the two publishes different?
>> 
>> From:
>> xerte-dev-bounces at lists.nottingham.ac.uk> s.nottingham.ac.uk>> nces at list> s.nottingham.ac.uk> 
>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk> ces at lists.nottingham.ac.uk>]
>> On Behalf Of Julian Tenney
>> Sent: 07 December 2012 11:30
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: 1.9 zip
>> 
>> Dunno.
>> 
>> From:
>> xerte-dev-bounces at lists.nottingham.ac.uk> s.nottingham.ac.uk>> nces at list> s.nottingham.ac.uk> 
>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk> ces at lists.nottingham.ac.uk>]
>> On Behalf Of Pat Lockley
>> Sent: 07 December 2012 11:29
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: 1.9 zip
>> 
>> Does xampp use htaccess by default?
>> 
>> On 7 Dec 2012, at 11:28, Julian Tenney
>  o:Julian.Tenney at nottingham.ac.uk>>
> wrote:
>> Sorry the path and file are in the right place, but I get a blank 
>> screen when I try and CTRL-play for preview, or when I click the link 
>> in properties
>> 
>> From:
>> xerte-dev-bounces at lists.nottingham.ac.uk> s.nottingham.ac.uk>> nces at list> s.nottingham.ac.uk> 
>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk> ces at lists.nottingham.ac.uk>]
>> On Behalf Of Julian Tenney
>> Sent: 07 December 2012 11:25
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: 1.9 zip
>> 
>> When I do an xamppp setup, build simple project and publish etc, I can't
> preview it on the link in the properties panel, i.e. this link doesn't work.
>> 
>> There is no xenith.js at
> modules/xerte/parent_templates/Nottingham/common_html5, which is where
> play_html5 is trying to load it from.
>> 
>> Do I move the file (where is it?) or change the link(to point to ?)
>> 
>> From:
>> xerte-dev-bounces at lists.nottingham.ac.uk> s.nottingham.ac.uk>> nces at list> s.nottingham.ac.uk> 
>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk> ces at lists.nottingham.ac.uk>]
>> On Behalf Of Julian Tenney
>> Sent: 07 December 2012 11:17
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] 1.9 zip
>> 
>> Is there anything in the svn that I shouldn't include in the zip?
>> 
>> _______________________________________________
>> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk ilto:Xerte-dev at lists.nottingham.ac.
>> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>> 
>> Glasgow Caledonian University is a registered Scottish charity, number
>> SC021474
>> 
>> Winner: Times Higher Education's Widening Participation Initiative of the
> Year 2009 and Herald Society's Education Initiative of the Year 2009.
>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
>> 219,en.html
>> 
>> Winner: Times Higher Education's Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
>> 5691,en.html _______________________________________________
>> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk ilto: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 ilto: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> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>> This message and any attachment are intended solely for the addressee and
> may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it.   Please do not
> use, copy or disclose the information contained in this message or in any
> attachment.  Any views or opinions expressed by the author of this email do
> not necessarily reflect the views of the University of Nottingham.
>> 
>> This message has been checked for viruses but the contents of an 
>> attachment may still contain software viruses which could damage your
> computer system:
>> you are advised to perform your own checks. Email communications with 
>> the University of Nottingham may be monitored as permitted by UK
> legislation.
> 
> _______________________________________________
> 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
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 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
> 
> 
> 
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
> 
> Winner: Times Higher Education's Widening Participation Initiative of the
> Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
> .html
> 
> Winner: Times Higher Education's Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
> n.html
> 
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> This message and any attachment are intended solely for the addressee and
> may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it.   Please do not
> use, copy or disclose the information contained in this message or in any
> attachment.  Any views or opinions expressed by the author of this email do
> not necessarily reflect the views of the University of Nottingham.
> 
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
> 
> 
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
> 
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.


From patrick.lockley at googlemail.com  Tue Dec 11 13:42:01 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Tue, 11 Dec 2012 13:42:01 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	
	<019701cdd6e7$43c229c0$cb467d40$@co.uk>
	
	<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
	
	<01f001cdd704$1e42aea0$5ac80be0$@co.uk>
	
	<020701cdd713$debe5b20$9c3b1160$@co.uk>
	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>
	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>
	
	
Message-ID: <4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com>

If you don't preview then it isn't saved to preview.xml

The pop up should happen if data and preview.xml are different

On 11 Dec 2012, at 11:36, "Smith, John"  wrote:

> Hi all,
>  
> Correct me if I?m wrong but if you made a change in the editor and then closed the window without Publishing you used to get a popup? I?m not getting that at all now at latest revision. Closing the window doesn?t give me any popup and the changes are lost now. Anyone else seeing this?
>  
> Regards,
>  
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: Tuesday, December 11, 2012 9:30 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Look at the top, there is a conditional which means temp array is sometimes created and sometimes not
>  
> So some cases will need it and some won't
> 
> On 11 Dec 2012, at 09:10, "Ron Mitchell"  wrote:
> 
> Tried that but no change - project still not published upon clicking ok. Publishing manually works fine.
>  
> But still don't get why the files would be different? Your commit: http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589
>  
> has the four temp_array[0] and you're saying that file is working for you? Or did something go wrong with the commit?
>  
> Going to be offline for at least a few hours now so perhaps someone else can have a look.
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 22:15
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> No idea - all four temp arrays need to be replaced 
>  
> As long as it is temp_array[0]
> 
> On 10 Dec 2012, at 20:20, "Ron Mitchell"  wrote:
> 
> There seems to be two occurrences of temp_array[0]
> http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589
>  
> Do both need changing or just one?
> How come this works for you if same version?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 18:28
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Ok one of the queries has a ref to temp_array[0] in still
>  
> Replace with $template_id
> 
> On 10 Dec 2012, at 18:28, "Ron Mitchell"  wrote:
> 
> do these help?
>  
> $query_for_play_content_strip
>  
> select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"
>  
> $query_for_play_content
>  
> select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="C:
> mpphtdocs
> rtetoolkits/USER" and role="creator"
>  
>  
> $query_for_play_content_response
>  
> Resource id #20
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 17:58
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> website_code/php/versioncontrol/update_file.php
> 
> there will be a variable called query or something query
>  
> 
> On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell  wrote:
> Sorry what query? In what file?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 16:03
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Ok, so for you, the query doesn't work.
> 
> echo out the query and see what it is
>  
> 
> On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell  wrote:
> I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 14:27
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Pah, 
> 
> It's been two years, but maybe that's my instinctive name for all things XOT
> 
> Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works).
> 
> Pat
>  
> 
> On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell  wrote:
> Hi Pat
> are you sure about the db name?
>  
> as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt
>  
> Testing the publishing options with a clean xampp install...
>  
> I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE?
>  
> But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing.
>  
> HTH
> 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: 10 December 2012 14:12
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> xertetoolkits
> 
> mine is a fresh xampp and it works
> 
> it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it
>  
> 
> On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell  wrote:
> testing locally with guest access and no integration_config_path set...
> 
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted
> If I publish manually all is fine.
> 
> I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?
> 
> 
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 10 December 2012 11:15
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> It still doesn't work:
> 
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).
> 
> I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?
> 
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 22:37
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> Not sure why it would break but adding database connect in seemed to fix it
> 
> On 7 Dec 2012, at 22:21, Julian Tenney  wrote:
> 
> > thanks mate, I'll test on Monday,
> > ________________________________________
> > From: xerte-dev-bounces at lists.nottingham.ac.uk
> > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> > [patrick.lockley at googlemail.com]
> > Sent: 07 December 2012 19:22
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > fixed in moodle (both files in version control folder)
> >
> > Please test
> >
> >
> > On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney >  wrote:
> > It works from the publish buttons. Just not on the on close trapper
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk>
> > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk > ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
> >
> > Sent: 07 December 2012 12:06
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > I think I assumed all publishing went through one file, but that's not
> > the case. Am on holiday but can poke around later on
> >
> > So publishing when closing
> > And
> > Publishing Inside xerte
> >
> > On 7 Dec 2012, at 11:55, Julian Tenney > wrote:
> > It?s a bit more than that. Here?s what I?m doing:
> >
> > Create project
> > Got to properties, make it public
> > Goto wizard edit something
> > Close editor
> > Prompted to publish ? say yes
> > Goto properties, hit the link
> > No dice.
> >
> > But it?s also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn?t accounted for in the wizard window?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Smith, John
> > Sent: 07 December 2012 11:41
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > You have to make it public in the workspace before it?s accessible ?
> > well that?s what I?ve always had to do?
> >
> > Publish in the editor doesn?t appear to do much unless you set the
> > access level?
> >
> > Regards,
> >
> > John Smith
> > Learning Technologist
> > School of Health & Life Sciences
> > Glasgow Caledonian University
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: Friday, December 07, 2012 11:37 AM
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Ah, it?s working now.
> >
> > It only works after you?ve published the file from the workspace button.
> >
> > I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
> >
> > Any idea what makes the two publishes different?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:30
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Dunno.
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Pat Lockley
> > Sent: 07 December 2012 11:29
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Does xampp use htaccess by default?
> >
> > On 7 Dec 2012, at 11:28, Julian Tenney > wrote:
> > Sorry the path and file are in the right place, but I get a blank
> > screen when I try and CTRL-play for preview, or when I click the link
> > in properties
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:25
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
> >
> > There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
> >
> > Do I move the file (where is it?) or change the link(to point to ?)
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:17
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] 1.9 zip
> >
> > Is there anything in the svn that I shouldn?t include in the zip?
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > Glasgow Caledonian University is a registered Scottish charity, number
> > SC021474
> >
> > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> > 219,en.html
> >
> > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> > 5691,en.html _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > 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
> > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
> >
> > This message has been checked for viruses but the contents of an
> > attachment may still contain software viruses which could damage your computer system:
> > you are advised to perform your own checks. Email communications with
> > the University of Nottingham may be monitored as permitted by UK legislation.
> 
> _______________________________________________
> 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
> 
>  
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 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
> 
> 
> 
> 
> Glasgow Caledonian University is a registered Scottish charity, number SC021474
> 
> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
> 
> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
> _______________________________________________
> 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: 

From J.J.Smith at gcu.ac.uk  Tue Dec 11 15:44:11 2012
From: J.J.Smith at gcu.ac.uk (Smith, John)
Date: Tue, 11 Dec 2012 15:44:11 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	
	<019701cdd6e7$43c229c0$cb467d40$@co.uk>
	
	<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
	
	<01f001cdd704$1e42aea0$5ac80be0$@co.uk>
	
	<020701cdd713$debe5b20$9c3b1160$@co.uk>
	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>
	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>
	
	
	<4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com>
Message-ID: 

Yeah what I?m seeing is:

I make a LO, add some stuff and then click Publish.
Then I make it Public, edit it again click Publish, close and Preview  = changes are there?
Then I Edit it again, make changes but just click the close button. No popup and when I click Preview the changes are lost?

This is in both Chrome and IE and from SVN trunk, latest revision. Are you guys working from a zip copy of trunk already?

Will checkout a fresh trunk and see what happens?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Tuesday, December 11, 2012 1:42 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

If you don't preview then it isn't saved to preview.xml

The pop up should happen if data and preview.xml are different

On 11 Dec 2012, at 11:36, "Smith, John" > wrote:
Hi all,

Correct me if I?m wrong but if you made a change in the editor and then closed the window without Publishing you used to get a popup? I?m not getting that at all now at latest revision. Closing the window doesn?t give me any popup and the changes are lost now. Anyone else seeing this?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Tuesday, December 11, 2012 9:30 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Look at the top, there is a conditional which means temp array is sometimes created and sometimes not

So some cases will need it and some won't

On 11 Dec 2012, at 09:10, "Ron Mitchell" > wrote:
Tried that but no change - project still not published upon clicking ok. Publishing manually works fine.

But still don't get why the files would be different? Your commit: http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589

has the four temp_array[0] and you're saying that file is working for you? Or did something go wrong with the commit?

Going to be offline for at least a few hours now so perhaps someone else can have a look.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 22:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

No idea - all four temp arrays need to be replaced

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell" > wrote:
There seems to be two occurrences of temp_array[0]
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589

Do both need changing or just one?
How come this works for you if same version?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok one of the queries has a ref to temp_array[0] in still

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell" > wrote:
do these help?

$query_for_play_content_strip

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

$query_for_play_content

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="C:
mpphtdocs
rtetoolkits/USER" and role="creator"


$query_for_play_content_response

Resource id #20

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell > wrote:
Sorry what query? In what file?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok, so for you, the query doesn't work.

echo out the query and see what it is

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell > wrote:
I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Pah,

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works).

Pat

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell > wrote:
Hi Pat
are you sure about the db name?

as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt

Testing the publishing options with a clean xampp install...

I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE?

But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing.

HTH
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: 10 December 2012 14:12

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell > wrote:
testing locally with guest access and no integration_config_path set...

Create project
Add a page
Preview (so the file is save)
Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted
If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?


-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney > wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney >> wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk
> ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney >> wrote:
> It?s a bit more than that. Here?s what I?m doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish ? say yes
> Goto properties, hit the link
> No dice.
>
> But it?s also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn?t accounted for in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it?s accessible ?
> well that?s what I?ve always had to do?
>
> Publish in the editor doesn?t appear to do much unless you set the
> access level?
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it?s working now.
>
> It only works after you?ve published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney >> wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
>
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn?t include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> 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
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK legislation.

_______________________________________________
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








_______________________________________________
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




Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev



Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From ronm at mitchellmedia.co.uk  Tue Dec 11 16:10:17 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Tue, 11 Dec 2012 16:10:17 -0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>		<019701cdd6e7$43c229c0$cb467d40$@co.uk>		<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>		<01f001cdd704$1e42aea0$5ac80be0$@co.uk>		<020701cdd713$debe5b20$9c3b1160$@co.uk>	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>			<4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com>
	
Message-ID: <00e201cdd7ba$0957cb90$1c0762b0$@co.uk>

John

Publish saves changes to data.xml

Preview saves changes to preview.xml

Closing without first previewing or publishing always has the potential to lose changes especially now that the close + OK to publish isn't working!

 

So in terms of what has changed it's just that closing and clicking ok to publish isn't working. It's always been the case that unless you preview changes are not saved unless you manually publish or when clicking ok works.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 11 December 2012 15:44
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Yeah what I?m seeing is:

 

I make a LO, add some stuff and then click Publish.

Then I make it Public, edit it again click Publish, close and Preview  = changes are there?

Then I Edit it again, make changes but just click the close button. No popup and when I click Preview the changes are lost?

 

This is in both Chrome and IE and from SVN trunk, latest revision. Are you guys working from a zip copy of trunk already?

 

Will checkout a fresh trunk and see what happens?

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Tuesday, December 11, 2012 1:42 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

If you don't preview then it isn't saved to preview.xml

 

The pop up should happen if data and preview.xml are different

On 11 Dec 2012, at 11:36, "Smith, John"  wrote:

Hi all,

 

Correct me if I?m wrong but if you made a change in the editor and then closed the window without Publishing you used to get a popup? I?m not getting that at all now at latest revision. Closing the window doesn?t give me any popup and the changes are lost now. Anyone else seeing this?

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Tuesday, December 11, 2012 9:30 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Look at the top, there is a conditional which means temp array is sometimes created and sometimes not

 

So some cases will need it and some won't

On 11 Dec 2012, at 09:10, "Ron Mitchell"  wrote:

Tried that but no change - project still not published upon clicking ok. Publishing manually works fine.

 

But still don't get why the files would be different? Your commit: http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589  &r=589

 

has the four temp_array[0] and you're saying that file is working for you? Or did something go wrong with the commit?

 

Going to be offline for at least a few hours now so perhaps someone else can have a look.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 22:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

No idea - all four temp arrays need to be replaced 

 

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell"  wrote:

There seems to be two occurrences of temp_array[0] 

http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589  &r=589

 

Do both need changing or just one?

How come this works for you if same version?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Ok one of the queries has a ref to temp_array[0] in still

 

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell"  wrote:

do these help?

 

$query_for_play_content_strip

 

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

 

$query_for_play_content

 

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="C:

mpphtdocs
rtetoolkits/USER" and role="creator"

 

 

$query_for_play_content_response

 

Resource id #20

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

 

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell  wrote:

Sorry what query? In what file?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Ok, so for you, the query doesn't work.

echo out the query and see what it is

 

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell  wrote:

I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Pah, 

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works).

Pat

 

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell  wrote:

Hi Pat

are you sure about the db name?

 

as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt

 

Testing the publishing options with a clean xampp install...

 

I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE?

 

But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing.

 

HTH

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: 10 December 2012 14:12


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it

 

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell  wrote:

testing locally with guest access and no integration_config_path set...


Create project
Add a page
Preview (so the file is save)

Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted
If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?



-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney  wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney > wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney > wrote:
> It?s a bit more than that. Here?s what I?m doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish ? say yes
> Goto properties, hit the link
> No dice.
>
> But it?s also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn?t accounted for in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it?s accessible ?
> well that?s what I?ve always had to do?
>
> Publish in the editor doesn?t appear to do much unless you set the
> access level?
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it?s working now.
>
> It only works after you?ve published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney > wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
>
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn?t include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk 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
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK legislation.

_______________________________________________
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

 









_______________________________________________
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






Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html

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

 


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From Julian.Tenney at nottingham.ac.uk  Tue Dec 11 16:20:00 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Tue, 11 Dec 2012 16:20:00 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <00e201cdd7ba$0957cb90$1c0762b0$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	
	<019701cdd6e7$43c229c0$cb467d40$@co.uk>
	
	<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
	
	<01f001cdd704$1e42aea0$5ac80be0$@co.uk>
	
	<020701cdd713$debe5b20$9c3b1160$@co.uk>
	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>
	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>
	
	
	<4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com>
	,
	<00e201cdd7ba$0957cb90$1c0762b0$@co.uk>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48BC799E@EXCHANGE1.ad.nottingham.ac.uk>

I remember me and Pat trying to trap the window close event in the flash movie to save the file, and finding it was unreliable to trap the event, pass it to the flash movie and save the file if you just cose the wizard window.

If you guys can get the fixes you've been discussing commited, I can zip them up an get them in the new web site when it launches on friday (hopefully, subject to bureacracy)
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell [ronm at mitchellmedia.co.uk]
Sent: 11 December 2012 16:10
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

John
Publish saves changes to data.xml
Preview saves changes to preview.xml
Closing without first previewing or publishing always has the potential to lose changes especially now that the close + OK to publish isn't working!

So in terms of what has changed it's just that closing and clicking ok to publish isn't working. It's always been the case that unless you preview changes are not saved unless you manually publish or when clicking ok works.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 11 December 2012 15:44
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Yeah what I?m seeing is:

I make a LO, add some stuff and then click Publish.
Then I make it Public, edit it again click Publish, close and Preview  = changes are there?
Then I Edit it again, make changes but just click the close button. No popup and when I click Preview the changes are lost?

This is in both Chrome and IE and from SVN trunk, latest revision. Are you guys working from a zip copy of trunk already?

Will checkout a fresh trunk and see what happens?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Tuesday, December 11, 2012 1:42 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

If you don't preview then it isn't saved to preview.xml

The pop up should happen if data and preview.xml are different

On 11 Dec 2012, at 11:36, "Smith, John" > wrote:
Hi all,

Correct me if I?m wrong but if you made a change in the editor and then closed the window without Publishing you used to get a popup? I?m not getting that at all now at latest revision. Closing the window doesn?t give me any popup and the changes are lost now. Anyone else seeing this?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Tuesday, December 11, 2012 9:30 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Look at the top, there is a conditional which means temp array is sometimes created and sometimes not

So some cases will need it and some won't

On 11 Dec 2012, at 09:10, "Ron Mitchell" > wrote:
Tried that but no change - project still not published upon clicking ok. Publishing manually works fine.

But still don't get why the files would be different? Your commit: http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589

has the four temp_array[0] and you're saying that file is working for you? Or did something go wrong with the commit?

Going to be offline for at least a few hours now so perhaps someone else can have a look.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 22:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

No idea - all four temp arrays need to be replaced

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell" > wrote:
There seems to be two occurrences of temp_array[0]
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589

Do both need changing or just one?
How come this works for you if same version?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok one of the queries has a ref to temp_array[0] in still

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell" > wrote:
do these help?

$query_for_play_content_strip

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

$query_for_play_content

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="C:
mpphtdocs
rtetoolkits/USER" and role="creator"


$query_for_play_content_response

Resource id #20

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell > wrote:
Sorry what query? In what file?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok, so for you, the query doesn't work.

echo out the query and see what it is

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell > wrote:
I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Pah,

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works).

Pat

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell > wrote:
Hi Pat
are you sure about the db name?

as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt

Testing the publishing options with a clean xampp install...

I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE?

But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing.

HTH
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: 10 December 2012 14:12

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell > wrote:
testing locally with guest access and no integration_config_path set...

Create project
Add a page
Preview (so the file is save)
Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted
If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?


-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney > wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney >> wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk
> ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney >> wrote:
> It?s a bit more than that. Here?s what I?m doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish ? say yes
> Goto properties, hit the link
> No dice.
>
> But it?s also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn?t accounted for in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it?s accessible ?
> well that?s what I?ve always had to do?
>
> Publish in the editor doesn?t appear to do much unless you set the
> access level?
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it?s working now.
>
> It only works after you?ve published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney >> wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can?t preview it on the link in the properties panel, i.e. this link doesn?t work.
>
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn?t include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> 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
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK legislation.

_______________________________________________
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







_______________________________________________
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



Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


From ronm at mitchellmedia.co.uk  Tue Dec 11 16:33:32 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Tue, 11 Dec 2012 16:33:32 -0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48BC799E@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>		<019701cdd6e7$43c229c0$cb467d40$@co.uk>		<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>		<01f001cdd704$1e42aea0$5ac80be0$@co.uk>		<020701cdd713$debe5b20$9c3b1160$@co.uk>	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>			<4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com>	,
	<00e201cdd7ba$0957cb90$1c0762b0$@co.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC799E@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: <00f101cdd7bd$435b4c60$ca11e520$@co.uk>

The trouble is none of the fixes are fixing the problem :-(

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 11 December 2012 16:20
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

I remember me and Pat trying to trap the window close event in the flash
movie to save the file, and finding it was unreliable to trap the event,
pass it to the flash movie and save the file if you just cose the wizard
window.

If you guys can get the fixes you've been discussing commited, I can zip
them up an get them in the new web site when it launches on friday
(hopefully, subject to bureacracy) ________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk
[xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
[ronm at mitchellmedia.co.uk]
Sent: 11 December 2012 16:10
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

John
Publish saves changes to data.xml
Preview saves changes to preview.xml
Closing without first previewing or publishing always has the potential to
lose changes especially now that the close + OK to publish isn't working!

So in terms of what has changed it's just that closing and clicking ok to
publish isn't working. It's always been the case that unless you preview
changes are not saved unless you manually publish or when clicking ok works.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 11 December 2012 15:44
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Yeah what I'm seeing is:

I make a LO, add some stuff and then click Publish.
Then I make it Public, edit it again click Publish, close and Preview  =
changes are there. Then I Edit it again, make changes but just click the
close button. No popup and when I click Preview the changes are lost.

This is in both Chrome and IE and from SVN trunk, latest revision. Are you
guys working from a zip copy of trunk already?

Will checkout a fresh trunk and see what happens.

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: Tuesday, December 11, 2012 1:42 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

If you don't preview then it isn't saved to preview.xml

The pop up should happen if data and preview.xml are different

On 11 Dec 2012, at 11:36, "Smith, John"
> wrote:
Hi all,

Correct me if I'm wrong but if you made a change in the editor and then
closed the window without Publishing you used to get a popup? I'm not
getting that at all now at latest revision. Closing the window doesn't give
me any popup and the changes are lost now. Anyone else seeing this?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: Tuesday, December 11, 2012 9:30 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Look at the top, there is a conditional which means temp array is sometimes
created and sometimes not

So some cases will need it and some won't

On 11 Dec 2012, at 09:10, "Ron Mitchell"
> wrote:
Tried that but no change - project still not published upon clicking ok.
Publishing manually works fine.

But still don't get why the files would be different? Your commit:
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589&r=589

has the four temp_array[0] and you're saying that file is working for you?
Or did something go wrong with the commit?

Going to be offline for at least a few hours now so perhaps someone else can
have a look.

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: 10 December 2012 22:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

No idea - all four temp arrays need to be replaced

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell"
> wrote:
There seems to be two occurrences of temp_array[0]
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589&r=589

Do both need changing or just one?
How come this works for you if same version?

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok one of the queries has a ref to temp_array[0] in still

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell"
> wrote:
do these help?

$query_for_play_content_strip

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

$query_for_play_content

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="C:
mpphtdocs
rtetoolkits/USER" and role="creator"


$query_for_play_content_response

Resource id #20

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell
> wrote:
Sorry what query? In what file?

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok, so for you, the query doesn't work.

echo out the query and see what it is

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell
> wrote:
I tested with a brand new svn update and export and a clean install using
the xampp option so not sure why we're seeing different things. I truned on
debugging and upon clicking ok to publish changes got the attached. Does
that help?

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Pah,

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see
where it gets too. Easiest way to debug (it's all I'd do, but mine err,
works).

Pat

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell
> wrote:
Hi Pat
are you sure about the db name?

as far as I can see when using the quick xampp install option the db created
is called toolkits_data as defines in \setup\xampp_database.txt

Testing the publishing options with a clean xampp install...

I get the prompt whether to publish with Chrome, Safari and FF but not IE.
Possibly because I still get the window_reference error when using IE.
Perhaps specific to my local IE?

But as Julian reported even when clicking ok to publish the changes aren't
published until manually publishing.

HTH
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: 10 December 2012 14:12

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can
add echo "HELLO" to your heart's content to debug it

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell
> wrote:
testing locally with guest access and no integration_config_path set...

Create project
Add a page
Preview (so the file is save)
Quit the wizard - I don't get prompted to publish at all even with the
latest change Pat comitted If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install
option what's the name of the db that gets created is it toolkits?


-----Original Message-----
From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make
access public Hit the URL. Nothing until I publish from a button somewhere
(workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm
not so concerned about the html5 side of this not working, but previously
working functionality doesn't work anymore. Maybe this isn't such a
dealbreaker, perhaps we should disable the prompt and force a manual
publish?

-----Original Message-----
From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney
>
wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: 
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> 
> [xerte-dev-bounces at lists.nottingham.ac.uk ts.nottingham.ac.uk>] On Behalf Of Pat Lockley 
> [patrick.lockley at googlemail.com
> ]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney
>>
wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk> n> ces at lists.nottingham.ac.uk>] On 
> Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not 
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney
>>
wrote:
> It's a bit more than that. Here's what I'm doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish - say yes
> Goto properties, hit the link
> No dice.
>
> But it's also not publishing the changes for the flash verison either,so
Pats on the right lines, the modularised publish stuff isn't accounted for
in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk> 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it's accessible - 
> well that's what I've always had to do.
>
> Publish in the editor doesn't appear to do much unless you set the 
> access level.
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk> 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it's working now.
>
> It only works after you've published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I
wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk> 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk> 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney
>>
wrote:
> Sorry the path and file are in the right place, but I get a blank 
> screen when I try and CTRL-play for preview, or when I click the link 
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk> 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can't
preview it on the link in the properties panel, i.e. this link doesn't work.
>
> There is no xenith.js at
modules/xerte/parent_templates/Nottingham/common_html5, which is where
play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk> 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn't include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an 
> attachment may still contain software viruses which could damage your
computer system:
> you are advised to perform your own checks. Email communications with 
> the University of Nottingham may be monitored as permitted by UK
legislation.

_______________________________________________
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







_______________________________________________
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



Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



From Julian.Tenney at nottingham.ac.uk  Tue Dec 11 16:43:27 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Tue, 11 Dec 2012 16:43:27 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <00f101cdd7bd$435b4c60$ca11e520$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	
	<019701cdd6e7$43c229c0$cb467d40$@co.uk>
	
	<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
	
	<01f001cdd704$1e42aea0$5ac80be0$@co.uk>
	
	<020701cdd713$debe5b20$9c3b1160$@co.uk>
	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>
	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>
	
	
	<4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com>
	,
	<00e201cdd7ba$0957cb90$1c0762b0$@co.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC799E@EXCHANGE1.ad.nottingham.ac.uk>,
	<00f101cdd7bd$435b4c60$ca11e520$@co.uk>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48BC79A4@EXCHANGE1.ad.nottingham.ac.uk>

then perhpas we shouldtake out the prompt, but it makes me a bit nervoous about what else isn't working. What do you think (about disabling the prompt, force a manual publish)?
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell [ronm at mitchellmedia.co.uk]
Sent: 11 December 2012 16:33
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

The trouble is none of the fixes are fixing the problem :-(

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 11 December 2012 16:20
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

I remember me and Pat trying to trap the window close event in the flash
movie to save the file, and finding it was unreliable to trap the event,
pass it to the flash movie and save the file if you just cose the wizard
window.

If you guys can get the fixes you've been discussing commited, I can zip
them up an get them in the new web site when it launches on friday
(hopefully, subject to bureacracy) ________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk
[xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
[ronm at mitchellmedia.co.uk]
Sent: 11 December 2012 16:10
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

John
Publish saves changes to data.xml
Preview saves changes to preview.xml
Closing without first previewing or publishing always has the potential to
lose changes especially now that the close + OK to publish isn't working!

So in terms of what has changed it's just that closing and clicking ok to
publish isn't working. It's always been the case that unless you preview
changes are not saved unless you manually publish or when clicking ok works.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 11 December 2012 15:44
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Yeah what I'm seeing is:

I make a LO, add some stuff and then click Publish.
Then I make it Public, edit it again click Publish, close and Preview  =
changes are there. Then I Edit it again, make changes but just click the
close button. No popup and when I click Preview the changes are lost.

This is in both Chrome and IE and from SVN trunk, latest revision. Are you
guys working from a zip copy of trunk already?

Will checkout a fresh trunk and see what happens.

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: Tuesday, December 11, 2012 1:42 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

If you don't preview then it isn't saved to preview.xml

The pop up should happen if data and preview.xml are different

On 11 Dec 2012, at 11:36, "Smith, John"
> wrote:
Hi all,

Correct me if I'm wrong but if you made a change in the editor and then
closed the window without Publishing you used to get a popup? I'm not
getting that at all now at latest revision. Closing the window doesn't give
me any popup and the changes are lost now. Anyone else seeing this?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: Tuesday, December 11, 2012 9:30 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Look at the top, there is a conditional which means temp array is sometimes
created and sometimes not

So some cases will need it and some won't

On 11 Dec 2012, at 09:10, "Ron Mitchell"
> wrote:
Tried that but no change - project still not published upon clicking ok.
Publishing manually works fine.

But still don't get why the files would be different? Your commit:
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589&r=589

has the four temp_array[0] and you're saying that file is working for you?
Or did something go wrong with the commit?

Going to be offline for at least a few hours now so perhaps someone else can
have a look.

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: 10 December 2012 22:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

No idea - all four temp arrays need to be replaced

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell"
> wrote:
There seems to be two occurrences of temp_array[0]
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589&r=589

Do both need changing or just one?
How come this works for you if same version?

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok one of the queries has a ref to temp_array[0] in still

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell"
> wrote:
do these help?

$query_for_play_content_strip

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

$query_for_play_content

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="C:
mpphtdocs
rtetoolkits/USER" and role="creator"


$query_for_play_content_response

Resource id #20

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell
> wrote:
Sorry what query? In what file?

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok, so for you, the query doesn't work.

echo out the query and see what it is

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell
> wrote:
I tested with a brand new svn update and export and a clean install using
the xampp option so not sure why we're seeing different things. I truned on
debugging and upon clicking ok to publish changes got the attached. Does
that help?

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Pah,

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see
where it gets too. Easiest way to debug (it's all I'd do, but mine err,
works).

Pat

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell
> wrote:
Hi Pat
are you sure about the db name?

as far as I can see when using the quick xampp install option the db created
is called toolkits_data as defines in \setup\xampp_database.txt

Testing the publishing options with a clean xampp install...

I get the prompt whether to publish with Chrome, Safari and FF but not IE.
Possibly because I still get the window_reference error when using IE.
Perhaps specific to my local IE?

But as Julian reported even when clicking ok to publish the changes aren't
published until manually publishing.

HTH
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: 10 December 2012 14:12

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can
add echo "HELLO" to your heart's content to debug it

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell
> wrote:
testing locally with guest access and no integration_config_path set...

Create project
Add a page
Preview (so the file is save)
Quit the wizard - I don't get prompted to publish at all even with the
latest change Pat comitted If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install
option what's the name of the db that gets created is it toolkits?


-----Original Message-----
From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make
access public Hit the URL. Nothing until I publish from a button somewhere
(workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm
not so concerned about the html5 side of this not working, but previously
working functionality doesn't work anymore. Maybe this isn't such a
dealbreaker, perhaps we should disable the prompt and force a manual
publish?

-----Original Message-----
From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney
>
wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk>
> [xerte-dev-bounces at lists.nottingham.ac.uk ts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com
> ]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney
>>
wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk> n> ces at lists.nottingham.ac.uk>] On
> Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney
>>
wrote:
> It's a bit more than that. Here's what I'm doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish - say yes
> Goto properties, hit the link
> No dice.
>
> But it's also not publishing the changes for the flash verison either,so
Pats on the right lines, the modularised publish stuff isn't accounted for
in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it's accessible -
> well that's what I've always had to do.
>
> Publish in the editor doesn't appear to do much unless you set the
> access level.
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it's working now.
>
> It only works after you've published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I
wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney
>>
wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can't
preview it on the link in the properties panel, i.e. this link doesn't work.
>
> There is no xenith.js at
modules/xerte/parent_templates/Nottingham/common_html5, which is where
play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn't include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK
legislation.

_______________________________________________
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







_______________________________________________
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



Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


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


From ronm at mitchellmedia.co.uk  Tue Dec 11 16:57:01 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Tue, 11 Dec 2012 16:57:01 -0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <00f101cdd7bd$435b4c60$ca11e520$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>		<019701cdd6e7$43c229c0$cb467d40$@co.uk>		<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>		<01f001cdd704$1e42aea0$5ac80be0$@co.uk>		<020701cdd713$debe5b20$9c3b1160$@co.uk>	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>			<4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com>	,
	<00e201cdd7ba$0957cb90$1c0762b0$@co.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48BC799E@EXCHANGE1.ad.nottingham.ac.uk>
	<00f101cdd7bd$435b4c60$ca11e520$@co.uk>
Message-ID: <00f501cdd7c0$8ac34c80$a049e580$@co.uk>

Probably a question for Pat...

If I look at the following lines 25 and 26 of update_file.php:

$temp_array =
explode("-",str_replace($xerte_toolkits_site->users_file_area_full,"",stripc
slashes($_POST['file_path'])));

			$template_id = $temp_array[0];
			

and then do
die($template_id);

it results in 

C:
mpphtdocs
rtetoolkits/USER

which clearly isn't correct. Not quite sure why it's removing the xa as well
as the slashes.

Is there something wrong with line 25? Do you have a different
update_file.php we can try?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 11 December 2012 16:34
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

The trouble is none of the fixes are fixing the problem :-(

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 11 December 2012 16:20
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

I remember me and Pat trying to trap the window close event in the flash
movie to save the file, and finding it was unreliable to trap the event,
pass it to the flash movie and save the file if you just cose the wizard
window.

If you guys can get the fixes you've been discussing commited, I can zip
them up an get them in the new web site when it launches on friday
(hopefully, subject to bureacracy) ________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk
[xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
[ronm at mitchellmedia.co.uk]
Sent: 11 December 2012 16:10
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

John
Publish saves changes to data.xml
Preview saves changes to preview.xml
Closing without first previewing or publishing always has the potential to
lose changes especially now that the close + OK to publish isn't working!

So in terms of what has changed it's just that closing and clicking ok to
publish isn't working. It's always been the case that unless you preview
changes are not saved unless you manually publish or when clicking ok works.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 11 December 2012 15:44
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Yeah what I'm seeing is:

I make a LO, add some stuff and then click Publish.
Then I make it Public, edit it again click Publish, close and Preview  =
changes are there. Then I Edit it again, make changes but just click the
close button. No popup and when I click Preview the changes are lost.

This is in both Chrome and IE and from SVN trunk, latest revision. Are you
guys working from a zip copy of trunk already?

Will checkout a fresh trunk and see what happens.

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: Tuesday, December 11, 2012 1:42 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

If you don't preview then it isn't saved to preview.xml

The pop up should happen if data and preview.xml are different

On 11 Dec 2012, at 11:36, "Smith, John"
> wrote:
Hi all,

Correct me if I'm wrong but if you made a change in the editor and then
closed the window without Publishing you used to get a popup? I'm not
getting that at all now at latest revision. Closing the window doesn't give
me any popup and the changes are lost now. Anyone else seeing this?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: Tuesday, December 11, 2012 9:30 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Look at the top, there is a conditional which means temp array is sometimes
created and sometimes not

So some cases will need it and some won't

On 11 Dec 2012, at 09:10, "Ron Mitchell"
> wrote:
Tried that but no change - project still not published upon clicking ok.
Publishing manually works fine.

But still don't get why the files would be different? Your commit:
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589&r=589

has the four temp_array[0] and you're saying that file is working for you?
Or did something go wrong with the commit?

Going to be offline for at least a few hours now so perhaps someone else can
have a look.

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: 10 December 2012 22:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

No idea - all four temp arrays need to be replaced

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell"
> wrote:
There seems to be two occurrences of temp_array[0]
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589&r=589

Do both need changing or just one?
How come this works for you if same version?

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok one of the queries has a ref to temp_array[0] in still

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell"
> wrote:
do these help?

$query_for_play_content_strip

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

$query_for_play_content

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="C:
mpphtdocs
rtetoolkits/USER" and role="creator"


$query_for_play_content_response

Resource id #20

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell
> wrote:
Sorry what query? In what file?

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok, so for you, the query doesn't work.

echo out the query and see what it is

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell
> wrote:
I tested with a brand new svn update and export and a clean install using
the xampp option so not sure why we're seeing different things. I truned on
debugging and upon clicking ok to publish changes got the attached. Does
that help?

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Pah,

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see
where it gets too. Easiest way to debug (it's all I'd do, but mine err,
works).

Pat

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell
> wrote:
Hi Pat
are you sure about the db name?

as far as I can see when using the quick xampp install option the db created
is called toolkits_data as defines in \setup\xampp_database.txt

Testing the publishing options with a clean xampp install...

I get the prompt whether to publish with Chrome, Safari and FF but not IE.
Possibly because I still get the window_reference error when using IE.
Perhaps specific to my local IE?

But as Julian reported even when clicking ok to publish the changes aren't
published until manually publishing.

HTH
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: 10 December 2012 14:12

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can
add echo "HELLO" to your heart's content to debug it

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell
> wrote:
testing locally with guest access and no integration_config_path set...

Create project
Add a page
Preview (so the file is save)
Quit the wizard - I don't get prompted to publish at all even with the
latest change Pat comitted If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install
option what's the name of the db that gets created is it toolkits?


-----Original Message-----
From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make
access public Hit the URL. Nothing until I publish from a button somewhere
(workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm
not so concerned about the html5 side of this not working, but previously
working functionality doesn't work anymore. Maybe this isn't such a
dealbreaker, perhaps we should disable the prompt and force a manual
publish?

-----Original Message-----
From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney
>
wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: 
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk>
> [xerte-dev-bounces at lists.nottingham.ac.uk ts.nottingham.ac.uk>] On Behalf Of Pat Lockley 
> [patrick.lockley at googlemail.com
> ]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney
>>
wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk> n> ces at lists.nottingham.ac.uk>] On
> Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not 
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney
>>
wrote:
> It's a bit more than that. Here's what I'm doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish - say yes
> Goto properties, hit the link
> No dice.
>
> But it's also not publishing the changes for the flash verison 
> either,so
Pats on the right lines, the modularised publish stuff isn't accounted for
in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it's accessible - 
> well that's what I've always had to do.
>
> Publish in the editor doesn't appear to do much unless you set the 
> access level.
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it's working now.
>
> It only works after you've published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I
wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney
>>
wrote:
> Sorry the path and file are in the right place, but I get a blank 
> screen when I try and CTRL-play for preview, or when I click the link 
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I 
> can't
preview it on the link in the properties panel, i.e. this link doesn't work.
>
> There is no xenith.js at
modules/xerte/parent_templates/Nottingham/common_html5, which is where
play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn't include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of 
> the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> This message and any attachment are intended solely for the addressee 
> and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an 
> attachment may still contain software viruses which could damage your
computer system:
> you are advised to perform your own checks. Email communications with 
> the University of Nottingham may be monitored as permitted by UK
legislation.

_______________________________________________
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







_______________________________________________
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



Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



From ronm at mitchellmedia.co.uk  Tue Dec 11 17:54:19 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Tue, 11 Dec 2012 17:54:19 -0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <00f501cdd7c0$8ac34c80$a049e580$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>		<019701cdd6e7$43c229c0$cb467d40$@co.uk>		<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>		<01f001cdd704$1e42aea0$5ac80be0$@co.uk>		<020701cdd713$debe5b20$9c3b1160$@co.uk>	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>			<4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com>	,
	<00e201cdd7ba$0957cb90$1c0762b0$@co.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48BC799E@EXCHANGE1.ad.nottingham.ac.uk>	<00f101cdd7bd$435b4c60$ca11e520$@co.uk>
	<00f501cdd7c0$8ac34c80$a049e580$@co.uk>
Message-ID: <010201cdd7c8$8c6a4c20$a53ee460$@co.uk>

Actually I've been looking at this again and comparing files and thinking
all the stuff about $temp_array[0]; has simply confused the issue - at least
for me :-(

When I compare r587 and r589 I can see that the line that has changed is the
one I mentioned below. e.g. r589 has fixed the issue whereas Julian posted
r587 which supposedly fixed the issue. Lost track of when I started looking
at this but I'm now thinking it was between r587 and r589 and that Pat has
already fixed it in r589!

It all seems to be working for me now.

John try this...
with r589 in place
1. Create a new project
2. Add a page
3. Preview
4. Close the editor
5. Click ok when/if prompted?
6. Make public
7. Check the public url
All should be ok - changes shown?
8. Add another page
9. Click preview
10. Close the editor
11. Click ok when/if prompted
12. View the public url
Changes should be shown?

If you don't click preview or publish in step 3. or step 9. you don't get
prompted and changes are lost but I'm pretty sure that's always been the
case. The reason I'm not saying 100% sure is because by habit I always or at
least usually click publish before previewing anyway. 

HTH
Ron



-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 11 December 2012 16:57
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

Probably a question for Pat...

If I look at the following lines 25 and 26 of update_file.php:

$temp_array =
explode("-",str_replace($xerte_toolkits_site->users_file_area_full,"",stripc
slashes($_POST['file_path'])));

			$template_id = $temp_array[0];
			

and then do
die($template_id);

it results in 

C:
mpphtdocs
rtetoolkits/USER

which clearly isn't correct. Not quite sure why it's removing the xa as well
as the slashes.

Is there something wrong with line 25? Do you have a different
update_file.php we can try?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 11 December 2012 16:34
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

The trouble is none of the fixes are fixing the problem :-(

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 11 December 2012 16:20
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

I remember me and Pat trying to trap the window close event in the flash
movie to save the file, and finding it was unreliable to trap the event,
pass it to the flash movie and save the file if you just cose the wizard
window.

If you guys can get the fixes you've been discussing commited, I can zip
them up an get them in the new web site when it launches on friday
(hopefully, subject to bureacracy) ________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk
[xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
[ronm at mitchellmedia.co.uk]
Sent: 11 December 2012 16:10
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

John
Publish saves changes to data.xml
Preview saves changes to preview.xml
Closing without first previewing or publishing always has the potential to
lose changes especially now that the close + OK to publish isn't working!

So in terms of what has changed it's just that closing and clicking ok to
publish isn't working. It's always been the case that unless you preview
changes are not saved unless you manually publish or when clicking ok works.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 11 December 2012 15:44
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Yeah what I'm seeing is:

I make a LO, add some stuff and then click Publish.
Then I make it Public, edit it again click Publish, close and Preview  =
changes are there. Then I Edit it again, make changes but just click the
close button. No popup and when I click Preview the changes are lost.

This is in both Chrome and IE and from SVN trunk, latest revision. Are you
guys working from a zip copy of trunk already?

Will checkout a fresh trunk and see what happens.

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: Tuesday, December 11, 2012 1:42 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

If you don't preview then it isn't saved to preview.xml

The pop up should happen if data and preview.xml are different

On 11 Dec 2012, at 11:36, "Smith, John"
> wrote:
Hi all,

Correct me if I'm wrong but if you made a change in the editor and then
closed the window without Publishing you used to get a popup? I'm not
getting that at all now at latest revision. Closing the window doesn't give
me any popup and the changes are lost now. Anyone else seeing this?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: Tuesday, December 11, 2012 9:30 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Look at the top, there is a conditional which means temp array is sometimes
created and sometimes not

So some cases will need it and some won't

On 11 Dec 2012, at 09:10, "Ron Mitchell"
> wrote:
Tried that but no change - project still not published upon clicking ok.
Publishing manually works fine.

But still don't get why the files would be different? Your commit:
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589&r=589

has the four temp_array[0] and you're saying that file is working for you?
Or did something go wrong with the commit?

Going to be offline for at least a few hours now so perhaps someone else can
have a look.

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: 10 December 2012 22:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

No idea - all four temp arrays need to be replaced

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell"
> wrote:
There seems to be two occurrences of temp_array[0]
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589&r=589

Do both need changing or just one?
How come this works for you if same version?

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok one of the queries has a ref to temp_array[0] in still

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell"
> wrote:
do these help?

$query_for_play_content_strip

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

$query_for_play_content

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="C:
mpphtdocs
rtetoolkits/USER" and role="creator"


$query_for_play_content_response

Resource id #20

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell
> wrote:
Sorry what query? In what file?

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok, so for you, the query doesn't work.

echo out the query and see what it is

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell
> wrote:
I tested with a brand new svn update and export and a clean install using
the xampp option so not sure why we're seeing different things. I truned on
debugging and upon clicking ok to publish changes got the attached. Does
that help?

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Pah,

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see
where it gets too. Easiest way to debug (it's all I'd do, but mine err,
works).

Pat

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell
> wrote:
Hi Pat
are you sure about the db name?

as far as I can see when using the quick xampp install option the db created
is called toolkits_data as defines in \setup\xampp_database.txt

Testing the publishing options with a clean xampp install...

I get the prompt whether to publish with Chrome, Safari and FF but not IE.
Possibly because I still get the window_reference error when using IE.
Perhaps specific to my local IE?

But as Julian reported even when clicking ok to publish the changes aren't
published until manually publishing.

HTH
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: 10 December 2012 14:12

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can
add echo "HELLO" to your heart's content to debug it

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell
> wrote:
testing locally with guest access and no integration_config_path set...

Create project
Add a page
Preview (so the file is save)
Quit the wizard - I don't get prompted to publish at all even with the
latest change Pat comitted If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install
option what's the name of the db that gets created is it toolkits?


-----Original Message-----
From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make
access public Hit the URL. Nothing until I publish from a button somewhere
(workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm
not so concerned about the html5 side of this not working, but previously
working functionality doesn't work anymore. Maybe this isn't such a
dealbreaker, perhaps we should disable the prompt and force a manual
publish?

-----Original Message-----
From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney
>
wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: 
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk>
> [xerte-dev-bounces at lists.nottingham.ac.uk ts.nottingham.ac.uk>] On Behalf Of Pat Lockley 
> [patrick.lockley at googlemail.com
> ]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney
>>
wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk> n> ces at lists.nottingham.ac.uk>] On
> Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not 
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney
>>
wrote:
> It's a bit more than that. Here's what I'm doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish - say yes
> Goto properties, hit the link
> No dice.
>
> But it's also not publishing the changes for the flash verison 
> either,so
Pats on the right lines, the modularised publish stuff isn't accounted for
in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it's accessible - 
> well that's what I've always had to do.
>
> Publish in the editor doesn't appear to do much unless you set the 
> access level.
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it's working now.
>
> It only works after you've published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I
wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney
>>
wrote:
> Sorry the path and file are in the right place, but I get a blank 
> screen when I try and CTRL-play for preview, or when I click the link 
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I 
> can't
preview it on the link in the properties panel, i.e. this link doesn't work.
>
> There is no xenith.js at
modules/xerte/parent_templates/Nottingham/common_html5, which is where
play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn't include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of 
> the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> This message and any attachment are intended solely for the addressee 
> and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an 
> attachment may still contain software viruses which could damage your
computer system:
> you are advised to perform your own checks. Email communications with 
> the University of Nottingham may be monitored as permitted by UK
legislation.

_______________________________________________
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







_______________________________________________
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



Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



From ronm at mitchellmedia.co.uk  Tue Dec 11 18:35:37 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Tue, 11 Dec 2012 18:35:37 -0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <010201cdd7c8$8c6a4c20$a53ee460$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>		<019701cdd6e7$43c229c0$cb467d40$@co.uk>		<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>		<01f001cdd704$1e42aea0$5ac80be0$@co.uk>		<020701cdd713$debe5b20$9c3b1160$@co.uk>	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>			<4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com>	,
	<00e201cdd7ba$0957cb90$1c0762b0$@co.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48BC799E@EXCHANGE1.ad.nottingham.ac.uk>	<00f101cdd7bd$435b4c60$ca11e520$@co.uk>	<00f501cdd7c0$8ac34c80$a049e580$@co.uk>
	<010201cdd7c8$8c6a4c20$a53ee460$@co.u k>
Message-ID: <010f01cdd7ce$511e7dc0$f35b7940$@co.uk>

Ok been testing further and have updated the techdis install so that it's
up-to-date to r589. Suffice to say was nervous doing that but all seems fine
and you obviously have access to test yourself.

In testing the close editor prompt to publish issue which all seems fine in
most browsers I think I've found the reason nobody else has reported the
window_reference issue...

1. Firstly that error only shows when using developer tools to debug with
IE9
2. Without developer tools and script debugging on I don't see an error but
I don't get prompted to publish either
3. If I switch IE 9 to compatibility mode I do get prompted to publish and
it works and I dodn't get the window_reference error even with developer
tools and debugging on

So it seems there's an IE 9 incompatibility when not in compatibility mode -
at least on my laptop. Can anyone else replicate this?

How big an issue that is I guess depends if it's just my set-up and/or how
common IE 9 is.

HTH
Ron

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 11 December 2012 17:54
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

Actually I've been looking at this again and comparing files and thinking
all the stuff about $temp_array[0]; has simply confused the issue - at least
for me :-(

When I compare r587 and r589 I can see that the line that has changed is the
one I mentioned below. e.g. r589 has fixed the issue whereas Julian posted
r587 which supposedly fixed the issue. Lost track of when I started looking
at this but I'm now thinking it was between r587 and r589 and that Pat has
already fixed it in r589!

It all seems to be working for me now.

John try this...
with r589 in place
1. Create a new project
2. Add a page
3. Preview
4. Close the editor
5. Click ok when/if prompted?
6. Make public
7. Check the public url
All should be ok - changes shown?
8. Add another page
9. Click preview
10. Close the editor
11. Click ok when/if prompted
12. View the public url
Changes should be shown?

If you don't click preview or publish in step 3. or step 9. you don't get
prompted and changes are lost but I'm pretty sure that's always been the
case. The reason I'm not saying 100% sure is because by habit I always or at
least usually click publish before previewing anyway. 

HTH
Ron



-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 11 December 2012 16:57
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

Probably a question for Pat...

If I look at the following lines 25 and 26 of update_file.php:

$temp_array =
explode("-",str_replace($xerte_toolkits_site->users_file_area_full,"",stripc
slashes($_POST['file_path'])));

			$template_id = $temp_array[0];
			

and then do
die($template_id);

it results in 

C:
mpphtdocs
rtetoolkits/USER

which clearly isn't correct. Not quite sure why it's removing the xa as well
as the slashes.

Is there something wrong with line 25? Do you have a different
update_file.php we can try?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 11 December 2012 16:34
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

The trouble is none of the fixes are fixing the problem :-(

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 11 December 2012 16:20
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

I remember me and Pat trying to trap the window close event in the flash
movie to save the file, and finding it was unreliable to trap the event,
pass it to the flash movie and save the file if you just cose the wizard
window.

If you guys can get the fixes you've been discussing commited, I can zip
them up an get them in the new web site when it launches on friday
(hopefully, subject to bureacracy) ________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk
[xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
[ronm at mitchellmedia.co.uk]
Sent: 11 December 2012 16:10
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

John
Publish saves changes to data.xml
Preview saves changes to preview.xml
Closing without first previewing or publishing always has the potential to
lose changes especially now that the close + OK to publish isn't working!

So in terms of what has changed it's just that closing and clicking ok to
publish isn't working. It's always been the case that unless you preview
changes are not saved unless you manually publish or when clicking ok works.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 11 December 2012 15:44
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Yeah what I'm seeing is:

I make a LO, add some stuff and then click Publish.
Then I make it Public, edit it again click Publish, close and Preview  =
changes are there. Then I Edit it again, make changes but just click the
close button. No popup and when I click Preview the changes are lost.

This is in both Chrome and IE and from SVN trunk, latest revision. Are you
guys working from a zip copy of trunk already?

Will checkout a fresh trunk and see what happens.

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: Tuesday, December 11, 2012 1:42 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

If you don't preview then it isn't saved to preview.xml

The pop up should happen if data and preview.xml are different

On 11 Dec 2012, at 11:36, "Smith, John"
> wrote:
Hi all,

Correct me if I'm wrong but if you made a change in the editor and then
closed the window without Publishing you used to get a popup? I'm not
getting that at all now at latest revision. Closing the window doesn't give
me any popup and the changes are lost now. Anyone else seeing this?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: Tuesday, December 11, 2012 9:30 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Look at the top, there is a conditional which means temp array is sometimes
created and sometimes not

So some cases will need it and some won't

On 11 Dec 2012, at 09:10, "Ron Mitchell"
> wrote:
Tried that but no change - project still not published upon clicking ok.
Publishing manually works fine.

But still don't get why the files would be different? Your commit:
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589&r=589

has the four temp_array[0] and you're saying that file is working for you?
Or did something go wrong with the commit?

Going to be offline for at least a few hours now so perhaps someone else can
have a look.

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: 10 December 2012 22:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

No idea - all four temp arrays need to be replaced

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell"
> wrote:
There seems to be two occurrences of temp_array[0]
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589&r=589

Do both need changing or just one?
How come this works for you if same version?

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok one of the queries has a ref to temp_array[0] in still

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell"
> wrote:
do these help?

$query_for_play_content_strip

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

$query_for_play_content

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="C:
mpphtdocs
rtetoolkits/USER" and role="creator"


$query_for_play_content_response

Resource id #20

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell
> wrote:
Sorry what query? In what file?

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok, so for you, the query doesn't work.

echo out the query and see what it is

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell
> wrote:
I tested with a brand new svn update and export and a clean install using
the xampp option so not sure why we're seeing different things. I truned on
debugging and upon clicking ok to publish changes got the attached. Does
that help?

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Pah,

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see
where it gets too. Easiest way to debug (it's all I'd do, but mine err,
works).

Pat

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell
> wrote:
Hi Pat
are you sure about the db name?

as far as I can see when using the quick xampp install option the db created
is called toolkits_data as defines in \setup\xampp_database.txt

Testing the publishing options with a clean xampp install...

I get the prompt whether to publish with Chrome, Safari and FF but not IE.
Possibly because I still get the window_reference error when using IE.
Perhaps specific to my local IE?

But as Julian reported even when clicking ok to publish the changes aren't
published until manually publishing.

HTH
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: 10 December 2012 14:12

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can
add echo "HELLO" to your heart's content to debug it

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell
> wrote:
testing locally with guest access and no integration_config_path set...

Create project
Add a page
Preview (so the file is save)
Quit the wizard - I don't get prompted to publish at all even with the
latest change Pat comitted If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install
option what's the name of the db that gets created is it toolkits?


-----Original Message-----
From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make
access public Hit the URL. Nothing until I publish from a button somewhere
(workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm
not so concerned about the html5 side of this not working, but previously
working functionality doesn't work anymore. Maybe this isn't such a
dealbreaker, perhaps we should disable the prompt and force a manual
publish?

-----Original Message-----
From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney
>
wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: 
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk>
> [xerte-dev-bounces at lists.nottingham.ac.uk ts.nottingham.ac.uk>] On Behalf Of Pat Lockley 
> [patrick.lockley at googlemail.com
> ]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney
>>
wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk> n> ces at lists.nottingham.ac.uk>] On
> Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not 
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney
>>
wrote:
> It's a bit more than that. Here's what I'm doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish - say yes
> Goto properties, hit the link
> No dice.
>
> But it's also not publishing the changes for the flash verison 
> either,so
Pats on the right lines, the modularised publish stuff isn't accounted for
in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it's accessible - 
> well that's what I've always had to do.
>
> Publish in the editor doesn't appear to do much unless you set the 
> access level.
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it's working now.
>
> It only works after you've published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I
wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney
>>
wrote:
> Sorry the path and file are in the right place, but I get a blank 
> screen when I try and CTRL-play for preview, or when I click the link 
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I 
> can't
preview it on the link in the properties panel, i.e. this link doesn't work.
>
> There is no xenith.js at
modules/xerte/parent_templates/Nottingham/common_html5, which is where
play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn't include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of 
> the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> This message and any attachment are intended solely for the addressee 
> and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an 
> attachment may still contain software viruses which could damage your
computer system:
> you are advised to perform your own checks. Email communications with 
> the University of Nottingham may be monitored as permitted by UK
legislation.

_______________________________________________
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







_______________________________________________
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



Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



From Julian.Tenney at nottingham.ac.uk  Tue Dec 11 21:49:50 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Tue, 11 Dec 2012 21:49:50 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <010f01cdd7ce$511e7dc0$f35b7940$@co.uk>
References: <010201cdd7c8$8c6a4c20$a53ee460$@co.uk>,
	<010f01cdd7ce$511e7dc0$f35b7940$@co.uk>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48BC79A8@EXCHANGE1.ad.nottingham.ac.uk>

off the top of my head, IE9 is ~17% I thoght the shares were roughly 33% IE 8/9; 33% FF, 33% chrome, and half of the IE share is 9. Heuristic I know.
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell [ronm at mitchellmedia.co.uk]
Sent: 11 December 2012 18:35
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

Ok been testing further and have updated the techdis install so that it's
up-to-date to r589. Suffice to say was nervous doing that but all seems fine
and you obviously have access to test yourself.

In testing the close editor prompt to publish issue which all seems fine in
most browsers I think I've found the reason nobody else has reported the
window_reference issue...

1. Firstly that error only shows when using developer tools to debug with
IE9
2. Without developer tools and script debugging on I don't see an error but
I don't get prompted to publish either
3. If I switch IE 9 to compatibility mode I do get prompted to publish and
it works and I dodn't get the window_reference error even with developer
tools and debugging on

So it seems there's an IE 9 incompatibility when not in compatibility mode -
at least on my laptop. Can anyone else replicate this?

How big an issue that is I guess depends if it's just my set-up and/or how
common IE 9 is.

HTH
Ron

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 11 December 2012 17:54
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

Actually I've been looking at this again and comparing files and thinking
all the stuff about $temp_array[0]; has simply confused the issue - at least
for me :-(

When I compare r587 and r589 I can see that the line that has changed is the
one I mentioned below. e.g. r589 has fixed the issue whereas Julian posted
r587 which supposedly fixed the issue. Lost track of when I started looking
at this but I'm now thinking it was between r587 and r589 and that Pat has
already fixed it in r589!

It all seems to be working for me now.

John try this...
with r589 in place
1. Create a new project
2. Add a page
3. Preview
4. Close the editor
5. Click ok when/if prompted?
6. Make public
7. Check the public url
All should be ok - changes shown?
8. Add another page
9. Click preview
10. Close the editor
11. Click ok when/if prompted
12. View the public url
Changes should be shown?

If you don't click preview or publish in step 3. or step 9. you don't get
prompted and changes are lost but I'm pretty sure that's always been the
case. The reason I'm not saying 100% sure is because by habit I always or at
least usually click publish before previewing anyway.

HTH
Ron



-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 11 December 2012 16:57
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

Probably a question for Pat...

If I look at the following lines 25 and 26 of update_file.php:

$temp_array =
explode("-",str_replace($xerte_toolkits_site->users_file_area_full,"",stripc
slashes($_POST['file_path'])));

                        $template_id = $temp_array[0];


and then do
die($template_id);

it results in

C:
mpphtdocs
rtetoolkits/USER

which clearly isn't correct. Not quite sure why it's removing the xa as well
as the slashes.

Is there something wrong with line 25? Do you have a different
update_file.php we can try?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 11 December 2012 16:34
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

The trouble is none of the fixes are fixing the problem :-(

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 11 December 2012 16:20
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

I remember me and Pat trying to trap the window close event in the flash
movie to save the file, and finding it was unreliable to trap the event,
pass it to the flash movie and save the file if you just cose the wizard
window.

If you guys can get the fixes you've been discussing commited, I can zip
them up an get them in the new web site when it launches on friday
(hopefully, subject to bureacracy) ________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk
[xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
[ronm at mitchellmedia.co.uk]
Sent: 11 December 2012 16:10
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

John
Publish saves changes to data.xml
Preview saves changes to preview.xml
Closing without first previewing or publishing always has the potential to
lose changes especially now that the close + OK to publish isn't working!

So in terms of what has changed it's just that closing and clicking ok to
publish isn't working. It's always been the case that unless you preview
changes are not saved unless you manually publish or when clicking ok works.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 11 December 2012 15:44
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Yeah what I'm seeing is:

I make a LO, add some stuff and then click Publish.
Then I make it Public, edit it again click Publish, close and Preview  =
changes are there. Then I Edit it again, make changes but just click the
close button. No popup and when I click Preview the changes are lost.

This is in both Chrome and IE and from SVN trunk, latest revision. Are you
guys working from a zip copy of trunk already?

Will checkout a fresh trunk and see what happens.

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: Tuesday, December 11, 2012 1:42 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

If you don't preview then it isn't saved to preview.xml

The pop up should happen if data and preview.xml are different

On 11 Dec 2012, at 11:36, "Smith, John"
> wrote:
Hi all,

Correct me if I'm wrong but if you made a change in the editor and then
closed the window without Publishing you used to get a popup? I'm not
getting that at all now at latest revision. Closing the window doesn't give
me any popup and the changes are lost now. Anyone else seeing this?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: Tuesday, December 11, 2012 9:30 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Look at the top, there is a conditional which means temp array is sometimes
created and sometimes not

So some cases will need it and some won't

On 11 Dec 2012, at 09:10, "Ron Mitchell"
> wrote:
Tried that but no change - project still not published upon clicking ok.
Publishing manually works fine.

But still don't get why the files would be different? Your commit:
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589&r=589

has the four temp_array[0] and you're saying that file is working for you?
Or did something go wrong with the commit?

Going to be offline for at least a few hours now so perhaps someone else can
have a look.

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: 10 December 2012 22:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

No idea - all four temp arrays need to be replaced

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell"
> wrote:
There seems to be two occurrences of temp_array[0]
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589&r=589

Do both need changing or just one?
How come this works for you if same version?

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok one of the queries has a ref to temp_array[0] in still

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell"
> wrote:
do these help?

$query_for_play_content_strip

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

$query_for_play_content

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="C:
mpphtdocs
rtetoolkits/USER" and role="creator"


$query_for_play_content_response

Resource id #20

From:
xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell
> wrote:
Sorry what query? In what file?

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok, so for you, the query doesn't work.

echo out the query and see what it is

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell
> wrote:
I tested with a brand new svn update and export and a clean install using
the xampp option so not sure why we're seeing different things. I truned on
debugging and upon clicking ok to publish changes got the attached. Does
that help?

From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Pah,

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see
where it gets too. Easiest way to debug (it's all I'd do, but mine err,
works).

Pat

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell
> wrote:
Hi Pat
are you sure about the db name?

as far as I can see when using the quick xampp install option the db created
is called toolkits_data as defines in \setup\xampp_database.txt

Testing the publishing options with a clean xampp install...

I get the prompt whether to publish with Chrome, Safari and FF but not IE.
Possibly because I still get the window_reference error when using IE.
Perhaps specific to my local IE?

But as Julian reported even when clicking ok to publish the changes aren't
published until manually publishing.

HTH
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: 10 December 2012 14:12

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can
add echo "HELLO" to your heart's content to debug it

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell
> wrote:
testing locally with guest access and no integration_config_path set...

Create project
Add a page
Preview (so the file is save)
Quit the wizard - I don't get prompted to publish at all even with the
latest change Pat comitted If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install
option what's the name of the db that gets created is it toolkits?


-----Original Message-----
From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make
access public Hit the URL. Nothing until I publish from a button somewhere
(workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm
not so concerned about the html5 side of this not working, but previously
working functionality doesn't work anymore. Maybe this isn't such a
dealbreaker, perhaps we should disable the prompt and force a manual
publish?

-----Original Message-----
From:
xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney
>
wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk>
> [xerte-dev-bounces at lists.nottingham.ac.uk ts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com
> ]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney
>>
wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk> n> ces at lists.nottingham.ac.uk>] On
> Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney
>>
wrote:
> It's a bit more than that. Here's what I'm doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish - say yes
> Goto properties, hit the link
> No dice.
>
> But it's also not publishing the changes for the flash verison
> either,so
Pats on the right lines, the modularised publish stuff isn't accounted for
in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it's accessible -
> well that's what I've always had to do.
>
> Publish in the editor doesn't appear to do much unless you set the
> access level.
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it's working now.
>
> It only works after you've published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I
wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney
>>
wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I
> can't
preview it on the link in the properties panel, i.e. this link doesn't work.
>
> There is no xenith.js at
modules/xerte/parent_templates/Nottingham/common_html5, which is where
play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> nces at list> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn't include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of
> the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
>
Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> This message and any attachment are intended solely for the addressee
> and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK
legislation.

_______________________________________________
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







_______________________________________________
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



Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


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


From patrick.lockley at googlemail.com  Wed Dec 12 01:22:13 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Wed, 12 Dec 2012 01:22:13 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <00e201cdd7ba$0957cb90$1c0762b0$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	<019701cdd6e7$43c229c0$cb467d40$@co.uk>
	
	<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
	
	<01f001cdd704$1e42aea0$5ac80be0$@co.uk>
	
	<020701cdd713$debe5b20$9c3b1160$@co.uk>
	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>
	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>
	
	
	<4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com>
	
	<00e201cdd7ba$0957cb90$1c0762b0$@co.uk>
Message-ID: 

"Closing without first previewing or publishing always has the potential to
lose changes especially now that the close + OK to publish isn't working!"

That button won't change that, all the publish does is copy preview over
data - if preview wasn't updated by previewing then the button makes no
difference at all.


On Tue, Dec 11, 2012 at 4:10 PM, Ron Mitchell wrote:

> John****
>
> Publish saves changes to data.xml****
>
> Preview saves changes to preview.xml****
>
> Closing without first previewing or publishing always has the potential to
> lose changes especially now that the close + OK to publish isn't working!*
> ***
>
> ** **
>
> So in terms of what has changed it's just that closing and clicking ok to
> publish isn't working. It's always been the case that unless you preview
> changes are not saved unless you manually publish or when clicking ok works.
> ****
>
> ** **
>
> HTH****
>
> Ron****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Smith, John
> *Sent:* 11 December 2012 15:44
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
> ** **
>
> Yeah what I?m seeing is:****
>
> ** **
>
> I make a LO, add some stuff and then click Publish.****
>
> Then I make it Public, edit it again click Publish, close and Preview  =
> changes are there?****
>
> Then I Edit it again, make changes but just click the close button. No
> popup and when I click Preview the changes are lost?****
>
> ** **
>
> This is in both Chrome and IE and from SVN trunk, latest revision. Are you
> guys working from a zip copy of trunk already?****
>
> ** **
>
> Will checkout a fresh trunk and see what happens?****
>
> ** **
>
> Regards,****
>
> ** **
>
> John Smith****
>
> Learning Technologist****
>
> School of Health & Life Sciences****
>
> Glasgow Caledonian University****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat Lockley
> *Sent:* Tuesday, December 11, 2012 1:42 PM
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
> ** **
>
> If you don't preview then it isn't saved to preview.xml****
>
> ** **
>
> The pop up should happen if data and preview.xml are different
>
> On 11 Dec 2012, at 11:36, "Smith, John"  wrote:****
>
> Hi all,****
>
>  ****
>
> Correct me if I?m wrong but if you made a change in the editor and then
> closed the window without Publishing you used to get a popup? I?m not
> getting that at all now at latest revision. Closing the window doesn?t give
> me any popup and the changes are lost now. Anyone else seeing this?****
>
>  ****
>
> Regards,****
>
>  ****
>
> John Smith****
>
> Learning Technologist****
>
> School of Health & Life Sciences****
>
> Glasgow Caledonian University****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat Lockley
> *Sent:* Tuesday, December 11, 2012 9:30 AM
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> Look at the top, there is a conditional which means temp array is
> sometimes created and sometimes not****
>
>  ****
>
> So some cases will need it and some won't
>
> On 11 Dec 2012, at 09:10, "Ron Mitchell"  wrote:
> ****
>
> Tried that but no change - project still not published upon clicking ok.
> Publishing manually works fine.****
>
>  ****
>
> But still don't get why the files would be different? Your commit:
> http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589
> ****
>
>  ****
>
> has the four temp_array[0] and you're saying that file is working for you?
> Or did something go wrong with the commit?****
>
>  ****
>
> Going to be offline for at least a few hours now so perhaps someone else
> can have a look.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat Lockley
> *Sent:* 10 December 2012 22:15
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> No idea - all four temp arrays need to be replaced ****
>
>  ****
>
> As long as it is temp_array[0]
>
> On 10 Dec 2012, at 20:20, "Ron Mitchell"  wrote:
> ****
>
> There seems to be two occurrences of temp_array[0] ****
>
>
> http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589
> ****
>
>  ****
>
> Do both need changing or just one?****
>
> How come this works for you if same version?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat Lockley
> *Sent:* 10 December 2012 18:28
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> Ok one of the queries has a ref to temp_array[0] in still****
>
>  ****
>
> Replace with $template_id
>
> On 10 Dec 2012, at 18:28, "Ron Mitchell"  wrote:
> ****
>
> do these help?****
>
>  ****
>
> $query_for_play_content_strip****
>
>  ****
>
> select originaltemplatesdetails.template_name, logindetails.username,
> originaltemplatesdetails.template_framework, templaterights.user_id,
> templaterights.folder, templaterights.template_id,
> templatedetails.access_to_whom from originaltemplatesdetails,
> templaterights, templatedetails, logindetails where
> templatedetails.template_type_id =
> originaltemplatesdetails.template_type_id and templatedetails.creator_id =
> logindetails.login_id and templaterights.template_id =
> templatedetails.template_id and
> templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"****
>
>  ****
>
> $query_for_play_content****
>
>  ****
>
> select originaltemplatesdetails.template_name, logindetails.username,
> originaltemplatesdetails.template_framework, templaterights.user_id,
> templaterights.folder, templaterights.template_id,
> templatedetails.access_to_whom from originaltemplatesdetails,
> templaterights, templatedetails, logindetails where
> templatedetails.template_type_id =
> originaltemplatesdetails.template_type_id and templatedetails.creator_id =
> logindetails.login_id and templaterights.template_id =
> templatedetails.template_id and templaterights.template_id="C:****
>
> mpphtdocs
> rtetoolkits/USER" and role="creator"****
>
>  ****
>
>  ****
>
> $query_for_play_content_response****
>
>  ****
>
> Resource id #20****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat Lockley
> *Sent:* 10 December 2012 17:58
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> website_code/php/versioncontrol/update_file.php
>
> there will be a variable called query or something query****
>
>  ****
>
> On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell 
> wrote:****
>
> Sorry what query? In what file?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 10 December 2012 16:03****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> Ok, so for you, the query doesn't work.
>
> echo out the query and see what it is****
>
>  ****
>
> On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell 
> wrote:****
>
> I tested with a brand new svn update and export and a clean install using
> the xampp option so not sure why we're seeing different things. I truned on
> debugging and upon clicking ok to publish changes got the attached. Does
> that help?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 10 December 2012 14:27****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> Pah,
>
> It's been two years, but maybe that's my instinctive name for all things
> XOT
>
> Well it works here on my XAMPP, but start putting echos in the code to see
> where it gets too. Easiest way to debug (it's all I'd do, but mine err,
> works).
>
> Pat****
>
>  ****
>
> On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> are you sure about the db name?****
>
>  ****
>
> as far as I can see when using the quick xampp install option the db
> created is called toolkits_data as defines in \setup\xampp_database.txt***
> *
>
>  ****
>
> Testing the publishing options with a clean xampp install...****
>
>  ****
>
> I get the prompt whether to publish with Chrome, Safari and FF but not IE.
> Possibly because I still get the window_reference error when using IE.
> Perhaps specific to my local IE?****
>
>  ****
>
> But as Julian reported even when clicking ok to publish the changes aren't
> published until manually publishing.****
>
>  ****
>
> HTH****
>
> 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:* 10 December 2012 14:12****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> xertetoolkits
>
> mine is a fresh xampp and it works
>
> it's both files in versioncontrol and the response is alerted out so you
> can add echo "HELLO" to your heart's content to debug it****
>
>  ****
>
> On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell 
> wrote:****
>
> testing locally with guest access and no integration_config_path set...***
> *
>
>
> Create project
> Add a page
> Preview (so the file is save)****
>
> Quit the wizard - I don't get prompted to publish at all even with the
> latest change Pat comitted
> If I publish manually all is fine.
>
> I'll test a clean install via xampp... If using the quick xampp install
> option what's the name of the db that gets created is it toolkits?****
>
>
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 10 December 2012 11:15
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> It still doesn't work:
>
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - prompted to publish - say yes Go to properties, make
> access public Hit the URL. Nothing until I publish from a button somewhere
> (workspace or wizard).
>
> I think I'm going to put it out anyway, unless anyone can fix it today.
> I'm not so concerned about the html5 side of this not working, but
> previously working functionality doesn't work anymore. Maybe this isn't
> such a dealbreaker, perhaps we should disable the prompt and force a manual
> publish?
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 22:37
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Not sure why it would break but adding database connect in seemed to fix it
>
> On 7 Dec 2012, at 22:21, Julian Tenney 
> wrote:
>
> > thanks mate, I'll test on Monday,
> > ________________________________________
> > From: xerte-dev-bounces at lists.nottingham.ac.uk
> > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> > [patrick.lockley at googlemail.com]
> > Sent: 07 December 2012 19:22
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > fixed in moodle (both files in version control folder)
> >
> > Please test
> >
> >
> > On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney <
> Julian.Tenney at nottingham.ac.uk>
> wrote:
> > It works from the publish buttons. Just not on the on close trapper
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk>
> > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk > ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
> >
> > Sent: 07 December 2012 12:06
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > I think I assumed all publishing went through one file, but that's not
> > the case. Am on holiday but can poke around later on
> >
> > So publishing when closing
> > And
> > Publishing Inside xerte
> >
> > On 7 Dec 2012, at 11:55, Julian Tenney  > wrote:
> > It?s a bit more than that. Here?s what I?m doing:
> >
> > Create project
> > Got to properties, make it public
> > Goto wizard edit something
> > Close editor
> > Prompted to publish ? say yes
> > Goto properties, hit the link
> > No dice.
> >
> > But it?s also not publishing the changes for the flash verison either,so
> Pats on the right lines, the modularised publish stuff isn?t accounted for
> in the wizard window?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Smith, John
> > Sent: 07 December 2012 11:41
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > You have to make it public in the workspace before it?s accessible ?
> > well that?s what I?ve always had to do?
> >
> > Publish in the editor doesn?t appear to do much unless you set the
> > access level?
> >
> > Regards,
> >
> > John Smith
> > Learning Technologist
> > School of Health & Life Sciences
> > Glasgow Caledonian University
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: Friday, December 07, 2012 11:37 AM
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Ah, it?s working now.
> >
> > It only works after you?ve published the file from the workspace button.
> >
> > I published from the wizard button (when it closed and asked me if I
> wanted to) but had to publish from the workspace before the link worked.
> >
> > Any idea what makes the two publishes different?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:30
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Dunno.
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Pat Lockley
> > Sent: 07 December 2012 11:29
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Does xampp use htaccess by default?
> >
> > On 7 Dec 2012, at 11:28, Julian Tenney  > wrote:
> > Sorry the path and file are in the right place, but I get a blank
> > screen when I try and CTRL-play for preview, or when I click the link
> > in properties
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:25
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > When I do an xamppp setup, build simple project and publish etc, I can?t
> preview it on the link in the properties panel, i.e. this link doesn?t work.
> >
> > There is no xenith.js at
> modules/xerte/parent_templates/Nottingham/common_html5, which is where
> play_html5 is trying to load it from.
> >
> > Do I move the file (where is it?) or change the link(to point to ?)
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:17
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] 1.9 zip
> >
> > Is there anything in the svn that I shouldn?t include in the zip?
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > Glasgow Caledonian University is a registered Scottish charity, number
> > SC021474
> >
> > Winner: Times Higher Education?s Widening Participation Initiative of
> the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> > 219,en.html
> >
> > Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> > 5691,en.html _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > 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
> > This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this message
> in error, please send it back to me, and immediately delete it.   Please do
> not use, copy or disclose the information contained in this message or in
> any attachment.  Any views or opinions expressed by the author of this
> email do not necessarily reflect the views of the University of Nottingham.
> >
> > This message has been checked for viruses but the contents of an
> > attachment may still contain software viruses which could damage your
> computer system:
> > you are advised to perform your own checks. Email communications with
> > the University of Nottingham may be monitored as permitted by UK
> legislation.
>
> _______________________________________________
> 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****
>
>  ****
>
>
>
>
>
>
> ****
>
>
> _______________________________________________
> 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****
>
>
>
> ****
>
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the
> Year 2009 and Herald Society?s Education Initiative of the Year 2009.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
> ****
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
> ** **
>
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the
> Year 2009 and Herald Society?s Education Initiative of the Year 2009.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
> ****
>
>
>
>
> _______________________________________________
> 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: 

From patrick.lockley at googlemail.com  Wed Dec 12 01:25:42 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Wed, 12 Dec 2012 01:25:42 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	<019701cdd6e7$43c229c0$cb467d40$@co.uk>
	
	<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
	
	<01f001cdd704$1e42aea0$5ac80be0$@co.uk>
	
	<020701cdd713$debe5b20$9c3b1160$@co.uk>
	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>
	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>
	
	
	<4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com>
	
	<00e201cdd7ba$0957cb90$1c0762b0$@co.uk>
	
Message-ID: 

It is good to know the version that was working two days ago is now working
for other people to.

I have done some SVN updates. I've left a trace in update_file.php to help
test it, but it works here

AND AND AND AND AND AND

it also works in IE9 now as well

BUT BUT BUT BUT BUT BUT BUT

This is only in xampp as I have not tested it in moodle as it is half one
and I really can't be arsed


On Wed, Dec 12, 2012 at 1:22 AM, Pat Lockley  wrote:

> "Closing without first previewing or publishing always has the potential
> to lose changes especially now that the close + OK to publish isn't
> working!"
>
> That button won't change that, all the publish does is copy preview over
> data - if preview wasn't updated by previewing then the button makes no
> difference at all.
>
>
> On Tue, Dec 11, 2012 at 4:10 PM, Ron Mitchell wrote:
>
>> John****
>>
>> Publish saves changes to data.xml****
>>
>> Preview saves changes to preview.xml****
>>
>> Closing without first previewing or publishing always has the potential
>> to lose changes especially now that the close + OK to publish isn't working!
>> ****
>>
>> ** **
>>
>> So in terms of what has changed it's just that closing and clicking ok to
>> publish isn't working. It's always been the case that unless you preview
>> changes are not saved unless you manually publish or when clicking ok works.
>> ****
>>
>> ** **
>>
>> HTH****
>>
>> Ron****
>>
>> ** **
>>
>> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
>> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Smith, John
>> *Sent:* 11 December 2012 15:44
>>
>> *To:* For Xerte technical developers
>> *Subject:* [Xerte-dev] Re: 1.9 zip****
>>
>> ** **
>>
>> Yeah what I?m seeing is:****
>>
>> ** **
>>
>> I make a LO, add some stuff and then click Publish.****
>>
>> Then I make it Public, edit it again click Publish, close and Preview  =
>> changes are there?****
>>
>> Then I Edit it again, make changes but just click the close button. No
>> popup and when I click Preview the changes are lost?****
>>
>> ** **
>>
>> This is in both Chrome and IE and from SVN trunk, latest revision. Are
>> you guys working from a zip copy of trunk already?****
>>
>> ** **
>>
>> Will checkout a fresh trunk and see what happens?****
>>
>> ** **
>>
>> Regards,****
>>
>> ** **
>>
>> John Smith****
>>
>> Learning Technologist****
>>
>> School of Health & Life Sciences****
>>
>> Glasgow Caledonian University****
>>
>> ** **
>>
>> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
>> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
>> *On Behalf Of *Pat Lockley
>> *Sent:* Tuesday, December 11, 2012 1:42 PM
>> *To:* For Xerte technical developers
>> *Subject:* [Xerte-dev] Re: 1.9 zip****
>>
>> ** **
>>
>> If you don't preview then it isn't saved to preview.xml****
>>
>> ** **
>>
>> The pop up should happen if data and preview.xml are different
>>
>> On 11 Dec 2012, at 11:36, "Smith, John"  wrote:****
>>
>> Hi all,****
>>
>>  ****
>>
>> Correct me if I?m wrong but if you made a change in the editor and then
>> closed the window without Publishing you used to get a popup? I?m not
>> getting that at all now at latest revision. Closing the window doesn?t give
>> me any popup and the changes are lost now. Anyone else seeing this?****
>>
>>  ****
>>
>> Regards,****
>>
>>  ****
>>
>> John Smith****
>>
>> Learning Technologist****
>>
>> School of Health & Life Sciences****
>>
>> Glasgow Caledonian University****
>>
>>  ****
>>
>> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
>> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
>> *On Behalf Of *Pat Lockley
>> *Sent:* Tuesday, December 11, 2012 9:30 AM
>> *To:* For Xerte technical developers
>> *Subject:* [Xerte-dev] Re: 1.9 zip****
>>
>>  ****
>>
>> Look at the top, there is a conditional which means temp array is
>> sometimes created and sometimes not****
>>
>>  ****
>>
>> So some cases will need it and some won't
>>
>> On 11 Dec 2012, at 09:10, "Ron Mitchell" 
>> wrote:****
>>
>> Tried that but no change - project still not published upon clicking ok.
>> Publishing manually works fine.****
>>
>>  ****
>>
>> But still don't get why the files would be different? Your commit:
>> http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589
>> ****
>>
>>  ****
>>
>> has the four temp_array[0] and you're saying that file is working for
>> you? Or did something go wrong with the commit?****
>>
>>  ****
>>
>> Going to be offline for at least a few hours now so perhaps someone else
>> can have a look.****
>>
>>  ****
>>
>> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
>> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
>> *On Behalf Of *Pat Lockley
>> *Sent:* 10 December 2012 22:15
>> *To:* For Xerte technical developers
>> *Subject:* [Xerte-dev] Re: 1.9 zip****
>>
>>  ****
>>
>> No idea - all four temp arrays need to be replaced ****
>>
>>  ****
>>
>> As long as it is temp_array[0]
>>
>> On 10 Dec 2012, at 20:20, "Ron Mitchell" 
>> wrote:****
>>
>> There seems to be two occurrences of temp_array[0] ****
>>
>>
>> http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589
>> ****
>>
>>  ****
>>
>> Do both need changing or just one?****
>>
>> How come this works for you if same version?****
>>
>>  ****
>>
>> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
>> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
>> *On Behalf Of *Pat Lockley
>> *Sent:* 10 December 2012 18:28
>> *To:* For Xerte technical developers
>> *Subject:* [Xerte-dev] Re: 1.9 zip****
>>
>>  ****
>>
>> Ok one of the queries has a ref to temp_array[0] in still****
>>
>>  ****
>>
>> Replace with $template_id
>>
>> On 10 Dec 2012, at 18:28, "Ron Mitchell" 
>> wrote:****
>>
>> do these help?****
>>
>>  ****
>>
>> $query_for_play_content_strip****
>>
>>  ****
>>
>> select originaltemplatesdetails.template_name, logindetails.username,
>> originaltemplatesdetails.template_framework, templaterights.user_id,
>> templaterights.folder, templaterights.template_id,
>> templatedetails.access_to_whom from originaltemplatesdetails,
>> templaterights, templatedetails, logindetails where
>> templatedetails.template_type_id =
>> originaltemplatesdetails.template_type_id and templatedetails.creator_id =
>> logindetails.login_id and templaterights.template_id =
>> templatedetails.template_id and
>> templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"***
>> *
>>
>>  ****
>>
>> $query_for_play_content****
>>
>>  ****
>>
>> select originaltemplatesdetails.template_name, logindetails.username,
>> originaltemplatesdetails.template_framework, templaterights.user_id,
>> templaterights.folder, templaterights.template_id,
>> templatedetails.access_to_whom from originaltemplatesdetails,
>> templaterights, templatedetails, logindetails where
>> templatedetails.template_type_id =
>> originaltemplatesdetails.template_type_id and templatedetails.creator_id =
>> logindetails.login_id and templaterights.template_id =
>> templatedetails.template_id and templaterights.template_id="C:****
>>
>> mpphtdocs
>> rtetoolkits/USER" and role="creator"****
>>
>>  ****
>>
>>  ****
>>
>> $query_for_play_content_response****
>>
>>  ****
>>
>> Resource id #20****
>>
>>  ****
>>
>> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
>> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
>> *On Behalf Of *Pat Lockley
>> *Sent:* 10 December 2012 17:58
>> *To:* For Xerte technical developers
>> *Subject:* [Xerte-dev] Re: 1.9 zip****
>>
>>  ****
>>
>> website_code/php/versioncontrol/update_file.php
>>
>> there will be a variable called query or something query****
>>
>>  ****
>>
>> On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell 
>> wrote:****
>>
>> Sorry what query? In what file?****
>>
>>  ****
>>
>> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
>> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
>> *Sent:* 10 December 2012 16:03****
>>
>>
>> *To:* For Xerte technical developers
>> *Subject:* [Xerte-dev] Re: 1.9 zip****
>>
>>  ****
>>
>> Ok, so for you, the query doesn't work.
>>
>> echo out the query and see what it is****
>>
>>  ****
>>
>> On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell 
>> wrote:****
>>
>> I tested with a brand new svn update and export and a clean install using
>> the xampp option so not sure why we're seeing different things. I truned on
>> debugging and upon clicking ok to publish changes got the attached. Does
>> that help?****
>>
>>  ****
>>
>> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
>> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
>> *Sent:* 10 December 2012 14:27****
>>
>>
>> *To:* For Xerte technical developers
>> *Subject:* [Xerte-dev] Re: 1.9 zip****
>>
>>  ****
>>
>> Pah,
>>
>> It's been two years, but maybe that's my instinctive name for all things
>> XOT
>>
>> Well it works here on my XAMPP, but start putting echos in the code to
>> see where it gets too. Easiest way to debug (it's all I'd do, but mine err,
>> works).
>>
>> Pat****
>>
>>  ****
>>
>> On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell 
>> wrote:****
>>
>> Hi Pat****
>>
>> are you sure about the db name?****
>>
>>  ****
>>
>> as far as I can see when using the quick xampp install option the db
>> created is called toolkits_data as defines in \setup\xampp_database.txt**
>> **
>>
>>  ****
>>
>> Testing the publishing options with a clean xampp install...****
>>
>>  ****
>>
>> I get the prompt whether to publish with Chrome, Safari and FF but not
>> IE. Possibly because I still get the window_reference error when using IE.
>> Perhaps specific to my local IE?****
>>
>>  ****
>>
>> But as Julian reported even when clicking ok to publish the changes
>> aren't published until manually publishing.****
>>
>>  ****
>>
>> HTH****
>>
>> 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:* 10 December 2012 14:12****
>>
>>
>> *To:* For Xerte technical developers
>> *Subject:* [Xerte-dev] Re: 1.9 zip****
>>
>>  ****
>>
>> xertetoolkits
>>
>> mine is a fresh xampp and it works
>>
>> it's both files in versioncontrol and the response is alerted out so you
>> can add echo "HELLO" to your heart's content to debug it****
>>
>>  ****
>>
>> On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell 
>> wrote:****
>>
>> testing locally with guest access and no integration_config_path set...**
>> **
>>
>>
>> Create project
>> Add a page
>> Preview (so the file is save)****
>>
>> Quit the wizard - I don't get prompted to publish at all even with the
>> latest change Pat comitted
>> If I publish manually all is fine.
>>
>> I'll test a clean install via xampp... If using the quick xampp install
>> option what's the name of the db that gets created is it toolkits?****
>>
>>
>>
>> -----Original Message-----
>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
>> xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
>> Sent: 10 December 2012 11:15
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: 1.9 zip
>>
>> It still doesn't work:
>>
>> Create project
>> Add a page
>> Preview (so the file is save)
>> Quit the wizard - prompted to publish - say yes Go to properties, make
>> access public Hit the URL. Nothing until I publish from a button somewhere
>> (workspace or wizard).
>>
>> I think I'm going to put it out anyway, unless anyone can fix it today.
>> I'm not so concerned about the html5 side of this not working, but
>> previously working functionality doesn't work anymore. Maybe this isn't
>> such a dealbreaker, perhaps we should disable the prompt and force a manual
>> publish?
>>
>> -----Original Message-----
>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
>> xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
>> Sent: 07 December 2012 22:37
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: 1.9 zip
>>
>> Not sure why it would break but adding database connect in seemed to fix
>> it
>>
>> On 7 Dec 2012, at 22:21, Julian Tenney 
>> wrote:
>>
>> > thanks mate, I'll test on Monday,
>> > ________________________________________
>> > From: xerte-dev-bounces at lists.nottingham.ac.uk
>> > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
>> > [patrick.lockley at googlemail.com]
>> > Sent: 07 December 2012 19:22
>> > To: For Xerte technical developers
>> > Subject: [Xerte-dev] Re: 1.9 zip
>> >
>> > fixed in moodle (both files in version control folder)
>> >
>> > Please test
>> >
>> >
>> > On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney <
>> Julian.Tenney at nottingham.ac.uk>
>> wrote:
>> > It works from the publish buttons. Just not on the on close trapper
>> >
>> > From:
>> > xerte-dev-bounces at lists.nottingham.ac.uk> > s.nottingham.ac.uk>
>> > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk> > ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>> >
>> > Sent: 07 December 2012 12:06
>> > To: For Xerte technical developers
>> > Subject: [Xerte-dev] Re: 1.9 zip
>> >
>> > I think I assumed all publishing went through one file, but that's not
>> > the case. Am on holiday but can poke around later on
>> >
>> > So publishing when closing
>> > And
>> > Publishing Inside xerte
>> >
>> > On 7 Dec 2012, at 11:55, Julian Tenney > > wrote:
>> > It?s a bit more than that. Here?s what I?m doing:
>> >
>> > Create project
>> > Got to properties, make it public
>> > Goto wizard edit something
>> > Close editor
>> > Prompted to publish ? say yes
>> > Goto properties, hit the link
>> > No dice.
>> >
>> > But it?s also not publishing the changes for the flash verison
>> either,so Pats on the right lines, the modularised publish stuff isn?t
>> accounted for in the wizard window?
>> >
>> > From:
>> > xerte-dev-bounces at lists.nottingham.ac.uk> > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
>> > On Behalf Of Smith, John
>> > Sent: 07 December 2012 11:41
>> > To: For Xerte technical developers
>> > Subject: [Xerte-dev] Re: 1.9 zip
>> >
>> > You have to make it public in the workspace before it?s accessible ?
>> > well that?s what I?ve always had to do?
>> >
>> > Publish in the editor doesn?t appear to do much unless you set the
>> > access level?
>> >
>> > Regards,
>> >
>> > John Smith
>> > Learning Technologist
>> > School of Health & Life Sciences
>> > Glasgow Caledonian University
>> >
>> > From:
>> > xerte-dev-bounces at lists.nottingham.ac.uk> > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
>> > On Behalf Of Julian Tenney
>> > Sent: Friday, December 07, 2012 11:37 AM
>> > To: For Xerte technical developers
>> > Subject: [Xerte-dev] Re: 1.9 zip
>> >
>> > Ah, it?s working now.
>> >
>> > It only works after you?ve published the file from the workspace button.
>> >
>> > I published from the wizard button (when it closed and asked me if I
>> wanted to) but had to publish from the workspace before the link worked.
>> >
>> > Any idea what makes the two publishes different?
>> >
>> > From:
>> > xerte-dev-bounces at lists.nottingham.ac.uk> > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
>> > On Behalf Of Julian Tenney
>> > Sent: 07 December 2012 11:30
>> > To: For Xerte technical developers
>> > Subject: [Xerte-dev] Re: 1.9 zip
>> >
>> > Dunno.
>> >
>> > From:
>> > xerte-dev-bounces at lists.nottingham.ac.uk> > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
>> > On Behalf Of Pat Lockley
>> > Sent: 07 December 2012 11:29
>> > To: For Xerte technical developers
>> > Subject: [Xerte-dev] Re: 1.9 zip
>> >
>> > Does xampp use htaccess by default?
>> >
>> > On 7 Dec 2012, at 11:28, Julian Tenney > > wrote:
>> > Sorry the path and file are in the right place, but I get a blank
>> > screen when I try and CTRL-play for preview, or when I click the link
>> > in properties
>> >
>> > From:
>> > xerte-dev-bounces at lists.nottingham.ac.uk> > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
>> > On Behalf Of Julian Tenney
>> > Sent: 07 December 2012 11:25
>> > To: For Xerte technical developers
>> > Subject: [Xerte-dev] Re: 1.9 zip
>> >
>> > When I do an xamppp setup, build simple project and publish etc, I
>> can?t preview it on the link in the properties panel, i.e. this link
>> doesn?t work.
>> >
>> > There is no xenith.js at
>> modules/xerte/parent_templates/Nottingham/common_html5, which is where
>> play_html5 is trying to load it from.
>> >
>> > Do I move the file (where is it?) or change the link(to point to ?)
>> >
>> > From:
>> > xerte-dev-bounces at lists.nottingham.ac.uk> > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
>> > On Behalf Of Julian Tenney
>> > Sent: 07 December 2012 11:17
>> > To: For Xerte technical developers
>> > Subject: [Xerte-dev] 1.9 zip
>> >
>> > Is there anything in the svn that I shouldn?t include in the zip?
>> >
>> > _______________________________________________
>> > Xerte-dev mailing list
>> > Xerte-dev at lists.nottingham.ac.uk> > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>> >
>> > Glasgow Caledonian University is a registered Scottish charity, number
>> > SC021474
>> >
>> > Winner: Times Higher Education?s Widening Participation Initiative of
>> the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
>> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
>> > 219,en.html
>> >
>> > Winner: Times Higher Education?s Outstanding Support for Early Career
>> Researchers of the Year 2010, GCU as a lead with Universities Scotland
>> partners.
>> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
>> > 5691,en.html _______________________________________________
>> > Xerte-dev mailing list
>> > Xerte-dev at lists.nottingham.ac.uk> > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>> >
>> > _______________________________________________
>> > Xerte-dev mailing list
>> > Xerte-dev at lists.nottingham.ac.uk> > 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
>> > This message and any attachment are intended solely for the addressee
>> and may contain confidential information. If you have received this message
>> in error, please send it back to me, and immediately delete it.   Please do
>> not use, copy or disclose the information contained in this message or in
>> any attachment.  Any views or opinions expressed by the author of this
>> email do not necessarily reflect the views of the University of Nottingham.
>> >
>> > This message has been checked for viruses but the contents of an
>> > attachment may still contain software viruses which could damage your
>> computer system:
>> > you are advised to perform your own checks. Email communications with
>> > the University of Nottingham may be monitored as permitted by UK
>> legislation.
>>
>> _______________________________________________
>> 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****
>>
>>  ****
>>
>>
>>
>>
>>
>>
>> ****
>>
>>
>> _______________________________________________
>> 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****
>>
>>
>>
>> ****
>>
>>
>> Glasgow Caledonian University is a registered Scottish charity, number
>> SC021474
>>
>> Winner: Times Higher Education?s Widening Participation Initiative of the
>> Year 2009 and Herald Society?s Education Initiative of the Year 2009.
>>
>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>>
>> Winner: Times Higher Education?s Outstanding Support for Early Career
>> Researchers of the Year 2010, GCU as a lead with Universities Scotland
>> partners.
>>
>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
>> ****
>>
>> _______________________________________________
>> Xerte-dev mailing list
>> Xerte-dev at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>>
>> ** **
>>
>>
>> Glasgow Caledonian University is a registered Scottish charity, number
>> SC021474
>>
>> Winner: Times Higher Education?s Widening Participation Initiative of the
>> Year 2009 and Herald Society?s Education Initiative of the Year 2009.
>>
>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>>
>> Winner: Times Higher Education?s Outstanding Support for Early Career
>> Researchers of the Year 2010, GCU as a lead with Universities Scotland
>> partners.
>>
>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
>> ****
>>
>>
>>
>>
>> _______________________________________________
>> 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: 

From ronm at mitchellmedia.co.uk  Wed Dec 12 09:05:23 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Wed, 12 Dec 2012 09:05:23 -0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>	<019701cdd6e7$4
	3c229c0$cb467d40$@co.uk>		<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>		<01f001cdd704$1e42aea0$5ac80be0$@co.uk>		<020701cdd713$debe5b20$9c3b1160$@co.uk>	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>			<4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com>		<00e201cdd7ba$0957cb90$1c0762b0$@co.uk>
	
Message-ID: <015c01cdd847$d2f26130$78d72390$@co.uk>

" That button won't change that, all the publish does is copy preview over
data - if preview wasn't updated by previewing then the button makes no
difference at all."

 

I was surprised by that comment Pat because I'll often make changes and
click publish without first previewing especially if it was only a minor
change and therefore saves time not previewing. I'm not aware that I've ever
lost changes that way and just checked...

 

Edit an LO and add a new page

Click publish in the editor but not preview

View the public url the new page is included

View via preview the new page is included

 

As far as I can see clicking publish therefore adds any changes to
preview.xml as well as data.xml?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 12 December 2012 01:22
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

"Closing without first previewing or publishing always has the potential to
lose changes especially now that the close + OK to publish isn't working!"

 

That button won't change that, all the publish does is copy preview over
data - if preview wasn't updated by previewing then the button makes no
difference at all.

 

On Tue, Dec 11, 2012 at 4:10 PM, Ron Mitchell 
wrote:

John

Publish saves changes to data.xml

Preview saves changes to preview.xml

Closing without first previewing or publishing always has the potential to
lose changes especially now that the close + OK to publish isn't working!

 

So in terms of what has changed it's just that closing and clicking ok to
publish isn't working. It's always been the case that unless you preview
changes are not saved unless you manually publish or when clicking ok works.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 11 December 2012 15:44


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Yeah what I'm seeing is:

 

I make a LO, add some stuff and then click Publish.

Then I make it Public, edit it again click Publish, close and Preview  =
changes are there.

Then I Edit it again, make changes but just click the close button. No popup
and when I click Preview the changes are lost.

 

This is in both Chrome and IE and from SVN trunk, latest revision. Are you
guys working from a zip copy of trunk already?

 

Will checkout a fresh trunk and see what happens.

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Tuesday, December 11, 2012 1:42 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

If you don't preview then it isn't saved to preview.xml

 

The pop up should happen if data and preview.xml are different

On 11 Dec 2012, at 11:36, "Smith, John"  wrote:

Hi all,

 

Correct me if I'm wrong but if you made a change in the editor and then
closed the window without Publishing you used to get a popup? I'm not
getting that at all now at latest revision. Closing the window doesn't give
me any popup and the changes are lost now. Anyone else seeing this?

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Tuesday, December 11, 2012 9:30 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Look at the top, there is a conditional which means temp array is sometimes
created and sometimes not

 

So some cases will need it and some won't

On 11 Dec 2012, at 09:10, "Ron Mitchell"  wrote:

Tried that but no change - project still not published upon clicking ok.
Publishing manually works fine.

 

But still don't get why the files would be different? Your commit:
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589
 &r=589

 

has the four temp_array[0] and you're saying that file is working for you?
Or did something go wrong with the commit?

 

Going to be offline for at least a few hours now so perhaps someone else can
have a look.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 22:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

No idea - all four temp arrays need to be replaced 

 

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell"  wrote:

There seems to be two occurrences of temp_array[0] 

http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589
 &r=589

 

Do both need changing or just one?

How come this works for you if same version?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Ok one of the queries has a ref to temp_array[0] in still

 

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell"  wrote:

do these help?

 

$query_for_play_content_strip

 

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

 

$query_for_play_content

 

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="C:

mpphtdocs
rtetoolkits/USER" and role="creator"

 

 

$query_for_play_content_response

 

Resource id #20

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

 

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell 
wrote:

Sorry what query? In what file?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Ok, so for you, the query doesn't work.

echo out the query and see what it is

 

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell 
wrote:

I tested with a brand new svn update and export and a clean install using
the xampp option so not sure why we're seeing different things. I truned on
debugging and upon clicking ok to publish changes got the attached. Does
that help?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Pah, 

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see
where it gets too. Easiest way to debug (it's all I'd do, but mine err,
works).

Pat

 

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell 
wrote:

Hi Pat

are you sure about the db name?

 

as far as I can see when using the quick xampp install option the db created
is called toolkits_data as defines in \setup\xampp_database.txt

 

Testing the publishing options with a clean xampp install...

 

I get the prompt whether to publish with Chrome, Safari and FF but not IE.
Possibly because I still get the window_reference error when using IE.
Perhaps specific to my local IE?

 

But as Julian reported even when clicking ok to publish the changes aren't
published until manually publishing.

 

HTH

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: 10 December 2012 14:12


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can
add echo "HELLO" to your heart's content to debug it

 

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell 
wrote:

testing locally with guest access and no integration_config_path set...


Create project
Add a page
Preview (so the file is save)

Quit the wizard - I don't get prompted to publish at all even with the
latest change Pat comitted
If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install
option what's the name of the db that gets created is it toolkits?



-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make
access public Hit the URL. Nothing until I publish from a button somewhere
(workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm
not so concerned about the html5 side of this not working, but previously
working functionality doesn't work anymore. Maybe this isn't such a
dealbreaker, perhaps we should disable the prompt and force a manual
publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney 
wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney
>
wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney
>
wrote:
> It's a bit more than that. Here's what I'm doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish - say yes
> Goto properties, hit the link
> No dice.
>
> But it's also not publishing the changes for the flash verison either,so
Pats on the right lines, the modularised publish stuff isn't accounted for
in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it's accessible -
> well that's what I've always had to do.
>
> Publish in the editor doesn't appear to do much unless you set the
> access level.
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it's working now.
>
> It only works after you've published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I
wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney
>
wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can't
preview it on the link in the properties panel, i.e. this link doesn't work.
>
> There is no xenith.js at
modules/xerte/parent_templates/Nottingham/common_html5, which is where
play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn't include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk 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
> This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK
legislation.

_______________________________________________
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

 








_______________________________________________
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

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html

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

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html






_______________________________________________
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: 

From patrick.lockley at googlemail.com  Wed Dec 12 09:07:13 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Wed, 12 Dec 2012 09:07:13 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <015c01cdd847$d2f26130$78d72390$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	<019701cdd6e7$4 3c229c0$cb467d40$@co.uk>
	
	<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
	
	<01f001cdd704$1e42aea0$5ac80be0$@co.uk>
	
	<020701cdd713$debe5b20$9c3b1160$@co.uk>
	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>
	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>
	
	
	<4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com>
	
	<00e201cdd7ba$0957cb90$1c0762b0$@co.uk>
	
	<015c01cdd847$d2f26130$78d72390$@co.uk>
Message-ID: 

That's true, because publish in the xerte window does a double save (updates preview and data) - but unless  you preview or publish your changes are lost

On 12 Dec 2012, at 09:05, "Ron Mitchell"  wrote:

> " That button won't change that, all the publish does is copy preview over data - if preview wasn't updated by previewing then the button makes no difference at all."
>  
> I was surprised by that comment Pat because I'll often make changes and click publish without first previewing especially if it was only a minor change and therefore saves time not previewing. I'm not aware that I've ever lost changes that way and just checked...
>  
> Edit an LO and add a new page
> Click publish in the editor but not preview
> View the public url the new page is included
> View via preview the new page is included
>  
> As far as I can see clicking publish therefore adds any changes to preview.xml as well as data.xml?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 12 December 2012 01:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> "Closing without first previewing or publishing always has the potential to lose changes especially now that the close + OK to publish isn't working!"
>  
> That button won't change that, all the publish does is copy preview over data - if preview wasn't updated by previewing then the button makes no difference at all.
>  
> 
> On Tue, Dec 11, 2012 at 4:10 PM, Ron Mitchell  wrote:
> John
> Publish saves changes to data.xml
> Preview saves changes to preview.xml
> Closing without first previewing or publishing always has the potential to lose changes especially now that the close + OK to publish isn't working!
>  
> So in terms of what has changed it's just that closing and clicking ok to publish isn't working. It's always been the case that unless you preview changes are not saved unless you manually publish or when clicking ok works.
>  
> HTH
> Ron
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
> Sent: 11 December 2012 15:44
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Yeah what I?m seeing is:
>  
> I make a LO, add some stuff and then click Publish.
> Then I make it Public, edit it again click Publish, close and Preview  = changes are there?
> Then I Edit it again, make changes but just click the close button. No popup and when I click Preview the changes are lost?
>  
> This is in both Chrome and IE and from SVN trunk, latest revision. Are you guys working from a zip copy of trunk already?
>  
> Will checkout a fresh trunk and see what happens?
>  
> Regards,
>  
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: Tuesday, December 11, 2012 1:42 PM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> If you don't preview then it isn't saved to preview.xml
>  
> The pop up should happen if data and preview.xml are different
> 
> On 11 Dec 2012, at 11:36, "Smith, John"  wrote:
> 
> Hi all,
>  
> Correct me if I?m wrong but if you made a change in the editor and then closed the window without Publishing you used to get a popup? I?m not getting that at all now at latest revision. Closing the window doesn?t give me any popup and the changes are lost now. Anyone else seeing this?
>  
> Regards,
>  
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: Tuesday, December 11, 2012 9:30 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Look at the top, there is a conditional which means temp array is sometimes created and sometimes not
>  
> So some cases will need it and some won't
> 
> On 11 Dec 2012, at 09:10, "Ron Mitchell"  wrote:
> 
> Tried that but no change - project still not published upon clicking ok. Publishing manually works fine.
>  
> But still don't get why the files would be different? Your commit: http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589
>  
> has the four temp_array[0] and you're saying that file is working for you? Or did something go wrong with the commit?
>  
> Going to be offline for at least a few hours now so perhaps someone else can have a look.
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 22:15
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> No idea - all four temp arrays need to be replaced 
>  
> As long as it is temp_array[0]
> 
> On 10 Dec 2012, at 20:20, "Ron Mitchell"  wrote:
> 
> There seems to be two occurrences of temp_array[0]
> http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589
>  
> Do both need changing or just one?
> How come this works for you if same version?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 18:28
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Ok one of the queries has a ref to temp_array[0] in still
>  
> Replace with $template_id
> 
> On 10 Dec 2012, at 18:28, "Ron Mitchell"  wrote:
> 
> do these help?
>  
> $query_for_play_content_strip
>  
> select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"
>  
> $query_for_play_content
>  
> select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="C:
> mpphtdocs
> rtetoolkits/USER" and role="creator"
>  
>  
> $query_for_play_content_response
>  
> Resource id #20
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 17:58
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> website_code/php/versioncontrol/update_file.php
> 
> there will be a variable called query or something query
>  
> 
> On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell  wrote:
> Sorry what query? In what file?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 16:03
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Ok, so for you, the query doesn't work.
> 
> echo out the query and see what it is
>  
> 
> On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell  wrote:
> I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 14:27
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Pah, 
> 
> It's been two years, but maybe that's my instinctive name for all things XOT
> 
> Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works).
> 
> Pat
>  
> 
> On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell  wrote:
> Hi Pat
> are you sure about the db name?
>  
> as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt
>  
> Testing the publishing options with a clean xampp install...
>  
> I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE?
>  
> But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing.
>  
> HTH
> 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: 10 December 2012 14:12
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> xertetoolkits
> 
> mine is a fresh xampp and it works
> 
> it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it
>  
> 
> On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell  wrote:
> testing locally with guest access and no integration_config_path set...
> 
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted
> If I publish manually all is fine.
> 
> I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?
> 
> 
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 10 December 2012 11:15
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> It still doesn't work:
> 
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).
> 
> I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?
> 
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 22:37
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> Not sure why it would break but adding database connect in seemed to fix it
> 
> On 7 Dec 2012, at 22:21, Julian Tenney  wrote:
> 
> > thanks mate, I'll test on Monday,
> > ________________________________________
> > From: xerte-dev-bounces at lists.nottingham.ac.uk
> > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> > [patrick.lockley at googlemail.com]
> > Sent: 07 December 2012 19:22
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > fixed in moodle (both files in version control folder)
> >
> > Please test
> >
> >
> > On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney > wrote:
> > It works from the publish buttons. Just not on the on close trapper
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk>
> > [mailto: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: 

From ronm at mitchellmedia.co.uk  Wed Dec 12 09:24:09 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Wed, 12 Dec 2012 09:24:09 -0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>	<019701cdd6e7$4
	3c229c0$cb467d40$@co.uk>		<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>		<01f001cdd704$1e42aea0$5ac80be0$@co.uk>		<020701cdd713$debe5b20$9c3b1160$@co.uk>	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>			<4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com>		<00e201cdd7ba$0957cb90$1c0762b0$@co.uk>		<015c01cdd847$d2f26130$78d72390$@co.uk>
	
Message-ID: <017301cdd84a$720df7f0$5629e7d0$@co.uk>

Isn't that what I said?

 

I guess what you mean is that there's a difference between the publish button in the editor and the publish button in the workspace e.g. if you make a change and don't preview or publish in the editor then any changes are lost because if you don't preview you don't see a prompt to publish upon close. If you publish in the editor then changes are already published so there's no need for the prompt. If you preview any changes are saved to preview.xml and then either publish in the editor, ok to publish upon close, or publish later will publish those changes.

 

Your recent changes seem to have fixed the IE 9 issue I was getting. Will update the techdis install and test there shortly.

 

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: 12 December 2012 09:07
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

That's true, because publish in the xerte window does a double save (updates preview and data) - but unless  you preview or publish your changes are lost

On 12 Dec 2012, at 09:05, "Ron Mitchell"  wrote:

" That button won't change that, all the publish does is copy preview over data - if preview wasn't updated by previewing then the button makes no difference at all."

 

I was surprised by that comment Pat because I'll often make changes and click publish without first previewing especially if it was only a minor change and therefore saves time not previewing. I'm not aware that I've ever lost changes that way and just checked...

 

Edit an LO and add a new page

Click publish in the editor but not preview

View the public url the new page is included

View via preview the new page is included

 

As far as I can see clicking publish therefore adds any changes to preview.xml as well as data.xml?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 12 December 2012 01:22
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

"Closing without first previewing or publishing always has the potential to lose changes especially now that the close + OK to publish isn't working!"

 

That button won't change that, all the publish does is copy preview over data - if preview wasn't updated by previewing then the button makes no difference at all.

 

On Tue, Dec 11, 2012 at 4:10 PM, Ron Mitchell  wrote:

John

Publish saves changes to data.xml

Preview saves changes to preview.xml

Closing without first previewing or publishing always has the potential to lose changes especially now that the close + OK to publish isn't working!

 

So in terms of what has changed it's just that closing and clicking ok to publish isn't working. It's always been the case that unless you preview changes are not saved unless you manually publish or when clicking ok works.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 11 December 2012 15:44


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Yeah what I?m seeing is:

 

I make a LO, add some stuff and then click Publish.

Then I make it Public, edit it again click Publish, close and Preview  = changes are there?

Then I Edit it again, make changes but just click the close button. No popup and when I click Preview the changes are lost?

 

This is in both Chrome and IE and from SVN trunk, latest revision. Are you guys working from a zip copy of trunk already?

 

Will checkout a fresh trunk and see what happens?

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Tuesday, December 11, 2012 1:42 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

If you don't preview then it isn't saved to preview.xml

 

The pop up should happen if data and preview.xml are different

On 11 Dec 2012, at 11:36, "Smith, John"  wrote:

Hi all,

 

Correct me if I?m wrong but if you made a change in the editor and then closed the window without Publishing you used to get a popup? I?m not getting that at all now at latest revision. Closing the window doesn?t give me any popup and the changes are lost now. Anyone else seeing this?

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Tuesday, December 11, 2012 9:30 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Look at the top, there is a conditional which means temp array is sometimes created and sometimes not

 

So some cases will need it and some won't

On 11 Dec 2012, at 09:10, "Ron Mitchell"  wrote:

Tried that but no change - project still not published upon clicking ok. Publishing manually works fine.

 

But still don't get why the files would be different? Your commit: http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589  &r=589

 

has the four temp_array[0] and you're saying that file is working for you? Or did something go wrong with the commit?

 

Going to be offline for at least a few hours now so perhaps someone else can have a look.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 22:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

No idea - all four temp arrays need to be replaced 

 

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell"  wrote:

There seems to be two occurrences of temp_array[0] 

http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589  &r=589

 

Do both need changing or just one?

How come this works for you if same version?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Ok one of the queries has a ref to temp_array[0] in still

 

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell"  wrote:

do these help?

 

$query_for_play_content_strip

 

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

 

$query_for_play_content

 

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="C:

mpphtdocs
rtetoolkits/USER" and role="creator"

 

 

$query_for_play_content_response

 

Resource id #20

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

 

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell  wrote:

Sorry what query? In what file?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Ok, so for you, the query doesn't work.

echo out the query and see what it is

 

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell  wrote:

I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Pah, 

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works).

Pat

 

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell  wrote:

Hi Pat

are you sure about the db name?

 

as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt

 

Testing the publishing options with a clean xampp install...

 

I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE?

 

But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing.

 

HTH

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: 10 December 2012 14:12


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it

 

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell  wrote:

testing locally with guest access and no integration_config_path set...


Create project
Add a page
Preview (so the file is save)

Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted
If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?



-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney  wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney > wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk>
> [mailto: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: 

From ronm at mitchellmedia.co.uk  Wed Dec 12 09:51:01 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Wed, 12 Dec 2012 09:51:01 -0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: 
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>		<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>	<019701cdd6e7$4
	3c229c0$cb467d40$@co.uk>		<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>		<01f001cdd704$1e42aea0$5ac80be0$@co.uk>		<020701cdd713$debe5b20$9c3b1160$@co.uk>	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>			<4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com>		<00e201cdd7ba$0957cb90$1c0762b0$@co.uk>	
	
Message-ID: <018f01cdd84e$32c459f0$984d0dd0$@co.uk>

Ok the techdis install is updated to r594

 

It now works in IE9 without the need for compatibility mode and even with
developer tools and script debugging running e.g. no more window_reference
error and clciking preview and then closing prompts for publish and clicking
ok publishes the changes.

 

I've tested locally without moodle integration and on the techdis install
with moodle integration - both seem to be working fine for me.

 

What resolved the IE 9 issue Pat?

 

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: 12 December 2012 01:26
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

It is good to know the version that was working two days ago is now working
for other people to.

 

I have done some SVN updates. I've left a trace in update_file.php to help
test it, but it works here


AND AND AND AND AND AND

 

it also works in IE9 now as well

 

BUT BUT BUT BUT BUT BUT BUT

 

This is only in xampp as I have not tested it in moodle as it is half one
and I really can't be arsed

 

On Wed, Dec 12, 2012 at 1:22 AM, Pat Lockley
 wrote:

"Closing without first previewing or publishing always has the potential to
lose changes especially now that the close + OK to publish isn't working!"

 

That button won't change that, all the publish does is copy preview over
data - if preview wasn't updated by previewing then the button makes no
difference at all.

 

On Tue, Dec 11, 2012 at 4:10 PM, Ron Mitchell 
wrote:

John

Publish saves changes to data.xml

Preview saves changes to preview.xml

Closing without first previewing or publishing always has the potential to
lose changes especially now that the close + OK to publish isn't working!

 

So in terms of what has changed it's just that closing and clicking ok to
publish isn't working. It's always been the case that unless you preview
changes are not saved unless you manually publish or when clicking ok works.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 11 December 2012 15:44


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Yeah what I'm seeing is:

 

I make a LO, add some stuff and then click Publish.

Then I make it Public, edit it again click Publish, close and Preview  =
changes are there.

Then I Edit it again, make changes but just click the close button. No popup
and when I click Preview the changes are lost.

 

This is in both Chrome and IE and from SVN trunk, latest revision. Are you
guys working from a zip copy of trunk already?

 

Will checkout a fresh trunk and see what happens.

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Tuesday, December 11, 2012 1:42 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

If you don't preview then it isn't saved to preview.xml

 

The pop up should happen if data and preview.xml are different

On 11 Dec 2012, at 11:36, "Smith, John"  wrote:

Hi all,

 

Correct me if I'm wrong but if you made a change in the editor and then
closed the window without Publishing you used to get a popup? I'm not
getting that at all now at latest revision. Closing the window doesn't give
me any popup and the changes are lost now. Anyone else seeing this?

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Tuesday, December 11, 2012 9:30 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Look at the top, there is a conditional which means temp array is sometimes
created and sometimes not

 

So some cases will need it and some won't

On 11 Dec 2012, at 09:10, "Ron Mitchell"  wrote:

Tried that but no change - project still not published upon clicking ok.
Publishing manually works fine.

 

But still don't get why the files would be different? Your commit:
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589
 &r=589

 

has the four temp_array[0] and you're saying that file is working for you?
Or did something go wrong with the commit?

 

Going to be offline for at least a few hours now so perhaps someone else can
have a look.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 22:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

No idea - all four temp arrays need to be replaced 

 

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell"  wrote:

There seems to be two occurrences of temp_array[0] 

http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589
 &r=589

 

Do both need changing or just one?

How come this works for you if same version?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Ok one of the queries has a ref to temp_array[0] in still

 

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell"  wrote:

do these help?

 

$query_for_play_content_strip

 

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

 

$query_for_play_content

 

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="C:

mpphtdocs
rtetoolkits/USER" and role="creator"

 

 

$query_for_play_content_response

 

Resource id #20

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

 

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell 
wrote:

Sorry what query? In what file?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Ok, so for you, the query doesn't work.

echo out the query and see what it is

 

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell 
wrote:

I tested with a brand new svn update and export and a clean install using
the xampp option so not sure why we're seeing different things. I truned on
debugging and upon clicking ok to publish changes got the attached. Does
that help?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Pah, 

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see
where it gets too. Easiest way to debug (it's all I'd do, but mine err,
works).

Pat

 

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell 
wrote:

Hi Pat

are you sure about the db name?

 

as far as I can see when using the quick xampp install option the db created
is called toolkits_data as defines in \setup\xampp_database.txt

 

Testing the publishing options with a clean xampp install...

 

I get the prompt whether to publish with Chrome, Safari and FF but not IE.
Possibly because I still get the window_reference error when using IE.
Perhaps specific to my local IE?

 

But as Julian reported even when clicking ok to publish the changes aren't
published until manually publishing.

 

HTH

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: 10 December 2012 14:12


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can
add echo "HELLO" to your heart's content to debug it

 

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell 
wrote:

testing locally with guest access and no integration_config_path set...


Create project
Add a page
Preview (so the file is save)

Quit the wizard - I don't get prompted to publish at all even with the
latest change Pat comitted
If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install
option what's the name of the db that gets created is it toolkits?



-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make
access public Hit the URL. Nothing until I publish from a button somewhere
(workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm
not so concerned about the html5 side of this not working, but previously
working functionality doesn't work anymore. Maybe this isn't such a
dealbreaker, perhaps we should disable the prompt and force a manual
publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney 
wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney
>
wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney
>
wrote:
> It's a bit more than that. Here's what I'm doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish - say yes
> Goto properties, hit the link
> No dice.
>
> But it's also not publishing the changes for the flash verison either,so
Pats on the right lines, the modularised publish stuff isn't accounted for
in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it's accessible -
> well that's what I've always had to do.
>
> Publish in the editor doesn't appear to do much unless you set the
> access level.
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it's working now.
>
> It only works after you've published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I
wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney
>
wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can't
preview it on the link in the properties panel, i.e. this link doesn't work.
>
> There is no xenith.js at
modules/xerte/parent_templates/Nottingham/common_html5, which is where
play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn't include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk 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
> This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK
legislation.

_______________________________________________
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

 








_______________________________________________
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

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html

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

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html






_______________________________________________
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: 

From Julian.Tenney at nottingham.ac.uk  Wed Dec 12 09:49:34 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Wed, 12 Dec 2012 09:49:34 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <018f01cdd84e$32c459f0$984d0dd0$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	<019701cdd6e7$4	3c229c0$cb467d40$@co.uk>
	
	<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
	
	<01f001cdd704$1e42aea0$5ac80be0$@co.uk>
	
	<020701cdd713$debe5b20$9c3b1160$@co.uk>
	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>
	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>
	
	
	<4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com>
	
	<00e201cdd7ba$0957cb90$1c0762b0$@co.uk>
	
	
	<018f01cdd84e$32c459f0$984d0dd0$@co.uk>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E7642E@EXCHANGE1.ad.nottingham.ac.uk>

OK, I'll update the zip file, thanks for getting to the bottom of this.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 12 December 2012 09:51
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

Ok the techdis install is updated to r594

It now works in IE9 without the need for compatibility mode and even with developer tools and script debugging running e.g. no more window_reference error and clciking preview and then closing prompts for publish and clicking ok publishes the changes.

I've tested locally without moodle integration and on the techdis install with moodle integration - both seem to be working fine for me.

What resolved the IE 9 issue Pat?

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: 12 December 2012 01:26
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It is good to know the version that was working two days ago is now working for other people to.

I have done some SVN updates. I've left a trace in update_file.php to help test it, but it works here

AND AND AND AND AND AND

it also works in IE9 now as well

BUT BUT BUT BUT BUT BUT BUT

This is only in xampp as I have not tested it in moodle as it is half one and I really can't be arsed

On Wed, Dec 12, 2012 at 1:22 AM, Pat Lockley > wrote:
"Closing without first previewing or publishing always has the potential to lose changes especially now that the close + OK to publish isn't working!"

That button won't change that, all the publish does is copy preview over data - if preview wasn't updated by previewing then the button makes no difference at all.

On Tue, Dec 11, 2012 at 4:10 PM, Ron Mitchell > wrote:
John
Publish saves changes to data.xml
Preview saves changes to preview.xml
Closing without first previewing or publishing always has the potential to lose changes especially now that the close + OK to publish isn't working!

So in terms of what has changed it's just that closing and clicking ok to publish isn't working. It's always been the case that unless you preview changes are not saved unless you manually publish or when clicking ok works.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 11 December 2012 15:44

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Yeah what I'm seeing is:

I make a LO, add some stuff and then click Publish.
Then I make it Public, edit it again click Publish, close and Preview  = changes are there...
Then I Edit it again, make changes but just click the close button. No popup and when I click Preview the changes are lost...

This is in both Chrome and IE and from SVN trunk, latest revision. Are you guys working from a zip copy of trunk already?

Will checkout a fresh trunk and see what happens...

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Tuesday, December 11, 2012 1:42 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

If you don't preview then it isn't saved to preview.xml

The pop up should happen if data and preview.xml are different

On 11 Dec 2012, at 11:36, "Smith, John" > wrote:
Hi all,

Correct me if I'm wrong but if you made a change in the editor and then closed the window without Publishing you used to get a popup? I'm not getting that at all now at latest revision. Closing the window doesn't give me any popup and the changes are lost now. Anyone else seeing this?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Tuesday, December 11, 2012 9:30 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Look at the top, there is a conditional which means temp array is sometimes created and sometimes not

So some cases will need it and some won't

On 11 Dec 2012, at 09:10, "Ron Mitchell" > wrote:
Tried that but no change - project still not published upon clicking ok. Publishing manually works fine.

But still don't get why the files would be different? Your commit: http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589

has the four temp_array[0] and you're saying that file is working for you? Or did something go wrong with the commit?

Going to be offline for at least a few hours now so perhaps someone else can have a look.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 22:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

No idea - all four temp arrays need to be replaced

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell" > wrote:
There seems to be two occurrences of temp_array[0]
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589

Do both need changing or just one?
How come this works for you if same version?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok one of the queries has a ref to temp_array[0] in still

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell" > wrote:
do these help?

$query_for_play_content_strip

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

$query_for_play_content

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="C:
mpphtdocs
rtetoolkits/USER" and role="creator"


$query_for_play_content_response

Resource id #20

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell > wrote:
Sorry what query? In what file?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok, so for you, the query doesn't work.

echo out the query and see what it is

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell > wrote:
I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Pah,

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works).

Pat

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell > wrote:
Hi Pat
are you sure about the db name?

as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt

Testing the publishing options with a clean xampp install...

I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE?

But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing.

HTH
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: 10 December 2012 14:12

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell > wrote:
testing locally with guest access and no integration_config_path set...

Create project
Add a page
Preview (so the file is save)
Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted
If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?


-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney > wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney >> wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk
> ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney >> wrote:
> It's a bit more than that. Here's what I'm doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish - say yes
> Goto properties, hit the link
> No dice.
>
> But it's also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn't accounted for in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it's accessible -
> well that's what I've always had to do...
>
> Publish in the editor doesn't appear to do much unless you set the
> access level...
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it's working now.
>
> It only works after you've published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney >> wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can't preview it on the link in the properties panel, i.e. this link doesn't work.
>
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn't include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> 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
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK legislation.

_______________________________________________
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





_______________________________________________
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


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


_______________________________________________
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: 

From ronm at mitchellmedia.co.uk  Wed Dec 12 09:50:52 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Wed, 12 Dec 2012 09:50:52 -0000
Subject: [Xerte-dev] page linking via html5 playback
Message-ID: <018a01cdd84e$2d139840$873ac8c0$@co.uk>

Hi

starting this as a new thread so we know it remains an issue to resolve.
Don't think it should delay release of 1.9.

 

I'm sure we know this anyway but as a reminder -  the Page Link
functionality works great via flash playback but when viewing the same LO
via html 5 playback clicking that type of link results in a blank page as
the url changes to something like
asfunction:_level0.engine.rootIcon.pageLink,PG1355303464521

 

As a page link can be added to any page I guess there needs to be a shared
function between all html 5 pages to detech that type of link and change it
to a LinkID link.

 

Is that something you can resolve John?

 

Cheers

Ron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From patrick.lockley at googlemail.com  Wed Dec 12 09:51:15 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Wed, 12 Dec 2012 09:51:15 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <017301cdd84a$720df7f0$5629e7d0$@co.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	<019701cdd6e7$4 3c229c0$cb467d40$@co.uk>
	
	<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
	
	<01f001cdd704$1e42aea0$5ac80be0$@co.uk>
	
	<020701cdd713$debe5b20$9c3b1160$@co.uk>
	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>
	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>
	
	
	<4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com>
	
	<00e201cdd7ba$0957cb90$1c0762b0$@co.uk>
	
	<015c01cdd847$d2f26130$78d72390$@co.uk>
	
	<017301cdd84a$720df7f0$5629e7d0$@co.uk>
Message-ID: <6266EB33-0248-463C-93B7-5FFCBF8C565B@googlemail.com>

I was replying to John I thought?

On 12 Dec 2012, at 09:24, "Ron Mitchell"  wrote:

> Isn't that what I said?
>  
> I guess what you mean is that there's a difference between the publish button in the editor and the publish button in the workspace e.g. if you make a change and don't preview or publish in the editor then any changes are lost because if you don't preview you don't see a prompt to publish upon close. If you publish in the editor then changes are already published so there's no need for the prompt. If you preview any changes are saved to preview.xml and then either publish in the editor, ok to publish upon close, or publish later will publish those changes.
>  
> Your recent changes seem to have fixed the IE 9 issue I was getting. Will update the techdis install and test there shortly.
>  
> 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: 12 December 2012 09:07
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> That's true, because publish in the xerte window does a double save (updates preview and data) - but unless  you preview or publish your changes are lost
> 
> On 12 Dec 2012, at 09:05, "Ron Mitchell"  wrote:
> 
> " That button won't change that, all the publish does is copy preview over data - if preview wasn't updated by previewing then the button makes no difference at all."
>  
> I was surprised by that comment Pat because I'll often make changes and click publish without first previewing especially if it was only a minor change and therefore saves time not previewing. I'm not aware that I've ever lost changes that way and just checked...
>  
> Edit an LO and add a new page
> Click publish in the editor but not preview
> View the public url the new page is included
> View via preview the new page is included
>  
> As far as I can see clicking publish therefore adds any changes to preview.xml as well as data.xml?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 12 December 2012 01:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> "Closing without first previewing or publishing always has the potential to lose changes especially now that the close + OK to publish isn't working!"
>  
> That button won't change that, all the publish does is copy preview over data - if preview wasn't updated by previewing then the button makes no difference at all.
>  
> 
> On Tue, Dec 11, 2012 at 4:10 PM, Ron Mitchell  wrote:
> John
> Publish saves changes to data.xml
> Preview saves changes to preview.xml
> Closing without first previewing or publishing always has the potential to lose changes especially now that the close + OK to publish isn't working!
>  
> So in terms of what has changed it's just that closing and clicking ok to publish isn't working. It's always been the case that unless you preview changes are not saved unless you manually publish or when clicking ok works.
>  
> HTH
> Ron
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
> Sent: 11 December 2012 15:44
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Yeah what I?m seeing is:
>  
> I make a LO, add some stuff and then click Publish.
> Then I make it Public, edit it again click Publish, close and Preview  = changes are there?
> Then I Edit it again, make changes but just click the close button. No popup and when I click Preview the changes are lost?
>  
> This is in both Chrome and IE and from SVN trunk, latest revision. Are you guys working from a zip copy of trunk already?
>  
> Will checkout a fresh trunk and see what happens?
>  
> Regards,
>  
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: Tuesday, December 11, 2012 1:42 PM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> If you don't preview then it isn't saved to preview.xml
>  
> The pop up should happen if data and preview.xml are different
> 
> On 11 Dec 2012, at 11:36, "Smith, John"  wrote:
> 
> Hi all,
>  
> Correct me if I?m wrong but if you made a change in the editor and then closed the window without Publishing you used to get a popup? I?m not getting that at all now at latest revision. Closing the window doesn?t give me any popup and the changes are lost now. Anyone else seeing this?
>  
> Regards,
>  
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: Tuesday, December 11, 2012 9:30 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Look at the top, there is a conditional which means temp array is sometimes created and sometimes not
>  
> So some cases will need it and some won't
> 
> On 11 Dec 2012, at 09:10, "Ron Mitchell"  wrote:
> 
> Tried that but no change - project still not published upon clicking ok. Publishing manually works fine.
>  
> But still don't get why the files would be different? Your commit: http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589
>  
> has the four temp_array[0] and you're saying that file is working for you? Or did something go wrong with the commit?
>  
> Going to be offline for at least a few hours now so perhaps someone else can have a look.
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 22:15
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> No idea - all four temp arrays need to be replaced 
>  
> As long as it is temp_array[0]
> 
> On 10 Dec 2012, at 20:20, "Ron Mitchell"  wrote:
> 
> There seems to be two occurrences of temp_array[0]
> http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589
>  
> Do both need changing or just one?
> How come this works for you if same version?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 18:28
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Ok one of the queries has a ref to temp_array[0] in still
>  
> Replace with $template_id
> 
> On 10 Dec 2012, at 18:28, "Ron Mitchell"  wrote:
> 
> do these help?
>  
> $query_for_play_content_strip
>  
> select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"
>  
> $query_for_play_content
>  
> select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="C:
> mpphtdocs
> rtetoolkits/USER" and role="creator"
>  
>  
> $query_for_play_content_response
>  
> Resource id #20
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 17:58
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> website_code/php/versioncontrol/update_file.php
> 
> there will be a variable called query or something query
>  
> 
> On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell  wrote:
> Sorry what query? In what file?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 16:03
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Ok, so for you, the query doesn't work.
> 
> echo out the query and see what it is
>  
> 
> On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell  wrote:
> I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 10 December 2012 14:27
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> Pah, 
> 
> It's been two years, but maybe that's my instinctive name for all things XOT
> 
> Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works).
> 
> Pat
>  
> 
> On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell  wrote:
> Hi Pat
> are you sure about the db name?
>  
> as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt
>  
> Testing the publishing options with a clean xampp install...
>  
> I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE?
>  
> But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing.
>  
> HTH
> 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: 10 December 2012 14:12
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>  
> xertetoolkits
> 
> mine is a fresh xampp and it works
> 
> it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it
>  
> 
> On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell  wrote:
> testing locally with guest access and no integration_config_path set...
> 
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted
> If I publish manually all is fine.
> 
> I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?
> 
> 
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 10 December 2012 11:15
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> It still doesn't work:
> 
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).
> 
> I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?
> 
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 22:37
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
> 
> Not sure why it would break but adding database connect in seemed to fix it
> 
> On 7 Dec 2012, at 22:21, Julian Tenney  wrote:
> 
> > thanks mate, I'll test on Monday,
> > ________________________________________
> > From: xerte-dev-bounces at lists.nottingham.ac.uk
> > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> > [patrick.lockley at googlemail.com]
> > Sent: 07 December 2012 19:22
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > fixed in moodle (both files in version control folder)
> >
> > Please test
> >
> >
> > On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney > wrote:
> > It works from the publish buttons. Just not on the on close trapper
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk>
> > [mailto: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: 

From patrick.lockley at googlemail.com  Wed Dec 12 09:53:22 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Wed, 12 Dec 2012 09:53:22 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E7642E@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	
	<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
	
	<01f001cdd704$1e42aea0$5ac80be0$@co.uk>
	
	<020701cdd713$debe5b20$9c3b1160$@co.uk>
	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>
	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>
	
	
	<4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com>
	
	<00e201cdd7ba$0957cb90$1c0762b0$@co.uk>
	
	
	<018f01cdd84e$32c459f0$984d0dd0$@co.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7642E@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

I've not tested it in another browser, so check in FF and Chrome

AND

there is a print_r in update_file for the purposes of debugging which
shouldn't be in the zip

The IE9 problem seems to be caused by the fact window objects can't write
properties to other windows objects, so the window_reference - which is a
reference to the main xerte window passed to the other popups doesn't get
written. So I have to use a different call in IE to reference back to the
parent.

I think that in IE9, if you are in properties and you rename a project, it
also won't rename it in the workspace as well (there is some window
reference stuff at work there too)


On Wed, Dec 12, 2012 at 9:49 AM, Julian Tenney <
Julian.Tenney at nottingham.ac.uk> wrote:

> OK, I?ll update the zip file, thanks for getting to the bottom of this.***
> *
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron Mitchell
> *Sent:* 12 December 2012 09:51
>
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
> ** **
>
> Ok the techdis install is updated to r594****
>
> ** **
>
> It now works in IE9 without the need for compatibility mode and even with
> developer tools and script debugging running e.g. no more window_reference
> error and clciking preview and then closing prompts for publish and
> clicking ok publishes the changes.****
>
> ** **
>
> I've tested locally without moodle integration and on the techdis install
> with moodle integration - both seem to be working fine for me.****
>
> ** **
>
> What resolved the IE 9 issue Pat?****
>
> ** **
>
> 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:* 12 December 2012 01:26
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
> ** **
>
> It is good to know the version that was working two days ago is now
> working for other people to.****
>
> ** **
>
> I have done some SVN updates. I've left a trace in update_file.php to help
> test it, but it works here****
>
>
> AND AND AND AND AND AND****
>
> ** **
>
> it also works in IE9 now as well****
>
> ** **
>
> BUT BUT BUT BUT BUT BUT BUT****
>
> ** **
>
> This is only in xampp as I have not tested it in moodle as it is half one
> and I really can't be arsed****
>
> ** **
>
> On Wed, Dec 12, 2012 at 1:22 AM, Pat Lockley <
> patrick.lockley at googlemail.com> wrote:****
>
> "Closing without first previewing or publishing always has the potential
> to lose changes especially now that the close + OK to publish isn't
> working!"****
>
> ** **
>
> That button won't change that, all the publish does is copy preview over
> data - if preview wasn't updated by previewing then the button makes no
> difference at all.****
>
> ** **
>
> On Tue, Dec 11, 2012 at 4:10 PM, Ron Mitchell 
> wrote:****
>
> John****
>
> Publish saves changes to data.xml****
>
> Preview saves changes to preview.xml****
>
> Closing without first previewing or publishing always has the potential to
> lose changes especially now that the close + OK to publish isn't working!*
> ***
>
>  ****
>
> So in terms of what has changed it's just that closing and clicking ok to
> publish isn't working. It's always been the case that unless you preview
> changes are not saved unless you manually publish or when clicking ok works.
> ****
>
>  ****
>
> HTH****
>
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Smith, John
> *Sent:* 11 December 2012 15:44****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> Yeah what I?m seeing is:****
>
>  ****
>
> I make a LO, add some stuff and then click Publish.****
>
> Then I make it Public, edit it again click Publish, close and Preview  =
> changes are there?****
>
> Then I Edit it again, make changes but just click the close button. No
> popup and when I click Preview the changes are lost?****
>
>  ****
>
> This is in both Chrome and IE and from SVN trunk, latest revision. Are you
> guys working from a zip copy of trunk already?****
>
>  ****
>
> Will checkout a fresh trunk and see what happens?****
>
>  ****
>
> Regards,****
>
>  ****
>
> John Smith****
>
> Learning Technologist****
>
> School of Health & Life Sciences****
>
> Glasgow Caledonian University****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat Lockley
> *Sent:* Tuesday, December 11, 2012 1:42 PM
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> If you don't preview then it isn't saved to preview.xml****
>
>  ****
>
> The pop up should happen if data and preview.xml are different
>
> On 11 Dec 2012, at 11:36, "Smith, John"  wrote:****
>
> Hi all,****
>
>  ****
>
> Correct me if I?m wrong but if you made a change in the editor and then
> closed the window without Publishing you used to get a popup? I?m not
> getting that at all now at latest revision. Closing the window doesn?t give
> me any popup and the changes are lost now. Anyone else seeing this?****
>
>  ****
>
> Regards,****
>
>  ****
>
> John Smith****
>
> Learning Technologist****
>
> School of Health & Life Sciences****
>
> Glasgow Caledonian University****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat Lockley
> *Sent:* Tuesday, December 11, 2012 9:30 AM
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> Look at the top, there is a conditional which means temp array is
> sometimes created and sometimes not****
>
>  ****
>
> So some cases will need it and some won't
>
> On 11 Dec 2012, at 09:10, "Ron Mitchell"  wrote:
> ****
>
> Tried that but no change - project still not published upon clicking ok.
> Publishing manually works fine.****
>
>  ****
>
> But still don't get why the files would be different? Your commit:
> http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589
> ****
>
>  ****
>
> has the four temp_array[0] and you're saying that file is working for you?
> Or did something go wrong with the commit?****
>
>  ****
>
> Going to be offline for at least a few hours now so perhaps someone else
> can have a look.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat Lockley
> *Sent:* 10 December 2012 22:15
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> No idea - all four temp arrays need to be replaced ****
>
>  ****
>
> As long as it is temp_array[0]
>
> On 10 Dec 2012, at 20:20, "Ron Mitchell"  wrote:
> ****
>
> There seems to be two occurrences of temp_array[0] ****
>
>
> http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589
> ****
>
>  ****
>
> Do both need changing or just one?****
>
> How come this works for you if same version?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat Lockley
> *Sent:* 10 December 2012 18:28
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> Ok one of the queries has a ref to temp_array[0] in still****
>
>  ****
>
> Replace with $template_id
>
> On 10 Dec 2012, at 18:28, "Ron Mitchell"  wrote:
> ****
>
> do these help?****
>
>  ****
>
> $query_for_play_content_strip****
>
>  ****
>
> select originaltemplatesdetails.template_name, logindetails.username,
> originaltemplatesdetails.template_framework, templaterights.user_id,
> templaterights.folder, templaterights.template_id,
> templatedetails.access_to_whom from originaltemplatesdetails,
> templaterights, templatedetails, logindetails where
> templatedetails.template_type_id =
> originaltemplatesdetails.template_type_id and templatedetails.creator_id =
> logindetails.login_id and templaterights.template_id =
> templatedetails.template_id and
> templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"****
>
>  ****
>
> $query_for_play_content****
>
>  ****
>
> select originaltemplatesdetails.template_name, logindetails.username,
> originaltemplatesdetails.template_framework, templaterights.user_id,
> templaterights.folder, templaterights.template_id,
> templatedetails.access_to_whom from originaltemplatesdetails,
> templaterights, templatedetails, logindetails where
> templatedetails.template_type_id =
> originaltemplatesdetails.template_type_id and templatedetails.creator_id =
> logindetails.login_id and templaterights.template_id =
> templatedetails.template_id and templaterights.template_id="C:****
>
> mpphtdocs
> rtetoolkits/USER" and role="creator"****
>
>  ****
>
>  ****
>
> $query_for_play_content_response****
>
>  ****
>
> Resource id #20****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat Lockley
> *Sent:* 10 December 2012 17:58
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> website_code/php/versioncontrol/update_file.php
>
> there will be a variable called query or something query****
>
>  ****
>
> On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell 
> wrote:****
>
> Sorry what query? In what file?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 10 December 2012 16:03****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> Ok, so for you, the query doesn't work.
>
> echo out the query and see what it is****
>
>  ****
>
> On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell 
> wrote:****
>
> I tested with a brand new svn update and export and a clean install using
> the xampp option so not sure why we're seeing different things. I truned on
> debugging and upon clicking ok to publish changes got the attached. Does
> that help?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 10 December 2012 14:27****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> Pah,
>
> It's been two years, but maybe that's my instinctive name for all things
> XOT
>
> Well it works here on my XAMPP, but start putting echos in the code to see
> where it gets too. Easiest way to debug (it's all I'd do, but mine err,
> works).
>
> Pat****
>
>  ****
>
> On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> are you sure about the db name?****
>
>  ****
>
> as far as I can see when using the quick xampp install option the db
> created is called toolkits_data as defines in \setup\xampp_database.txt***
> *
>
>  ****
>
> Testing the publishing options with a clean xampp install...****
>
>  ****
>
> I get the prompt whether to publish with Chrome, Safari and FF but not IE.
> Possibly because I still get the window_reference error when using IE.
> Perhaps specific to my local IE?****
>
>  ****
>
> But as Julian reported even when clicking ok to publish the changes aren't
> published until manually publishing.****
>
>  ****
>
> HTH****
>
> 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:* 10 December 2012 14:12****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> xertetoolkits
>
> mine is a fresh xampp and it works
>
> it's both files in versioncontrol and the response is alerted out so you
> can add echo "HELLO" to your heart's content to debug it****
>
>  ****
>
> On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell 
> wrote:****
>
> testing locally with guest access and no integration_config_path set...***
> *
>
>
> Create project
> Add a page
> Preview (so the file is save)****
>
> Quit the wizard - I don't get prompted to publish at all even with the
> latest change Pat comitted
> If I publish manually all is fine.
>
> I'll test a clean install via xampp... If using the quick xampp install
> option what's the name of the db that gets created is it toolkits?****
>
>
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 10 December 2012 11:15
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> It still doesn't work:
>
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - prompted to publish - say yes Go to properties, make
> access public Hit the URL. Nothing until I publish from a button somewhere
> (workspace or wizard).
>
> I think I'm going to put it out anyway, unless anyone can fix it today.
> I'm not so concerned about the html5 side of this not working, but
> previously working functionality doesn't work anymore. Maybe this isn't
> such a dealbreaker, perhaps we should disable the prompt and force a manual
> publish?
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 22:37
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Not sure why it would break but adding database connect in seemed to fix it
>
> On 7 Dec 2012, at 22:21, Julian Tenney 
> wrote:
>
> > thanks mate, I'll test on Monday,
> > ________________________________________
> > From: xerte-dev-bounces at lists.nottingham.ac.uk
> > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> > [patrick.lockley at googlemail.com]
> > Sent: 07 December 2012 19:22
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > fixed in moodle (both files in version control folder)
> >
> > Please test
> >
> >
> > On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney <
> Julian.Tenney at nottingham.ac.uk>
> wrote:
> > It works from the publish buttons. Just not on the on close trapper
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk>
> > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk > ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
> >
> > Sent: 07 December 2012 12:06
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > I think I assumed all publishing went through one file, but that's not
> > the case. Am on holiday but can poke around later on
> >
> > So publishing when closing
> > And
> > Publishing Inside xerte
> >
> > On 7 Dec 2012, at 11:55, Julian Tenney  > wrote:
> > It?s a bit more than that. Here?s what I?m doing:
> >
> > Create project
> > Got to properties, make it public
> > Goto wizard edit something
> > Close editor
> > Prompted to publish ? say yes
> > Goto properties, hit the link
> > No dice.
> >
> > But it?s also not publishing the changes for the flash verison either,so
> Pats on the right lines, the modularised publish stuff isn?t accounted for
> in the wizard window?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Smith, John
> > Sent: 07 December 2012 11:41
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > You have to make it public in the workspace before it?s accessible ?
> > well that?s what I?ve always had to do?
> >
> > Publish in the editor doesn?t appear to do much unless you set the
> > access level?
> >
> > Regards,
> >
> > John Smith
> > Learning Technologist
> > School of Health & Life Sciences
> > Glasgow Caledonian University
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: Friday, December 07, 2012 11:37 AM
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Ah, it?s working now.
> >
> > It only works after you?ve published the file from the workspace button.
> >
> > I published from the wizard button (when it closed and asked me if I
> wanted to) but had to publish from the workspace before the link worked.
> >
> > Any idea what makes the two publishes different?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:30
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Dunno.
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Pat Lockley
> > Sent: 07 December 2012 11:29
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Does xampp use htaccess by default?
> >
> > On 7 Dec 2012, at 11:28, Julian Tenney  > wrote:
> > Sorry the path and file are in the right place, but I get a blank
> > screen when I try and CTRL-play for preview, or when I click the link
> > in properties
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:25
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > When I do an xamppp setup, build simple project and publish etc, I can?t
> preview it on the link in the properties panel, i.e. this link doesn?t work.
> >
> > There is no xenith.js at
> modules/xerte/parent_templates/Nottingham/common_html5, which is where
> play_html5 is trying to load it from.
> >
> > Do I move the file (where is it?) or change the link(to point to ?)
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:17
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] 1.9 zip
> >
> > Is there anything in the svn that I shouldn?t include in the zip?
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > Glasgow Caledonian University is a registered Scottish charity, number
> > SC021474
> >
> > Winner: Times Higher Education?s Widening Participation Initiative of
> the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> > 219,en.html
> >
> > Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> > 5691,en.html _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > 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
> > This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this message
> in error, please send it back to me, and immediately delete it.   Please do
> not use, copy or disclose the information contained in this message or in
> any attachment.  Any views or opinions expressed by the author of this
> email do not necessarily reflect the views of the University of Nottingham.
> >
> > This message has been checked for viruses but the contents of an
> > attachment may still contain software viruses which could damage your
> computer system:
> > you are advised to perform your own checks. Email communications with
> > the University of Nottingham may be monitored as permitted by UK
> legislation.
>
> _______________________________________________
> 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****
>
>  ****
>
>
>
>
> ****
>
>
> _______________________________________________
> 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****
>
> ** **
>
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the
> Year 2009 and Herald Society?s Education Initiative of the Year 2009.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
> ****
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the
> Year 2009 and Herald Society?s Education Initiative of the Year 2009.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
> ****
>
> ** **
>
>
> _______________________________________________
> 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: 

From Julian.Tenney at nottingham.ac.uk  Wed Dec 12 10:00:20 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Wed, 12 Dec 2012 10:00:20 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E7642E@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	<019701cdd6e7$4	3c229c0$cb467d40$@co.uk>
	
	<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
	
	<01f001cdd704$1e42aea0$5ac80be0$@co.uk>
	
	<020701cdd713$debe5b20$9c3b1160$@co.uk>
	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>
	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>
	
	
	<4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com>
	
	<00e201cdd7ba$0957cb90$1c0762b0$@co.uk>
	
	
	<018f01cdd84e$32c459f0$984d0dd0$@co.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7642E@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48E76454@EXCHANGE1.ad.nottingham.ac.uk>

Any other updates to add? Otherwise that's it, 1.9 done,

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 12 December 2012 09:50
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

OK, I'll update the zip file, thanks for getting to the bottom of this.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 12 December 2012 09:51
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

Ok the techdis install is updated to r594

It now works in IE9 without the need for compatibility mode and even with developer tools and script debugging running e.g. no more window_reference error and clciking preview and then closing prompts for publish and clicking ok publishes the changes.

I've tested locally without moodle integration and on the techdis install with moodle integration - both seem to be working fine for me.

What resolved the IE 9 issue Pat?

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: 12 December 2012 01:26
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It is good to know the version that was working two days ago is now working for other people to.

I have done some SVN updates. I've left a trace in update_file.php to help test it, but it works here

AND AND AND AND AND AND

it also works in IE9 now as well

BUT BUT BUT BUT BUT BUT BUT

This is only in xampp as I have not tested it in moodle as it is half one and I really can't be arsed

On Wed, Dec 12, 2012 at 1:22 AM, Pat Lockley > wrote:
"Closing without first previewing or publishing always has the potential to lose changes especially now that the close + OK to publish isn't working!"

That button won't change that, all the publish does is copy preview over data - if preview wasn't updated by previewing then the button makes no difference at all.

On Tue, Dec 11, 2012 at 4:10 PM, Ron Mitchell > wrote:
John
Publish saves changes to data.xml
Preview saves changes to preview.xml
Closing without first previewing or publishing always has the potential to lose changes especially now that the close + OK to publish isn't working!

So in terms of what has changed it's just that closing and clicking ok to publish isn't working. It's always been the case that unless you preview changes are not saved unless you manually publish or when clicking ok works.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 11 December 2012 15:44

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Yeah what I'm seeing is:

I make a LO, add some stuff and then click Publish.
Then I make it Public, edit it again click Publish, close and Preview  = changes are there...
Then I Edit it again, make changes but just click the close button. No popup and when I click Preview the changes are lost...

This is in both Chrome and IE and from SVN trunk, latest revision. Are you guys working from a zip copy of trunk already?

Will checkout a fresh trunk and see what happens...

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Tuesday, December 11, 2012 1:42 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

If you don't preview then it isn't saved to preview.xml

The pop up should happen if data and preview.xml are different

On 11 Dec 2012, at 11:36, "Smith, John" > wrote:
Hi all,

Correct me if I'm wrong but if you made a change in the editor and then closed the window without Publishing you used to get a popup? I'm not getting that at all now at latest revision. Closing the window doesn't give me any popup and the changes are lost now. Anyone else seeing this?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Tuesday, December 11, 2012 9:30 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Look at the top, there is a conditional which means temp array is sometimes created and sometimes not

So some cases will need it and some won't

On 11 Dec 2012, at 09:10, "Ron Mitchell" > wrote:
Tried that but no change - project still not published upon clicking ok. Publishing manually works fine.

But still don't get why the files would be different? Your commit: http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589

has the four temp_array[0] and you're saying that file is working for you? Or did something go wrong with the commit?

Going to be offline for at least a few hours now so perhaps someone else can have a look.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 22:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

No idea - all four temp arrays need to be replaced

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell" > wrote:
There seems to be two occurrences of temp_array[0]
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589

Do both need changing or just one?
How come this works for you if same version?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok one of the queries has a ref to temp_array[0] in still

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell" > wrote:
do these help?

$query_for_play_content_strip

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

$query_for_play_content

select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="C:
mpphtdocs
rtetoolkits/USER" and role="creator"


$query_for_play_content_response

Resource id #20

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell > wrote:
Sorry what query? In what file?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Ok, so for you, the query doesn't work.

echo out the query and see what it is

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell > wrote:
I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Pah,

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works).

Pat

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell > wrote:
Hi Pat
are you sure about the db name?

as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt

Testing the publishing options with a clean xampp install...

I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE?

But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing.

HTH
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: 10 December 2012 14:12

To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell > wrote:
testing locally with guest access and no integration_config_path set...

Create project
Add a page
Preview (so the file is save)
Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted
If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?


-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney > wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney >> wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk
> ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney >> wrote:
> It's a bit more than that. Here's what I'm doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish - say yes
> Goto properties, hit the link
> No dice.
>
> But it's also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn't accounted for in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it's accessible -
> well that's what I've always had to do...
>
> Publish in the editor doesn't appear to do much unless you set the
> access level...
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it's working now.
>
> It only works after you've published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney >> wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can't preview it on the link in the properties panel, i.e. this link doesn't work.
>
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn't include in the zip?
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk.
> 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
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with
> the University of Nottingham may be monitored as permitted by UK legislation.

_______________________________________________
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




_______________________________________________
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


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


_______________________________________________
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: 

From patrick.lockley at googlemail.com  Wed Dec 12 10:05:21 2012
From: patrick.lockley at googlemail.com (Pat Lockley)
Date: Wed, 12 Dec 2012 10:05:21 +0000
Subject: [Xerte-dev] Re: 1.9 zip
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E76454@EXCHANGE1.ad.nottingham.ac.uk>
References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk>
	<0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk>
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk>
	<2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk>
	
	<01c601cdd6f9$c9ccb7d0$5d662770$@co.uk>
	
	<01f001cdd704$1e42aea0$5ac80be0$@co.uk>
	
	<020701cdd713$debe5b20$9c3b1160$@co.uk>
	<4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com>
	<002401cdd77f$6e0ff390$4a2fdab0$@co.uk>
	
	
	<4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com>
	
	<00e201cdd7ba$0957cb90$1c0762b0$@co.uk>
	
	
	<018f01cdd84e$32c459f0$984d0dd0$@co.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E7642E@EXCHANGE1.ad.nottingham.ac.uk>
	<12C67A1EEC419342AF5E59DA31562C3F0C48E76454@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

The bug (possible) with IE9 and the renaming? Realised that this morning

But I have nothing else to commit / fix


On Wed, Dec 12, 2012 at 10:00 AM, Julian Tenney <
Julian.Tenney at nottingham.ac.uk> wrote:

> Any other updates to add? Otherwise that?s it, 1.9 done,****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Julian Tenney
> *Sent:* 12 December 2012 09:50
> *To:* For Xerte technical developers
>
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
> ** **
>
> OK, I?ll update the zip file, thanks for getting to the bottom of this.***
> *
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Ron Mitchell
> *Sent:* 12 December 2012 09:51
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
> ** **
>
> Ok the techdis install is updated to r594****
>
> ** **
>
> It now works in IE9 without the need for compatibility mode and even with
> developer tools and script debugging running e.g. no more window_reference
> error and clciking preview and then closing prompts for publish and
> clicking ok publishes the changes.****
>
> ** **
>
> I've tested locally without moodle integration and on the techdis install
> with moodle integration - both seem to be working fine for me.****
>
> ** **
>
> What resolved the IE 9 issue Pat?****
>
> ** **
>
> 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:* 12 December 2012 01:26
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
> ** **
>
> It is good to know the version that was working two days ago is now
> working for other people to.****
>
> ** **
>
> I have done some SVN updates. I've left a trace in update_file.php to help
> test it, but it works here****
>
>
> AND AND AND AND AND AND****
>
> ** **
>
> it also works in IE9 now as well****
>
> ** **
>
> BUT BUT BUT BUT BUT BUT BUT****
>
> ** **
>
> This is only in xampp as I have not tested it in moodle as it is half one
> and I really can't be arsed****
>
> ** **
>
> On Wed, Dec 12, 2012 at 1:22 AM, Pat Lockley <
> patrick.lockley at googlemail.com> wrote:****
>
> "Closing without first previewing or publishing always has the potential
> to lose changes especially now that the close + OK to publish isn't
> working!"****
>
> ** **
>
> That button won't change that, all the publish does is copy preview over
> data - if preview wasn't updated by previewing then the button makes no
> difference at all.****
>
> ** **
>
> On Tue, Dec 11, 2012 at 4:10 PM, Ron Mitchell 
> wrote:****
>
> John****
>
> Publish saves changes to data.xml****
>
> Preview saves changes to preview.xml****
>
> Closing without first previewing or publishing always has the potential to
> lose changes especially now that the close + OK to publish isn't working!*
> ***
>
>  ****
>
> So in terms of what has changed it's just that closing and clicking ok to
> publish isn't working. It's always been the case that unless you preview
> changes are not saved unless you manually publish or when clicking ok works.
> ****
>
>  ****
>
> HTH****
>
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Smith, John
> *Sent:* 11 December 2012 15:44****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> Yeah what I?m seeing is:****
>
>  ****
>
> I make a LO, add some stuff and then click Publish.****
>
> Then I make it Public, edit it again click Publish, close and Preview  =
> changes are there?****
>
> Then I Edit it again, make changes but just click the close button. No
> popup and when I click Preview the changes are lost?****
>
>  ****
>
> This is in both Chrome and IE and from SVN trunk, latest revision. Are you
> guys working from a zip copy of trunk already?****
>
>  ****
>
> Will checkout a fresh trunk and see what happens?****
>
>  ****
>
> Regards,****
>
>  ****
>
> John Smith****
>
> Learning Technologist****
>
> School of Health & Life Sciences****
>
> Glasgow Caledonian University****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat Lockley
> *Sent:* Tuesday, December 11, 2012 1:42 PM
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> If you don't preview then it isn't saved to preview.xml****
>
>  ****
>
> The pop up should happen if data and preview.xml are different
>
> On 11 Dec 2012, at 11:36, "Smith, John"  wrote:****
>
> Hi all,****
>
>  ****
>
> Correct me if I?m wrong but if you made a change in the editor and then
> closed the window without Publishing you used to get a popup? I?m not
> getting that at all now at latest revision. Closing the window doesn?t give
> me any popup and the changes are lost now. Anyone else seeing this?****
>
>  ****
>
> Regards,****
>
>  ****
>
> John Smith****
>
> Learning Technologist****
>
> School of Health & Life Sciences****
>
> Glasgow Caledonian University****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat Lockley
> *Sent:* Tuesday, December 11, 2012 9:30 AM
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> Look at the top, there is a conditional which means temp array is
> sometimes created and sometimes not****
>
>  ****
>
> So some cases will need it and some won't
>
> On 11 Dec 2012, at 09:10, "Ron Mitchell"  wrote:
> ****
>
> Tried that but no change - project still not published upon clicking ok.
> Publishing manually works fine.****
>
>  ****
>
> But still don't get why the files would be different? Your commit:
> http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589
> ****
>
>  ****
>
> has the four temp_array[0] and you're saying that file is working for you?
> Or did something go wrong with the commit?****
>
>  ****
>
> Going to be offline for at least a few hours now so perhaps someone else
> can have a look.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat Lockley
> *Sent:* 10 December 2012 22:15
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> No idea - all four temp arrays need to be replaced ****
>
>  ****
>
> As long as it is temp_array[0]
>
> On 10 Dec 2012, at 20:20, "Ron Mitchell"  wrote:
> ****
>
> There seems to be two occurrences of temp_array[0] ****
>
>
> http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589
> ****
>
>  ****
>
> Do both need changing or just one?****
>
> How come this works for you if same version?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat Lockley
> *Sent:* 10 December 2012 18:28
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> Ok one of the queries has a ref to temp_array[0] in still****
>
>  ****
>
> Replace with $template_id
>
> On 10 Dec 2012, at 18:28, "Ron Mitchell"  wrote:
> ****
>
> do these help?****
>
>  ****
>
> $query_for_play_content_strip****
>
>  ****
>
> select originaltemplatesdetails.template_name, logindetails.username,
> originaltemplatesdetails.template_framework, templaterights.user_id,
> templaterights.folder, templaterights.template_id,
> templatedetails.access_to_whom from originaltemplatesdetails,
> templaterights, templatedetails, logindetails where
> templatedetails.template_type_id =
> originaltemplatesdetails.template_type_id and templatedetails.creator_id =
> logindetails.login_id and templaterights.template_id =
> templatedetails.template_id and
> templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"****
>
>  ****
>
> $query_for_play_content****
>
>  ****
>
> select originaltemplatesdetails.template_name, logindetails.username,
> originaltemplatesdetails.template_framework, templaterights.user_id,
> templaterights.folder, templaterights.template_id,
> templatedetails.access_to_whom from originaltemplatesdetails,
> templaterights, templatedetails, logindetails where
> templatedetails.template_type_id =
> originaltemplatesdetails.template_type_id and templatedetails.creator_id =
> logindetails.login_id and templaterights.template_id =
> templatedetails.template_id and templaterights.template_id="C:****
>
> mpphtdocs
> rtetoolkits/USER" and role="creator"****
>
>  ****
>
>  ****
>
> $query_for_play_content_response****
>
>  ****
>
> Resource id #20****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat Lockley
> *Sent:* 10 December 2012 17:58
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> website_code/php/versioncontrol/update_file.php
>
> there will be a variable called query or something query****
>
>  ****
>
> On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell 
> wrote:****
>
> Sorry what query? In what file?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 10 December 2012 16:03****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> Ok, so for you, the query doesn't work.
>
> echo out the query and see what it is****
>
>  ****
>
> On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell 
> wrote:****
>
> I tested with a brand new svn update and export and a clean install using
> the xampp option so not sure why we're seeing different things. I truned on
> debugging and upon clicking ok to publish changes got the attached. Does
> that help?****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 10 December 2012 14:27****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> Pah,
>
> It's been two years, but maybe that's my instinctive name for all things
> XOT
>
> Well it works here on my XAMPP, but start putting echos in the code to see
> where it gets too. Easiest way to debug (it's all I'd do, but mine err,
> works).
>
> Pat****
>
>  ****
>
> On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell 
> wrote:****
>
> Hi Pat****
>
> are you sure about the db name?****
>
>  ****
>
> as far as I can see when using the quick xampp install option the db
> created is called toolkits_data as defines in \setup\xampp_database.txt***
> *
>
>  ****
>
> Testing the publishing options with a clean xampp install...****
>
>  ****
>
> I get the prompt whether to publish with Chrome, Safari and FF but not IE.
> Possibly because I still get the window_reference error when using IE.
> Perhaps specific to my local IE?****
>
>  ****
>
> But as Julian reported even when clicking ok to publish the changes aren't
> published until manually publishing.****
>
>  ****
>
> HTH****
>
> 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:* 10 December 2012 14:12****
>
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 1.9 zip****
>
>  ****
>
> xertetoolkits
>
> mine is a fresh xampp and it works
>
> it's both files in versioncontrol and the response is alerted out so you
> can add echo "HELLO" to your heart's content to debug it****
>
>  ****
>
> On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell 
> wrote:****
>
> testing locally with guest access and no integration_config_path set...***
> *
>
>
> Create project
> Add a page
> Preview (so the file is save)****
>
> Quit the wizard - I don't get prompted to publish at all even with the
> latest change Pat comitted
> If I publish manually all is fine.
>
> I'll test a clean install via xampp... If using the quick xampp install
> option what's the name of the db that gets created is it toolkits?****
>
>
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 10 December 2012 11:15
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> It still doesn't work:
>
> Create project
> Add a page
> Preview (so the file is save)
> Quit the wizard - prompted to publish - say yes Go to properties, make
> access public Hit the URL. Nothing until I publish from a button somewhere
> (workspace or wizard).
>
> I think I'm going to put it out anyway, unless anyone can fix it today.
> I'm not so concerned about the html5 side of this not working, but
> previously working functionality doesn't work anymore. Maybe this isn't
> such a dealbreaker, perhaps we should disable the prompt and force a manual
> publish?
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 December 2012 22:37
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Not sure why it would break but adding database connect in seemed to fix it
>
> On 7 Dec 2012, at 22:21, Julian Tenney 
> wrote:
>
> > thanks mate, I'll test on Monday,
> > ________________________________________
> > From: xerte-dev-bounces at lists.nottingham.ac.uk
> > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> > [patrick.lockley at googlemail.com]
> > Sent: 07 December 2012 19:22
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > fixed in moodle (both files in version control folder)
> >
> > Please test
> >
> >
> > On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney <
> Julian.Tenney at nottingham.ac.uk>
> wrote:
> > It works from the publish buttons. Just not on the on close trapper
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk>
> > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk > ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
> >
> > Sent: 07 December 2012 12:06
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > I think I assumed all publishing went through one file, but that's not
> > the case. Am on holiday but can poke around later on
> >
> > So publishing when closing
> > And
> > Publishing Inside xerte
> >
> > On 7 Dec 2012, at 11:55, Julian Tenney  > wrote:
> > It?s a bit more than that. Here?s what I?m doing:
> >
> > Create project
> > Got to properties, make it public
> > Goto wizard edit something
> > Close editor
> > Prompted to publish ? say yes
> > Goto properties, hit the link
> > No dice.
> >
> > But it?s also not publishing the changes for the flash verison either,so
> Pats on the right lines, the modularised publish stuff isn?t accounted for
> in the wizard window?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Smith, John
> > Sent: 07 December 2012 11:41
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > You have to make it public in the workspace before it?s accessible ?
> > well that?s what I?ve always had to do?
> >
> > Publish in the editor doesn?t appear to do much unless you set the
> > access level?
> >
> > Regards,
> >
> > John Smith
> > Learning Technologist
> > School of Health & Life Sciences
> > Glasgow Caledonian University
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: Friday, December 07, 2012 11:37 AM
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Ah, it?s working now.
> >
> > It only works after you?ve published the file from the workspace button.
> >
> > I published from the wizard button (when it closed and asked me if I
> wanted to) but had to publish from the workspace before the link worked.
> >
> > Any idea what makes the two publishes different?
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:30
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Dunno.
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Pat Lockley
> > Sent: 07 December 2012 11:29
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > Does xampp use htaccess by default?
> >
> > On 7 Dec 2012, at 11:28, Julian Tenney  > wrote:
> > Sorry the path and file are in the right place, but I get a blank
> > screen when I try and CTRL-play for preview, or when I click the link
> > in properties
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:25
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] Re: 1.9 zip
> >
> > When I do an xamppp setup, build simple project and publish etc, I can?t
> preview it on the link in the properties panel, i.e. this link doesn?t work.
> >
> > There is no xenith.js at
> modules/xerte/parent_templates/Nottingham/common_html5, which is where
> play_html5 is trying to load it from.
> >
> > Do I move the file (where is it?) or change the link(to point to ?)
> >
> > From:
> > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> > On Behalf Of Julian Tenney
> > Sent: 07 December 2012 11:17
> > To: For Xerte technical developers
> > Subject: [Xerte-dev] 1.9 zip
> >
> > Is there anything in the svn that I shouldn?t include in the zip?
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > Glasgow Caledonian University is a registered Scottish charity, number
> > SC021474
> >
> > Winner: Times Higher Education?s Widening Participation Initiative of
> the Year 2009 and Herald Society?s Education Initiative of the Year 2009.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> > 219,en.html
> >
> > Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
> > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> > 5691,en.html _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> >
> > _______________________________________________
> > Xerte-dev mailing list
> > Xerte-dev at lists.nottingham.ac.uk > 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
> > This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this message
> in error, please send it back to me, and immediately delete it.   Please do
> not use, copy or disclose the information contained in this message or in
> any attachment.  Any views or opinions expressed by the author of this
> email do not necessarily reflect the views of the University of Nottingham.
> >
> > This message has been checked for viruses but the contents of an
> > attachment may still contain software viruses which could damage your
> computer system:
> > you are advised to perform your own checks. Email communications with
> > the University of Nottingham may be monitored as permitted by UK
> legislation.
>
> _______________________________________________
> 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****
>
>  ****
>
>
>
> ****
>
>
> _______________________________________________
> 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****
>
> ** **
>
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the
> Year 2009 and Herald Society?s Education Initiative of the Year 2009.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
> ****
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education?s Widening Participation Initiative of the
> Year 2009 and Herald Society?s Education Initiative of the Year 2009.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
> Winner: Times Higher Education?s Outstanding Support for Early Career
> Researchers of the Year 2010, GCU as a lead with Universities Scotland
> partners.
>
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
> ****
>
> ** **
>
>
> _______________________________________________
> 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: 

From J.J.Smith at gcu.ac.uk  Wed Dec 12 10:45:49 2012
From: J.J.Smith at gcu.ac.uk (Smith, John)
Date: Wed, 12 Dec 2012 10:45:49 +0000
Subject: [Xerte-dev] Re: page linking via html5 playback
In-Reply-To: <018a01cdd84e$2d139840$873ac8c0$@co.uk>
References: <018a01cdd84e$2d139840$873ac8c0$@co.uk>
Message-ID: 

Hi Ron,

Yes, the routine to do this is in the textConnector models and just needs to move to the xenith.js file.

Let me take a look now...

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: Wednesday, December 12, 2012 9:51 AM
To: 'For Xerte technical developers'
Subject: [Xerte-dev] page linking via html5 playback

Hi
starting this as a new thread so we know it remains an issue to resolve. Don't think it should delay release of 1.9.

I'm sure we know this anyway but as a reminder -  the Page Link functionality works great via flash playback but when viewing the same LO via html 5 playback clicking that type of link results in a blank page as the url changes to something like asfunction:_level0.engine.rootIcon.pageLink,PG1355303464521

As a page link can be added to any page I guess there needs to be a shared function between all html 5 pages to detech that type of link and change it to a LinkID link.

Is that something you can resolve John?

Cheers
Ron



Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From J.J.Smith at gcu.ac.uk  Wed Dec 12 11:53:46 2012
From: J.J.Smith at gcu.ac.uk (Smith, John)
Date: Wed, 12 Dec 2012 11:53:46 +0000
Subject: [Xerte-dev] Re: page linking via html5 playback
In-Reply-To: <018a01cdd84e$2d139840$873ac8c0$@co.uk>
References: <018a01cdd84e$2d139840$873ac8c0$@co.uk>
Message-ID: 

Hi everyone,

I've just updated xenith.js to include code which should now convert the asfunction links within any of the fields currently supported by glossary tags (I pinched the code) into an x_navigateToPage(). This is also used when deep linking so can someone test on their live environments (or at least with real life data)..

Will be offline all afternoon (daughter's Nativity play) but back online in the evening...

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: Wednesday, December 12, 2012 9:51 AM
To: 'For Xerte technical developers'
Subject: [Xerte-dev] page linking via html5 playback

Hi
starting this as a new thread so we know it remains an issue to resolve. Don't think it should delay release of 1.9.

I'm sure we know this anyway but as a reminder -  the Page Link functionality works great via flash playback but when viewing the same LO via html 5 playback clicking that type of link results in a blank page as the url changes to something like asfunction:_level0.engine.rootIcon.pageLink,PG1355303464521

As a page link can be added to any page I guess there needs to be a shared function between all html 5 pages to detech that type of link and change it to a LinkID link.

Is that something you can resolve John?

Cheers
Ron



Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From Fay.Cross at nottingham.ac.uk  Wed Dec 12 12:14:04 2012
From: Fay.Cross at nottingham.ac.uk (Fay Cross)
Date: Wed, 12 Dec 2012 12:14:04 +0000
Subject: [Xerte-dev] Interactivity page timer bug (Flash)
In-Reply-To: 
References: <018a01cdd84e$2d139840$873ac8c0$@co.uk>
	
Message-ID: 

I've just found a small bug in the Flash version.

If you have a project where the first page is an interactivity page with the page timer optional property it doesn't show the timer bar when you first view it.  If you move to page 2 and then back to page 1 it will appear but not on first view.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From Julian.Tenney at nottingham.ac.uk  Wed Dec 12 12:14:40 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Wed, 12 Dec 2012 12:14:40 +0000
Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash)
In-Reply-To: 
References: <018a01cdd84e$2d139840$873ac8c0$@co.uk>
	
	
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48FE6724@EXCHANGE1.ad.nottingham.ac.uk>

OK.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross
Sent: 12 December 2012 12:14
To: For Xerte technical developers
Subject: [Xerte-dev] Interactivity page timer bug (Flash)

I've just found a small bug in the Flash version.

If you have a project where the first page is an interactivity page with the page timer optional property it doesn't show the timer bar when you first view it.  If you move to page 2 and then back to page 1 it will appear but not on first view.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From ronm at mitchellmedia.co.uk  Wed Dec 12 12:23:58 2012
From: ronm at mitchellmedia.co.uk (Ron Mitchell)
Date: Wed, 12 Dec 2012 12:23:58 -0000
Subject: [Xerte-dev] Re: page linking via html5 playback
In-Reply-To: 
References: <018a01cdd84e$2d139840$873ac8c0$@co.uk>
	
Message-ID: <01f201cdd863$90fe9de0$b2fbd9a0$@co.uk>

Thanks John

updated the Techdis install and seems to work fine e.g.
http://vle.jisctechdis.ac.uk/xot/play_html5.php?template_id=239 and also
http://vle.jisctechdis.ac.uk/xot/play_html5.php?template_id=239&page=3

 

Cheers

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 12 December 2012 11:54
To: For Xerte technical developers
Subject: [Xerte-dev] Re: page linking via html5 playback

 

Hi everyone,

 

I've just updated xenith.js to include code which should now convert the
asfunction links within any of the fields currently supported by glossary
tags (I pinched the code) into an x_navigateToPage(). This is also used when
deep linking so can someone test on their live environments (or at least
with real life data)..

 

Will be offline all afternoon (daughter's Nativity play) but back online in
the evening.

 

Regards,

 

John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: Wednesday, December 12, 2012 9:51 AM
To: 'For Xerte technical developers'
Subject: [Xerte-dev] page linking via html5 playback

 

Hi

starting this as a new thread so we know it remains an issue to resolve.
Don't think it should delay release of 1.9.

 

I'm sure we know this anyway but as a reminder -  the Page Link
functionality works great via flash playback but when viewing the same LO
via html 5 playback clicking that type of link results in a blank page as
the url changes to something like
asfunction:_level0.engine.rootIcon.pageLink,PG1355303464521

 

As a page link can be added to any page I guess there needs to be a shared
function between all html 5 pages to detech that type of link and change it
to a LinkID link.

 

Is that something you can resolve John?

 

Cheers

Ron

 


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html




-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From J.J.Smith at gcu.ac.uk  Wed Dec 12 12:30:34 2012
From: J.J.Smith at gcu.ac.uk (Smith, John)
Date: Wed, 12 Dec 2012 12:30:34 +0000
Subject: [Xerte-dev] Re: page linking via html5 playback
In-Reply-To: <01f201cdd863$90fe9de0$b2fbd9a0$@co.uk>
References: <018a01cdd84e$2d139840$873ac8c0$@co.uk>
	
	<01f201cdd863$90fe9de0$b2fbd9a0$@co.uk>
Message-ID: 

Great, something else off the list!!

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: Wednesday, December 12, 2012 12:24 PM
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: page linking via html5 playback

Thanks John
updated the Techdis install and seems to work fine e.g. http://vle.jisctechdis.ac.uk/xot/play_html5.php?template_id=239 and also http://vle.jisctechdis.ac.uk/xot/play_html5.php?template_id=239&page=3

Cheers
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 12 December 2012 11:54
To: For Xerte technical developers
Subject: [Xerte-dev] Re: page linking via html5 playback

Hi everyone,

I've just updated xenith.js to include code which should now convert the asfunction links within any of the fields currently supported by glossary tags (I pinched the code) into an x_navigateToPage(). This is also used when deep linking so can someone test on their live environments (or at least with real life data)..

Will be offline all afternoon (daughter's Nativity play) but back online in the evening...

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: Wednesday, December 12, 2012 9:51 AM
To: 'For Xerte technical developers'
Subject: [Xerte-dev] page linking via html5 playback

Hi
starting this as a new thread so we know it remains an issue to resolve. Don't think it should delay release of 1.9.

I'm sure we know this anyway but as a reminder -  the Page Link functionality works great via flash playback but when viewing the same LO via html 5 playback clicking that type of link results in a blank page as the url changes to something like asfunction:_level0.engine.rootIcon.pageLink,PG1355303464521

As a page link can be added to any page I guess there needs to be a shared function between all html 5 pages to detech that type of link and change it to a LinkID link.

Is that something you can resolve John?

Cheers
Ron


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html




Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From J.J.Smith at gcu.ac.uk  Wed Dec 12 12:39:58 2012
From: J.J.Smith at gcu.ac.uk (Smith, John)
Date: Wed, 12 Dec 2012 12:39:58 +0000
Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash)
In-Reply-To: 
References: <018a01cdd84e$2d139840$873ac8c0$@co.uk>
	
	
Message-ID: 

Was the timer supposed to do anything when it counts down? I couldn't see the Flash version doing anything so the HTML version doesn't either...


Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross
Sent: Wednesday, December 12, 2012 12:14 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Interactivity page timer bug (Flash)

I've just found a small bug in the Flash version.

If you have a project where the first page is an interactivity page with the page timer optional property it doesn't show the timer bar when you first view it.  If you move to page 2 and then back to page 1 it will appear but not on first view.



Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From Julian.Tenney at nottingham.ac.uk  Wed Dec 12 12:41:57 2012
From: Julian.Tenney at nottingham.ac.uk (Julian Tenney)
Date: Wed, 12 Dec 2012 12:41:57 +0000
Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash)
In-Reply-To: 
References: <018a01cdd84e$2d139840$873ac8c0$@co.uk>
	
	
	
Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48FE675B@EXCHANGE1.ad.nottingham.ac.uk>

No, it's just an indicator. Something along the lines of

'Try the interaction on the following page. See if you can complete it in the target time indicated'.

I wasn't keen on the idea, I'd always understood timing stuff to be an accessibility no-no, but the users had a good enough use case: they needed to be able to simulate exam conditions when they were being timed.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 12 December 2012 12:40
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash)

Was the timer supposed to do anything when it counts down? I couldn't see the Flash version doing anything so the HTML version doesn't either...


Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross
Sent: Wednesday, December 12, 2012 12:14 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Interactivity page timer bug (Flash)

I've just found a small bug in the Flash version.

If you have a project where the first page is an interactivity page with the page timer optional property it doesn't show the timer bar when you first view it.  If you move to page 2 and then back to page 1 it will appear but not on first view.


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From J.J.Smith at gcu.ac.uk  Wed Dec 12 12:48:00 2012
From: J.J.Smith at gcu.ac.uk (Smith, John)
Date: Wed, 12 Dec 2012 12:48:00 +0000
Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash)
In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48FE675B@EXCHANGE1.ad.nottingham.ac.uk>
References: <018a01cdd84e$2d139840$873ac8c0$@co.uk>
	
	
	
	<12C67A1EEC419342AF5E59DA31562C3F0C48FE675B@EXCHANGE1.ad.nottingham.ac.uk>
Message-ID: 

Fair enough. Well it should work in the html version although perhaps someone can look at the accessibility? I've read other comments I'm sure, of Fay's, that some things have had to be wrapped in 

tags - or did I imagine that? Don't think the timer is as it was a quick addition and made the bar huge. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Wednesday, December 12, 2012 12:42 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash) No, it's just an indicator. Something along the lines of 'Try the interaction on the following page. See if you can complete it in the target time indicated'. I wasn't keen on the idea, I'd always understood timing stuff to be an accessibility no-no, but the users had a good enough use case: they needed to be able to simulate exam conditions when they were being timed. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 December 2012 12:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash) Was the timer supposed to do anything when it counts down? I couldn't see the Flash version doing anything so the HTML version doesn't either... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: Wednesday, December 12, 2012 12:14 PM To: For Xerte technical developers Subject: [Xerte-dev] Interactivity page timer bug (Flash) I've just found a small bug in the Flash version. If you have a project where the first page is an interactivity page with the page timer optional property it doesn't show the timer bar when you first view it. If you move to page 2 and then back to page 1 it will appear but not on first view. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Wed Dec 12 12:49:12 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 12 Dec 2012 12:49:12 +0000 Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash) In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48FE675B@EXCHANGE1.ad.nottingham.ac.uk> References: <018a01cdd84e$2d139840$873ac8c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48FE675B@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48FE6767@EXCHANGE1.ad.nottingham.ac.uk> Incidentally, that's why I'm not too worried about the 'doesn't show on first page' bug, because it really needs some sort of introduction, before the student sees it. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 12 December 2012 12:42 To: For Xerte technical developers Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash) No, it's just an indicator. Something along the lines of 'Try the interaction on the following page. See if you can complete it in the target time indicated'. I wasn't keen on the idea, I'd always understood timing stuff to be an accessibility no-no, but the users had a good enough use case: they needed to be able to simulate exam conditions when they were being timed. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 December 2012 12:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash) Was the timer supposed to do anything when it counts down? I couldn't see the Flash version doing anything so the HTML version doesn't either... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: Wednesday, December 12, 2012 12:14 PM To: For Xerte technical developers Subject: [Xerte-dev] Interactivity page timer bug (Flash) I've just found a small bug in the Flash version. If you have a project where the first page is an interactivity page with the page timer optional property it doesn't show the timer bar when you first view it. If you move to page 2 and then back to page 1 it will appear but not on first view. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fay.Cross at nottingham.ac.uk Wed Dec 12 12:52:31 2012 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Wed, 12 Dec 2012 12:52:31 +0000 Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash) In-Reply-To: References: <018a01cdd84e$2d139840$873ac8c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48FE675B@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Text doesn't have to be in p tags for it to be readable by screen readers etc. I think there was something in the xenith code where I couldn't tab to a particular button unless it was inside a p tag (maybe?) From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 December 2012 12:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash) Fair enough. Well it should work in the html version although perhaps someone can look at the accessibility? I've read other comments I'm sure, of Fay's, that some things have had to be wrapped in

tags - or did I imagine that? Don't think the timer is as it was a quick addition and made the bar huge. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Wednesday, December 12, 2012 12:42 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash) No, it's just an indicator. Something along the lines of 'Try the interaction on the following page. See if you can complete it in the target time indicated'. I wasn't keen on the idea, I'd always understood timing stuff to be an accessibility no-no, but the users had a good enough use case: they needed to be able to simulate exam conditions when they were being timed. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 December 2012 12:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash) Was the timer supposed to do anything when it counts down? I couldn't see the Flash version doing anything so the HTML version doesn't either... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: Wednesday, December 12, 2012 12:14 PM To: For Xerte technical developers Subject: [Xerte-dev] Interactivity page timer bug (Flash) I've just found a small bug in the Flash version. If you have a project where the first page is an interactivity page with the page timer optional property it doesn't show the timer bar when you first view it. If you move to page 2 and then back to page 1 it will appear but not on first view. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fay.Cross at nottingham.ac.uk Wed Dec 12 12:54:48 2012 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Wed, 12 Dec 2012 12:54:48 +0000 Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash) In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48FE6767@EXCHANGE1.ad.nottingham.ac.uk> References: <018a01cdd84e$2d139840$873ac8c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48FE675B@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48FE6767@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Fair enough. I've just added the strings (time remaining etc.) to the language file as it seems to be hardcoded in the flash version (I can't find it in language files anyway). I've changed it to use these in html but where is this set up for the Flash version? In XMLEngine.fla? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 12 December 2012 12:49 To: For Xerte technical developers Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash) Incidentally, that's why I'm not too worried about the 'doesn't show on first page' bug, because it really needs some sort of introduction, before the student sees it. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 12 December 2012 12:42 To: For Xerte technical developers Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash) No, it's just an indicator. Something along the lines of 'Try the interaction on the following page. See if you can complete it in the target time indicated'. I wasn't keen on the idea, I'd always understood timing stuff to be an accessibility no-no, but the users had a good enough use case: they needed to be able to simulate exam conditions when they were being timed. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 December 2012 12:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash) Was the timer supposed to do anything when it counts down? I couldn't see the Flash version doing anything so the HTML version doesn't either... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: Wednesday, December 12, 2012 12:14 PM To: For Xerte technical developers Subject: [Xerte-dev] Interactivity page timer bug (Flash) I've just found a small bug in the Flash version. If you have a project where the first page is an interactivity page with the page timer optional property it doesn't show the timer bar when you first view it. If you move to page 2 and then back to page 1 it will appear but not on first view. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Wed Dec 12 12:55:28 2012 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 12 Dec 2012 12:55:28 +0000 Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash) In-Reply-To: References: <018a01cdd84e$2d139840$873ac8c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48FE675B@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Ah that might be it... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: Wednesday, December 12, 2012 12:53 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash) Text doesn't have to be in p tags for it to be readable by screen readers etc. I think there was something in the xenith code where I couldn't tab to a particular button unless it was inside a p tag (maybe?) From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 December 2012 12:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash) Fair enough. Well it should work in the html version although perhaps someone can look at the accessibility? I've read other comments I'm sure, of Fay's, that some things have had to be wrapped in

tags - or did I imagine that? Don't think the timer is as it was a quick addition and made the bar huge. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Wednesday, December 12, 2012 12:42 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash) No, it's just an indicator. Something along the lines of 'Try the interaction on the following page. See if you can complete it in the target time indicated'. I wasn't keen on the idea, I'd always understood timing stuff to be an accessibility no-no, but the users had a good enough use case: they needed to be able to simulate exam conditions when they were being timed. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 December 2012 12:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: Interactivity page timer bug (Flash) Was the timer supposed to do anything when it counts down? I couldn't see the Flash version doing anything so the HTML version doesn't either... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: Wednesday, December 12, 2012 12:14 PM To: For Xerte technical developers Subject: [Xerte-dev] Interactivity page timer bug (Flash) I've just found a small bug in the Flash version. If you have a project where the first page is an interactivity page with the page timer optional property it doesn't show the timer bar when you first view it. If you move to page 2 and then back to page 1 it will appear but not on first view. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Wed Dec 12 12:59:08 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 12 Dec 2012 12:59:08 -0000 Subject: [Xerte-dev] Re: 1.9 zip In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48E7642E@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk> <0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com> <12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk> <2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com> <12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk> <019701cdd6e7$4 3c229c0$cb467d40$@co.uk> <01c601cdd6f9$c9ccb7d0$5d662770$@co.uk> <01f001cdd704$1e42aea0$5ac80be0$@co.uk> <020701cdd713$debe5b20$9c3b1160$@co.uk> <4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com> <002401cdd77f$6e0ff390$4a2fdab0$@co.uk> <4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com> <00e201cdd7ba$0957cb90$1c0762b0$@co.uk> <018f01cdd84e$32c459f0$984d0dd0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48E7642E@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <024001cdd868$7a4c46b0$6ee4d410$@co.uk> Will the zip download be the usual link when the new site is live e.g. http://www.nottingham.ac.uk/xerte/downloads/xertetoolkits.zip If so want to use this to publicise? ;-) http://vle.jisctechdis.ac.uk/xot/play_html5.php?template_id=241 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 12 December 2012 09:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip OK, I'll update the zip file, thanks for getting to the bottom of this. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 12 December 2012 09:51 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: 1.9 zip Ok the techdis install is updated to r594 It now works in IE9 without the need for compatibility mode and even with developer tools and script debugging running e.g. no more window_reference error and clciking preview and then closing prompts for publish and clicking ok publishes the changes. I've tested locally without moodle integration and on the techdis install with moodle integration - both seem to be working fine for me. What resolved the IE 9 issue Pat? 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: 12 December 2012 01:26 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip It is good to know the version that was working two days ago is now working for other people to. I have done some SVN updates. I've left a trace in update_file.php to help test it, but it works here AND AND AND AND AND AND it also works in IE9 now as well BUT BUT BUT BUT BUT BUT BUT This is only in xampp as I have not tested it in moodle as it is half one and I really can't be arsed On Wed, Dec 12, 2012 at 1:22 AM, Pat Lockley wrote: "Closing without first previewing or publishing always has the potential to lose changes especially now that the close + OK to publish isn't working!" That button won't change that, all the publish does is copy preview over data - if preview wasn't updated by previewing then the button makes no difference at all. On Tue, Dec 11, 2012 at 4:10 PM, Ron Mitchell wrote: John Publish saves changes to data.xml Preview saves changes to preview.xml Closing without first previewing or publishing always has the potential to lose changes especially now that the close + OK to publish isn't working! So in terms of what has changed it's just that closing and clicking ok to publish isn't working. It's always been the case that unless you preview changes are not saved unless you manually publish or when clicking ok works. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 December 2012 15:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip Yeah what I'm seeing is: I make a LO, add some stuff and then click Publish. Then I make it Public, edit it again click Publish, close and Preview = changes are there. Then I Edit it again, make changes but just click the close button. No popup and when I click Preview the changes are lost. This is in both Chrome and IE and from SVN trunk, latest revision. Are you guys working from a zip copy of trunk already? Will checkout a fresh trunk and see what happens. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: Tuesday, December 11, 2012 1:42 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip If you don't preview then it isn't saved to preview.xml The pop up should happen if data and preview.xml are different On 11 Dec 2012, at 11:36, "Smith, John" wrote: Hi all, Correct me if I'm wrong but if you made a change in the editor and then closed the window without Publishing you used to get a popup? I'm not getting that at all now at latest revision. Closing the window doesn't give me any popup and the changes are lost now. Anyone else seeing this? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: Tuesday, December 11, 2012 9:30 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip Look at the top, there is a conditional which means temp array is sometimes created and sometimes not So some cases will need it and some won't On 11 Dec 2012, at 09:10, "Ron Mitchell" wrote: Tried that but no change - project still not published upon clicking ok. Publishing manually works fine. But still don't get why the files would be different? Your commit: http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod e/php/versioncontrol/update_file.php?spec=svn589 &r=589 has the four temp_array[0] and you're saying that file is working for you? Or did something go wrong with the commit? Going to be offline for at least a few hours now so perhaps someone else can have a look. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 10 December 2012 22:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip No idea - all four temp arrays need to be replaced As long as it is temp_array[0] On 10 Dec 2012, at 20:20, "Ron Mitchell" wrote: There seems to be two occurrences of temp_array[0] http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod e/php/versioncontrol/update_file.php?spec=svn589 &r=589 Do both need changing or just one? How come this works for you if same version? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 10 December 2012 18:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip Ok one of the queries has a ref to temp_array[0] in still Replace with $template_id On 10 Dec 2012, at 18:28, "Ron Mitchell" wrote: do these help? $query_for_play_content_strip select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator" $query_for_play_content select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="C: mpphtdocs rtetoolkits/USER" and role="creator" $query_for_play_content_response Resource id #20 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 10 December 2012 17:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip website_code/php/versioncontrol/update_file.php there will be a variable called query or something query On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell wrote: Sorry what query? In what file? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 10 December 2012 16:03 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip Ok, so for you, the query doesn't work. echo out the query and see what it is On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell wrote: I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 10 December 2012 14:27 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip Pah, It's been two years, but maybe that's my instinctive name for all things XOT Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works). Pat On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell wrote: Hi Pat are you sure about the db name? as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt Testing the publishing options with a clean xampp install... I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE? But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing. HTH 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: 10 December 2012 14:12 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip xertetoolkits mine is a fresh xampp and it works it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell wrote: testing locally with guest access and no integration_config_path set... Create project Add a page Preview (so the file is save) Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted If I publish manually all is fine. I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 December 2012 11:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip It still doesn't work: Create project Add a page Preview (so the file is save) Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard). I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 07 December 2012 22:37 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip Not sure why it would break but adding database connect in seemed to fix it On 7 Dec 2012, at 22:21, Julian Tenney wrote: > thanks mate, I'll test on Monday, > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley > [patrick.lockley at googlemail.com] > Sent: 07 December 2012 19:22 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 zip > > fixed in moodle (both files in version control folder) > > Please test > > > On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney > wrote: > It works from the publish buttons. Just not on the on close trapper > > From: > xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley > > Sent: 07 December 2012 12:06 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 zip > > I think I assumed all publishing went through one file, but that's not > the case. Am on holiday but can poke around later on > > So publishing when closing > And > Publishing Inside xerte > > On 7 Dec 2012, at 11:55, Julian Tenney > wrote: > It's a bit more than that. Here's what I'm doing: > > Create project > Got to properties, make it public > Goto wizard edit something > Close editor > Prompted to publish - say yes > Goto properties, hit the link > No dice. > > But it's also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn't accounted for in the wizard window? > > From: > xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > On Behalf Of Smith, John > Sent: 07 December 2012 11:41 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 zip > > You have to make it public in the workspace before it's accessible - > well that's what I've always had to do. > > Publish in the editor doesn't appear to do much unless you set the > access level. > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: > xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > On Behalf Of Julian Tenney > Sent: Friday, December 07, 2012 11:37 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 zip > > Ah, it's working now. > > It only works after you've published the file from the workspace button. > > I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked. > > Any idea what makes the two publishes different? > > From: > xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > On Behalf Of Julian Tenney > Sent: 07 December 2012 11:30 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 zip > > Dunno. > > From: > xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > On Behalf Of Pat Lockley > Sent: 07 December 2012 11:29 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 zip > > Does xampp use htaccess by default? > > On 7 Dec 2012, at 11:28, Julian Tenney > wrote: > Sorry the path and file are in the right place, but I get a blank > screen when I try and CTRL-play for preview, or when I click the link > in properties > > From: > xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > On Behalf Of Julian Tenney > Sent: 07 December 2012 11:25 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 zip > > When I do an xamppp setup, build simple project and publish etc, I can't preview it on the link in the properties panel, i.e. this link doesn't work. > > There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from. > > Do I move the file (where is it?) or change the link(to point to ?) > > From: > xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > On Behalf Of Julian Tenney > Sent: 07 December 2012 11:17 > To: For Xerte technical developers > Subject: [Xerte-dev] 1.9 zip > > Is there anything in the svn that I shouldn't include in the zip? > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk 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 > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ 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 _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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: From Julian.Tenney at nottingham.ac.uk Wed Dec 12 12:57:15 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 12 Dec 2012 12:57:15 +0000 Subject: [Xerte-dev] Re: 1.9 zip In-Reply-To: <024001cdd868$7a4c46b0$6ee4d410$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C48E756F1@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48E7570D@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48E7571B@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48E75722@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48E75732@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48E7576E@EXCHANGE1.ad.nottingham.ac.uk> <0EB16821-BE06-454B-AF9D-465DD54FD63B@googlemail.com> <12C67A1EEC419342AF5E59DA31562C3F0C48E75789@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48BC798E@EXCHANGE1.ad.nottingham.ac.uk> <2596402C-6A25-4A26-A503-C331ACC60D55@googlemail.com> <12C67A1EEC419342AF5E59DA31562C3F0C48E75B50@EXCHANGE1.ad.nottingham.ac.uk> <019701cdd6e7$4 3c229c0$cb467d40$@co.uk> <01c601cdd6f9$c9ccb7d0$5d662770$@co.uk> <01f001cdd704$1e42aea0$5ac80be0$@co.uk> <020701cdd713$debe5b20$9c3b1160$@co.uk> <4773E7D2-A7BF-47D1-91B9-683FD2CADF22@googlemail.com> <002401cdd77f$6e0ff390$4a2fdab0$@co.uk> <4DA5202A-6441-4D1B-9DAB-C5FBCC3B4746@googlemail.com> <00e201cdd7ba$0957cb90$1c0762b0$@co.uk> <018f01cdd84e$32c459f0$984d0dd0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48E7642E@EXCHANGE1.ad.nottingham.ac.uk> <024001cdd868$7a4c46b0$6ee4d410$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48FE6774@EXCHANGE1.ad.nottingham.ac.uk> Yes, it should be, it will be the new site, I think live on Friday morning, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 12 December 2012 12:59 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: 1.9 zip Will the zip download be the usual link when the new site is live e.g. http://www.nottingham.ac.uk/xerte/downloads/xertetoolkits.zip If so want to use this to publicise? ;-) http://vle.jisctechdis.ac.uk/xot/play_html5.php?template_id=241 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 12 December 2012 09:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip OK, I'll update the zip file, thanks for getting to the bottom of this. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 12 December 2012 09:51 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: 1.9 zip Ok the techdis install is updated to r594 It now works in IE9 without the need for compatibility mode and even with developer tools and script debugging running e.g. no more window_reference error and clciking preview and then closing prompts for publish and clicking ok publishes the changes. I've tested locally without moodle integration and on the techdis install with moodle integration - both seem to be working fine for me. What resolved the IE 9 issue Pat? 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: 12 December 2012 01:26 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip It is good to know the version that was working two days ago is now working for other people to. I have done some SVN updates. I've left a trace in update_file.php to help test it, but it works here AND AND AND AND AND AND it also works in IE9 now as well BUT BUT BUT BUT BUT BUT BUT This is only in xampp as I have not tested it in moodle as it is half one and I really can't be arsed On Wed, Dec 12, 2012 at 1:22 AM, Pat Lockley > wrote: "Closing without first previewing or publishing always has the potential to lose changes especially now that the close + OK to publish isn't working!" That button won't change that, all the publish does is copy preview over data - if preview wasn't updated by previewing then the button makes no difference at all. On Tue, Dec 11, 2012 at 4:10 PM, Ron Mitchell > wrote: John Publish saves changes to data.xml Preview saves changes to preview.xml Closing without first previewing or publishing always has the potential to lose changes especially now that the close + OK to publish isn't working! So in terms of what has changed it's just that closing and clicking ok to publish isn't working. It's always been the case that unless you preview changes are not saved unless you manually publish or when clicking ok works. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 December 2012 15:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip Yeah what I'm seeing is: I make a LO, add some stuff and then click Publish. Then I make it Public, edit it again click Publish, close and Preview = changes are there... Then I Edit it again, make changes but just click the close button. No popup and when I click Preview the changes are lost... This is in both Chrome and IE and from SVN trunk, latest revision. Are you guys working from a zip copy of trunk already? Will checkout a fresh trunk and see what happens... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: Tuesday, December 11, 2012 1:42 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip If you don't preview then it isn't saved to preview.xml The pop up should happen if data and preview.xml are different On 11 Dec 2012, at 11:36, "Smith, John" > wrote: Hi all, Correct me if I'm wrong but if you made a change in the editor and then closed the window without Publishing you used to get a popup? I'm not getting that at all now at latest revision. Closing the window doesn't give me any popup and the changes are lost now. Anyone else seeing this? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: Tuesday, December 11, 2012 9:30 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip Look at the top, there is a conditional which means temp array is sometimes created and sometimes not So some cases will need it and some won't On 11 Dec 2012, at 09:10, "Ron Mitchell" > wrote: Tried that but no change - project still not published upon clicking ok. Publishing manually works fine. But still don't get why the files would be different? Your commit: http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589 has the four temp_array[0] and you're saying that file is working for you? Or did something go wrong with the commit? Going to be offline for at least a few hours now so perhaps someone else can have a look. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 10 December 2012 22:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip No idea - all four temp arrays need to be replaced As long as it is temp_array[0] On 10 Dec 2012, at 20:20, "Ron Mitchell" > wrote: There seems to be two occurrences of temp_array[0] http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589 Do both need changing or just one? How come this works for you if same version? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 10 December 2012 18:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip Ok one of the queries has a ref to temp_array[0] in still Replace with $template_id On 10 Dec 2012, at 18:28, "Ron Mitchell" > wrote: do these help? $query_for_play_content_strip select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator" $query_for_play_content select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="C: mpphtdocs rtetoolkits/USER" and role="creator" $query_for_play_content_response Resource id #20 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 10 December 2012 17:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip website_code/php/versioncontrol/update_file.php there will be a variable called query or something query On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell > wrote: Sorry what query? In what file? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 10 December 2012 16:03 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip Ok, so for you, the query doesn't work. echo out the query and see what it is On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell > wrote: I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 10 December 2012 14:27 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip Pah, It's been two years, but maybe that's my instinctive name for all things XOT Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works). Pat On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell > wrote: Hi Pat are you sure about the db name? as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt Testing the publishing options with a clean xampp install... I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE? But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing. HTH 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: 10 December 2012 14:12 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip xertetoolkits mine is a fresh xampp and it works it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell > wrote: testing locally with guest access and no integration_config_path set... Create project Add a page Preview (so the file is save) Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted If I publish manually all is fine. I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 December 2012 11:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip It still doesn't work: Create project Add a page Preview (so the file is save) Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard). I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 07 December 2012 22:37 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 zip Not sure why it would break but adding database connect in seemed to fix it On 7 Dec 2012, at 22:21, Julian Tenney > wrote: > thanks mate, I'll test on Monday, > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley > [patrick.lockley at googlemail.com] > Sent: 07 December 2012 19:22 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 zip > > fixed in moodle (both files in version control folder) > > Please test > > > On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney >> wrote: > It works from the publish buttons. Just not on the on close trapper > > From: > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk > ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley > > Sent: 07 December 2012 12:06 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 zip > > I think I assumed all publishing went through one file, but that's not > the case. Am on holiday but can poke around later on > > So publishing when closing > And > Publishing Inside xerte > > On 7 Dec 2012, at 11:55, Julian Tenney >> wrote: > It's a bit more than that. Here's what I'm doing: > > Create project > Got to properties, make it public > Goto wizard edit something > Close editor > Prompted to publish - say yes > Goto properties, hit the link > No dice. > > But it's also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn't accounted for in the wizard window? > > From: > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > On Behalf Of Smith, John > Sent: 07 December 2012 11:41 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 zip > > You have to make it public in the workspace before it's accessible - > well that's what I've always had to do... > > Publish in the editor doesn't appear to do much unless you set the > access level... > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > On Behalf Of Julian Tenney > Sent: Friday, December 07, 2012 11:37 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 zip > > Ah, it's working now. > > It only works after you've published the file from the workspace button. > > I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked. > > Any idea what makes the two publishes different? > > From: > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > On Behalf Of Julian Tenney > Sent: 07 December 2012 11:30 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 zip > > Dunno. > > From: > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > On Behalf Of Pat Lockley > Sent: 07 December 2012 11:29 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 zip > > Does xampp use htaccess by default? > > On 7 Dec 2012, at 11:28, Julian Tenney >> wrote: > Sorry the path and file are in the right place, but I get a blank > screen when I try and CTRL-play for preview, or when I click the link > in properties > > From: > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > On Behalf Of Julian Tenney > Sent: 07 December 2012 11:25 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 zip > > When I do an xamppp setup, build simple project and publish etc, I can't preview it on the link in the properties panel, i.e. this link doesn't work. > > There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from. > > Do I move the file (where is it?) or change the link(to point to ?) > > From: > xerte-dev-bounces at lists.nottingham.ac.uk > s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > On Behalf Of Julian Tenney > Sent: 07 December 2012 11:17 > To: For Xerte technical developers > Subject: [Xerte-dev] 1.9 zip > > Is there anything in the svn that I shouldn't include in the zip? > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk. > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk. > uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk. > 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 > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ 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 _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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: From Fay.Cross at nottingham.ac.uk Thu Dec 13 09:19:24 2012 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Thu, 13 Dec 2012 09:19:24 +0000 Subject: [Xerte-dev] Re: page linking via html5 playback In-Reply-To: References: <018a01cdd84e$2d139840$873ac8c0$@co.uk> Message-ID: I've just found some problems with page linking in both Flash and html5. They both work fine with Linear navigation but if it's menu navigation then in html the project won't load at all and in Flash the link always takes you to the page before it should (I guess it's not taking the menu page into account when getting the page index) I'll have a look at fixing the html version now. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 December 2012 11:54 To: For Xerte technical developers Subject: [Xerte-dev] Re: page linking via html5 playback Hi everyone, I've just updated xenith.js to include code which should now convert the asfunction links within any of the fields currently supported by glossary tags (I pinched the code) into an x_navigateToPage(). This is also used when deep linking so can someone test on their live environments (or at least with real life data).. Will be offline all afternoon (daughter's Nativity play) but back online in the evening... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Wednesday, December 12, 2012 9:51 AM To: 'For Xerte technical developers' Subject: [Xerte-dev] page linking via html5 playback Hi starting this as a new thread so we know it remains an issue to resolve. Don't think it should delay release of 1.9. I'm sure we know this anyway but as a reminder - the Page Link functionality works great via flash playback but when viewing the same LO via html 5 playback clicking that type of link results in a blank page as the url changes to something like asfunction:_level0.engine.rootIcon.pageLink,PG1355303464521 As a page link can be added to any page I guess there needs to be a shared function between all html 5 pages to detech that type of link and change it to a LinkID link. Is that something you can resolve John? Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fay.Cross at nottingham.ac.uk Thu Dec 13 09:48:57 2012 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Thu, 13 Dec 2012 09:48:57 +0000 Subject: [Xerte-dev] Re: page linking via html5 playback In-Reply-To: References: <018a01cdd84e$2d139840$873ac8c0$@co.uk> Message-ID: HTML5 page linking now working for all navigation options. The historic navigation hasn't been added to the HTML5 version yet (it's just linear still) as I didn't want to add something until the way it works was finalised in the Flash version. I'll add this functionality in the new year. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: 13 December 2012 09:19 To: For Xerte technical developers Subject: [Xerte-dev] Re: page linking via html5 playback I've just found some problems with page linking in both Flash and html5. They both work fine with Linear navigation but if it's menu navigation then in html the project won't load at all and in Flash the link always takes you to the page before it should (I guess it's not taking the menu page into account when getting the page index) I'll have a look at fixing the html version now. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 December 2012 11:54 To: For Xerte technical developers Subject: [Xerte-dev] Re: page linking via html5 playback Hi everyone, I've just updated xenith.js to include code which should now convert the asfunction links within any of the fields currently supported by glossary tags (I pinched the code) into an x_navigateToPage(). This is also used when deep linking so can someone test on their live environments (or at least with real life data).. Will be offline all afternoon (daughter's Nativity play) but back online in the evening... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Wednesday, December 12, 2012 9:51 AM To: 'For Xerte technical developers' Subject: [Xerte-dev] page linking via html5 playback Hi starting this as a new thread so we know it remains an issue to resolve. Don't think it should delay release of 1.9. I'm sure we know this anyway but as a reminder - the Page Link functionality works great via flash playback but when viewing the same LO via html 5 playback clicking that type of link results in a blank page as the url changes to something like asfunction:_level0.engine.rootIcon.pageLink,PG1355303464521 As a page link can be added to any page I guess there needs to be a shared function between all html 5 pages to detech that type of link and change it to a LinkID link. Is that something you can resolve John? Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From johnathan.kemp at ntlworld.com Thu Dec 13 11:08:24 2012 From: johnathan.kemp at ntlworld.com (Kemp Johnathan) Date: Thu, 13 Dec 2012 11:08:24 +0000 Subject: [Xerte-dev] Re: page linking via html5 playback In-Reply-To: References: <018a01cdd84e$2d139840$873ac8c0$@co.uk> Message-ID: You will probably find that in historic navigation everything works OK as there is no menu page. If you look at the code in the makePages script (the first child of the learning object in a pageTemplates project and presumably a XOT project) there is code that sets a value for pgOffset. pgOffset gets a value of 2 if there is a menu and 1 otherwise - to allow for the automatically generated menu page. I use this value in the connector pages to calculate an offset for when menu navigation is used. If I recall correctly there is a method to get the page index but this does not recognise the presence of the menu page but rootIcon.gotoPage does know about the menu page so if you have navigation = menu on your learning object, and a project that has a title page, followed by a summary page The method to get the page index returns 0 for the Title page and 1 for the summary page, but gotoPage(0) takes you to the menu page and gotoPage(1) takes you to the title page. Kind regards Johnathan On 13 December 2012 09:19, Fay Cross wrote: > I?ve just found some problems with page linking in both Flash and html5. > They both work fine with Linear navigation but if it?s menu navigation then > in html the project won?t load at all and in Flash the link always takes > you to the page before it should (I guess it?s not taking the menu page > into account when getting the page index) > > > > I?ll have a look at fixing the html version now. > > > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto: > xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Smith, John > > *Sent:* 12 December 2012 11:54 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: page linking via html5 playback > > > > Hi everyone, > > > > I?ve just updated xenith.js to include code which should now convert the > asfunction links within any of the fields currently supported by glossary > tags (I pinched the code) into an x_navigateToPage(). This is also used > when deep linking so can someone test on their live environments (or at > least with real life data).. > > > > Will be offline all afternoon (daughter?s Nativity play) but back online > in the evening? > > > > Regards, > > > > John Smith > > Learning Technologist > > School of Health & Life Sciences > > Glasgow Caledonian University > > > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Ron Mitchell > *Sent:* Wednesday, December 12, 2012 9:51 AM > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] page linking via html5 playback > > > > Hi > > starting this as a new thread so we know it remains an issue to resolve. > Don't think it should delay release of 1.9. > > > > I'm sure we know this anyway but as a reminder - the Page Link > functionality works great via flash playback but when viewing the same LO > via html 5 playback clicking that type of link results in a blank page as > the url changes to something like > asfunction:_level0.engine.rootIcon.pageLink,PG1355303464521 > > > > As a page link can be added to any page I guess there needs to be a shared > function between all html 5 pages to detech that type of link and change it > to a LinkID link. > > > > Is that something you can resolve John? > > > > Cheers > > Ron > > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the > Year 2009 and Herald Society?s Education Initiative of the Year 2009. > > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career > Researchers of the Year 2010, GCU as a lead with Universities Scotland > partners. > > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > > _______________________________________________ > 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: From Fay.Cross at nottingham.ac.uk Thu Dec 13 13:21:01 2012 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Thu, 13 Dec 2012 13:21:01 +0000 Subject: [Xerte-dev] Re: page linking via html5 playback In-Reply-To: References: <018a01cdd84e$2d139840$873ac8c0$@co.uk> Message-ID: Thanks Johnathan, Julian's just fixed it. Page links now work in both versions regardless of what navigation option is selected. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan Sent: 13 December 2012 11:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: page linking via html5 playback You will probably find that in historic navigation everything works OK as there is no menu page. If you look at the code in the makePages script (the first child of the learning object in a pageTemplates project and presumably a XOT project) there is code that sets a value for pgOffset. pgOffset gets a value of 2 if there is a menu and 1 otherwise - to allow for the automatically generated menu page. I use this value in the connector pages to calculate an offset for when menu navigation is used. If I recall correctly there is a method to get the page index but this does not recognise the presence of the menu page but rootIcon.gotoPage does know about the menu page so if you have navigation = menu on your learning object, and a project that has a title page, followed by a summary page The method to get the page index returns 0 for the Title page and 1 for the summary page, but gotoPage(0) takes you to the menu page and gotoPage(1) takes you to the title page. Kind regards Johnathan On 13 December 2012 09:19, Fay Cross > wrote: I've just found some problems with page linking in both Flash and html5. They both work fine with Linear navigation but if it's menu navigation then in html the project won't load at all and in Flash the link always takes you to the page before it should (I guess it's not taking the menu page into account when getting the page index) I'll have a look at fixing the html version now. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 December 2012 11:54 To: For Xerte technical developers Subject: [Xerte-dev] Re: page linking via html5 playback Hi everyone, I've just updated xenith.js to include code which should now convert the asfunction links within any of the fields currently supported by glossary tags (I pinched the code) into an x_navigateToPage(). This is also used when deep linking so can someone test on their live environments (or at least with real life data).. Will be offline all afternoon (daughter's Nativity play) but back online in the evening... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Wednesday, December 12, 2012 9:51 AM To: 'For Xerte technical developers' Subject: [Xerte-dev] page linking via html5 playback Hi starting this as a new thread so we know it remains an issue to resolve. Don't think it should delay release of 1.9. I'm sure we know this anyway but as a reminder - the Page Link functionality works great via flash playback but when viewing the same LO via html 5 playback clicking that type of link results in a blank page as the url changes to something like asfunction:_level0.engine.rootIcon.pageLink,PG1355303464521 As a page link can be added to any page I guess there needs to be a shared function between all html 5 pages to detech that type of link and change it to a LinkID link. Is that something you can resolve John? Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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: From Julian.Tenney at nottingham.ac.uk Thu Dec 13 13:26:28 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 13 Dec 2012 13:26:28 +0000 Subject: [Xerte-dev] Re: page linking via html5 playback In-Reply-To: References: <018a01cdd84e$2d139840$873ac8c0$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48FE6C5F@EXCHANGE1.ad.nottingham.ac.uk> It's fixed now. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan Sent: 13 December 2012 11:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: page linking via html5 playback You will probably find that in historic navigation everything works OK as there is no menu page. If you look at the code in the makePages script (the first child of the learning object in a pageTemplates project and presumably a XOT project) there is code that sets a value for pgOffset. pgOffset gets a value of 2 if there is a menu and 1 otherwise - to allow for the automatically generated menu page. I use this value in the connector pages to calculate an offset for when menu navigation is used. If I recall correctly there is a method to get the page index but this does not recognise the presence of the menu page but rootIcon.gotoPage does know about the menu page so if you have navigation = menu on your learning object, and a project that has a title page, followed by a summary page The method to get the page index returns 0 for the Title page and 1 for the summary page, but gotoPage(0) takes you to the menu page and gotoPage(1) takes you to the title page. Kind regards Johnathan On 13 December 2012 09:19, Fay Cross > wrote: I've just found some problems with page linking in both Flash and html5. They both work fine with Linear navigation but if it's menu navigation then in html the project won't load at all and in Flash the link always takes you to the page before it should (I guess it's not taking the menu page into account when getting the page index) I'll have a look at fixing the html version now. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 December 2012 11:54 To: For Xerte technical developers Subject: [Xerte-dev] Re: page linking via html5 playback Hi everyone, I've just updated xenith.js to include code which should now convert the asfunction links within any of the fields currently supported by glossary tags (I pinched the code) into an x_navigateToPage(). This is also used when deep linking so can someone test on their live environments (or at least with real life data).. Will be offline all afternoon (daughter's Nativity play) but back online in the evening... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Wednesday, December 12, 2012 9:51 AM To: 'For Xerte technical developers' Subject: [Xerte-dev] page linking via html5 playback Hi starting this as a new thread so we know it remains an issue to resolve. Don't think it should delay release of 1.9. I'm sure we know this anyway but as a reminder - the Page Link functionality works great via flash playback but when viewing the same LO via html 5 playback clicking that type of link results in a blank page as the url changes to something like asfunction:_level0.engine.rootIcon.pageLink,PG1355303464521 As a page link can be added to any page I guess there needs to be a shared function between all html 5 pages to detech that type of link and change it to a LinkID link. Is that something you can resolve John? Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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: From E.Cowell at wlv.ac.uk Thu Dec 13 16:42:25 2012 From: E.Cowell at wlv.ac.uk (Cowell, Elizabeth) Date: Thu, 13 Dec 2012 16:42:25 +0000 Subject: [Xerte-dev] drive problems with XOT on USB's Message-ID: <7E5A35071B997640A6A149C48AC5622A07BC58@EXCHMBX10X03.unv.wlv.ac.uk> Hello, Not sure where to post this so sorry if the wrong place. I've been running XOT on a USB and found that when you move your USB from pc to pc, it runs into problems if the drive letter changes. Basically your templates don't show because the scripts (eg edit.php) fail on a require command that looks for scripts on the wrong drive. It seems this is because it uses the root_file_path field from the sitedetails table in the database and I am guessing that this is only set when the initial setup is done. To make it fool-proof, I've altered the config.php file to just set the xerte_toolkits_site variable as follows: $xerte_toolkits_site->root_file_path=dirname(__FILE__) . "/"; I put this statement after it picks up the field from sitedetails in the statement foreach($row as $key => $value) { $xerte_toolkits_site->$key = $value; } It seems to work but I'm not familiar with the XOT code. Do you think it's a good idea to run with this until there's a proper fix?. (Its just I use XOT on my USB and kept thinking I'd lost everything when all that was happening was that it was being picked up as a different drive letter on my PC vs laptop). Also, as USB's are pretty fragile, would you suggest a backup strategy for users of having a .bat file to just back up their USER_FILES to a hard drive, on the basis that if XOT gets corrupted I can re-install, re-add their folders, recreate dummy templates and then copy their original LO's back over these for them (with the right template numbers in the file names). Or would you suggest also backing up other areas (the database, other XOT files? ) - I am not sure where all any user specific config is held, is it just in the toolkits_data database or in files outside of the database? Many thanks if you can help with any suggestions on getting around this, regards Liz Cowell -- Scanned by iCritical. From patrick.lockley at googlemail.com Thu Dec 13 16:49:59 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Thu, 13 Dec 2012 16:49:59 +0000 Subject: [Xerte-dev] Re: drive problems with XOT on USB's In-Reply-To: <7E5A35071B997640A6A149C48AC5622A07BC58@EXCHMBX10X03.unv.wlv.ac.uk> References: <7E5A35071B997640A6A149C48AC5622A07BC58@EXCHMBX10X03.unv.wlv.ac.uk> Message-ID: Hi Liz, That change will work for the root_file_path in this instance - I can't remember if changing it to that setting permanently would be a fix, or might introduce other problems. For movable USB sticks it'd work though. A backup script would back up the entire database, and everything in user-files. Are you running XAMPP on the USB stick? Pat On Thu, Dec 13, 2012 at 4:42 PM, Cowell, Elizabeth wrote: > Hello, > > Not sure where to post this so sorry if the wrong place. > > I've been running XOT on a USB and found that when you move your USB from > pc to pc, it runs into problems if the drive letter changes. Basically your > templates don't show because the scripts (eg edit.php) fail on a require > command that looks for scripts on the wrong drive. > > It seems this is because it uses the root_file_path field from the > sitedetails table in the database and I am guessing that this is only set > when the initial setup is done. > > To make it fool-proof, I've altered the config.php file to just set the > xerte_toolkits_site variable as follows: > > $xerte_toolkits_site->root_file_path=dirname(__FILE__) . "/"; > > I put this statement after it picks up the field from sitedetails in the > statement > > foreach($row as $key => $value) { > $xerte_toolkits_site->$key = $value; > } > > It seems to work but I'm not familiar with the XOT code. Do you think it's > a good idea to run with this until there's a proper fix?. (Its just I use > XOT on my USB and kept thinking I'd lost everything when all that was > happening was that it was being picked up as a different drive letter on my > PC vs laptop). > > Also, as USB's are pretty fragile, would you suggest a backup strategy for > users of having a .bat file to just back up their USER_FILES to a hard > drive, on the basis that if XOT gets corrupted I can re-install, re-add > their folders, recreate dummy templates and then copy their original LO's > back over these for them (with the right template numbers in the file > names). > > Or would you suggest also backing up other areas (the database, other XOT > files? ) - I am not sure where all any user specific config is held, is it > just in the toolkits_data database or in files outside of the database? > > Many thanks if you can help with any suggestions on getting around this, > > regards > > Liz Cowell > > > > > > > > > > > > > > > > > > -- > Scanned by iCritical. > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and > may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do > not use, copy or disclose the information contained in this message or in > any attachment. Any views or opinions expressed by the author of this > email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From E.Cowell at wlv.ac.uk Thu Dec 13 19:09:06 2012 From: E.Cowell at wlv.ac.uk (Cowell, Elizabeth) Date: Thu, 13 Dec 2012 19:09:06 +0000 Subject: [Xerte-dev] Re: drive problems with XOT on USB's In-Reply-To: References: <7E5A35071B997640A6A149C48AC5622A07BC58@EXCHMBX10X03.unv.wlv.ac.uk>, Message-ID: <409C309F-5B9A-49CA-A4A5-E00D77785E67@wlv.ac.uk> hi pat, yes I am. I just wanted to make a version our team could work on which was portable the other option would to be install it on specific pcs at work as IT won't put it on the network. the problem is that without this fix you can't rely on XOT always working on ur USB across all pcs or when you happen to have stuff in other ports which shifts the drive letters about. so I wonder if anyone else comes across this they will also think as I initially did that my work is all lost or corrupted. regards Liz Sent from my iPhone On 13 Dec 2012, at 17:01, "Pat Lockley" > wrote: Hi Liz, That change will work for the root_file_path in this instance - I can't remember if changing it to that setting permanently would be a fix, or might introduce other problems. For movable USB sticks it'd work though. A backup script would back up the entire database, and everything in user-files. Are you running XAMPP on the USB stick? Pat On Thu, Dec 13, 2012 at 4:42 PM, Cowell, Elizabeth > wrote: Hello, Not sure where to post this so sorry if the wrong place. I've been running XOT on a USB and found that when you move your USB from pc to pc, it runs into problems if the drive letter changes. Basically your templates don't show because the scripts (eg edit.php) fail on a require command that looks for scripts on the wrong drive. It seems this is because it uses the root_file_path field from the sitedetails table in the database and I am guessing that this is only set when the initial setup is done. To make it fool-proof, I've altered the config.php file to just set the xerte_toolkits_site variable as follows: $xerte_toolkits_site->root_file_path=dirname(__FILE__) . "/"; I put this statement after it picks up the field from sitedetails in the statement foreach($row as $key => $value) { $xerte_toolkits_site->$key = $value; } It seems to work but I'm not familiar with the XOT code. Do you think it's a good idea to run with this until there's a proper fix?. (Its just I use XOT on my USB and kept thinking I'd lost everything when all that was happening was that it was being picked up as a different drive letter on my PC vs laptop). Also, as USB's are pretty fragile, would you suggest a backup strategy for users of having a .bat file to just back up their USER_FILES to a hard drive, on the basis that if XOT gets corrupted I can re-install, re-add their folders, recreate dummy templates and then copy their original LO's back over these for them (with the right template numbers in the file names). Or would you suggest also backing up other areas (the database, other XOT files? ) - I am not sure where all any user specific config is held, is it just in the toolkits_data database or in files outside of the database? Many thanks if you can help with any suggestions on getting around this, regards Liz Cowell -- Scanned by iCritical. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- Scanned by iCritical. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Thu Dec 13 19:40:21 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Thu, 13 Dec 2012 19:40:21 -0000 Subject: [Xerte-dev] Re: drive problems with XOT on USB's In-Reply-To: <409C309F-5B9A-49CA-A4A5-E00D77785E67@wlv.ac.uk> References: <7E5A35071B997640A6A149C48AC5622A07BC58@EXCHMBX10X03.unv.wlv.ac.uk>, <409C309F-5B9A-49CA-A4A5-E00D77785E67@wlv.ac.uk> Message-ID: <00c901cdd969$b141b7c0$13c52740$@co.uk> Don't mess about with config.php... Launch PHPMyadmin Edit site details Change th import_path and root_file_path e.g. /xampp/htdocs/xertetoolkits/import/ /xampp/htdocs/xertetoolkits/ Obviously if you didn't call your root folder xertetoolkits change that to whatever it is. You should find it then works fine even when the drive letter changes. Try that and confirm? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Cowell, Elizabeth Sent: 13 December 2012 19:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: drive problems with XOT on USB's hi pat, yes I am. I just wanted to make a version our team could work on which was portable the other option would to be install it on specific pcs at work as IT won't put it on the network. the problem is that without this fix you can't rely on XOT always working on ur USB across all pcs or when you happen to have stuff in other ports which shifts the drive letters about. so I wonder if anyone else comes across this they will also think as I initially did that my work is all lost or corrupted. regards Liz Sent from my iPhone On 13 Dec 2012, at 17:01, "Pat Lockley" wrote: Hi Liz, That change will work for the root_file_path in this instance - I can't remember if changing it to that setting permanently would be a fix, or might introduce other problems. For movable USB sticks it'd work though. A backup script would back up the entire database, and everything in user-files. Are you running XAMPP on the USB stick? Pat On Thu, Dec 13, 2012 at 4:42 PM, Cowell, Elizabeth wrote: Hello, Not sure where to post this so sorry if the wrong place. I've been running XOT on a USB and found that when you move your USB from pc to pc, it runs into problems if the drive letter changes. Basically your templates don't show because the scripts (eg edit.php) fail on a require command that looks for scripts on the wrong drive. It seems this is because it uses the root_file_path field from the sitedetails table in the database and I am guessing that this is only set when the initial setup is done. To make it fool-proof, I've altered the config.php file to just set the xerte_toolkits_site variable as follows: $xerte_toolkits_site->root_file_path=dirname(__FILE__) . "/"; I put this statement after it picks up the field from sitedetails in the statement foreach($row as $key => $value) { $xerte_toolkits_site->$key = $value; } It seems to work but I'm not familiar with the XOT code. Do you think it's a good idea to run with this until there's a proper fix?. (Its just I use XOT on my USB and kept thinking I'd lost everything when all that was happening was that it was being picked up as a different drive letter on my PC vs laptop). Also, as USB's are pretty fragile, would you suggest a backup strategy for users of having a .bat file to just back up their USER_FILES to a hard drive, on the basis that if XOT gets corrupted I can re-install, re-add their folders, recreate dummy templates and then copy their original LO's back over these for them (with the right template numbers in the file names). Or would you suggest also backing up other areas (the database, other XOT files? ) - I am not sure where all any user specific config is held, is it just in the toolkits_data database or in files outside of the database? Many thanks if you can help with any suggestions on getting around this, regards Liz Cowell -- Scanned by iCritical. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- Scanned by iCritical. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Thu Dec 13 19:59:38 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Thu, 13 Dec 2012 19:59:38 -0000 Subject: [Xerte-dev] found a new issue with IE9 if not in compatibility mode Message-ID: <00d401cdd96c$6371f340$2a55d9c0$@co.uk> Hi all I think we're already aware that with IE 9 if you rename a project via properties it doesn't show renamed in the workspace until after a manual refresh but it looks like there is at least one other issue when IE 9 is not running in compatibility mode. I've replicated this locally on xampp and on the techdis install... With IE9 not in compatibility mode try importing a project - it won't work. Switch IE9 to compatibility mode, refresh and try import again - this time it will work Seems to be a problem with import.js or at least that's where developer tools and debugger pick up an error: Just documenting this now while I've discovered it but not sure I can find the solution. Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 29888 bytes Desc: not available URL: From patrick.lockley at googlemail.com Thu Dec 13 20:18:20 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Thu, 13 Dec 2012 20:18:20 +0000 Subject: [Xerte-dev] Re: drive problems with XOT on USB's In-Reply-To: <00c901cdd969$b141b7c0$13c52740$@co.uk> References: <7E5A35071B997640A6A149C48AC5622A07BC58@EXCHMBX10X03.unv.wlv.ac.uk> <409C309F-5B9A-49CA-A4A5-E00D77785E67@wlv.ac.uk> <00c901cdd969$b141b7c0$13c52740$@co.uk> Message-ID: Liz's change effectively does that automatically, so there is no need to use phpmyadmin. I am not sure if maxos is being used - but in theory you can make it drive independent. I would use your fix if it works for you. You might want to explore adding the overwriting of root file path code into a file outside config.php so you can update your code. Integration path is a setting which might be where you could place it On 13 Dec 2012, at 19:40, "Ron Mitchell" wrote: > Don't mess about with config.php... > > Launch PHPMyadmin > Edit site details > Change th import_path and root_file_path e.g. > > /xampp/htdocs/xertetoolkits/import/ > /xampp/htdocs/xertetoolkits/ > > Obviously if you didn't call your root folder xertetoolkits change that to whatever it is. > > You should find it then works fine even when the drive letter changes. > > Try that and confirm? > > HTH > Ron > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Cowell, Elizabeth > Sent: 13 December 2012 19:09 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: drive problems with XOT on USB's > > hi pat, > > yes I am. I just wanted to make a version our team could work on which was portable the other option would to be install it on specific pcs at work as IT won't put it on the network. > > the problem is that without this fix you can't rely on XOT always working on ur USB across all pcs or when you happen to have stuff in other ports which shifts the drive letters about. so I wonder if anyone else comes across this they will also think as I initially did that my work is all lost or corrupted. > > regards > > Liz > > Sent from my iPhone > > On 13 Dec 2012, at 17:01, "Pat Lockley" wrote: > > Hi Liz, > > That change will work for the root_file_path in this instance - I can't remember if changing it to that setting permanently would be a fix, or might introduce other problems. For movable USB sticks it'd work though. > > A backup script would back up the entire database, and everything in user-files. > > Are you running XAMPP on the USB stick? > > Pat > > > On Thu, Dec 13, 2012 at 4:42 PM, Cowell, Elizabeth wrote: > Hello, > > Not sure where to post this so sorry if the wrong place. > > I've been running XOT on a USB and found that when you move your USB from pc to pc, it runs into problems if the drive letter changes. Basically your templates don't show because the scripts (eg edit.php) fail on a require command that looks for scripts on the wrong drive. > > It seems this is because it uses the root_file_path field from the sitedetails table in the database and I am guessing that this is only set when the initial setup is done. > > To make it fool-proof, I've altered the config.php file to just set the xerte_toolkits_site variable as follows: > > $xerte_toolkits_site->root_file_path=dirname(__FILE__) . "/"; > > I put this statement after it picks up the field from sitedetails in the statement > > foreach($row as $key => $value) { > $xerte_toolkits_site->$key = $value; > } > > It seems to work but I'm not familiar with the XOT code. Do you think it's a good idea to run with this until there's a proper fix?. (Its just I use XOT on my USB and kept thinking I'd lost everything when all that was happening was that it was being picked up as a different drive letter on my PC vs laptop). > > Also, as USB's are pretty fragile, would you suggest a backup strategy for users of having a .bat file to just back up their USER_FILES to a hard drive, on the basis that if XOT gets corrupted I can re-install, re-add their folders, recreate dummy templates and then copy their original LO's back over these for them (with the right template numbers in the file names). > > Or would you suggest also backing up other areas (the database, other XOT files? ) - I am not sure where all any user specific config is held, is it just in the toolkits_data database or in files outside of the database? > > Many thanks if you can help with any suggestions on getting around this, > > regards > > Liz Cowell > > > > > > > > > > > > > > > > > > -- > Scanned by iCritical. > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > -- > Scanned by iCritical. > > > > > > > > > _______________________________________________ > 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: From patrick.lockley at googlemail.com Fri Dec 14 00:44:39 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Fri, 14 Dec 2012 00:44:39 +0000 Subject: [Xerte-dev] Re: found a new issue with IE9 if not in compatibility mode In-Reply-To: <00d401cdd96c$6371f340$2a55d9c0$@co.uk> References: <00d401cdd96c$6371f340$2a55d9c0$@co.uk> Message-ID: these are now fixed On Thu, Dec 13, 2012 at 7:59 PM, Ron Mitchell wrote: > Hi all**** > > I think we're already aware that with IE 9 if you rename a project via > properties it doesn't show renamed in the workspace until after a manual > refresh but it looks like there is at least one other issue when IE 9 is > not running in compatibility mode. I've replicated this locally on xampp > and on the techdis install...**** > > ** ** > > With IE9 not in compatibility mode try importing a project - it won't work. > **** > > Switch IE9 to compatibility mode, refresh and try import again - this time > it will work**** > > ** ** > > Seems to be a problem with import.js or at least that's where developer > tools and debugger pick up an error:**** > > ** ** > > **** > > ** ** > > Just documenting this now while I've discovered it but not sure I can find > the solution.**** > > ** ** > > Ron**** > > ** ** > > _______________________________________________ > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 29888 bytes Desc: not available URL: From johnathan.kemp at ntlworld.com Fri Dec 14 09:57:10 2012 From: johnathan.kemp at ntlworld.com (Kemp Johnathan) Date: Fri, 14 Dec 2012 09:57:10 +0000 Subject: [Xerte-dev] Re: page linking via html5 playback In-Reply-To: References: <018a01cdd84e$2d139840$873ac8c0$@co.uk> Message-ID: Have the changes in the engine been updated to the xerte svn as well as the XOT svn? I need to check if the changes Julian has made will have any impact on the Connector pages - or has anyone tested for this already? Kind regards Johnathan On 13 December 2012 13:21, Fay Cross wrote: > Thanks Johnathan, Julian?s just fixed it. Page links now work in both > versions regardless of what navigation option is selected. > > > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto: > xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Kemp Johnathan > *Sent:* 13 December 2012 11:08 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: page linking via html5 playback > > > > You will probably find that in historic navigation everything works OK as > there is no menu page. > > > > If you look at the code in the makePages script (the first child of the > learning object in a pageTemplates project and presumably a XOT project) > there is code that sets a value for pgOffset. pgOffset gets a value of 2 if > there is a menu and 1 otherwise - to allow for the automatically generated > menu page. > > > > I use this value in the connector pages to calculate an offset for when > menu navigation is used. > > > > If I recall correctly there is a method to get the page index but this > does not recognise the presence of the menu page but rootIcon.gotoPage does > know about the menu page > > > > so if you have navigation = menu on your learning object, and a project > that has a title page, followed by a summary page > > > > The method to get the page index returns 0 for the Title page and 1 for > the summary page, but gotoPage(0) takes you to the menu page and > gotoPage(1) takes you to the title page. > > > > Kind regards > > > > Johnathan > > > > > > On 13 December 2012 09:19, Fay Cross wrote: > > I?ve just found some problems with page linking in both Flash and html5. > They both work fine with Linear navigation but if it?s menu navigation then > in html the project won?t load at all and in Flash the link always takes > you to the page before it should (I guess it?s not taking the menu page > into account when getting the page index) > > > > I?ll have a look at fixing the html version now. > > > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto: > xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Smith, John > > > *Sent:* 12 December 2012 11:54 > > *To:* For Xerte technical developers > > *Subject:* [Xerte-dev] Re: page linking via html5 playback > > > > Hi everyone, > > > > I?ve just updated xenith.js to include code which should now convert the > asfunction links within any of the fields currently supported by glossary > tags (I pinched the code) into an x_navigateToPage(). This is also used > when deep linking so can someone test on their live environments (or at > least with real life data).. > > > > Will be offline all afternoon (daughter?s Nativity play) but back online > in the evening? > > > > Regards, > > > > John Smith > > Learning Technologist > > School of Health & Life Sciences > > Glasgow Caledonian University > > > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Ron Mitchell > *Sent:* Wednesday, December 12, 2012 9:51 AM > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] page linking via html5 playback > > > > Hi > > starting this as a new thread so we know it remains an issue to resolve. > Don't think it should delay release of 1.9. > > > > I'm sure we know this anyway but as a reminder - the Page Link > functionality works great via flash playback but when viewing the same LO > via html 5 playback clicking that type of link results in a blank page as > the url changes to something like > asfunction:_level0.engine.rootIcon.pageLink,PG1355303464521 > > > > As a page link can be added to any page I guess there needs to be a shared > function between all html 5 pages to detech that type of link and change it > to a LinkID link. > > > > Is that something you can resolve John? > > > > Cheers > > Ron > > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the > Year 2009 and Herald Society?s Education Initiative of the Year 2009. > > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career > Researchers of the Year 2010, GCU as a lead with Universities Scotland > partners. > > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > > > _______________________________________________ > 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: From johnathan.kemp at ntlworld.com Fri Dec 14 10:04:42 2012 From: johnathan.kemp at ntlworld.com (Kemp Johnathan) Date: Fri, 14 Dec 2012 10:04:42 +0000 Subject: [Xerte-dev] Re: page linking via html5 playback In-Reply-To: References: <018a01cdd84e$2d139840$873ac8c0$@co.uk> Message-ID: I have copied the engine from the XOT svn to my xerte runtime and created a pageTemplates project with a few connector pages and a quick test looks like all is still OK in linear and menu navigation modes so I think the Connector pages are unaffected by the changes Julian has made. Kind regards Johnathan On 14 December 2012 09:57, Kemp Johnathan wrote: > Have the changes in the engine been updated to the xerte svn as well as > the XOT svn? > > I need to check if the changes Julian has made will have any impact on the > Connector pages - or has anyone tested for this already? > > Kind regards > > Johnathan > > On 13 December 2012 13:21, Fay Cross wrote: > >> Thanks Johnathan, Julian?s just fixed it. Page links now work in both >> versions regardless of what navigation option is selected. >> >> >> >> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto: >> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Kemp Johnathan >> *Sent:* 13 December 2012 11:08 >> *To:* For Xerte technical developers >> *Subject:* [Xerte-dev] Re: page linking via html5 playback >> >> >> >> You will probably find that in historic navigation everything works OK as >> there is no menu page. >> >> >> >> If you look at the code in the makePages script (the first child of the >> learning object in a pageTemplates project and presumably a XOT project) >> there is code that sets a value for pgOffset. pgOffset gets a value of 2 if >> there is a menu and 1 otherwise - to allow for the automatically generated >> menu page. >> >> >> >> I use this value in the connector pages to calculate an offset for when >> menu navigation is used. >> >> >> >> If I recall correctly there is a method to get the page index but this >> does not recognise the presence of the menu page but rootIcon.gotoPage does >> know about the menu page >> >> >> >> so if you have navigation = menu on your learning object, and a project >> that has a title page, followed by a summary page >> >> >> >> The method to get the page index returns 0 for the Title page and 1 for >> the summary page, but gotoPage(0) takes you to the menu page and >> gotoPage(1) takes you to the title page. >> >> >> >> Kind regards >> >> >> >> Johnathan >> >> >> >> >> >> On 13 December 2012 09:19, Fay Cross wrote: >> >> I?ve just found some problems with page linking in both Flash and html5. >> They both work fine with Linear navigation but if it?s menu navigation then >> in html the project won?t load at all and in Flash the link always takes >> you to the page before it should (I guess it?s not taking the menu page >> into account when getting the page index) >> >> >> >> I?ll have a look at fixing the html version now. >> >> >> >> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto: >> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Smith, John >> >> >> *Sent:* 12 December 2012 11:54 >> >> *To:* For Xerte technical developers >> >> *Subject:* [Xerte-dev] Re: page linking via html5 playback >> >> >> >> Hi everyone, >> >> >> >> I?ve just updated xenith.js to include code which should now convert the >> asfunction links within any of the fields currently supported by glossary >> tags (I pinched the code) into an x_navigateToPage(). This is also used >> when deep linking so can someone test on their live environments (or at >> least with real life data).. >> >> >> >> Will be offline all afternoon (daughter?s Nativity play) but back online >> in the evening? >> >> >> >> Regards, >> >> >> >> John Smith >> >> Learning Technologist >> >> School of Health & Life Sciences >> >> Glasgow Caledonian University >> >> >> >> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ >> mailto:xerte-dev-bounces at lists.nottingham.ac.uk] >> *On Behalf Of *Ron Mitchell >> *Sent:* Wednesday, December 12, 2012 9:51 AM >> *To:* 'For Xerte technical developers' >> *Subject:* [Xerte-dev] page linking via html5 playback >> >> >> >> Hi >> >> starting this as a new thread so we know it remains an issue to resolve. >> Don't think it should delay release of 1.9. >> >> >> >> I'm sure we know this anyway but as a reminder - the Page Link >> functionality works great via flash playback but when viewing the same LO >> via html 5 playback clicking that type of link results in a blank page as >> the url changes to something like >> asfunction:_level0.engine.rootIcon.pageLink,PG1355303464521 >> >> >> >> As a page link can be added to any page I guess there needs to be a >> shared function between all html 5 pages to detech that type of link and >> change it to a LinkID link. >> >> >> >> Is that something you can resolve John? >> >> >> >> Cheers >> >> Ron >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number >> SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the >> Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career >> Researchers of the Year 2010, GCU as a lead with Universities Scotland >> partners. >> >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> >> >> >> >> _______________________________________________ >> 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: From ronm at mitchellmedia.co.uk Fri Dec 14 16:14:19 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 14 Dec 2012 16:14:19 -0000 Subject: [Xerte-dev] BOOOOOOOOOOOOOOOOOOOOOM Message-ID: <021601cdda16$135055a0$39f100e0$@co.uk> Hi Pat thanks for committing the changes/fixes to the import issue with IE9 in r606 I've tested locally and can certainly import ok now without having to switch IE9 to compatibility mode. Had to laugh at the BOOOOOOOOOOOOOOOOOOOOOM alert! :-) Are you going to remove that alert and re-commit? Or do you want me to do so on your behalf? For anyone else reading this it's line 130 of website_code\scripts\import.js The issue with renaming a project and having that show without manual refresh when using IE9 without switching to compatibility mode still doesn't work on my test. There seems to be a rogue f at the beginning of properties_tab.js which results in: Line: 1 Error: 'f' is undefined But when I remove that and refresh and try again I get a window_reference error that we had before: Line: 202 Error: 'window_reference' is undefined HTH Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.lockley at googlemail.com Fri Dec 14 17:00:36 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Fri, 14 Dec 2012 17:00:36 +0000 Subject: [Xerte-dev] Re: BOOOOOOOOOOOOOOOOOOOOOM In-Reply-To: <021601cdda16$135055a0$39f100e0$@co.uk> References: <021601cdda16$135055a0$39f100e0$@co.uk> Message-ID: I will resolve over the weekend. I like my error messages myself On Fri, Dec 14, 2012 at 4:14 PM, Ron Mitchell wrote: > Hi Pat**** > > thanks for committing the changes/fixes to the import issue with IE9 in > r606**** > > ** ** > > I've tested locally and can certainly import ok now without having to > switch IE9 to compatibility mode.**** > > ** ** > > Had to laugh at the BOOOOOOOOOOOOOOOOOOOOOM alert! :-)**** > > ** ** > > Are you going to remove that alert and re-commit? Or do you want me to do > so on your behalf?**** > > For anyone else reading this it's line 130 of > website_code\scripts\import.js**** > > ** ** > > The issue with renaming a project and having that show without manual > refresh when using IE9 without switching to compatibility mode still > doesn't work on my test. **** > > ** ** > > There seems to be a rogue f at the beginning of properties_tab.js which > results in:**** > > ** ** > > Line: 1**** > > Error: 'f' is undefined**** > > ** ** > > But when I remove that and refresh and try again I get a window_reference > error that we had before:**** > > ** ** > > Line: 202**** > > Error: 'window_reference' is undefined**** > > ** ** > > HTH**** > > Ron**** > > > > > _______________________________________________ > 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: From patrick.lockley at googlemail.com Sat Dec 15 18:44:13 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Sat, 15 Dec 2012 18:44:13 +0000 Subject: [Xerte-dev] Re: BOOOOOOOOOOOOOOOOOOOOOM In-Reply-To: References: <021601cdda16$135055a0$39f100e0$@co.uk> Message-ID: this should now be fixed On Fri, Dec 14, 2012 at 5:00 PM, Pat Lockley wrote: > I will resolve over the weekend. I like my error messages myself > > > On Fri, Dec 14, 2012 at 4:14 PM, Ron Mitchell wrote: > >> Hi Pat**** >> >> thanks for committing the changes/fixes to the import issue with IE9 in >> r606**** >> >> ** ** >> >> I've tested locally and can certainly import ok now without having to >> switch IE9 to compatibility mode.**** >> >> ** ** >> >> Had to laugh at the BOOOOOOOOOOOOOOOOOOOOOM alert! :-)**** >> >> ** ** >> >> Are you going to remove that alert and re-commit? Or do you want me to do >> so on your behalf?**** >> >> For anyone else reading this it's line 130 of >> website_code\scripts\import.js**** >> >> ** ** >> >> The issue with renaming a project and having that show without manual >> refresh when using IE9 without switching to compatibility mode still >> doesn't work on my test. **** >> >> ** ** >> >> There seems to be a rogue f at the beginning of properties_tab.js which >> results in:**** >> >> ** ** >> >> Line: 1**** >> >> Error: 'f' is undefined**** >> >> ** ** >> >> But when I remove that and refresh and try again I get a window_reference >> error that we had before:**** >> >> ** ** >> >> Line: 202**** >> >> Error: 'window_reference' is undefined**** >> >> ** ** >> >> HTH**** >> >> Ron**** >> >> >> >> >> _______________________________________________ >> 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: From ronm at mitchellmedia.co.uk Sun Dec 16 20:30:02 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Sun, 16 Dec 2012 20:30:02 -0000 Subject: [Xerte-dev] Re: BOOOOOOOOOOOOOOOOOOOOOM In-Reply-To: References: <021601cdda16$135055a0$39f100e0$@co.uk> Message-ID: <02fe01cddbcc$211b9700$6352c500$@co.uk> Thanks Pat tested locally and on the Techdis server, with and without moodle integration and all seems fine now. 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: 15 December 2012 18:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: BOOOOOOOOOOOOOOOOOOOOOM this should now be fixed On Fri, Dec 14, 2012 at 5:00 PM, Pat Lockley wrote: I will resolve over the weekend. I like my error messages myself On Fri, Dec 14, 2012 at 4:14 PM, Ron Mitchell wrote: Hi Pat thanks for committing the changes/fixes to the import issue with IE9 in r606 I've tested locally and can certainly import ok now without having to switch IE9 to compatibility mode. Had to laugh at the BOOOOOOOOOOOOOOOOOOOOOM alert! :-) Are you going to remove that alert and re-commit? Or do you want me to do so on your behalf? For anyone else reading this it's line 130 of website_code\scripts\import.js The issue with renaming a project and having that show without manual refresh when using IE9 without switching to compatibility mode still doesn't work on my test. There seems to be a rogue f at the beginning of properties_tab.js which results in: Line: 1 Error: 'f' is undefined But when I remove that and refresh and try again I get a window_reference error that we had before: Line: 202 Error: 'window_reference' is undefined HTH Ron _______________________________________________ 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: From thomas.rochford at jiscadvance.ac.uk Mon Dec 17 22:09:43 2012 From: thomas.rochford at jiscadvance.ac.uk (Thomas Rochford) Date: Mon, 17 Dec 2012 22:09:43 -0000 Subject: [Xerte-dev] Possible Accessibility Issue in XoT 1.8 Message-ID: <009301cddca3$38306c90$a89145b0$@jiscadvance.ac.uk> Good evening everyone, I was running a training session today for some adult education teachers and came across an interesting problem with 1.8. One of the delegates, whose eyesight was poor, had set her laptop to use a rather larger font than usual. When the Xerte Editor window opened up, the bottom part of the window, including the 'Play' button, was off screen and completely inaccessible. We worked around the problem by setting the browser magnification option down to 90% but, of course, this also reduced the font size, so although she found it usable for short period, she felt it would be difficult to work for long at this resolution. The 'Title' also did not resize correctly when the size was set to 'default', but worked fine with 'Fill Window' and 'Fill Screen'. It occurs to me that the easiest way to fix this is to enable horizontal and vertical scroll bars for the window. I have seen this problem with another application called 'IrfanView' - a free, and very powerful image editor, when running it on a Sony Vaio with a strange screen size (wide but not very high, like an HD screen is sometimes displayed). Is it too late to add scroll bars to 1.9, if so, maybe it could go on the wish list. I've also been experimenting with Unicode fonts and very obscure alphabets (Cuneiform in my case). They do work, but only in the latest version of Firefox. I don't think this is a major issue J but would like any thoughts if anyone out there knows a bit about embedding Fonts, Unicode or otherwise. Maybe I need to edit a .css file to add a new style now that 'face="CuneiformOB"' is no longer supported under HTML 5. Kindest Regards, Thomas ========================================================== Thomas Rochford, e-Learning Advisor, JISC Regional Support Centre - Eastern Tel: 07500 669002, 01223 564749 Eml: thomas.rochford at jiscadvance.ac.uk, Skype: cambridge.serendipity RSCs - Stimulating and Supporting Innovation in Learning RSC Eastern welcomes feedback on our services via support at rsc-eastern.ac.uk Description: Description: Description: cid:image002.jpg at 01C8A62B.F6CF3B80 Please consider your environmental responsibility before printing this e-mail -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 843 bytes Desc: not available URL: From Julian.Tenney at nottingham.ac.uk Tue Dec 18 07:31:26 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Tue, 18 Dec 2012 07:31:26 +0000 Subject: [Xerte-dev] Re: BOOOOOOOOOOOOOOOOOOOOOM In-Reply-To: <02fe01cddbcc$211b9700$6352c500$@co.uk> References: <021601cdda16$135055a0$39f100e0$@co.uk> , <02fe01cddbcc$211b9700$6352c500$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48BC79B4@EXCHANGE1.ad.nottingham.ac.uk> If all the recent fixes are commited, I'l update he zip and lt people know about 1.9. I've been away over the weekend, the new sie is live, but we haven't told anyone yet... ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell [ronm at mitchellmedia.co.uk] Sent: 16 December 2012 20:30 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: BOOOOOOOOOOOOOOOOOOOOOM Thanks Pat tested locally and on the Techdis server, with and without moodle integration and all seems fine now. 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: 15 December 2012 18:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: BOOOOOOOOOOOOOOOOOOOOOM this should now be fixed On Fri, Dec 14, 2012 at 5:00 PM, Pat Lockley > wrote: I will resolve over the weekend. I like my error messages myself On Fri, Dec 14, 2012 at 4:14 PM, Ron Mitchell > wrote: Hi Pat thanks for committing the changes/fixes to the import issue with IE9 in r606 I've tested locally and can certainly import ok now without having to switch IE9 to compatibility mode. Had to laugh at the BOOOOOOOOOOOOOOOOOOOOOM alert! :-) Are you going to remove that alert and re-commit? Or do you want me to do so on your behalf? For anyone else reading this it's line 130 of website_code\scripts\import.js The issue with renaming a project and having that show without manual refresh when using IE9 without switching to compatibility mode still doesn't work on my test. There seems to be a rogue f at the beginning of properties_tab.js which results in: Line: 1 Error: 'f' is undefined But when I remove that and refresh and try again I get a window_reference error that we had before: Line: 202 Error: 'window_reference' is undefined HTH Ron _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From ronm at mitchellmedia.co.uk Tue Dec 18 07:57:07 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 18 Dec 2012 07:57:07 -0000 Subject: [Xerte-dev] Re: BOOOOOOOOOOOOOOOOOOOOOM In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48BC79B4@EXCHANGE1.ad.nottingham.ac.uk> References: <021601cdda16$135055a0$39f100e0$@co.uk> , <02fe01cddbcc$211b9700$6352c500$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48BC79B4@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <03f701cddcf5$47d74180$d785c480$@co.uk> Yep I think everything is committed. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 18 December 2012 07:31 To: For Xerte technical developers Subject: [Xerte-dev] Re: BOOOOOOOOOOOOOOOOOOOOOM If all the recent fixes are commited, I'l update he zip and lt people know about 1.9. I've been away over the weekend, the new sie is live, but we haven't told anyone yet... ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell [ronm at mitchellmedia.co.uk] Sent: 16 December 2012 20:30 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: BOOOOOOOOOOOOOOOOOOOOOM Thanks Pat tested locally and on the Techdis server, with and without moodle integration and all seems fine now. 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: 15 December 2012 18:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: BOOOOOOOOOOOOOOOOOOOOOM this should now be fixed On Fri, Dec 14, 2012 at 5:00 PM, Pat Lockley > wrote: I will resolve over the weekend. I like my error messages myself On Fri, Dec 14, 2012 at 4:14 PM, Ron Mitchell > wrote: Hi Pat thanks for committing the changes/fixes to the import issue with IE9 in r606 I've tested locally and can certainly import ok now without having to switch IE9 to compatibility mode. Had to laugh at the BOOOOOOOOOOOOOOOOOOOOOM alert! :-) Are you going to remove that alert and re-commit? Or do you want me to do so on your behalf? For anyone else reading this it's line 130 of website_code\scripts\import.js The issue with renaming a project and having that show without manual refresh when using IE9 without switching to compatibility mode still doesn't work on my test. There seems to be a rogue f at the beginning of properties_tab.js which results in: Line: 1 Error: 'f' is undefined But when I remove that and refresh and try again I get a window_reference error that we had before: Line: 202 Error: 'window_reference' is undefined HTH Ron _______________________________________________ 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 This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. From J.J.Smith at gcu.ac.uk Tue Dec 18 08:02:19 2012 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Tue, 18 Dec 2012 08:02:19 +0000 Subject: [Xerte-dev] Re: BOOOOOOOOOOOOOOOOOOOOOM Message-ID: I've nothing else to commit at the moment. Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Ron Mitchell wrote: Yep I think everything is committed. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 18 December 2012 07:31 To: For Xerte technical developers Subject: [Xerte-dev] Re: BOOOOOOOOOOOOOOOOOOOOOM If all the recent fixes are commited, I'l update he zip and lt people know about 1.9. I've been away over the weekend, the new sie is live, but we haven't told anyone yet... ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell [ronm at mitchellmedia.co.uk] Sent: 16 December 2012 20:30 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: BOOOOOOOOOOOOOOOOOOOOOM Thanks Pat tested locally and on the Techdis server, with and without moodle integration and all seems fine now. 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: 15 December 2012 18:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: BOOOOOOOOOOOOOOOOOOOOOM this should now be fixed On Fri, Dec 14, 2012 at 5:00 PM, Pat Lockley > wrote: I will resolve over the weekend. I like my error messages myself On Fri, Dec 14, 2012 at 4:14 PM, Ron Mitchell > wrote: Hi Pat thanks for committing the changes/fixes to the import issue with IE9 in r606 I've tested locally and can certainly import ok now without having to switch IE9 to compatibility mode. Had to laugh at the BOOOOOOOOOOOOOOOOOOOOOM alert! :-) Are you going to remove that alert and re-commit? Or do you want me to do so on your behalf? For anyone else reading this it's line 130 of website_code\scripts\import.js The issue with renaming a project and having that show without manual refresh when using IE9 without switching to compatibility mode still doesn't work on my test. There seems to be a rogue f at the beginning of properties_tab.js which results in: Line: 1 Error: 'f' is undefined But when I remove that and refresh and try again I get a window_reference error that we had before: Line: 202 Error: 'window_reference' is undefined HTH Ron _______________________________________________ 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 This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Julian.Tenney at nottingham.ac.uk Tue Dec 18 10:04:49 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Tue, 18 Dec 2012 10:04:49 +0000 Subject: [Xerte-dev] Re: Possible Accessibility Issue in XoT 1.8 In-Reply-To: <009301cddca3$38306c90$a89145b0$@jiscadvance.ac.uk> References: <009301cddca3$38306c90$a89145b0$@jiscadvance.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4912EACB@EXCHANGE1.ad.nottingham.ac.uk> I'll have a look in the New Year, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Thomas Rochford Sent: 17 December 2012 22:10 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Possible Accessibility Issue in XoT 1.8 Good evening everyone, I was running a training session today for some adult education teachers and came across an interesting problem with 1.8. One of the delegates, whose eyesight was poor, had set her laptop to use a rather larger font than usual. When the Xerte Editor window opened up, the bottom part of the window, including the 'Play' button, was off screen and completely inaccessible. We worked around the problem by setting the browser magnification option down to 90% but, of course, this also reduced the font size, so although she found it usable for short period, she felt it would be difficult to work for long at this resolution. The 'Title' also did not resize correctly when the size was set to 'default', but worked fine with 'Fill Window' and 'Fill Screen'. It occurs to me that the easiest way to fix this is to enable horizontal and vertical scroll bars for the window. I have seen this problem with another application called 'IrfanView' - a free, and very powerful image editor, when running it on a Sony Vaio with a strange screen size (wide but not very high, like an HD screen is sometimes displayed). Is it too late to add scroll bars to 1.9, if so, maybe it could go on the wish list. I've also been experimenting with Unicode fonts and very obscure alphabets (Cuneiform in my case). They do work, but only in the latest version of Firefox. I don't think this is a major issue :) but would like any thoughts if anyone out there knows a bit about embedding Fonts, Unicode or otherwise. Maybe I need to edit a .css file to add a new style now that 'face="CuneiformOB"' is no longer supported under HTML 5. Kindest Regards, Thomas ========================================================== Thomas Rochford, e-Learning Advisor, JISC Regional Support Centre - Eastern Tel: 07500 669002, 01223 564749 Eml: thomas.rochford at jiscadvance.ac.uk, Skype: cambridge.serendipity RSCs - Stimulating and Supporting Innovation in Learning RSC Eastern welcomes feedback on our services via support at rsc-eastern.ac.uk [cid:image001.jpg at 01CDDD07.1D672160] Please consider your environmental responsibility before printing this e-mail -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 843 bytes Desc: image001.jpg URL: From patrick.lockley at googlemail.com Tue Dec 18 11:01:43 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Tue, 18 Dec 2012 11:01:43 +0000 Subject: [Xerte-dev] Re: Possible Accessibility Issue in XoT 1.8 In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4912EACB@EXCHANGE1.ad.nottingham.ac.uk> References: <009301cddca3$38306c90$a89145b0$@jiscadvance.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4912EACB@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: there used to be the maximise window button which solved this On Tue, Dec 18, 2012 at 10:04 AM, Julian Tenney < Julian.Tenney at nottingham.ac.uk> wrote: > I?ll have a look in the New Year,**** > > ** ** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto: > xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Thomas Rochford > *Sent:* 17 December 2012 22:10 > *To:* xerte-dev at lists.nottingham.ac.uk > *Subject:* [Xerte-dev] Possible Accessibility Issue in XoT 1.8**** > > ** ** > > Good evening everyone,**** > > I was running a training session today for some adult education teachers > and came across an interesting problem with 1.8. One of the delegates, > whose eyesight was poor, had set her laptop to use a rather larger font > than usual. When the Xerte Editor window opened up, the bottom part of the > window, including the ?Play? button, was off screen and completely > inaccessible. We worked around the problem by setting the browser > magnification option down to 90% but, of course, this also reduced the font > size, so although she found it usable for short period, she felt it would > be difficult to work for long at this resolution. The ?Title? also did not > resize correctly when the size was set to ?default?, but worked fine with > ?Fill Window? and ?Fill Screen?.**** > > It occurs to me that the easiest way to fix this is to enable horizontal > and vertical scroll bars for the window. I have seen this problem with > another application called ?IrfanView? - a free, and very powerful image > editor, when running it on a Sony Vaio with a strange screen size (wide but > not very high, like an HD screen is sometimes displayed). Is it too late to > add scroll bars to 1.9, if so, maybe it could go on the wish list.**** > > I?ve also been experimenting with Unicode fonts and very obscure alphabets > (Cuneiform in my case). They do work, but only in the latest version of > Firefox. I don?t think this is a major issue J but would like any > thoughts if anyone out there knows a bit about embedding Fonts, Unicode or > otherwise. Maybe I need to edit a .css file to add a new style now that > ?face=?CuneiformOB?? is no longer supported under HTML 5.**** > > Kindest Regards,**** > > Thomas**** > > *==========================================================* > > Thomas Rochford, e-Learning Advisor, JISC Regional Support Centre - Eastern > **** > > Tel: 07500 669002, 01223 564749 **** > > Eml: *thomas.rochford at jiscadvance.ac.uk*, **** > > Skype: cambridge.serendipity**** > > *RSCs - Stimulating and Supporting Innovation in Learning* > > RSC Eastern welcomes feedback on our services via > support at rsc-eastern.ac.uk**** > > [image: Description: Description: Description: > cid:image002.jpg at 01C8A62B.F6CF3B80]* **Please consider your environmental > responsibility before printing this e-mail***** > > ** ** > > ** ** > > ** ** > > _______________________________________________ > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 843 bytes Desc: not available URL: From Julian.Tenney at nottingham.ac.uk Tue Dec 18 11:13:32 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Tue, 18 Dec 2012 11:13:32 +0000 Subject: [Xerte-dev] Re: Possible Accessibility Issue in XoT 1.8 In-Reply-To: References: <009301cddca3$38306c90$a89145b0$@jiscadvance.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4912EACB@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4912EB67@EXCHANGE1.ad.nottingham.ac.uk> What did it do? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 18 December 2012 11:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: Possible Accessibility Issue in XoT 1.8 there used to be the maximise window button which solved this On Tue, Dec 18, 2012 at 10:04 AM, Julian Tenney > wrote: I'll have a look in the New Year, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Thomas Rochford Sent: 17 December 2012 22:10 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Possible Accessibility Issue in XoT 1.8 Good evening everyone, I was running a training session today for some adult education teachers and came across an interesting problem with 1.8. One of the delegates, whose eyesight was poor, had set her laptop to use a rather larger font than usual. When the Xerte Editor window opened up, the bottom part of the window, including the 'Play' button, was off screen and completely inaccessible. We worked around the problem by setting the browser magnification option down to 90% but, of course, this also reduced the font size, so although she found it usable for short period, she felt it would be difficult to work for long at this resolution. The 'Title' also did not resize correctly when the size was set to 'default', but worked fine with 'Fill Window' and 'Fill Screen'. It occurs to me that the easiest way to fix this is to enable horizontal and vertical scroll bars for the window. I have seen this problem with another application called 'IrfanView' - a free, and very powerful image editor, when running it on a Sony Vaio with a strange screen size (wide but not very high, like an HD screen is sometimes displayed). Is it too late to add scroll bars to 1.9, if so, maybe it could go on the wish list. I've also been experimenting with Unicode fonts and very obscure alphabets (Cuneiform in my case). They do work, but only in the latest version of Firefox. I don't think this is a major issue :) but would like any thoughts if anyone out there knows a bit about embedding Fonts, Unicode or otherwise. Maybe I need to edit a .css file to add a new style now that 'face="CuneiformOB"' is no longer supported under HTML 5. Kindest Regards, Thomas ========================================================== Thomas Rochford, e-Learning Advisor, JISC Regional Support Centre - Eastern Tel: 07500 669002, 01223 564749 Eml: thomas.rochford at jiscadvance.ac.uk, Skype: cambridge.serendipity RSCs - Stimulating and Supporting Innovation in Learning RSC Eastern welcomes feedback on our services via support at rsc-eastern.ac.uk [cid:image001.jpg at 01CDDD10.B6F7F0D0] Please consider your environmental responsibility before printing this e-mail _______________________________________________ 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 843 bytes Desc: image001.jpg URL: From patrick.lockley at googlemail.com Tue Dec 18 11:29:14 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Tue, 18 Dec 2012 11:29:14 +0000 Subject: [Xerte-dev] Re: Possible Accessibility Issue in XoT 1.8 In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4912EB67@EXCHANGE1.ad.nottingham.ac.uk> References: <009301cddca3$38306c90$a89145b0$@jiscadvance.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4912EACB@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4912EB67@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: it maximised the editor window, Alisdair had the problem that on small EEE's and wot not you needed scroll bars On Tue, Dec 18, 2012 at 11:13 AM, Julian Tenney < Julian.Tenney at nottingham.ac.uk> wrote: > What did it do?**** > > ** ** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto: > xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley > *Sent:* 18 December 2012 11:02 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Possible Accessibility Issue in XoT 1.8**** > > ** ** > > there used to be the maximise window button which solved this**** > > ** ** > > On Tue, Dec 18, 2012 at 10:04 AM, Julian Tenney < > Julian.Tenney at nottingham.ac.uk> wrote:**** > > I?ll have a look in the New Year,**** > > **** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto: > xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Thomas Rochford > *Sent:* 17 December 2012 22:10 > *To:* xerte-dev at lists.nottingham.ac.uk > *Subject:* [Xerte-dev] Possible Accessibility Issue in XoT 1.8**** > > **** > > Good evening everyone,**** > > I was running a training session today for some adult education teachers > and came across an interesting problem with 1.8. One of the delegates, > whose eyesight was poor, had set her laptop to use a rather larger font > than usual. When the Xerte Editor window opened up, the bottom part of the > window, including the ?Play? button, was off screen and completely > inaccessible. We worked around the problem by setting the browser > magnification option down to 90% but, of course, this also reduced the font > size, so although she found it usable for short period, she felt it would > be difficult to work for long at this resolution. The ?Title? also did not > resize correctly when the size was set to ?default?, but worked fine with > ?Fill Window? and ?Fill Screen?.**** > > It occurs to me that the easiest way to fix this is to enable horizontal > and vertical scroll bars for the window. I have seen this problem with > another application called ?IrfanView? - a free, and very powerful image > editor, when running it on a Sony Vaio with a strange screen size (wide but > not very high, like an HD screen is sometimes displayed). Is it too late to > add scroll bars to 1.9, if so, maybe it could go on the wish list.**** > > I?ve also been experimenting with Unicode fonts and very obscure alphabets > (Cuneiform in my case). They do work, but only in the latest version of > Firefox. I don?t think this is a major issue J but would like any > thoughts if anyone out there knows a bit about embedding Fonts, Unicode or > otherwise. Maybe I need to edit a .css file to add a new style now that > ?face=?CuneiformOB?? is no longer supported under HTML 5.**** > > Kindest Regards,**** > > Thomas**** > > *==========================================================***** > > Thomas Rochford, e-Learning Advisor, JISC Regional Support Centre - Eastern > **** > > Tel: 07500 669002, 01223 564749 **** > > Eml: *thomas.rochford at jiscadvance.ac.uk*, **** > > Skype: cambridge.serendipity**** > > *RSCs - Stimulating and Supporting Innovation in Learning***** > > RSC Eastern welcomes feedback on our services via > support at rsc-eastern.ac.uk**** > > [image: Description: Description: Description: > cid:image002.jpg at 01C8A62B.F6CF3B80]* **Please consider your environmental > responsibility before printing this e-mail***** > > **** > > **** > > **** > > > _______________________________________________ > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 843 bytes Desc: not available URL: From Julian.Tenney at nottingham.ac.uk Tue Dec 18 11:30:25 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Tue, 18 Dec 2012 11:30:25 +0000 Subject: [Xerte-dev] Re: Possible Accessibility Issue in XoT 1.8 In-Reply-To: References: <009301cddca3$38306c90$a89145b0$@jiscadvance.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4912EACB@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4912EB67@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4912EB94@EXCHANGE1.ad.nottingham.ac.uk> I suppose I meant 'how did it do it?' From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 18 December 2012 11:29 To: For Xerte technical developers Subject: [Xerte-dev] Re: Possible Accessibility Issue in XoT 1.8 it maximised the editor window, Alisdair had the problem that on small EEE's and wot not you needed scroll bars On Tue, Dec 18, 2012 at 11:13 AM, Julian Tenney > wrote: What did it do? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 18 December 2012 11:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: Possible Accessibility Issue in XoT 1.8 there used to be the maximise window button which solved this On Tue, Dec 18, 2012 at 10:04 AM, Julian Tenney > wrote: I'll have a look in the New Year, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Thomas Rochford Sent: 17 December 2012 22:10 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Possible Accessibility Issue in XoT 1.8 Good evening everyone, I was running a training session today for some adult education teachers and came across an interesting problem with 1.8. One of the delegates, whose eyesight was poor, had set her laptop to use a rather larger font than usual. When the Xerte Editor window opened up, the bottom part of the window, including the 'Play' button, was off screen and completely inaccessible. We worked around the problem by setting the browser magnification option down to 90% but, of course, this also reduced the font size, so although she found it usable for short period, she felt it would be difficult to work for long at this resolution. The 'Title' also did not resize correctly when the size was set to 'default', but worked fine with 'Fill Window' and 'Fill Screen'. It occurs to me that the easiest way to fix this is to enable horizontal and vertical scroll bars for the window. I have seen this problem with another application called 'IrfanView' - a free, and very powerful image editor, when running it on a Sony Vaio with a strange screen size (wide but not very high, like an HD screen is sometimes displayed). Is it too late to add scroll bars to 1.9, if so, maybe it could go on the wish list. I've also been experimenting with Unicode fonts and very obscure alphabets (Cuneiform in my case). They do work, but only in the latest version of Firefox. I don't think this is a major issue :) but would like any thoughts if anyone out there knows a bit about embedding Fonts, Unicode or otherwise. Maybe I need to edit a .css file to add a new style now that 'face="CuneiformOB"' is no longer supported under HTML 5. Kindest Regards, Thomas ========================================================== Thomas Rochford, e-Learning Advisor, JISC Regional Support Centre - Eastern Tel: 07500 669002, 01223 564749 Eml: thomas.rochford at jiscadvance.ac.uk, Skype: cambridge.serendipity RSCs - Stimulating and Supporting Innovation in Learning RSC Eastern welcomes feedback on our services via support at rsc-eastern.ac.uk [cid:image001.jpg at 01CDDD13.12EA8950] Please consider your environmental responsibility before printing this e-mail _______________________________________________ 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 843 bytes Desc: image001.jpg URL: From patrick.lockley at googlemail.com Tue Dec 18 11:54:31 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Tue, 18 Dec 2012 11:54:31 +0000 Subject: [Xerte-dev] Re: Possible Accessibility Issue in XoT 1.8 In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4912EB94@EXCHANGE1.ad.nottingham.ac.uk> References: <009301cddca3$38306c90$a89145b0$@jiscadvance.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4912EACB@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4912EB67@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4912EB94@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: errr, forgotten, but it should be somewhere in the SVN On Tue, Dec 18, 2012 at 11:30 AM, Julian Tenney < Julian.Tenney at nottingham.ac.uk> wrote: > I suppose I meant ?how did it do it??**** > > ** ** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto: > xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley > *Sent:* 18 December 2012 11:29 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Possible Accessibility Issue in XoT 1.8**** > > ** ** > > it maximised the editor window, Alisdair had the problem that on small > EEE's and wot not you needed scroll bars**** > > ** ** > > On Tue, Dec 18, 2012 at 11:13 AM, Julian Tenney < > Julian.Tenney at nottingham.ac.uk> wrote:**** > > What did it do?**** > > **** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto: > xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley > *Sent:* 18 December 2012 11:02 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Possible Accessibility Issue in XoT 1.8**** > > **** > > there used to be the maximise window button which solved this**** > > **** > > On Tue, Dec 18, 2012 at 10:04 AM, Julian Tenney < > Julian.Tenney at nottingham.ac.uk> wrote:**** > > I?ll have a look in the New Year,**** > > **** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto: > xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Thomas Rochford > *Sent:* 17 December 2012 22:10 > *To:* xerte-dev at lists.nottingham.ac.uk > *Subject:* [Xerte-dev] Possible Accessibility Issue in XoT 1.8**** > > **** > > Good evening everyone,**** > > I was running a training session today for some adult education teachers > and came across an interesting problem with 1.8. One of the delegates, > whose eyesight was poor, had set her laptop to use a rather larger font > than usual. When the Xerte Editor window opened up, the bottom part of the > window, including the ?Play? button, was off screen and completely > inaccessible. We worked around the problem by setting the browser > magnification option down to 90% but, of course, this also reduced the font > size, so although she found it usable for short period, she felt it would > be difficult to work for long at this resolution. The ?Title? also did not > resize correctly when the size was set to ?default?, but worked fine with > ?Fill Window? and ?Fill Screen?.**** > > It occurs to me that the easiest way to fix this is to enable horizontal > and vertical scroll bars for the window. I have seen this problem with > another application called ?IrfanView? - a free, and very powerful image > editor, when running it on a Sony Vaio with a strange screen size (wide but > not very high, like an HD screen is sometimes displayed). Is it too late to > add scroll bars to 1.9, if so, maybe it could go on the wish list.**** > > I?ve also been experimenting with Unicode fonts and very obscure alphabets > (Cuneiform in my case). They do work, but only in the latest version of > Firefox. I don?t think this is a major issue J but would like any > thoughts if anyone out there knows a bit about embedding Fonts, Unicode or > otherwise. Maybe I need to edit a .css file to add a new style now that > ?face=?CuneiformOB?? is no longer supported under HTML 5.**** > > Kindest Regards,**** > > Thomas**** > > *==========================================================***** > > Thomas Rochford, e-Learning Advisor, JISC Regional Support Centre - Eastern > **** > > Tel: 07500 669002, 01223 564749 **** > > Eml: *thomas.rochford at jiscadvance.ac.uk*, **** > > Skype: cambridge.serendipity**** > > *RSCs - Stimulating and Supporting Innovation in Learning***** > > RSC Eastern welcomes feedback on our services via > support at rsc-eastern.ac.uk**** > > [image: Description: Description: Description: > cid:image002.jpg at 01C8A62B.F6CF3B80]* **Please consider your environmental > responsibility before printing this e-mail***** > > **** > > **** > > **** > > > _______________________________________________ > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 843 bytes Desc: not available URL: From Julian.Tenney at nottingham.ac.uk Tue Dec 18 15:49:28 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Tue, 18 Dec 2012 15:49:28 +0000 Subject: [Xerte-dev] Xerte Online Toolkits v1.9 Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4912ED55@EXCHANGE1.ad.nottingham.ac.uk> Good people, As my final job to do before I go home and get stuck into the festivities, it's with great pleasure I can announce the release of Xerte Online Toolkits v1.9, which can be downloaded from our new website at http://www.nottingham.ac.uk/xerte. Many thanks to all the brilliant people who have contributed to this release, which brings you the first instalment of the HTML5 runtime, as well as the usual fixes and enhancements. Installation over a 1.8 install should be straightforward, but ask if you've got any questions. V1.9 includes nearly 50 HTML5 compatible templates: we'll continue working on the outstanding ones in the New Year, and aim to reach 'parity' between the new HTML5 runtime, and the existing Flash-based runtime before Easter 2013, at which point HTML5 will become the default option. Wherever you are, and whatever you're doing over the holidays, have a great time, see you in the New Year, Julian -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Tue Dec 18 15:59:15 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Tue, 18 Dec 2012 16:59:15 +0100 Subject: [Xerte-dev] Re: Xerte Online Toolkits v1.9 In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4912ED55@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4912ED55@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <50D092D3.6050108@tor.nl> Thank you very much for your efforts as well! And we (Inge and I) wish you all a very good Christmas and a very good new year! Tom and Inge Op 18-12-2012 16:49, Julian Tenney schreef: > > Good people, > > As my final job to do before I go home and get stuck into the > festivities, it's with great pleasure I can announce the release of > Xerte Online Toolkits v1.9, which can be downloaded from our new > website at http://www.nottingham.ac.uk/xerte. > > Many thanks to all the brilliant people who have contributed to this > release, which brings you the first instalment of the HTML5 runtime, > as well as the usual fixes and enhancements. Installation over a 1.8 > install should be straightforward, but ask if you've got any > questions. V1.9 includes nearly 50 HTML5 compatible templates: we'll > continue working on the outstanding ones in the New Year, and aim to > reach 'parity' between the new HTML5 runtime, and the existing > Flash-based runtime before Easter 2013, at which point HTML5 will > become the default option. > > Wherever you are, and whatever you're doing over the holidays, have a > great time, see you in the New Year, > > Julian > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Tue Dec 18 21:11:39 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 18 Dec 2012 21:11:39 -0000 Subject: [Xerte-dev] odd problem after upgrade to 1.9 Message-ID: <055901cddd64$47dfcd90$d79f68b0$@co.uk> Hi all I'm reporting this now just in case others find the same problem and if so I'd be keen to know... I upgraded a 1.8 install earlier and expected it to be problem free but I'm seeing an odd problem and need to do some more testing tomorrow but something to look out for: All was working fine before the upgrade but after upgrade I noticed that in IE when I click to create a new project nothing happens. If I then refresh the project is there and I can edit ok. This sounded like a problem Tom reported previously and I suggested was down to a pop-up blocker but it seems not. If I click to create a new project in another browser I do get a pop up but the url ends with something like /edit.php?template_id=11,800,665 which seems to be breaking the editor link. If I trim the ,800,665 and put the rest in a new window all is fine e.g. I can edit the project. Clicking edit on any existing projects or newly created projects after refresh works fine too so it just seems to be a problem when creating a new project. I'm baffled as to why this would crop up with this upgrade when it hasn't on the Techdis server. I'll test further tomorrow but if anyone can replicate this or has any ideas please share your findings. Cheers Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.lockley at googlemail.com Tue Dec 18 21:12:09 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Tue, 18 Dec 2012 21:12:09 +0000 Subject: [Xerte-dev] Re: odd problem after upgrade to 1.9 In-Reply-To: <055901cddd64$47dfcd90$d79f68b0$@co.uk> References: <055901cddd64$47dfcd90$d79f68b0$@co.uk> Message-ID: Sounds like cached javascript, those extra numbers are the browser window sizes On Tue, Dec 18, 2012 at 9:11 PM, Ron Mitchell wrote: > Hi all**** > > I'm reporting this now just in case others find the same problem and if so > I'd be keen to know...**** > > ** ** > > I upgraded a 1.8 install earlier and expected it to be problem free but > I'm seeing an odd problem and need to do some more testing tomorrow but > something to look out for:**** > > ** ** > > All was working fine before the upgrade but after upgrade I noticed that > in IE when I click to create a new project nothing happens. If I then > refresh the project is there and I can edit ok. This sounded like a problem > Tom reported previously and I suggested was down to a pop-up blocker but it > seems not.**** > > ** ** > > If I click to create a new project in another browser I do get a pop up > but the url ends with something like /edit.php?template_id=11,800,665 which > seems to be breaking the editor link. If I trim the ,800,665 and put the > rest in a new window all is fine e.g. I can edit the project.**** > > ** ** > > Clicking edit on any existing projects or newly created projects after > refresh works fine too so it just seems to be a problem when creating a new > project.**** > > ** ** > > I'm baffled as to why this would crop up with this upgrade when it hasn't > on the Techdis server.**** > > ** ** > > I'll test further tomorrow but if anyone can replicate this or has any > ideas please share your findings.**** > > ** ** > > Cheers**** > > Ron**** > > > > > _______________________________________________ > 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: From ronm at mitchellmedia.co.uk Tue Dec 18 21:26:40 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 18 Dec 2012 21:26:40 -0000 Subject: [Xerte-dev] Re: odd problem after upgrade to 1.9 In-Reply-To: References: <055901cddd64$47dfcd90$d79f68b0$@co.uk> Message-ID: <056d01cddd66$5f846fd0$1e8d4f70$@co.uk> Thanks Pat I did try clearing cache and also restarted Apache too. Will explore further and report back 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: 18 December 2012 21:12 To: For Xerte technical developers Subject: [Xerte-dev] Re: odd problem after upgrade to 1.9 Sounds like cached javascript, those extra numbers are the browser window sizes On Tue, Dec 18, 2012 at 9:11 PM, Ron Mitchell wrote: Hi all I'm reporting this now just in case others find the same problem and if so I'd be keen to know... I upgraded a 1.8 install earlier and expected it to be problem free but I'm seeing an odd problem and need to do some more testing tomorrow but something to look out for: All was working fine before the upgrade but after upgrade I noticed that in IE when I click to create a new project nothing happens. If I then refresh the project is there and I can edit ok. This sounded like a problem Tom reported previously and I suggested was down to a pop-up blocker but it seems not. If I click to create a new project in another browser I do get a pop up but the url ends with something like /edit.php?template_id=11,800,665 which seems to be breaking the editor link. If I trim the ,800,665 and put the rest in a new window all is fine e.g. I can edit the project. Clicking edit on any existing projects or newly created projects after refresh works fine too so it just seems to be a problem when creating a new project. I'm baffled as to why this would crop up with this upgrade when it hasn't on the Techdis server. I'll test further tomorrow but if anyone can replicate this or has any ideas please share your findings. Cheers Ron _______________________________________________ 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: From patrick.lockley at googlemail.com Tue Dec 18 21:25:06 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Tue, 18 Dec 2012 21:25:06 +0000 Subject: [Xerte-dev] Re: odd problem after upgrade to 1.9 In-Reply-To: <056d01cddd66$5f846fd0$1e8d4f70$@co.uk> References: <055901cddd64$47dfcd90$d79f68b0$@co.uk> <056d01cddd66$5f846fd0$1e8d4f70$@co.uk> Message-ID: If I was guessing i'd say 1.9 can't be dropped over the top then, but I don't know that's true On Tue, Dec 18, 2012 at 9:26 PM, Ron Mitchell wrote: > Thanks Pat**** > > I did try clearing cache and also restarted Apache too.**** > > Will explore further and report back 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:* 18 December 2012 21:12 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: odd problem after upgrade to 1.9**** > > ** ** > > Sounds like cached javascript, those extra numbers are the browser window > sizes**** > > ** ** > > On Tue, Dec 18, 2012 at 9:11 PM, Ron Mitchell > wrote:**** > > Hi all**** > > I'm reporting this now just in case others find the same problem and if so > I'd be keen to know...**** > > **** > > I upgraded a 1.8 install earlier and expected it to be problem free but > I'm seeing an odd problem and need to do some more testing tomorrow but > something to look out for:**** > > **** > > All was working fine before the upgrade but after upgrade I noticed that > in IE when I click to create a new project nothing happens. If I then > refresh the project is there and I can edit ok. This sounded like a problem > Tom reported previously and I suggested was down to a pop-up blocker but it > seems not.**** > > **** > > If I click to create a new project in another browser I do get a pop up > but the url ends with something like /edit.php?template_id=11,800,665 which > seems to be breaking the editor link. If I trim the ,800,665 and put the > rest in a new window all is fine e.g. I can edit the project.**** > > **** > > Clicking edit on any existing projects or newly created projects after > refresh works fine too so it just seems to be a problem when creating a new > project.**** > > **** > > I'm baffled as to why this would crop up with this upgrade when it hasn't > on the Techdis server.**** > > **** > > I'll test further tomorrow but if anyone can replicate this or has any > ideas please share your findings.**** > > **** > > Cheers**** > > Ron**** > > > > **** > > > _______________________________________________ > 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: From ronm at mitchellmedia.co.uk Wed Dec 19 09:21:23 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 19 Dec 2012 09:21:23 -0000 Subject: [Xerte-dev] Re: odd problem after upgrade to 1.9 In-Reply-To: References: <055901cddd64$47dfcd90$d79f68b0$@co.uk> <056d01cddd66$5f846fd0$1e8d4f70$@co.uk> Message-ID: <05c001cdddca$377acf20$a6706d60$@co.uk> Hi Pat I've not had any problems dropping updates over the top before unless of course the update has bugs but obviously it's always advisable to backup database and directories just in case. On this occasion it seems your first hunch was correct - some kind of cache at play - because this morning creating new projects is working fine without any changes. As I mentioned I had already cleared browser cache and tried different browsers and restarted Apache so perhaps there's some kind of proxy cache in play that has now cleared. Or perhaps a server setting which isn't affected by restarting Apache. The person at the college who would know about proxy etc is on leave now so I can't check until January. But at least it's working now! 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: 18 December 2012 21:25 To: For Xerte technical developers Subject: [Xerte-dev] Re: odd problem after upgrade to 1.9 If I was guessing i'd say 1.9 can't be dropped over the top then, but I don't know that's true On Tue, Dec 18, 2012 at 9:26 PM, Ron Mitchell wrote: Thanks Pat I did try clearing cache and also restarted Apache too. Will explore further and report back 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: 18 December 2012 21:12 To: For Xerte technical developers Subject: [Xerte-dev] Re: odd problem after upgrade to 1.9 Sounds like cached javascript, those extra numbers are the browser window sizes On Tue, Dec 18, 2012 at 9:11 PM, Ron Mitchell wrote: Hi all I'm reporting this now just in case others find the same problem and if so I'd be keen to know... I upgraded a 1.8 install earlier and expected it to be problem free but I'm seeing an odd problem and need to do some more testing tomorrow but something to look out for: All was working fine before the upgrade but after upgrade I noticed that in IE when I click to create a new project nothing happens. If I then refresh the project is there and I can edit ok. This sounded like a problem Tom reported previously and I suggested was down to a pop-up blocker but it seems not. If I click to create a new project in another browser I do get a pop up but the url ends with something like /edit.php?template_id=11,800,665 which seems to be breaking the editor link. If I trim the ,800,665 and put the rest in a new window all is fine e.g. I can edit the project. Clicking edit on any existing projects or newly created projects after refresh works fine too so it just seems to be a problem when creating a new project. I'm baffled as to why this would crop up with this upgrade when it hasn't on the Techdis server. I'll test further tomorrow but if anyone can replicate this or has any ideas please share your findings. Cheers Ron _______________________________________________ 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: From Julian.Tenney at nottingham.ac.uk Wed Dec 19 23:18:19 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 19 Dec 2012 23:18:19 +0000 Subject: [Xerte-dev] Re: odd problem after upgrade to 1.9 In-Reply-To: <05c001cdddca$377acf20$a6706d60$@co.uk> References: <055901cddd64$47dfcd90$d79f68b0$@co.uk> <056d01cddd66$5f846fd0$1e8d4f70$@co.uk> , <05c001cdddca$377acf20$a6706d60$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C48BC79B7@EXCHANGE1.ad.nottingham.ac.uk> so dropping over te top is OK? ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell [ronm at mitchellmedia.co.uk] Sent: 19 December 2012 09:21 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: odd problem after upgrade to 1.9 Hi Pat I've not had any problems dropping updates over the top before unless of course the update has bugs but obviously it's always advisable to backup database and directories just in case. On this occasion it seems your first hunch was correct - some kind of cache at play - because this morning creating new projects is working fine without any changes. As I mentioned I had already cleared browser cache and tried different browsers and restarted Apache so perhaps there's some kind of proxy cache in play that has now cleared. Or perhaps a server setting which isn't affected by restarting Apache. The person at the college who would know about proxy etc is on leave now so I can't check until January. But at least it's working now! 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: 18 December 2012 21:25 To: For Xerte technical developers Subject: [Xerte-dev] Re: odd problem after upgrade to 1.9 If I was guessing i'd say 1.9 can't be dropped over the top then, but I don't know that's true On Tue, Dec 18, 2012 at 9:26 PM, Ron Mitchell > wrote: Thanks Pat I did try clearing cache and also restarted Apache too. Will explore further and report back 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: 18 December 2012 21:12 To: For Xerte technical developers Subject: [Xerte-dev] Re: odd problem after upgrade to 1.9 Sounds like cached javascript, those extra numbers are the browser window sizes On Tue, Dec 18, 2012 at 9:11 PM, Ron Mitchell > wrote: Hi all I'm reporting this now just in case others find the same problem and if so I'd be keen to know... I upgraded a 1.8 install earlier and expected it to be problem free but I'm seeing an odd problem and need to do some more testing tomorrow but something to look out for: All was working fine before the upgrade but after upgrade I noticed that in IE when I click to create a new project nothing happens. If I then refresh the project is there and I can edit ok. This sounded like a problem Tom reported previously and I suggested was down to a pop-up blocker but it seems not. If I click to create a new project in another browser I do get a pop up but the url ends with something like /edit.php?template_id=11,800,665 which seems to be breaking the editor link. If I trim the ,800,665 and put the rest in a new window all is fine e.g. I can edit the project. Clicking edit on any existing projects or newly created projects after refresh works fine too so it just seems to be a problem when creating a new project. I'm baffled as to why this would crop up with this upgrade when it hasn't on the Techdis server. I'll test further tomorrow but if anyone can replicate this or has any ideas please share your findings. Cheers Ron _______________________________________________ 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 From patrick.lockley at googlemail.com Wed Dec 19 23:19:26 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Wed, 19 Dec 2012 23:19:26 +0000 Subject: [Xerte-dev] Re: odd problem after upgrade to 1.9 In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C48BC79B7@EXCHANGE1.ad.nottingham.ac.uk> References: <055901cddd64$47dfcd90$d79f68b0$@co.uk> <056d01cddd66$5f846fd0$1e8d4f70$@co.uk> <05c001cdddca$377acf20$a6706d60$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48BC79B7@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: it should be, I can't see why not On Wed, Dec 19, 2012 at 11:18 PM, Julian Tenney < Julian.Tenney at nottingham.ac.uk> wrote: > so dropping over te top is OK? > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [ > xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell [ > ronm at mitchellmedia.co.uk] > Sent: 19 December 2012 09:21 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: odd problem after upgrade to 1.9 > > Hi Pat > I've not had any problems dropping updates over the top before unless of > course the update has bugs but obviously it's always advisable to backup > database and directories just in case. > > On this occasion it seems your first hunch was correct - some kind of > cache at play - because this morning creating new projects is working fine > without any changes. > > As I mentioned I had already cleared browser cache and tried different > browsers and restarted Apache so perhaps there's some kind of proxy cache > in play that has now cleared. Or perhaps a server setting which isn't > affected by restarting Apache. The person at the college who would know > about proxy etc is on leave now so I can't check until January. But at > least it's working now! > > 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: 18 December 2012 21:25 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: odd problem after upgrade to 1.9 > > If I was guessing i'd say 1.9 can't be dropped over the top then, but I > don't know that's true > > On Tue, Dec 18, 2012 at 9:26 PM, Ron Mitchell > wrote: > Thanks Pat > I did try clearing cache and also restarted Apache too. > Will explore further and report back tomorrow. > Cheers > Ron > > From: xerte-dev-bounces at lists.nottingham.ac.uk xerte-dev-bounces at lists.nottingham.ac.uk> [mailto: > xerte-dev-bounces at lists.nottingham.ac.uk xerte-dev-bounces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley > Sent: 18 December 2012 21:12 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: odd problem after upgrade to 1.9 > > Sounds like cached javascript, those extra numbers are the browser window > sizes > > On Tue, Dec 18, 2012 at 9:11 PM, Ron Mitchell > wrote: > Hi all > I'm reporting this now just in case others find the same problem and if so > I'd be keen to know... > > I upgraded a 1.8 install earlier and expected it to be problem free but > I'm seeing an odd problem and need to do some more testing tomorrow but > something to look out for: > > All was working fine before the upgrade but after upgrade I noticed that > in IE when I click to create a new project nothing happens. If I then > refresh the project is there and I can edit ok. This sounded like a problem > Tom reported previously and I suggested was down to a pop-up blocker but it > seems not. > > If I click to create a new project in another browser I do get a pop up > but the url ends with something like /edit.php?template_id=11,800,665 which > seems to be breaking the editor link. If I trim the ,800,665 and put the > rest in a new window all is fine e.g. I can edit the project. > > Clicking edit on any existing projects or newly created projects after > refresh works fine too so it just seems to be a problem when creating a new > project. > > I'm baffled as to why this would crop up with this upgrade when it hasn't > on the Techdis server. > > I'll test further tomorrow but if anyone can replicate this or has any > ideas please share your findings. > > Cheers > Ron > > > _______________________________________________ > 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 > This message and any attachment are intended solely for the addressee and > may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do > not use, copy or disclose the information contained in this message or in > any attachment. Any views or opinions expressed by the author of this > email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Wed Dec 19 23:31:19 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 19 Dec 2012 23:31:19 +0000 Subject: [Xerte-dev] Re: odd problem after upgrade to 1.9 In-Reply-To: References: <055901cddd64$47dfcd90$d79f68b0$@co.uk> <056d01cddd66$5f846fd0$1e8d4f70$@co.uk> <05c001cdddca$377acf20$a6706d60$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C48BC79B7@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <3E12299F-5575-45D7-907E-FBE76160DA7D@mitchellmedia.co.uk> Yes dropping over the top is fine. Although it does change the authentication to guest by default which is good for testing all is ok but not so good for those who aren't aware what to do to change the auth settings. On 19 Dec 2012, at 23:19, Pat Lockley wrote: > it should be, I can't see why not > > > On Wed, Dec 19, 2012 at 11:18 PM, Julian Tenney wrote: >> so dropping over te top is OK? >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell [ronm at mitchellmedia.co.uk] >> Sent: 19 December 2012 09:21 >> To: 'For Xerte technical developers' >> Subject: [Xerte-dev] Re: odd problem after upgrade to 1.9 >> >> Hi Pat >> I've not had any problems dropping updates over the top before unless of course the update has bugs but obviously it's always advisable to backup database and directories just in case. >> >> On this occasion it seems your first hunch was correct - some kind of cache at play - because this morning creating new projects is working fine without any changes. >> >> As I mentioned I had already cleared browser cache and tried different browsers and restarted Apache so perhaps there's some kind of proxy cache in play that has now cleared. Or perhaps a server setting which isn't affected by restarting Apache. The person at the college who would know about proxy etc is on leave now so I can't check until January. But at least it's working now! >> >> 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: 18 December 2012 21:25 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: odd problem after upgrade to 1.9 >> >> If I was guessing i'd say 1.9 can't be dropped over the top then, but I don't know that's true >> >> On Tue, Dec 18, 2012 at 9:26 PM, Ron Mitchell > wrote: >> Thanks Pat >> I did try clearing cache and also restarted Apache too. >> Will explore further and report back 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: 18 December 2012 21:12 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: odd problem after upgrade to 1.9 >> >> Sounds like cached javascript, those extra numbers are the browser window sizes >> >> On Tue, Dec 18, 2012 at 9:11 PM, Ron Mitchell > wrote: >> Hi all >> I'm reporting this now just in case others find the same problem and if so I'd be keen to know... >> >> I upgraded a 1.8 install earlier and expected it to be problem free but I'm seeing an odd problem and need to do some more testing tomorrow but something to look out for: >> >> All was working fine before the upgrade but after upgrade I noticed that in IE when I click to create a new project nothing happens. If I then refresh the project is there and I can edit ok. This sounded like a problem Tom reported previously and I suggested was down to a pop-up blocker but it seems not. >> >> If I click to create a new project in another browser I do get a pop up but the url ends with something like /edit.php?template_id=11,800,665 which seems to be breaking the editor link. If I trim the ,800,665 and put the rest in a new window all is fine e.g. I can edit the project. >> >> Clicking edit on any existing projects or newly created projects after refresh works fine too so it just seems to be a problem when creating a new project. >> >> I'm baffled as to why this would crop up with this upgrade when it hasn't on the Techdis server. >> >> I'll test further tomorrow but if anyone can replicate this or has any ideas please share your findings. >> >> Cheers >> Ron >> >> >> _______________________________________________ >> 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 >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an attachment >> may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with the >> University of Nottingham may be monitored as permitted by UK legislation. > > _______________________________________________ > 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: