[Xerte] Re: database.php

David Goodwin david at palepurple.co.uk
Sat Apr 28 13:12:09 BST 2012


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





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


More information about the Xerte mailing list