<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi David.</span></div><div><br><span></span></div><div><span>I did: root@pc06074-linux:/var/www/xot# grep -r database_library.php *</span></div><div><br><span></span></div><div><span>And the results:<br></span></div><div><span><br></span></div><div><span>config.php:    require_once(dirname(__FILE__) . '/website_code/php/database_library.php');<br>index.php:            include $xerte_toolkits_site->php_library_path . "database_library.php";<br>integration.txt:    include $xerte_toolkits_site->php_library_path . "database_library.php";<br>moodle_config.txt:    require_once(dirname(__FILE__) . '/website_code/php/database_library.php');<br>webctlink.txt:    include
 $xerte_toolkits_site->php_library_path . "database_library.php";</span></div><div><br><span></span></div><div><span>As I can see, the "index.php" file (before switch.txt) is including "database_library.php". So, I commented and now I can log in but with some visual glitches:</span></div><div><span><br></span></div><div><span>1.jpg : Log in page. There is some info missing under the "Sign In" button.</span></div><div><span>2.jpg and 3.jpg : After success login. the Projects and Templates are at the bottom of the page.</span></div><div><span>4.jpg : After log out. Again, there is some info missing under the "Sign In" button.</span></div><div><span>5.jpg : I tried to log in with any not existent user and the info under the "Sign In" button came up. No "notice" message at the upper left corner of the page.</span></div><div><br><span></span></div><div><span>Is this solution acceptable? ... I mean, commenting that
 line?</span></div><div><br><span></span></div><div><span>Why could be happening about visual mismatch of the page?</span></div><div><br><span></span></div><div><span>Thanks again.</span></div><div><br><span></span></div><div><span>José.<br></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> David Goodwin <david@palepurple.co.uk><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 8:43:42<br> <b><span style="font-weight: bold;">Asunto:</span></b> Re: [Xerte] Re: White Screen Of Dead<br> </font> <br><div id="yiv173673138"><div><br><div><div>On 6 Dec 2011, at 13:04, Jose Diaz wrote:</div><br class="yiv173673138Apple-interchange-newline"><blockquote type="cite"><div><div style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);font-family:times, serif;font-size:12pt;"><div><span>Hi David.</span></div><div><br><span></span></div><div><span>As I can see:</span></div><div><br><span></span></div><div><span>"index.php" (before switch.txt) in line #6 calls "config.php"</span></div><div><span><br></span></div><div><span>... then ...<br></span></div><div><span><br></span></div><div><span>"config.php" in line #59 calls "database.php" through "require_once("database.php");]" sentence</span></div><div><span><br></span></div><div><span>In "database.php" there is no "require"
 sentence.</span></div><div><br></div></div></div></blockquote><div><br></div><div><br></div>That's what I'd expect. The problem is that config.php is probably being loaded twice somehow.</div><div><br></div><div>The file you need to look for is called 'database_library.php'. Somewhere it's being loaded through a single 'require' call rather than 'require_once'.</div><div><br></div><div>David.</div><div><br></div><div>
<span class="yiv173673138Apple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium;"><span class="yiv173673138Apple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium;"><div style="word-wrap:break-word;"><span class="yiv173673138Apple-style-span" style="border-collapse:separate;color:rgb(0, 0,
 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium;"><div style="word-wrap:break-word;"><span class="yiv173673138Apple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium;"><div style="word-wrap:break-word;"><div>Pale Purple Ltd.  (Company No: 5580814)</div><div>'Business Web Application Development and Training in PHP'</div><div><br></div><div><a rel="nofollow" target="_blank" href="http://www.palepurple.co.uk">http://www.palepurple.co.uk</a>   </div><div>Office: 0845 0046746     Mobile:
 07792380669 </div><div><br></div><div>Follow us on Twitter: @PalePurpleLtd</div></div></span></div></span></div></span></span>
</div>
<br></div></div><br><br> </div> </div>  </div></body></html>