accidently rename file server.sett.php and overwrite that file, now the site said Oops! phpFox is not installed. Please run the install script to get your community setup. what can i do about this case ?
Be the first person to like this.
rename it to the server.sett.php Wink
Be the first person to like this.
Donna(data66)
Since you overwrote it, you will have to manually go in and add the values for your database and for the domain.
Be the first person to like this.
metro
This is what my server.sett.php looks like change the values to match your db information

<?php
/**
* [PHPFOX_HEADER]
*
* @copyright [PHPFOX_COPYRIGHT]
* @author natio
* @package PhpFox
* @version $Id: server.sett.php.new 904 2009-08-28 11:31:33Z Raymond_Benc $
*/

defined('PHPFOX') or exit('NO DICE!');

/**
* Database Driver
* Support: mysql, mysqli, mssql, postgres or sqlite
*
* @example mysql
*/
$_CONF['db']['driver'] = 'mysql';
$_CONF['db']['host'] = 'localhost';
$_CONF['db']['user'] = 'dbusername';
$_CONF['db']['pass'] = 'dbpassword';
$_CONF['db']['name'] = 'dbname';
$_CONF['db']['prefix'] = 'phpfox_';
$_CONF['db']['port'] = '';

$_CONF['db']['slave'] = false;
$_CONF['db']['slave_servers'] = array();

$_CONF['balancer']['enabled'] = false;
$_CONF['balancer']['servers'] = array();

$_CONF['core.host'] = 'www.domainname.com';;

$_CONF['core.folder'] = '/';

$_CONF['core.url_rewrite'] = '1';

$_CONF['core.salt'] = '2088613e24f67a3a4e3cce1857c174bf';

// Storage Engine (file, memcache)
$_CONF['core.cache_storage'] = 'file';

// Add salt
$_CONF['core.cache_add_salt'] = false;

// Cache suffix (file only)
$_CONF['core.cache_suffix'] = '.php';

// Memcache Hosts
$_CONF['core.memcache_hosts'] = array();

// Memcahe persistent
$_CONF['core.memcache_persistent'] = false;

// Should we skip the cache check and display live content
$_CONF['core.cache_skip'] = false;

// Check we run to find out if the script has been installed
$_CONF['core.is_installed'] = true;

// Check we run when the database tables have been installed
$_CONF['core.db_table_installed'] = false;

// AdminCP time out in minutes
$_CONF['core.admincp_timeout'] = '60';

// Define if AdminCP should have a time out
$_CONF['core.admincp_do_timeout'] = true;

?>

----------
Or you can backup your current db and rerun install with this server.sett.php.new
----------


<?php
/**
* [PHPFOX_HEADER]
*
* @copyright [PHPFOX_COPYRIGHT]
* @author natio
* @package PhpFox
* @version $Id: server.sett.php.new 4602 2012-08-18 18:48:02Z Raymond_Benc $
*/

defined('PHPFOX') or exit('NO DICE!');

/**
* Database Driver
* Support: mysql, mysqli, mssql, postgres or sqlite
*
* @example mysql
*/
$_CONF['db']['driver'] = 'DATABASE_DRIVER';
$_CONF['db']['host'] = 'DATABASE_HOST';
$_CONF['db']['user'] = 'DATABASE_USER';
$_CONF['db']['pass'] = 'DATABASE_PASS';
$_CONF['db']['name'] = 'DATABASE_NAME';
$_CONF['db']['prefix'] = 'DATABASE_PREFIX';
$_CONF['db']['port'] = 'DATABASE_PORT';

$_CONF['db']['slave'] = false;
$_CONF['db']['slave_servers'] = array();

$_CONF['balancer']['enabled'] = false;
$_CONF['balancer']['servers'] = array();

$_CONF['core.host'] = 'HOST_NAME';

$_CONF['core.folder'] = 'SUB_FOLDER';

$_CONF['core.url_rewrite'] = 'URL_REWRITE';

$_CONF['core.salt'] = 'RANDOM_SALT';

// Storage Engine (file, memcache)
$_CONF['core.cache_storage'] = 'file';

// Add salt
$_CONF['core.cache_add_salt'] = false;

// Cache suffix (file only)
$_CONF['core.cache_suffix'] = '.php';

// Memcache Hosts
$_CONF['core.memcache_hosts'] = array();

// Memcahe persistent
$_CONF['core.memcache_persistent'] = false;

// Should we skip the cache check and display live content
$_CONF['core.cache_skip'] = false;

// Check we run to find out if the script has been installed
$_CONF['core.is_installed'] = false;

// Check we run when the database tables have been installed
$_CONF['core.db_table_installed'] = false;

// AdminCP time out in minutes
$_CONF['core.admincp_timeout'] = '60';

// Define if AdminCP should have a time out
$_CONF['core.admincp_do_timeout'] = false;

$_CONF['core.is_auto_hosted'] = false;

?>
Be the first person to like this.
Thanks guys, i got solved the probllem
Be the first person to like this.
metro
Nice... now vote for this feature Smile

---------------
Please vote for this Feature Request - City During Registration: http://www.phpfox.com/tracker/view/12428/
---------------


Quote:
Originally posted by: VSB

Thanks guys, i got solved the probllem
Be the first person to like this.
I have upgraded the site & mistakenly rename server.sett.php.new and the site said Oops! phpFox is not installed. Please run the install script to get your community setup.ihave manually edited the server.sett.php with my details of sql database username password domain name etc as given above but still the same message iam getting when i run installer in the browser..Kindly suggest
Be the first person to like this.
Donna(data66)
You have ensured not to upload the upload folder? You are going to yoursite.com/install ?
no i have not uploaded the upload folder but only it contents & im going to www.domainname.com/install/index.php.
Be the first person to like this.