[Xerte] Re: database.php

Dave Burnett d_b_burnett at hotmail.com
Sat Apr 28 15:19:15 BST 2012


Nothing.Thanks, I'm starting to suspect a re-install is in the cards. 

CC: xerte at lists.nottingham.ac.uk
From: david at palepurple.co.uk
Date: Sat, 28 Apr 2012 14:15:07 +0100
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Re: database.php

Edit config.php and set 
$development = true;
I should cause PHP to output an error message with file name and line number. 
David

David Goodwin Pale Purple Ltd. http://www.palepurple.co.uk0845 004674607792 380669
On 28 Apr 2012, at 13:55, Dave Burnett <d_b_burnett at hotmail.com> wrote:





That echoes back the values I just put in the page.How do I find out where the connection fails?

From: david at palepurple.co.uk
Date: Sat, 28 Apr 2012 13:45:49 +0100
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Re: database.php


On 28 Apr 2012, at 13:28, Dave Burnett wrote: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?


You could edit database.php and add in 'var_dump($xerte_toolkits_site);' near the bottom I think. Note this will display all your configuration to anyone accessing the server

As they said, I suspect you need to edit database.php and put the correct settings in. Presumably you've overwritten it somehow. 
Perhaps you didn't remove the setup/ folder, which could cause it to be overwritten if someone accessed it. There is/was a more visible warning in 'trunk' that you need to remove the setup folder after installation.
thanks,

David.


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







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. 		 	   		  
_______________________________________________
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.


_______________________________________________
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/a67367fc/attachment.html>


More information about the Xerte mailing list