[Xerte-dev] Re: Current Issues
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Tue Dec 4 15:56:16 GMT 2012
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> [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 <ronm at mitchellmedia.co.uk<mailto:ronm at mitchellmedia.co.uk>> 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> [mailto: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> [mailto: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> [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> [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> [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> [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> [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> [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> [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> [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> [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<mailto: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<mailto: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<mailto: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<mailto: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<mailto: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<mailto: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<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121204/2e79cc0c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 119003 bytes
Desc: image001.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121204/2e79cc0c/attachment-0001.png>
More information about the Xerte-dev
mailing list