[Xerte-dev] Re: HELP - can't create new projects on techdis install

Pat Lockley patrick.lockley at googlemail.com
Wed Nov 28 22:20:25 GMT 2012


Maybe there are no errors?

On 28 Nov 2012, at 22:21, "Ron Mitchell" <ronm at mitchellmedia.co.uk> wrote:

> In config.php is the following correct to enable error reporting?
>  
> // Change this to FALSE for production sites.
> global $development;
> $development = true;
>  
> ini_set('error_reporting', 1);
> if ($development) {
>     ini_set('error_reporting', E_ALL);
> }
>  
> Why am I not getting any errors displayed?
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 28 November 2012 22:03
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: HELP - can't create new projects on techdis install
>  
> yes, because new template is wiping out the session
> refreshing the page recreates it
>  
> 
> On Wed, Nov 28, 2012 at 9:59 PM, Ron Mitchell <ronm at mitchellmedia.co.uk> wrote:
> Just tested that...
> set auth to guest
> changed guest auth to guest3 so new account
> visited with new browser
> created a project
> project is created but not shown in workspace
> checked folder value in templaterights table value = 0
> change that to 11 which is correct for guest3
> refresh
> project appears
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
> Sent: 28 November 2012 21:54
> To: 'For Xerte technical developers'
> Subject: [Xerte-dev] Re: HELP - can't create new projects on techdis install
>  
> Trust me been trying all that and more!
>  
> I've certainly changed to guest and closed all browsers and started again but the same problem exists.
> I can't reproduce it on xampp either with or without moodle authentication.
>  
> It seems to be linked to the folderdetails value in templaterights. When new projects are created the folder value is 0.
> If I change it to the relevant value for the user who created it e.g. 5 for guest 2 in this case the projects appear.
>  
> 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: 28 November 2012 21:37
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: HELP - can't create new projects on techdis install
>  
> You need to remember sessions are created at different times, so if you change code you might need to use a different browser.
>  
> It doesn't happen to me using XAMPP locally. 
>  
> I would turn off moodle auth, set it to guest. Create a guest account that's brand new. Then test it
>  
> 
> On Wed, Nov 28, 2012 at 9:36 PM, Ron Mitchell <ronm at mitchellmedia.co.uk> wrote:
> Thanks for confirming John.
> 
> I'm beginning to think this problem has existed since the recent merge but
> hasn't been noticed because we've all be testing locally on xampp. I could
> be wrong but I've just tried copying all the relevant files from my local
> working xampp install to the clean install I've been using on the techdis
> server and that same code now running on linux has the same problem of not
> properly creating new projects.
> 
> Can anyone else test on a linux install?
> 
> Pat - any new suggestions?
> 
> -----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: 28 November 2012 21:24
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: HELP - can't create new projects on techdis install
> 
> Cheers Ron.
> 
> It's running fine for me under XAMPP... have been able to create a few new
> projects without issue...
> 
> 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: 28 November 2012 20:46
> To: 'For Xerte technical developers'
> Subject: [Xerte-dev] Re: HELP - can't create new projects on techdis install
> 
> Hi John
> that's my fault :-(
> in auth_config.php uncomment guest and comment static.
> If you wanted to use static to see how that works the accounts are in
> \library\Xerte\Authentication\static.php
> I'd be keen to know if you have any problems creating projects?
> Cheers
> 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: 28 November 2012 20:34
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: HELP - can't create new projects on techdis install
> 
> Hi all,
> 
> just did an update and running XOT off XAMMP and now i'm being prompted for
> a login. Never had to login before, can someone let me know what the details
> are for the USB XOT install?
> 
> 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 Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 28 November 2012 19:43
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: HELP - can't create new projects on techdis install
> 
> i would guess one new file exists which is outputting whitespace before the
> session starts
> 
> I would guess when you made auth_thingie it has either whitespace or is
> required before session start
> 
> 
> On Wed, Nov 28, 2012 at 5:50 PM, Ron Mitchell
> <ronm at mitchellmedia.co.uk<mailto:ronm at mitchellmedia.co.uk>> wrote:
> I did a clean install from svn locally and all seems ok with that so I'm
> going to replace the whole directory apart from user-files and database.php
> etc and see whether that fixes it. Going to take a while though :-(
> 
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nott
> ingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at li
> sts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> Sent: 28 November 2012 17:40
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: HELP - can't create new projects on techdis install
> 
> The sessions are screwed.
> 
> I can create new LOs fine, but they aren't created as me, so something is
> poorly in the session code somewhere.
> 
> 
> On Wed, Nov 28, 2012 at 5:36 PM, Pat Lockley
> <patrick.lockley at googlemail.com<mailto:patrick.lockley at googlemail.com>>
> wrote:
> remembered
> 
> 
> On Wed, Nov 28, 2012 at 5:35 PM, Pat Lockley
> <patrick.lockley at googlemail.com<mailto:patrick.lockley at googlemail.com>>
> wrote:
> how do i get my password?
> 
> 
> On Wed, Nov 28, 2012 at 5:28 PM, Ron Mitchell
> <ronm at mitchellmedia.co.uk<mailto:ronm at mitchellmedia.co.uk>> wrote:
> Yes everything was ok at that point and is ok on my localhost install too.
> 
> Have turned on error reporting on http://vle.jisctechdis.ac.uk/xot/ but not
> getting any errors messages.
> 
> Not seeing anything wrong in fiddler either :-(
> 
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nott
> ingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at li
> sts.nottingham.ac.uk>] On Behalf Of Pat Lockley
> Sent: 28 November 2012 17:14
> 
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: HELP - can't create new projects on techdis install
> 
> turn on error reporting
> 
> On Wed, Nov 28, 2012 at 5:02 PM, Julian Tenney
> <Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>>
> wrote:
> Had you updated after Pat checked his stuff in last week? i.e. is that what
> broke it? I thought you had those issues that led to the config.php being
> split discussions, was everything OK at that point?
> 
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nott
> ingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at li
> sts.nottingham.ac.uk>] On Behalf Of Ron Mitchell
> Sent: 28 November 2012 17:03
> To: 'For Xerte technical developers'
> Subject: [Xerte-dev] HELP - can't create new projects on techdis install
> 
> I've been wasting hours on this now :-(
> 
> I updated the Techdis install with the latest svn code and now I can't
> create new projects.
> 
> Clicking create pops up the editor window but refreshes the workspace and
> then shows an empty workspace.
> 
> Seems like it's probably a session thing or something but I can't find what.
> Trouble is I tried reverting the code back to a previous version and still
> got the same problem. So now it's back to the latest code.
> 
> I can edit existing projects and add to them just can't create anything new.
> 
> Anyone else had this?
> Is it a consequence of recent changes?
> 
> Cheers
> Ron
> 
> 
> _______________________________________________
> 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
> 
> 
> 
> 
> _______________________________________________
> 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
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 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
> 
> 
> 
> 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
> 
> 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
> 
>  
> 
> 
> 
> _______________________________________________
> 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: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121128/b77cc19e/attachment-0001.html>


More information about the Xerte-dev mailing list