[Xerte-dev] Re: Current Issues

Tom Reijnders reijnders at tor.nl
Mon Dec 3 22:40:03 GMT 2012


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>
>         [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
> 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: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121203/e0d2a9b6/attachment-0001.html>


More information about the Xerte-dev mailing list