<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<div><br></div><div>This is from my ISP:</div><div><br></div><div><pre style="line-height: 17px; white-space: normal; color: rgb(42, 42, 42); background-color: rgb(255, 255, 255); ">I've checked blahblah.com/xerte_ot/database.php file, which seems to be the main database connection configuration file and it contains completely incorrect information. Please follow steps below in order to receive your full database connection information and update configuration file with proper settings:</pre></div><div><br></div><div>I have not touched the file for years and was working fine, and this would not be the first time the ISP has hosed something.</div><div>Lost all the MIME types a year ago.</div><div> </div><div>So it is something to do with database.php.</div><div>How do I echo stuff back to browser to isolate the failure point?</div><div><br></div><div>Dave</div><br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: david@palepurple.co.uk<br>Date: Sat, 28 Apr 2012 13:12:09 +0100<br>To: xerte@lists.nottingham.ac.uk<br>Subject: [Xerte] Re: database.php<br><br>Edit config.php (?) and set <div><br></div><div>$development = true;<div><br><div><div>That should do it. </div><div><br></div><div>Perhaps you don't have the mysql 'driver' installed for PHP? Create a file (E.g. called phpinfo.php) which contains "<?php phpinfo(); ?>" and access it through a web browser. Check you have 'mysql' stuff listed.</div><div><br></div><div>thanks</div><div><br></div><div>David</div><div><br></div><div><br><div><div>On 28 Apr 2012, at 13:05, Dave Burnett wrote:</div><br class="ecxApple-interchange-newline"><blockquote><span class="ecxApple-style-span" style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium"><div class="ecxhmmessage" style="font-size:10pt;font-family:Tahoma"><div dir="ltr"><div><span style="font-size:10pt">Maybe the same vein as Ron's issue. Went to use XOT on my server and only get "1" returned where there should be a login page.</span></div><div><span style="font-size:10pt">Pat says this is a db connection failure.</span></div><div><span style="font-size:10pt">I have downloaded database.php from the root of the install, fiddled a few things and no joy.</span></div><div><span style="font-size:10pt"><br></span></div><div>What are the last 3 parameters below?</div><div>How can I put writeback in to see what line it is failing at?</div><div><br></div><div><br></div><div><span style="font-size:10pt">* Host where database is</span></div><div>*/</div><div>$xerte_toolkits_site->database_host = "get this one";</div><div><br></div><div>/*</div><div>* Username for database</div><div>*/</div><div>$xerte_toolkits_site->database_username =" get this one ";</div><div><br></div><div>/*</div><div>* Password for database</div><div>*/</div><div>$xerte_toolkits_site->database_password =" this is the password for the user defined above correct?";</div><div><br></div><div>/*</div><div>* Database name</div><div>*/</div><div>$xerte_toolkits_site->database_name ="what goes here?";</div><div><br></div><div>/*</div><div>* Database table prefix</div><div>*/</div><div>$xerte_toolkits_site->database_table_prefix ="<span style="font-size:10pt">what goes here?</span><span style="font-size:10pt">";</span></div><div>?></div></div><br><div style="margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">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 style="margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">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>_______________________________________________<br>Xerte mailing list<br><a 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 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></div></span></blockquote></div><br><div>
<span class="ecxApple-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="ecxApple-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 href="http://www.palepurple.co.uk" target="_blank">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="ecxApple-interchange-newline"></span><br class="ecxApple-interchange-newline">
</div>
<br></div></div></div></div><br>_______________________________________________
Xerte mailing list
Xerte@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.</div>                                     </div></body>
</html>