<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>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><span></span></div><div><span>I cant see whats going on :S</span></div><div><br><span></span></div><div><span>Thanks again.</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> 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;">CC:</span></b> Xerte discussion list <xerte@lists.nottingham.ac.uk> <br> <b><span style="font-weight: bold;">Enviado:</span></b> Lunes, 5 de diciembre, 2011 19:56:18<br> <b><span style="font-weight: bold;">Asunto:</span></b> Re: [Xerte] Re: White Screen Of Dead<br> </font> <br><div id="yiv2075474107"><div><div>The redeclared function one is a fatal
 error. Make sure database_functions.php (sp?) is loaded through require_once and NOT include or require. </div><div><br></div><div><br>David. <br><div>David Goodwin </div><div>Pale Purple Ltd. </div><div><a rel="nofollow" target="_blank" href="http://www.palepurple.co.uk">http://www.palepurple.co.uk</a></div><div>0845 0046746</div><div>07792 380669</div></div><div><br>On 5 Dec 2011, at 23:33, Jose Diaz <<a rel="nofollow" ymailto="mailto:xt4mhz@yahoo.com" target="_blank" href="mailto:xt4mhz@yahoo.com">xt4mhz@yahoo.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div><span>Hi David and thanks in advance.</span></div><div><br><span></span></div><div><span>Now there are some errors:</span></div><div><br></div><div><span>When I open the login page and try to sign in, a message
 says:</span></div><div><br><span></span></div><div>Notice: Undefined variable: session_id in /var/www/xot/index.php on line
 118

Fatal error: Cannot redeclare database_connect() (previously declared in
 /var/www/xot/website_code/php/database_library.php:28) in 
