[Xerte] Re: Problem with XOT 1.9
Guy Footring
Guy at Footring.net
Mon Mar 18 23:38:34 GMT 2013
No, I had the same problem with the guest login.
Guy
On 18/03/2013 10:48, Tom Reijnders wrote:
> If you set the auth to Guest temporarily, can you create a new LO?
>
>
> Op 17-3-2013 23:27, Guy Footring schreef:
>> Whilst demo.txt and switch.txt are no longer present, integration.txt
>> is still there.
>> Am I expected to rename that to integration.php and do something with
>> it to enable the connection to the static.php authentication?
>>
>> When I put the print_r($_SESSION) in to the workspaceproperties.php
>> the only session variable that is set is the language (no user stuff
>> at all).
>>
>> Guy
>>
>>
>> On 17/03/2013 09:30, Pat @ Pgogy wrote:
>>> Hi Guy,
>>>
>>> A print won't fix, but it helps diagnose.
>>>
>>> Try adding a print near the top of edit.php which is also in the root.
>>>
>>> Pgogy Webstuff - http://www.pgogywebstuff.com
>>> Makers of web things of a fair to middling quality
>>>
>>> On 16 Mar 2013, at 21:54, Guy Footring <Guy at Footring.net> wrote:
>>>
>>>> Hi Pat,
>>>> Here's what I get with print_r($_SESSION):
>>>>
>>>> Array
>>>> (
>>>> [toolkits_language] => en-GB
>>>> [toolkits_firstname] => Guy
>>>> [toolkits_surname] => Footring
>>>> [toolkits_logon_username] => guy
>>>> [toolkits_logon_id] => 4
>>>> )
>>>>
>>>> If you can point me at the right file I can try printing this in the
>>>> editor screen to see if it has propagated correctly. I don't know
>>>> php, but I can code and I can google stuff (e.g. to find the php.ini
>>>> settings and how to print_r the session), but it would take me a
>>>> while to figure out where to put the print_r to get it to show in
>>>> the edit window...
>>>> Any alternative suggestions also welcomed :)
>>>>
>>>> Thanks for responding so quickly.
>>>>
>>>> --
>>>> Regards
>>>> Guy
>>>>
>>>> On 16/03/2013 21:04, Pat @ Pgogy wrote:
>>>>> Hello,
>>>>>
>>>>> Two NULL suggest the session isn't starting correctly.
>>>>>
>>>>> Try adding a php print_r session in index.php somewhere to see what
>>>>> is set
>>>>>
>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com
>>>>> Makers of web things of a fair to middling quality
>>>>>
>>>>> On 16 Mar 2013, at 20:35, Guy Footring <Guy at Footring.net> wrote:
>>>>>
>>>>>> I downloaded the xot 1.9 zipfile this morning and installed to a
>>>>>> hosted web-server using the cpanel interface.
>>>>>>
>>>>>> I found I needed to create a php.ini file with register_globals =
>>>>>> true in order to get anywhere with xot. Having made that change,
>>>>>> together with changing auth to use static.php, I'm now able to
>>>>>> login and get the next screen, but I'm unable to create projects.
>>>>>>
>>>>>> Attempting to create a project brings up the edit screen with the
>>>>>> URL http://myhost.fqdn/xerte/edit.php?template_id=2 and the error
>>>>>> message:
>>>>>> Invalid template_id (could not find in DB)
>>>>>>
>>>>>> (template_id increments by one on each attempt to create).
>>>>>>
>>>>>> If I display the Workspace properties, under the My Details tab I
>>>>>> just get the fixed display strings but no values:
>>>>>> My Details
>>>>>>
>>>>>> My name on the system is
>>>>>>
>>>>>> My last login was on
>>>>>>
>>>>>> My username is
>>>>>>
>>>>>> There are some entries in the database with the relevant id:
>>>>>>
>>>>>> templatedetails
>>>>>>
>>>>>> template_id creator_id template_type_id template_name
>>>>>> date_created date_modified date_accessed number_of_uses
>>>>>> access_to_whom
>>>>>> 1 NULL 5 MyProject 2013-03-16 2013-03-16 NULL
>>>>>> NULL Private
>>>>>>
>>>>>> templaterights
>>>>>>
>>>>>> template_id user_id role folder notes
>>>>>> 1 NULL creator 0 NULL
>>>>>>
>>>>>> It looks odd that creator_id and user_id are NULL, so wondering if
>>>>>> it is a problem with the authentication or logged-in-ID-tracking
>>>>>> (would perhaps tie in with no details being displayed for the
>>>>>> workspace properties). I get the same problem if I use the guest
>>>>>> authentication method.
>>>>>>
>>>>>> Logging in to the management.php screen I don't get any
>>>>>> functionality available - the screen appears OK with the standard
>>>>>> options but text area just displays "the feature is for
>>>>>> administrators only".
>>>>>>
>>>>>> Any suggestions as to how to fix the problem or next steps in
>>>>>> further diagnosing it would be much appreciated.
>>>>>>
>>>>>> --
>>>>>> Regards
>>>>>> Guy
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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
>>>>> 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
>>> 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.
>
--
Regards
Guy Footring
Classword Computer Management Limited
42 Mons Avenue, Billericay, Essex CM11 2HQ
Tel. 01277-623305
Registered In England No. 3236720
More information about the Xerte
mailing list