<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi Pat.</span></div><div><br><span></span></div><div><span>I just installed XOT 1.8 (from branch) and when I try to use "switch.txt" as "index.php"  a white screen of dead appears.</span></div><div><br><span></span></div><div><span>However, when I use the "switch.txt" from XOT 1.8 (branch) over XOT SVN it works well.</span></div><div><br><span></span></div><div><span>Even, I tried using </span><span>"switch.txt" from XOT 1.8 (branch) over XOT 1.7 and worked well too.</span></div><div><br><span></span></div><div><span>Am I wrong if the conclusion is that the "switch.txt" file included in the .zip file offered through the webpage is wrong?</span></div><div><br><span></span></div><div><span>A lot of people is downloading the xerteonlinetoolkits.zip file from "http://www.nottingham.ac.uk/xerte/community.htm" and many
 of them are not able to use LDAP services. So they try to use the "demo.txt" or "switch.txt".</span></div><div><br><span></span></div><div><span>Thanks a lot for the help.</span></div><div><br><span></span></div><div><span>José.</span></div><div> </div><div>--<br>Lic. José Gregorio Díaz Unda.<br>Asesor de Tecnologías de Información y Comunicación.<br>Tel.: 58.0412.5518085<br>Skype: xt4mhz<br>Web: www.usb.ve - jgdu.blogspot.com<br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">De:</span></b> Pat Lockley <patrick.lockley@googlemail.com><br> <b><span style="font-weight: bold;">Para:</span></b> Jose Diaz <xt4mhz@yahoo.com>; Xerte discussion list <xerte@lists.nottingham.ac.uk> <br> <b><span style="font-weight:
 bold;">Enviado:</span></b> Martes, 6 de diciembre, 2011 13:29:39<br> <b><span style="font-weight: bold;">Asunto:</span></b> Re: [Xerte] Re: White Screen Of Dead<br> </font> <br>I think the 1.8 switch works, not sure on 1.7, or if 1.7 is the zip<br><br>On Tue, Dec 6, 2011 at 5:30 PM, Jose Diaz <<a ymailto="mailto:xt4mhz@yahoo.com" href="mailto:xt4mhz@yahoo.com">xt4mhz@yahoo.com</a>> wrote:<br>> Hey David.<br>><br>> I just downloaded the SVN version from Google Code, enabled the "switch.txt"<br>> and edited it:<br>><br>> 121             //include $xerte_toolkits_site->php_library_path .<br>> "database_library.php";<br>> 122             require_once $xerte_toolkits_site->php_library_path .<br>> "database_library.php";<br>><br>> No visual glitches reported and I was able to
 login.<br>><br>> Does it make sense if we ask to Pat include this change in "switch.txt" ?<br>><br>> Pat ... what do you think?<br>><br>> José.<br>><br>> --<br>> Lic. José Gregorio Díaz Unda.<br>> Asesor de Tecnologías de Información y Comunicación.<br>> Tel.: 58.0412.5518085<br>> Skype: xt4mhz<br>> Web: www.usb.ve - jgdu.blogspot.com<br>> ________________________________<br>> De: Jose Diaz <<a ymailto="mailto:xt4mhz@yahoo.com" href="mailto:xt4mhz@yahoo.com">xt4mhz@yahoo.com</a>><br>> Para: XERTE XERTE <<a ymailto="mailto:xerte@lists.nottingham.ac.uk" href="mailto:xerte@lists.nottingham.ac.uk">xerte@lists.nottingham.ac.uk</a>><br>> Enviado: Martes, 6 de diciembre, 2011 12:27:33<br>> Asunto: [Xerte] Re: White Screen Of Dead<br>><br>> Hi David.<br>><br>> I just changed to "require_once" sentence.<br>><br>> About the XOT version, I'm using the published
 here:<br>><br>> <a href="http://www.nottingham.ac.uk/xerte/downloads/xertetoolkits.zip" target="_blank">http://www.nottingham.ac.uk/xerte/downloads/xertetoolkits.zip</a><br>><br>> It's published at the main webpage.<br>><br>> Do I have to use another version?<br>><br>> Thanks for all this help.<br>><br>> José.<br>><br>> --<br>> Lic. José Gregorio Díaz Unda.<br>> Asesor de Tecnologías de Información y Comunicación.<br>> Tel.: 58.0412.5518085<br>> Skype: xt4mhz<br>> Web: www.usb.ve - jgdu.blogspot.com<br>> ________________________________<br>> De: David Goodwin <<a ymailto="mailto:david@palepurple.co.uk" href="mailto:david@palepurple.co.uk">david@palepurple.co.uk</a>><br>> Para: Jose Diaz <<a ymailto="mailto:xt4mhz@yahoo.com" href="mailto:xt4mhz@yahoo.com">xt4mhz@yahoo.com</a>>; Xerte discussion list<br>> <<a ymailto="mailto:xerte@lists.nottingham.ac.uk"
 href="mailto:xerte@lists.nottingham.ac.uk">xerte@lists.nottingham.ac.uk</a>><br>> Enviado: Martes, 6 de diciembre, 2011 11:25:09<br>> Asunto: Re: [Xerte] White Screen Of Dead<br>><br>><br>><br>><br>> I did: root@pc06074-linux:/var/www/xot# grep -r database_library.php *<br>><br>> And the results:<br>><br>> config.php:    require_once(dirname(__FILE__) .<br>> '/website_code/php/database_library.php');<br>> index.php:            include $xerte_toolkits_site->php_library_path .<br>> "database_library.php";<br>> integration.txt:    include $xerte_toolkits_site->php_library_path .<br>> "database_library.php";<br>> moodle_config.txt:    require_once(dirname(__FILE__) .<br>> '/website_code/php/database_library.php');<br>> webctlink.txt:    include
 $xerte_toolkits_site->php_library_path .<br>> "database_library.php";<br>><br>> As I can see, the "index.php" file (before switch.txt) is including<br>> "database_library.php". So, I commented and now I can log in but with some<br>> visual glitches:<br>><br>><br>><br>> Don't comment it out - just change include's to require_once's.<br>><br>> e.g.    require_once $xerte_toolkits_site->php_library_path .<br>> "database_library.php";<br>><br>><br>> 1.jpg : Log in page. There is some info missing under the "Sign In" button.<br>> 2.jpg and 3.jpg : After success login. the Projects and Templates are at the<br>> bottom of the page.<br>> 4.jpg : After log out. Again, there is some info missing under the "Sign In"<br>> button.<br>> 5.jpg : I tried to log in with any not existent user and the info under the<br>> "Sign In" button came up. No "notice" message at the upper left
 corner of<br>> the page.<br>><br>> Is this solution acceptable? ... I mean, commenting that line?<br>><br>><br>><br>> I suspect there's a PHP error taking place (within the html source?) which<br>> is screwing up the rendering/layout.<br>><br>><br>><br>> Why could be happening about visual mismatch of the page?<br>><br>><br>> See above.<br>><br>> What version of toolkits are you using? I thought the latest version didn't<br>> have these problems.<br>><br>> David.<br>><br>><br>> Pale Purple Ltd.  (Company No: 5580814)<br>> 'Business Web Application Development and Training in PHP'<br>><br>> <a href="http://www.palepurple.co.uk" target="_blank">http://www.palepurple.co.uk</a><br>> Office: 0845 0046746     Mobile: 07792380669<br>><br>> Follow us on Twitter: @PalePurpleLtd<br>><br>><br>><br>><br>> This message and any attachment are
 intended solely for the addressee and<br>> may contain confidential information. If you have received this message in<br>> error, please send it back to me, and immediately delete it. Please do not<br>> use, copy or disclose the information contained in this message or in any<br>> attachment. Any views or opinions expressed by the author of this email do<br>> not necessarily reflect the views of the University of Nottingham.<br>> This message has been checked for viruses but the contents of an attachment<br>> may still contain software viruses which could damage your computer system:<br>> you are advised to perform your own checks. Email communications with the<br>> University of Nottingham may be monitored as permitted by UK legislation.<br>><br>> _______________________________________________<br>> Xerte mailing list<br>> <a ymailto="mailto:Xerte@lists.nottingham.ac.uk"
 href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>> <a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>><br>> This message and any attachment are intended solely for the addressee and<br>> may contain confidential information. If you have received this message in<br>> error, please send it back to me, and immediately delete it.  Please do not<br>> use, copy or disclose the information contained in this message or in any<br>> attachment.  Any views or opinions expressed by the author of this email do<br>> not necessarily reflect the views of the University of Nottingham.<br>><br>> This message has been checked for viruses but the contents of an attachment<br>> may still contain software viruses which could damage your computer system:<br>> you are advised to perform your own checks. Email
 communications with the<br>> University of Nottingham may be monitored as permitted by UK legislation.<br>><br>><br>><br>><br>> _______________________________________________<br>> Xerte mailing list<br>> <a ymailto="mailto:Xerte@lists.nottingham.ac.uk" href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>> <a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>><br>> This message and any attachment are intended solely for the addressee and<br>> may contain confidential information. If you have received this message in<br>> error, please send it back to me, and immediately delete it.   Please do not<br>> use, copy or disclose the information contained in this message or in any<br>> attachment.  Any views or opinions expressed by the author of this email do<br>> not necessarily reflect the
 views of the University of Nottingham.<br>><br>> This message has been checked for viruses but the contents of an attachment<br>> may still contain software viruses which could damage your computer system:<br>> you are advised to perform your own checks. Email communications with the<br>> University of Nottingham may be monitored as permitted by UK legislation.<br>><br>><br><br><br> </div> </div>  </div></body></html>