/var/www/xot/website_code/php/database_library.php on line 71
</div><div><br></div><div>And in the <span>Apache's error_logs says:</span></div><div><br><span></span></div><div><span>[Mon Dec 05 18:56:52 2011] [error] [client 172.17.10.174] PHP Notice:  Undefined variable: form_string in /var/www/xot/index.php on line 30<br>[Mon Dec 05 18:57:15 2011] [error] [client 172.17.10.174] PHP Notice:  Undefined variable: session_id in /var/www/xot/index.php on line 118, referer: <a rel="nofollow" target="_blank"  href="http://172.17.10.174/xot/"></a><a rel="nofollow" target="_blank"  href="http://172.17.10.174/xot/">http://172.17.10.174/xot/</a><br>[Mon Dec 05 18:57:15 2011] [error] [client 172.17.10.174] PHP Fatal error:  Cannot redeclare database_connect() (previously declared in /var/www/xot/website_code/php/database_library.php:28) in /var/www/xot/website_code/php/database_library.php on line 71, referer: <a rel="nofollow" target="_blank"  href="http://172.17.10.174/xot/"></a><a rel="nofollow"
 target="_blank"  href="http://172.17.10.174/xot/">http://172.17.10.174/xot/</a><br></span></div><div><br><span></span></div><div><span>debug.log stills shows:</span></div><div><br><span></span></div><div><span>2011-12-05 18:56:52 /var/www/xot/website_code/php/database_library.php127Running : SELECT
 * FROM sitedetails<br>2011-12-05 18:57:15 /var/www/xot/website_code/php/database_library.php127Running : SELECT * FROM sitedetails</span></div><div><br><span></span></div><div><span>Does it make sense?</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: <a rel="nofollow" target="_blank" href="http://www.usb.ve">www.usb.ve</a> - <a rel="nofollow" target="_blank" href="http://jgdu.blogspot.com"></a><a rel="nofollow" target="_blank" href="http://jgdu.blogspot.com">jgdu.blogspot.com</a><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 <<a
 rel="nofollow" ymailto="mailto:david@palepurple.co.uk" target="_blank" href="mailto:david@palepurple.co.uk">david@palepurple.co.uk</a>><br> <b><span style="font-weight:bold;">Para:</span></b> Jose Diaz <<a rel="nofollow" ymailto="mailto:xt4mhz@yahoo.com" target="_blank" href="mailto:xt4mhz@yahoo.com">xt4mhz@yahoo.com</a>>; Xerte discussion list <<a rel="nofollow" ymailto="mailto:xerte@lists.nottingham.ac.uk" target="_blank" href="mailto:xerte@lists.nottingham.ac.uk">xerte@lists.nottingham.ac.uk</a>> <br> <b><span style="font-weight:bold;">Enviado:</span></b> Lunes, 5 de diciembre, 2011 18:45:10<br> <b><span style="font-weight:bold;">Asunto:</span></b> Re: [Xerte] White Screen Of Dead<br> </font> <br><div id="yiv2075474107"><div>Hi,<div><br></div><div>Check /etc/php5/apache2/php.ini</div><div><br></div><div>Ensure display_errors is turned on.</div><div><br></div><div>Check /var/log/apache2/error_log </div><div><br></div><div>Failing
 that, specify an explicit error log for PHP in the php.ini file above, touch it, chmod 777 it, restart apache and then try again.</div><div><br></div><div><br></div><div>David.</div><div><br></div><div><br><div><div>On 5 Dec 2011, at 22:52, Jose Diaz wrote:</div><br class="yiv2075474107Apple-interchange-newline"><blockquote type="cite"><div><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>In
 config.php I changed:</span></div><div><br><span></span></div><div><span>Line 24: From ... $development = false; ... to ... $development = true;</span></div><div><span>Line 28: From ... ini_set('error_reporting', 0); ... to ... </span>ini_set("error_reporting",1);</div><div><br></div><div>The file "/tmp/debug.log" was created and shows:</div><div><br></div><div>2011-12-05 15:56:36 /var/www/xot/website_code/php/database_library.php127Running : SELECT * FROM sitedetails<br></div><div><br></div><div>... every time I try to access with a declared user in "index.php".</div><div><br></div><div>Any idea?</div><div><br></div><div>Thanks in advance.</div><div><br></div><div>José Gregorio.<br></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: <a rel="nofollow" target="_blank" href="http://www.usb.ve"></a><a rel="nofollow" target="_blank" href="http://www.usb.ve">www.usb.ve</a> - <a rel="nofollow" target="_blank" href="http://jgdu.blogspot.com"></a><a rel="nofollow" target="_blank" href="http://jgdu.blogspot.com">jgdu.blogspot.com</a><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 <<a rel="nofollow" ymailto="mailto:patrick.lockley@googlemail.com" target="_blank" href="mailto:patrick.lockley@googlemail.com"></a><a rel="nofollow" ymailto="mailto:patrick.lockley@googlemail.com" target="_blank"
 href="mailto:patrick.lockley@googlemail.com">patrick.lockley@googlemail.com</a>><br> <b><span style="font-weight:bold;">Para:</span></b> Jose Diaz <<a rel="nofollow" ymailto="mailto:xt4mhz@yahoo.com" target="_blank" href="mailto:xt4mhz@yahoo.com"></a><a rel="nofollow" ymailto="mailto:xt4mhz@yahoo.com" target="_blank" href="mailto:xt4mhz@yahoo.com">xt4mhz@yahoo.com</a>>; Xerte discussion list <<a rel="nofollow" ymailto="mailto:xerte@lists.nottingham.ac.uk" target="_blank" href="mailto:xerte@lists.nottingham.ac.uk"></a><a rel="nofollow" ymailto="mailto:xerte@lists.nottingham.ac.uk" target="_blank" href="mailto:xerte@lists.nottingham.ac.uk">xerte@lists.nottingham.ac.uk</a>> <br> <b><span style="font-weight:bold;">Enviado:</span></b> Lunes, 5 de diciembre, 2011 16:34:28<br> <b><span style="font-weight:bold;">Asunto:</span></b> Re: [Xerte] White Screen Of Dead<br> </font> <br>i'd edit switch.php then do an
 ini_set("error_reporting",1)<br><br>I'd imagine the changes to database.php have broken switch<br><br>On Mon, Dec 5, 2011
 at 8:44 PM, Jose Diaz <<a rel="nofollow" ymailto="mailto:xt4mhz@yahoo.com" target="_blank" href="mailto:xt4mhz@yahoo.com"></a><a rel="nofollow" ymailto="mailto:xt4mhz@yahoo.com" target="_blank" href="mailto:xt4mhz@yahoo.com">xt4mhz@yahoo.com</a>> wrote:<br>> Hi people, I hope all of you be ok.<br>><br>> I'm not sure if you covered this situation, sorry if you did.<br>><br>> Recently I:<br>><br>> 1. Downloaded <a rel="nofollow" target="_blank" href="http://www.nottingham.ac.uk/xerte/downloads/xertetoolkits.zip"></a><a rel="nofollow" target="_blank" href="http://www.nottingham.ac.uk/xerte/downloads/xertetoolkits.zip">http://www.nottingham.ac.uk/xerte/downloads/xertetoolkits.zip</a><br>> 2. Executed in my Ubuntu box:<br>><br>> # mysql -p<br>>> create database xot default charset 'utf8';<br>>> grant all privileges on xot.* to xot@'localhost' identified by<br>>> 'MySecretPassword';<br>>> flush all
 privileges;<br>> # tar xvvf xertetoolkits.zip<br>> # chmod 0777 xot<br>> # chmod 0777 xot/setup/<br>> # chmod 0777 xot/USER-FILES/<br>> # chmod 0777 xot/error_logs/<br>> # chmod 0777
 xot/import/<br>> # chmod 0777
 xot/setup/database.txt<br>><br>> ... followed the web setup wizard ...<br>><br>> # mv index.php index.php.orig<br>> # mv switch.txt index.php<br>><br>> When I try to sign in with any account declared in switch.txt (now<br>> index.php), it shows a very big white screen of dead.<br>><br>> Any idea?<br>><br>> Sorry if this has been covered already.<br>><br>> Thanks again.<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: <a rel="nofollow" target="_blank" href="http://www.usb.ve"></a><a rel="nofollow" target="_blank" href="http://www.usb.ve">www.usb.ve</a> - <a rel="nofollow" target="_blank" href="http://jgdu.blogspot.com"></a><a rel="nofollow" target="_blank" href="http://jgdu.blogspot.com">jgdu.blogspot.com</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>> Xerte mailing list<br>> <a rel="nofollow" ymailto="mailto:Xerte@lists.nottingham.ac.uk" target="_blank" href="mailto:Xerte@lists.nottingham.ac.uk"></a><a rel="nofollow" ymailto="mailto:Xerte@lists.nottingham.ac.uk" target="_blank" href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>> <a rel="nofollow" target="_blank"
 href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte"></a><a rel="nofollow" target="_blank" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">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><br><div>
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.
</div><div>
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.
</div>
</div>_______________________________________________<br>Xerte mailing list<br><a rel="nofollow" ymailto="mailto:Xerte@lists.nottingham.ac.uk" target="_blank" href="mailto:Xerte@lists.nottingham.ac.uk"></a><a rel="nofollow" ymailto="mailto:Xerte@lists.nottingham.ac.uk" target="_blank" href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br><a rel="nofollow" target="_blank" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br><br>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.<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></blockquote></div><br><div>
<span class="yiv2075474107Apple-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="yiv2075474107Apple-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><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"></a><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><div><br></div><div><br></div></div></span><br class="yiv2075474107Apple-interchange-newline"></span><br class="yiv2075474107Apple-interchange-newline">
</div>
<br></div></div></div><br><br> </div> </div>  </div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Xerte mailing list</span><br><span><a rel="nofollow" ymailto="mailto:Xerte@lists.nottingham.ac.uk" target="_blank" href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a></span><br><span><a rel="nofollow" target="_blank" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a></span><br><span></span><br><span>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.</span><br><span></span><br><span>This message has been checked for viruses but the contents of an attachment</span><br><span>may still contain software viruses which could damage your computer system:</span><br><span>you are advised to perform your own checks. Email communications with the</span><br><span>University of Nottingham may be monitored as permitted by UK legislation.</span><br><span></span><br></div></blockquote></div></div><br><br> </div> </div>  </div></body></html>