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

Pat Lockley patrick.lockley at googlemail.com
Thu Nov 29 12:13:50 GMT 2012


i would turn off moodle integation on the sandpit

See if that fixes it


On Thu, Nov 29, 2012 at 12:00 PM, Ron Mitchell <ronm at mitchellmedia.co.uk>wrote:

> Integration path is set in the db now for moodle integration and the code
> in config.php around line 64 doesn't seem to have changed?****
>
> ** **
>
> What's confusing is that this works fine via xampp but not on the linux
> server and doesn't work even if the value in integration_path isn't to a
> proper file/location e.g. if it's to a file that doesn't exist or incorrect
> path it still causes the problem.****
>
> ** **
>
> Could this be related to the LTI code? I've tried replacing that folder
> with previous version but is that called from somewhere else that might be
> causing the problem?****
>
> ** **
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley
> *Sent:* 29 November 2012 11:31
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: HELP - can't create new projects on techdis
> install****
>
> ** **
>
> I didn't change integration path with my stuff?
>
> Ah hold on.
>
> If you use integration path it uses the moodle session right?
>
> Where is integration path set?
>
> I suspect it is moodle integration that is killing it - so the new bit I
> put into config.php might be killing the integration path session.
>
> Try moving the integration path setting towards the top of config.php****
>
> ** **
>
> On Thu, Nov 29, 2012 at 11:27 AM, Ron Mitchell <ronm at mitchellmedia.co.uk>
> wrote:****
>
> Hi all****
>
> this continues to be a nightmare but I tested some more very last night
> and again this morning and I think I've got a little closer to the issue.
> ****
>
>  ****
>
> I installed a brand new clean install elsewhere on the techdis server and
> tried that with both guest and static authentication and with those
> defaults creating new projects is fine.****
>
>  ****
>
> However then I restored a database backup from the test installation we've
> been using, edited sitedetails and copied accross the use-files and
> creating new projects no longer worked. So same code but difference in db.
> ****
>
>  ****
>
> It seems the problem happens now when there is an integration_path in
> sitedetails regardless of the authentication method used. e.g. If i switch
> to guest access I can create new projects with integration path empty but I
> can't with a correct or incorrect value in integration_path.****
>
>  ****
>
> What's confusing is that this works locally via xampp with an integration
> path. e.g. whether using guest, static or moodle authentication.****
>
>  ****
>
> Also up to the point that uploading the code broke it the techdis test
> installation was working fine with the integration path configured for
> moodle integration. Prior to the update obviously creating new projects
> hasn't been a problem.****
>
>  ****
>
> Pat - does that help narrow the issue? ****
>
>  ****
>
> Cheers****
>
> Ron****
>
>  ****
>
> *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 23:37****
>
>
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: HELP - can't create new projects on techdis
> install****
>
>  ****
>
> BTW I've noticed that deleting a project, dragging a project, creating a
> new folder all have the same affect of clearing the workspace (presumably
> killing the session) until refresh.****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk<xerte-dev-bounces at lists.nottingham.ac.uk>]
> *On Behalf Of *Ron Mitchell
> *Sent:* 28 November 2012 23:31****
>
>
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: HELP - can't create new projects on techdis
> install****
>
>  ****
>
> Pat/David/John****
>
> thanks for all the responses and suggestions.****
>
> I've been trying to resolve this since early afternoon and still no
> progress so I'm calling it a night for now :-(****
>
>  ****
>
> I've been updating the techdis install on practically a daily basis
> whenever commits are made and until today this problem simply hasn't
> materialised. e.g. after each previous update no problem creating new
> projects. Something has screwed it but I just can't find what.****
>
>  ****
>
> Maybe a new day and fresh start tomorrow will shed some light.****
>
>  ****
>
> But it would be really good if someone else could test the latest svn code
> on a linux setup rather than xampp.****
>
>  ****
>
> Cheers****
>
> Ron****
>
>  ****
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk<xerte-dev-bounces at lists.nottingham.ac.uk>]
> *On Behalf Of *David Goodwin
> *Sent:* 28 November 2012 22:49
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: HELP - can't create new projects on techdis
> install****
>
>  ****
>
>  ****
>
> You could also perhaps add an 'ob_start()' in near the top if your problem
> is actually one of spaces/the session being started too soon; this ought to
> stop PHP sending headers/etc before the session starts.****
>
>  ****
>
>  ****
>
> Jesus. That sentence is rubbish. Well, 'the session being started too
> soon' bit is at least.****
>
>  ****
>
>  ****
>
> 'ob_start()' should delay PHP from sending any output to the browser - and
> therefore may help correct any problem related to sessions. I'm pretty sure
> there is an implicit 'ob_flush()' at the end of the request.****
>
>  ****
>
> (I've rarely used ob_start()/ob_flush() so may be wrong).****
>
>  ****
>
>  ****
>
> David.****
>
>  ****
>
>  ****
>
> Also - check the Apache error log file - sometimes it has something of use.
> ****
>
>  ****
>
>  ****
>
> David.****
>
>  ****
>
>  ****
>
> Pale Purple Ltd.  (Company No: 5580814)****
>
> 'Business Web Application Development and Training in PHP'****
>
>  ****
>
> http://www.palepurple.co.uk   ****
>
> Office: 0845 0046746     Mobile: 07792380669 ****
>
>  ****
>
> Follow us on Twitter: @PalePurpleLtd****
>
>  ****
>
>  ****
>
>  ****
>
>  ****
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
>  ****
>
> Pale Purple Ltd.  (Company No: 5580814)****
>
> 'Business Web Application Development and Training in PHP'****
>
>  ****
>
> http://www.palepurple.co.uk   ****
>
> Office: 0845 0046746     Mobile: 07792380669 ****
>
>  ****
>
> Follow us on Twitter: @PalePurpleLtd****
>
>  ****
>
>  ****
>
>  ****
>
>  ****
>
>  ****
>
> ** **
>
>
>
> ****
>
>
> _______________________________________________
> 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/20121129/658d0c93/attachment-0001.html>


More information about the Xerte-dev mailing list