[Xerte] Re: Beta version 2

Patrick Lockley Patrick.Lockley at nottingham.ac.uk
Fri Apr 8 16:24:15 BST 2011


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

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:



[cid:image001.png at 01CBF609.67431820]



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

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 15:50

To: 'Xerte discussion list'

Subject: [Xerte] Re: Beta version 2



The first error can't be that - ini_set on line 23 is already commented.

Where else could it be?



Can't easily check the session error now because have already updated xampp

and it was only happening with the previous xampp. But I do worry a bit if

that means the latest toolkits also needs a xampp upgrade to avoid that

error.



-----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 14:36

To: Xerte discussion list

Subject: [Xerte] Re: Beta version 2



The first error is caused by a debug line in config.php - comment out the

ini_set at the top.



The session error comes from session.php (I think) - so comment out the

session_start in session.php and it should work fine.



-----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 13:27

To: 'Xerte discussion list'

Subject: [Xerte] Re: Beta version 2



Hi Pat

attached is the latest errors I get using your download from the link below

rather than the beta link Julian sent earlier.



I tested first with my previous version of xampp which always worked with

previous versions of XOT but now gives the session errors. I then upgraded

the xampp to the latest version and installed and tested again. No longer

get the session errors but do get the strict error - see doc.



Once these errors are fixed I need to test with the moodle patch. What's

changed in the following files from the moodle patch?

http://tinyurl.com/moodlepatch

session.php

management.php

index.php (

export.php



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 12:20

To: Xerte discussion list

Subject: [Xerte] Beta version 2



All reported fixes are in, and some changes to make some things prettier



Download the new version (beta) from

http://www.nottingham.ac.uk/~cczpl/xerte/xertetoolkits.zip



Please :)



Pat Lockley

IS Learning Technology, Kings Meadow Campus



ext 68882

0115 84 68882







_______________________________________________

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.





_______________________________________________

Xerte mailing list

Xerte at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte





_______________________________________________

Xerte mailing list

Xerte at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte



_______________________________________________

Xerte mailing list

Xerte at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte





_______________________________________________

Xerte mailing list

Xerte at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte



_______________________________________________

Xerte mailing list

Xerte at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte





_______________________________________________

Xerte mailing list

Xerte at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte



_______________________________________________

Xerte mailing list

Xerte at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte





_______________________________________________

Xerte mailing list

Xerte at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte



_______________________________________________

Xerte mailing list

Xerte at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte





_______________________________________________

Xerte mailing list

Xerte at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte



_______________________________________________

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110408/05db7b1b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 41656 bytes
Desc: image001.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110408/05db7b1b/attachment-0001.png>


More information about the Xerte mailing list