[Xerte] Re: XOT 1.6 troubles

Pat Lockley patrick.lockley at googlemail.com
Tue May 17 15:38:51 BST 2011


It might have whitespace that only appears on unix boxes (open it
aptana or a proper text editor to check).

On Tue, May 17, 2011 at 2:45 PM, Tom Reijnders <reijnders at tor.nl> wrote:
> Correct...
>
> Op 17-5-2011 15:09, Julian Tenney schreef:
>>
>> I don't have any whitespace at the end of database.txt (just to show my
>> complete ignorance, database.txt becomes database.php, right, so I only need
>> to modify setup/database.txt)
>>
>> Or I would, if mine had any whitespace...?
>>
>> -----Original Message-----
>> From: xerte-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
>> Sent: 17 May 2011 14:03
>> To: Xerte discussion list
>> Subject: [Xerte] Re: XOT 1.6 troubles
>>
>> 1. is not fixed yet (at least not here)
>>
>> 2. was fixed (as communicated before by Pat by the way, but I still had
>> some whitespace left) by removing all  whitespace after the ?>  of
>> database.php (and thus also from setup/database.txt)
>>
>>
>>
>>
>> Op 17-5-2011 14:42, Julian Tenney schreef:
>>
>>>
>>> So what was the fix? Is this resolved? What do I need to change in the
>>> files?
>>>
>>> -----Original Message-----
>>> From: xerte-bounces at lists.nottingham.ac.uk
>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
>>> Sent: 17 May 2011 08:32
>>> To: Xerte discussion list
>>> Subject: [Xerte] Re: XOT 1.6 troubles
>>>
>>> 1.  firefox 3.6.17 on Win 7 pro 64bit, xot on Linux
>>> 2. I know. It's working now, but there is still a small catch...:
>>>
>>> scenario 1
>>> a. press edit
>>> b. add page
>>> c. press publish
>>> d. close
>>> ->   no popup (correct)
>>>
>>> scenario 2
>>> a. press edit
>>> b. add page
>>> c. close
>>> ->   no popup (NOT CORRECT i think, CHANGES ARE LOST)
>>>
>>> scenario 3
>>> a. press edit
>>> b. add page
>>> c. play (preview within editor)
>>> d. close
>>> ->   popup (correct)
>>>
>>> I think this is a minor, because most of the time people will do a
>>> preview.
>>>
>>>
>>>
>>> Op 17-5-2011 9:15, Pat Lockley schreef:
>>>
>>>
>>>>
>>>> 1) Which browser
>>>> 2) you get a pop up if preview and data XML are different sizes when you
>>>> close the edit window
>>>>
>>>> On 17 May 2011, at 08:07, Tom Reijnders<reijnders at tor.nl>    wrote:
>>>>
>>>>
>>>>
>>>>
>>>>>
>>>>> 1. No... items are just unselectable
>>>>> 2. Did that (there was some whitespace after the ?>    but because
>>>>> somehow there were also lines beneath ?>    I thought I already deleted
>>>>> everything
>>>>> The behaviour is changed now. I still would expect the popup, but then
>>>>> with text. Now I don't get a popup at all....
>>>>>
>>>>> Op 17-5-2011 8:47, Pat Lockley schreef:
>>>>>
>>>>>
>>>>>
>>>>>>
>>>>>> 1) JavaScript error showing?
>>>>>>
>>>>>> 2) Delete everything after the ?>     in database.PHP
>>>>>>
>>>>>> On 17 May 2011, at 07:20, Tom Reijnders<reijnders at tor.nl>     wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> 1. Correct.
>>>>>>>
>>>>>>> 2. Do you have a suggestion of how to debug this? As far as I can
>>>>>>> telle there is no whitespace in there that wasn't in the previous (working)
>>>>>>> version.
>>>>>>>
>>>>>>>
>>>>>>> Op 16-5-2011 23:36, Pat Lockley schreef:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> 1. Are they there but not selectable?
>>>>>>>>
>>>>>>>> 2. When you include a PHP it includes the whitespace and echoes it
>>>>>>>> as if you put whitespace in HTML. When the script checks the HTML returned,
>>>>>>>> it sees the whitespace.
>>>>>>>>
>>>>>>>> On 16 May 2011, at 21:55, Tom Reijnders<reijnders at tor.nl>
>>>>>>>>  wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>> Issue 1:
>>>>>>>>> No, I am using the default index.php (LDAP). I think it has to have
>>>>>>>>> something to do with .js code, right? Haven't looked at the code yet, but I
>>>>>>>>> assume that is the way you make the list of learning objects selectable?
>>>>>>>>>
>>>>>>>>> Issue 2:
>>>>>>>>> blank popups...
>>>>>>>>> It has worked for some 30 minutes to day. after I did a dos2unix on
>>>>>>>>> database.php
>>>>>>>>>
>>>>>>>>> Why is having blank space after database.php such a bad thing? I
>>>>>>>>> don't understand that?
>>>>>>>>>
>>>>>>>>> At the moment I have 1 empty line after ?>
>>>>>>>>>
>>>>>>>>> Op 16-5-2011 22:39, Pat Lockley schreef:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Tom,
>>>>>>>>>>
>>>>>>>>>> Is the failure to select caused by using switch.PHP
>>>>>>>>>>
>>>>>>>>>> The blank pop ups - database.PHP needs sorting?
>>>>>>>>>>
>>>>>>>>>> Pat
>>>>>>>>>>
>>>>>>>>>> On 16 May 2011, at 21:28, Tom Reijnders<reijnders at tor.nl>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> I have some issues with XOT 1.6 from the .zip file with
>>>>>>>>>>> MainPreloader from svn.
>>>>>>>>>>>
>>>>>>>>>>> 1. In firefox, after logging in, I cannot select any of the
>>>>>>>>>>> learning objects. Whatever I do, none of the Properties, Edit, Preview etc.
>>>>>>>>>>> buttons are enabled. I can select Workspace and Recycle bin. (firefox 3.6.17
>>>>>>>>>>> on Win 7 pro 64bit, xot on Linux
>>>>>>>>>>>
>>
>>
>>>>>>>>>>>
>>>>>>>>>>> Someone tested this in chrome, and the same issue seemed to
>>>>>>>>>>> happen.
>>>>>>>>>>>
>>>>>>>>>>> 2. In IE 8 (32 bit), I still get the empty popups if I close the
>>>>>>>>>>> editor. It should ask something like, do you want to publish?
>>>>>>>>>>> Steps: a. Select learning object and press Edit
>>>>>>>>>>>            b. Close editor
>>>>>>>>>>>               ->       empty popup
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> --
>>>>>>>>>>>
>>>>>>>>>>> Tom Reijnders
>>>>>>>>>>> TOR Informatica
>>>>>>>>>>> Chopinlaan 27
>>>>>>>>>>> 5242HM Rosmalen
>>>>>>>>>>> Tel: 073 5226191
>>>>>>>>>>> Fax: 073 5226196
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> 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
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>> Tom Reijnders
>>>>>>>>> TOR Informatica
>>>>>>>>> Chopinlaan 27
>>>>>>>>> 5242HM Rosmalen
>>>>>>>>> Tel: 073 5226191
>>>>>>>>> Fax: 073 5226196
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> 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
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> --
>>>>>>>
>>>>>>> Tom Reijnders
>>>>>>> TOR Informatica
>>>>>>> Chopinlaan 27
>>>>>>> 5242HM Rosmalen
>>>>>>> Tel: 073 5226191
>>>>>>> Fax: 073 5226196
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> --
>>>>>
>>>>> Tom Reijnders
>>>>> TOR Informatica
>>>>> Chopinlaan 27
>>>>> 5242HM Rosmalen
>>>>> Tel: 073 5226191
>>>>> Fax: 073 5226196
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
> --
> --
>
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>



More information about the Xerte mailing list