[Xerte] Re: database.php
Dave Burnett
d_b_burnett at hotmail.com
Sat Apr 28 13:28:36 BST 2012
This is from my ISP:
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:
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.Lost all the MIME types a year ago. So it is something to do with database.php.How do I echo stuff back to browser to isolate the failure point?
Dave
From: david at palepurple.co.uk
Date: Sat, 28 Apr 2012 13:12:09 +0100
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Re: database.php
Edit config.php (?) and set
$development = true;
That should do it.
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.
thanks
David
On 28 Apr 2012, at 13:05, Dave Burnett wrote: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.Pat says this is a db connection failure.I have downloaded database.php from the root of the install, fiddled a few things and no joy.
What are the last 3 parameters below?How can I put writeback in to see what line it is failing at?
* Host where database is*/$xerte_toolkits_site->database_host = "get this one";
/** Username for database*/$xerte_toolkits_site->database_username =" get this one ";
/** Password for database*/$xerte_toolkits_site->database_password =" this is the password for the user defined above correct?";
/** Database name*/$xerte_toolkits_site->database_name ="what goes here?";
/** Database table prefix*/$xerte_toolkits_site->database_table_prefix ="what goes here?";?>
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
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.
Pale Purple Ltd. (Company No: 5580814)'Business Web Application Development and Training in PHP'
http://www.palepurple.co.uk Office: 0845 0046746 Mobile: 07792380669
Follow us on Twitter: @PalePurpleLtd
_______________________________________________
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120428/542e6e74/attachment-0001.html>
More information about the Xerte
mailing list