Hello Everyone, When trying to set up the address fields I continue to get these error messages. I do check for the extra [ or , or . and there doesn't appear to be anything extra. Parse error: parse error, unexpected '[', expecting ',' or ';' in /usr/local/psa/home/vhosts/thewayoflight.org/httpdocs/amember/config.inc.php on line 23 Fatal error: Call to undefined function: new_smarty() in /usr/local/psa/home/vhosts/thewayoflight.org/httpdocs/amember/signup.php on line 212 Any idea on what I'm doing wrong? Thanks
Sure - the instructions wer to put this $config['use_address_info'] = 1; Into this (I think) It said to put it into the config.inc.php file and this is all except what looked like the registration/version information. * */ error_reporting(E_ALL ^ E_NOTICE); if (!defined(INCLUDED_AMEMBER_CONFIG)){ define('INCLUDED_AMEMBER_CONFIG', 1); set_magic_quotes_runtime(0); global $config, $plugins, $plugin_config ; $pc = array(); $pc['db'] = 'theway'; $pc['user'] = 'elephant'; $pc['pass'] = 'deadsaint'; $pc['host'] = 'localhost'; $pc['prefix'] = 'amember_'; $config['db']['mysql'] = $pc; $config['root_dir'] = dirname(__FILE__); if (!defined('AMEMBER_ONLY_DB_CONFIG')){ require_once("$config[root_dir]/rconfig.inc.php"); } //set_error_handler('_amember_error_handler'); } ?>
I did try to insert this $config['use_address_info'] = 1; right after this $config['db']['mysql'] = $pc; and it did nothing. No error code - but nothing else either