Store Community Support Documentation

Hi,

I need to install latest version of phpfox on local machine ( mac ). I already have xampp and its working fine with other local php sites.

Follwoing is the server.sett.php file. Let me know where I am wrong ? The site is in a folder "brokersadda" in the 'htdocs' folder.

<?php
/**
 * [PHPFOX_HEADER]
 *
 * @copyright        [PHPFOX_COPYRIGHT]
 * @author            natio
 * @package         PhpFox
 * @version         $Id: server.sett.php.new 6092 2013-06-20 13:24:17Z Raymond_Benc $
 */

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

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

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

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

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

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

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

$_CONF['core.salt'] = '0a80e1892dc1e1c9d508a9263e9fe5e5';

// 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;

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

?>
 

Be the first person to like this.
#1

Hi Naresh, could you please turn on debug mode and share with us the current issue?

Be the first person to like this.
#2

Where I have to turn on the debug mode ? :blush

Be the first person to like this.
#3

It will turn on because the script is not working on local machine. 

Be the first person to like this.