[Xerte] Re: Management.php

Pat Lockley patrick.lockley at googlemail.com
Fri Jul 13 11:43:24 BST 2012


Nah, restore the original management folder, then work towards fixing
that (as it'll help others if it works)

On Fri, Jul 13, 2012 at 11:40 AM, Adam Read <aread at marjon.ac.uk> wrote:
> OK, I guess holding off for now would be sensible. Any ideas when the 2.0 release is planned?
>
> Right then, so how to get hold of these user templates. If I create an empty LO on my user account, and then navigate into the server, locate one of the original user's template (in USER-FILES), copy all the contents, and then over-write it with the LO in my folder would that work?
>
>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>  Adam Read BA (Hons) PG Cert ODE (Open)
>  Senior e-Learning Technologist
>  University College Plymouth St Mark & St John
>  Tel: 01752 636700 Ext: 5673 | Room: 108
>
>
>
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 13 July 2012 11:28
> To: Xerte discussion list
> Subject: [Xerte] Re: Management.php
>
> The "giving" action is two other files - not tied to management.php directly.
>
> I did see the other query. I would say "wait for 1.8", or if you're feeling brave hold out for "2.0" - I didn't want to reply as I making as there pros and cons to each choice
>
> On Fri, Jul 13, 2012 at 11:18 AM, Adam Read <aread at marjon.ac.uk> wrote:
>> Yes, I can revert back to the old version, but then still have no way to transfer a colleague's project.
>>
>> Did you see my other query RE running up a new version of XOT and then porting across the user data? Would that be feasible and more likely to work rather than copying/replacing individual files?
>>
>>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  Adam
>> Read BA (Hons) PG Cert ODE (Open)  Senior e-Learning Technologist
>> University College Plymouth St Mark & St John
>>  Tel: 01752 636700 Ext: 5673 | Room: 108
>>
>>
>>
>> -----Original Message-----
>> From: xerte-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
>> Sent: 13 July 2012 11:08
>> To: Xerte discussion list
>> Subject: [Xerte] Re: Management.php
>>
>> oh. well. this might get nasty (as lots of changes in a few files).
>>
>> Did you keep a backup?
>>
>> On Fri, Jul 13, 2012 at 11:05 AM, Adam Read <aread at marjon.ac.uk> wrote:
>>> Yes. Perhaps one of the other files it is trying to use is out of
>>> date? I only updated management.php and the files in
>>> websitecode\php\management
>>>
>>>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  Adam
>>> Read BA (Hons) PG Cert ODE (Open)  Senior e-Learning Technologist
>>> University College Plymouth St Mark & St John
>>>  Tel: 01752 636700 Ext: 5673 | Room: 108
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: xerte-bounces at lists.nottingham.ac.uk
>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat
>>> Lockley
>>> Sent: 13 July 2012 10:59
>>> To: Xerte discussion list
>>> Subject: [Xerte] Re: Management.php
>>>
>>> in management.php, after logging in, it dies (with the zip version)
>>>
>>> On Fri, Jul 13, 2012 at 10:47 AM, Adam Read <aread at marjon.ac.uk> wrote:
>>>> Have done that, doesn't throw any errors up at the login screen, but then just fails and returns the same Chrome server error when attempting to login.
>>>>
>>>>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  Adam
>>>> Read BA (Hons) PG Cert ODE (Open)  Senior e-Learning Technologist
>>>> University College Plymouth St Mark & St John
>>>>  Tel: 01752 636700 Ext: 5673 | Room: 108
>>>>
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat
>>>> Lockley
>>>> Sent: 13 July 2012 10:38
>>>> To: Xerte discussion list
>>>> Subject: [Xerte] Re: Management.php
>>>>
>>>> at the top of management (after <?PHP)
>>>>
>>>> add
>>>>
>>>> ini_set("error_reporting",TRUE);
>>>>
>>>> run the page again
>>>>
>>>> On Fri, Jul 13, 2012 at 10:37 AM, Adam Read <aread at marjon.ac.uk> wrote:
>>>>> Yes, I have access to the PHP files. What shall I try changing?
>>>>>
>>>>>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>>>>> Adam Read BA (Hons) PG Cert ODE (Open)  Senior e-Learning
>>>>> Technologist University College Plymouth St Mark & St John
>>>>>  Tel: 01752 636700 Ext: 5673 | Room: 108
>>>>>
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat
>>>>> Lockley
>>>>> Sent: 13 July 2012 10:33
>>>>> To: Xerte discussion list
>>>>> Subject: [Xerte] Re: Management.php
>>>>>
>>>>> That means there is a php bug (or maybe rights issues on the file)
>>>>>
>>>>> Can you edit the code?
>>>>>
>>>>> On Fri, Jul 13, 2012 at 10:31 AM, Adam Read <aread at marjon.ac.uk> wrote:
>>>>>> Hmmm, I realised I hadn't updated management.php since 2009. Overwritten it with the new version and now trying to login throws up a HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfil the request.
>>>>>>
>>>>>>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>>>>>> Adam Read BA (Hons) PG Cert ODE (Open)  Senior e-Learning
>>>>>> Technologist University College Plymouth St Mark & St John
>>>>>>  Tel: 01752 636700 Ext: 5673 | Room: 108
>>>>>>
>>>>>>
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat
>>>>>> Lockley
>>>>>> Sent: 13 July 2012 10:21
>>>>>> To: Xerte discussion list
>>>>>> Subject: [Xerte] Re: Management.php
>>>>>>
>>>>>> edit management.php
>>>>>>
>>>>>> after line 122 but before the else add
>>>>>>
>>>>>> print_r($_SESSION);
>>>>>>
>>>>>> On Fri, Jul 13, 2012 at 10:15 AM, Adam Read <aread at marjon.ac.uk> wrote:
>>>>>>> Nope, accessed in Chrome originally, now tried in IE and still get the same message.
>>>>>>>
>>>>>>>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>>>>>>> Adam Read BA (Hons) PG Cert ODE (Open)  Senior e-Learning
>>>>>>> Technologist University College Plymouth St Mark & St John
>>>>>>>  Tel: 01752 636700 Ext: 5673 | Room: 108
>>>>>>>
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat
>>>>>>> Lockley
>>>>>>> Sent: 13 July 2012 10:03
>>>>>>> To: Xerte discussion list
>>>>>>> Subject: [Xerte] Re: Management.php
>>>>>>>
>>>>>>> it isn't a bug per say, often the admin problem is because your session isn't an admin session, it still thinks your logged in as someone else.
>>>>>>>
>>>>>>> Try accessing the admin panel in IE, or FF (a different browser) and seeing if that gives you the option.
>>>>>>>
>>>>>>> On Fri, Jul 13, 2012 at 9:58 AM, Julian Tenney <Julian.Tenney at nottingham.ac.uk> wrote:
>>>>>>>> That's a bug, I've hit it as well.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> I've often transferred content by getting the new owner to
>>>>>>>> create a stub LO, then copying the data xml files and media into
>>>>>>>> that dir on the server, a bit of a pain, but it works.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>>>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam
>>>>>>>> Read
>>>>>>>> Sent: 13 July 2012 09:57
>>>>>>>> To: Xerte discussion list
>>>>>>>> Subject: [Xerte] Management.php
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Hi all
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> I've been trying to transfer a user's template to another
>>>>>>>> colleague via the management panel > user templates.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> I haven't done this before and when I accessed it noticed I
>>>>>>>> didn't have the "give this template" option that the list eludes
>>>>>>>> to. So, I've tried updating the files in
>>>>>>>> \website_code\php\management with the latest downloads from XOT.
>>>>>>>> However, now, when logging in with my administrator account I'm getting an error message "the feature is for administrators only".
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Any ideas why this might be? I've never updated the database,
>>>>>>>> only overwritten files ad-hoc (such as new templates and so forth).
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Adam
>>>>>>>>
>>>>>>>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>>>>>>>>
>>>>>>>> Adam Read BA (Hons) PG Cert ODE (Open)
>>>>>>>>
>>>>>>>> Senior e-Learning Technologist
>>>>>>>>
>>>>>>>> University College Plymouth St Mark & St John
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> University College Plymouth St Mark & St John,  Derriford Road,
>>>>>>>> Plymouth,
>>>>>>>> PL6 8BH
>>>>>>>>
>>>>>>>>             Phone:  01752 636700     Web:  www.ucpmarjon.ac.uk
>>>>>>>>
>>>>>>>>  Principal: Professor Margaret Noble A Church of England College
>>>>>>>> Founded in
>>>>>>>> 1840
>>>>>>>>
>>>>>>>> University College Plymouth St Mark & St John is a registered
>>>>>>>> charity the trustee
>>>>>>>>
>>>>>>>>    of which is a company limited by guarantee registered in England No.
>>>>>>>> 7635609
>>>>>>>>
>>>>>>>>
>>>>>>>> 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
>>>>>>>>
>>>>>>>> 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
>>>>>>>
>>>>>>> University College Plymouth St Mark & St John,  Derriford Road, Plymouth, PL6 8BH
>>>>>>>             Phone:  01752 636700     Web:  www.ucpmarjon.ac.uk
>>>>>>>  Principal: Professor Margaret Noble A Church of England College
>>>>>>> Founded in 1840 University College Plymouth St Mark & St John is a registered charity the trustee
>>>>>>>    of which is a company limited by guarantee registered in
>>>>>>> England No. 7635609
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>>
>>>>>> University College Plymouth St Mark & St John,  Derriford Road, Plymouth, PL6 8BH
>>>>>>             Phone:  01752 636700     Web:  www.ucpmarjon.ac.uk
>>>>>>  Principal: Professor Margaret Noble A Church of England College
>>>>>> Founded in 1840 University College Plymouth St Mark & St John is a registered charity the trustee
>>>>>>    of which is a company limited by guarantee registered in
>>>>>> England No. 7635609
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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
>>>>>
>>>>> University College Plymouth St Mark & St John,  Derriford Road, Plymouth, PL6 8BH
>>>>>             Phone:  01752 636700     Web:  www.ucpmarjon.ac.uk
>>>>>  Principal: Professor Margaret Noble A Church of England College
>>>>> Founded in 1840 University College Plymouth St Mark & St John is a registered charity the trustee
>>>>>    of which is a company limited by guarantee registered in England
>>>>> No. 7635609
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>> University College Plymouth St Mark & St John,  Derriford Road, Plymouth, PL6 8BH
>>>>             Phone:  01752 636700     Web:  www.ucpmarjon.ac.uk
>>>>  Principal: Professor Margaret Noble A Church of England College
>>>> Founded in 1840 University College Plymouth St Mark & St John is a registered charity the trustee
>>>>    of which is a company limited by guarantee registered in England
>>>> No. 7635609
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>> University College Plymouth St Mark & St John,  Derriford Road, Plymouth, PL6 8BH
>>>             Phone:  01752 636700     Web:  www.ucpmarjon.ac.uk
>>>  Principal: Professor Margaret Noble A Church of England College
>>> Founded in 1840 University College Plymouth St Mark & St John is a registered charity the trustee
>>>    of which is a company limited by guarantee registered in England
>>> No. 7635609
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>> University College Plymouth St Mark & St John,  Derriford Road, Plymouth, PL6 8BH
>>             Phone:  01752 636700     Web:  www.ucpmarjon.ac.uk
>>  Principal: Professor Margaret Noble A Church of England College
>> Founded in 1840 University College Plymouth St Mark & St John is a registered charity the trustee
>>    of which is a company limited by guarantee registered in England
>> No. 7635609
>>
>>
>> _______________________________________________
>> 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
>
> University College Plymouth St Mark & St John,  Derriford Road, Plymouth, PL6 8BH
>             Phone:  01752 636700     Web:  www.ucpmarjon.ac.uk
>  Principal: Professor Margaret Noble A Church of England College Founded in 1840
> University College Plymouth St Mark & St John is a registered charity the trustee
>    of which is a company limited by guarantee registered in England No. 7635609
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte



More information about the Xerte mailing list