[Xerte] Re: Beta version 2

Pat Lockley patrick.lockley at googlemail.com
Mon Apr 11 17:12:57 BST 2011


i think those are the get arrays sent, not the data sent back.

If you have an agreement with Pat Lockley from Nottingham to get paid
then please invoice him.

I am now trading as Pat Lockley at Oxford.

On Mon, Apr 11, 2011 at 5:05 PM, Ron Mitchell <ronm at mitchellmedia.co.uk> wrote:
> If I view the two alerts in fiddler
>
> the first is /website_code/php/versioncontrol/template_close.php
>
> the second is /website_code/php/versioncontrol/update_file.php
>
>
>
> fiddler text view for  the first says file_path=36-guest2-Nottingham/
>
> and for the second file_path=undefined
>
>
>
> *re invoicing*
>
> you mean I can get paid for this testing? ;-)
>
>
>
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 11 April 2011 16:15
> To: Xerte discussion list
> Subject: [Xerte] Re: Beta version 2
>
>
>
> Can you fiddler it for me? Suspect it's stray whitespace.
>
>
>
> *checks GPS*
>
>
>
> Hold on I am in Oxford.....please send me an invoice
>
> On 11 Apr 2011, at 13:42, "Ron Mitchell" <ronm at mitchellmedia.co.uk> wrote:
>
> Ok thanks Pat I commented out session_start(); in config.php and all seems
> fine - at least I can create projects. I'll create a new moodle patch with
> that line commented or an instruction to comment out that line.
>
>
>
> I do still get a couple of pop up alerts though which I think I reported
> before e.g. Click create and editor window opens, add a page, click publish,
> close the editor and in Safari and IE I then get 2 alerts. In IE I first
> get:
>
>
>
> <image001.png>
>
>
>
> Then if I click OK
>
>
>
> <image002.png>
>
>
>
> If I click cancel on the first alert I don't get the second. This happens on
> the standard beta via demo.php as well as with the moodlepatch applied.
>
>
>
> HTH
>
> Ron
>
>
>
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 11 April 2011 13:09
> To: Xerte discussion list
> Subject: [Xerte] Re: Beta version 2
>
>
>
> I would imagine it is now that the session start call has moved.
>
>
>
> That's all the changes in the config file. Session.PHP has pretty much been
> depreciated. Can you do a diff over the two files. I suspect that the
> changes in moving session start into config will be the cause
>
>
>
> Pat
>
> On 11 Apr 2011, at 12:34, "Ron Mitchell" <ronm at mitchellmedia.co.uk> wrote:
>
> Thanks Pat great that you managed to find that.
>
>
>
> One that was sorted I tried the moodlepatch and unfortunately that no longer
> works. :-(
>
>
>
> I'm guessing it's due to moving the session stuff to the database? With the
> patch applied I get redirected to login to moodle and then back to toolkits
> but can't create any projects. I wasn't getting anything on create with IE
> but if I use safari when I click create the editor pop-up contains the
> moodle login page. That list of what's changed would be useful or more
> importantly what's changed that's breaking the moodle patch? It looks like
> anyone using the moodlepatch shouldn't upgrade to the toolkits beta until we
> can fix this.
>
>
>
> Cheers
>
> Ron
>
>
>
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 09 April 2011 13:46
> To: Xerte discussion list
> Subject: [Xerte] Re: Beta version 2
>
>
>
> There was a stray whitespace character.
>
>
>
> The beta version is an amalgam of the old zip, our main site and our dev
> site.
>
>
>
> Hence lots of files moved and one must have introduced this. Added some
> whitespace remover and ie is now fine.
>
>
>
> I will list the changes made later on.
>
> On 8 Apr 2011, at 16:48, "Ron Mitchell" <ronm at mitchellmedia.co.uk> wrote:
>
> with  //ini_set('error_reporting', 0); I got the strict error and no editor
> pop-up on create in IE8 but...
>
>
>
> with ini_set('error_reporting', 0); the error is supressed and the editor
> pop up on create now works even in IE8!
>
>
>
> What was the cause/solution?
>
>
>
> Cheers
>
> Ron
>
>
>
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
> Sent: 08 April 2011 16:24
> To: Xerte discussion list
> Subject: [Xerte] Re: Beta version 2
>
>
>
> Ok, new files in the SVN – make sure you’ve a session.php in the root and
> look for template_management.js
>
>
>
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
> Sent: 08 April 2011 15:59
> To: 'Xerte discussion list'
> Subject: [Xerte] Re: Beta version 2
>
>
>
> As I'm sure you're aware I'm just trying to help resolve bugs. I can use
> browsers other than IE but many can't. Would be good if other could test the
> beta with old and new xampp and IE and report back.
>
>
>
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
> Sent: 08 April 2011 15:49
> To: Xerte discussion list
> Subject: [Xerte] Re: Beta version 2
>
>
>
> It’s the usual reason a session fails. Am a bit pushed at the mo but it’ll
> be a session problem somewhere.
>
>
>
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
> Sent: 08 April 2011 15:48
> To: 'Xerte discussion list'
> Subject: [Xerte] Re: Beta version 2
>
>
>
> Just to clarify - the code was commented out in the beta download - so
> confused now :-(
>
>
>
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
> Sent: 08 April 2011 15:19
> To: Xerte discussion list
> Subject: [Xerte] Re: Beta version 2
>
>
>
> Errrrr. Yes J
>
>
>
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
> Sent: 08 April 2011 13:50
> To: 'Xerte discussion list'
> Subject: [Xerte] Re: Beta version 2
>
>
>
> When clicking create fiddler doesn't pick up anything happening even if I
> comment out the ini_set.
>
>
>
> At the bottom of config.php I have
>
>
>
> /*require_once("session_handler.php");
>
>
>
>
>
>                $session_handle = new toolkits_session_handler();
>
>
>
>                session_set_save_handler(
> array(&$session_handle,'xerte_session_open'),
>
>
> array(&$session_handle,'xerte_session_close'),
>
>
> array(&$session_handle,'xerte_session_read'),
>
>
> array(&$session_handle,'xerte_session_write'),
>
>
> array(&$session_handle,'xerte_session_destroy'),
>
>
> array(&$session_handle,'xerte_session_clean'));*/
>
>
>
>
>
>                session_start();
>
>
>
>                $_SESSION['toolkits_sessionid'] = session_id();
>
>
>
>
>
> }
>
>
>
> So isn't that already commented out?
>
>
>
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
> Sent: 08 April 2011 13:29
> To: Xerte discussion list
> Subject: [Xerte] Re: Beta version 2
>
>
>
> Can you remind me of the fiddler text so I can send you a php file
>
>
>
> I bet it’s sessions – so for now – comment out the session code at the
> bottom of config.php, but leave in session_start()
>
>
>
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
> Sent: 07 April 2011 19:10
> To: 'Xerte discussion list'
> Subject: [Xerte] Re: Beta version 2
>
>
>
> Hi Pat
>
> it looks like it's the xampp upgrade to the latest version that has caused
> this problem with the editor pop-up and IE8. I've been testing further and
> even an older localhost XOT version/installation which didn't have the
> problem now doesn't display the editor when creating an LO. Also that same
> older installation now displays the strict standards error when deleting an
> LO:
>
>
>
> <image001.png>
>
>
>
> Also now when creating an LO using Safari I get the editor pop-up but the
> strict error regarding database.php:
>
> Strict Standards: Creating default object from empty value in
> C:\xampp\htdocs\moodle\xerte\database.php on line 14
>
> If I then refresh, select the new LO and click edit I get the editor window
> with its usual functionality but the same error at the top of the window:
>
> Strict Standards: Creating default object from empty value in
> C:\xampp\htdocs\moodle\xerte\database.php on line 14
>
>
>
> If I add ini_set('error_reporting', 0); to config.php of the old
> installation the error is suppressed and safari works fine and I even get
> the editor on create with IE. However having ini_set('error_reporting', 0);
> in the beta config.php doesn't fix the editor pop-up issue with IE.
>
>
>
> Does this help identify the cause/solution?
>
>
>
> HTH
>
> Ron
>
>
>
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
> Sent: 05 April 2011 21:19
> To: Xerte discussion list
> Subject: [Xerte] Re: Beta version 2
>
>
>
> Possibly. Ajax can be handled differently, as can the perceptions of the
> values returned. Firefox handled Ajax differently to ie it took ages to get
> it to work for firefox in the early days
>
> ________________________________________
>
> From: xerte-bounces at lists.nottingham.ac.uk
> [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
> [ronm at mitchellmedia.co.uk]
>
> Sent: Tuesday, April 05, 2011 6:49 PM
>
> To: 'Xerte discussion list'
>
> Subject: [Xerte] Re: Beta version 2
>
>
>
> So a php error specific to IE? e.g. seems to be working fine in Safari and
>
> Firefox.
>
>
>
> -----Original Message-----
>
> From: xerte-bounces at lists.nottingham.ac.uk
>
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
>
> Sent: 05 April 2011 18:18
>
> To: Xerte discussion list
>
> Subject: [Xerte] Re: Beta version 2
>
>
>
> The js issue is caused by the PHP failing, the php will be echoing an error
>
> that the JS cannot handle, hence the JS dying.
>
>
>
> -----Original Message-----
>
> From: xerte-bounces at lists.nottingham.ac.uk
>
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
>
> Sent: 05 April 2011 18:17
>
> To: 'Xerte discussion list'
>
> Subject: [Xerte] Re: Beta version 2
>
>
>
> why? Isn't that a .js issue?
>
>
>
> I wonder if anyone else is testing the beta and can test with IE8?
>
>
>
> Fiddler doesn't show me anything when I click create.
>
>
>
> -----Original Message-----
>
> From: xerte-bounces at lists.nottingham.ac.uk
>
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
>
> Sent: 05 April 2011 18:05
>
> To: Xerte discussion list
>
> Subject: [Xerte] Re: Beta version 2
>
>
>
> So that's php dying - fiddler?
>
>
>
> -----Original Message-----
>
> From: xerte-bounces at lists.nottingham.ac.uk
>
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
>
> Sent: 05 April 2011 18:03
>
> To: 'Xerte discussion list'
>
> Subject: [Xerte] Re: Beta version 2
>
>
>
> Ok cheers thanks for the explanation.
>
>
>
> The lack of editor pop-up on create that I'm getting is with IE8 version
>
> 8.0.7600.16385
>
>
>
> Error happens in both 32bit and 64bit but just tried the 64bit IE and got an
>
> error pop-up on create:
>
>
>
> Webpage error details
>
>
>
> User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64;
>
> Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR
>
> 3.0.30729; Media Center PC 6.0; Tablet PC 2.0; .NET4.0C)
>
> Timestamp: Tue, 5 Apr 2011 17:01:14 UTC
>
>
>
>
>
> Message: Invalid argument.
>
> Line: 1187
>
> Char: 4
>
> Code: 0
>
> URI: http://localhost/xertebeta/website_code/scripts/template_management.js
>
>
>
>
>
> -----Original Message-----
>
> From: xerte-bounces at lists.nottingham.ac.uk
>
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
>
> Sent: 05 April 2011 17:42
>
> To: Xerte discussion list
>
> Subject: [Xerte] Re: Beta version 2
>
>
>
> Uncomment as not being reported. It's a brand new issue due to a language
>
> change from 4 to 5 and to fix it means revisiting every single page (i.e.
>
> not going to happen for this release - given that line suppresses it). When
>
> I get time I will sort it out properly, but I'd also add in database
>
> abstraction too.
>
>
>
> I had something odd earlier in chrome, and I don't get pop up issues in FF
>
> or IE or chrome here (ie7).
>
>
>
> -----Original Message-----
>
> From: xerte-bounces at lists.nottingham.ac.uk
>
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
>
> Sent: 05 April 2011 17:38
>
> To: 'Xerte discussion list'
>
> Subject: [Xerte] Re: Beta version 2
>
>
>
> ah ok you meant un-comment?
>
> That's got rid of the strict error but does that mean the error doesn't
>
> exist or just isn't being reported?
>
>
>
> I was thinking that error might be causing the problem when I click create
>
> and the editor doesn't appear but it seems not because that problem still
>
> exists and it isn't due to a pop-up blocker. e.g. I select the xot template,
>
> give it a name, click create and no editor appears. Refresh the browser and
>
> then see the LO and can select it and click edit and the editor appears.
>
> However this only seems to be a problem in IE as it works fine in Safari and
>
> Firefox and I guess may be specific to my IE/configuration?
>
>
>
>
>
> -----Original Message-----
>
> From: xerte-bounces at lists.nottingham.ac.uk
>
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
>
> Sent: 05 April 2011 15:51
>
> To: Xerte discussion list
>
> Subject: [Xerte] Re: Beta version 2
>
>
>
> The ini_set is error_reporting, 0 ?
>
>
>
> Remove the commenting then i.e run that function.
>
>
>
> -----Original Message-----
>
> F
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> 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.
>
>
>
> 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 mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> 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.
>
>
>



More information about the Xerte mailing list