[Xerte] Re: database.php

David Goodwin david at palepurple.co.uk
Sat Apr 28 13:45:49 BST 2012


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





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120428/58f4d69d/attachment.html>


More information about the Xerte mailing list