Thanks Replytomk3!
Simply making another page the default, then changing it back to the home page worked! I never would have thought to try that!
However, when I went to launch the site and moved it all from the subdomain folder to the html root folder , and updated the config file (see below) to launch the site, I get this error:
Code: Select all
string(113) "Smarty error: [in tpl_top:16 line 1]: [plugin] unknown tag - 'process_pagedata' (core.load_plugins.php, line 124)"
Fatal error: Call to undefined function: smarty_cms_function_process_pagedata() in /var/virtual/web/w1633/html/tmp/templates_c/%%7E^7EA^7EA75F51%%tpl_top%3A16.php on line 5
I've searched the forums and clearing my cache before moving didn't make any difference - can you suggest anything else?
When I log into admin, some of the menu items look like this;
-- module:FormBuilder string:forms--
I found a post that suggested uploading the modules via ftp, but that didn't help either?!
Any assistance is greatly appreciated!
config.php:
Code: Select all
<?php
$config['php_memory_limit'] = '';
$config['process_whole_template'] = false;
$config['debug'] = false;
$config['output_compression'] = false;
#-----------------
#Database Settings
#-----------------
$config['dbms'] = 'mysql';
$config['db_hostname'] = 'localhost';
$config['db_username'] = '*****';
$config['db_password'] = '************';
$config['db_name'] = 'jamiesons_com_au_cms';
#Change this param only if you know what you are doing
$config["db_port"] = '';
#If app needs to coexist with other tables in the same db,
#put a prefix here. e.g. "cms_"
$config['db_prefix'] = 'cms_';
#Use persistent connections? They're generally faster, but not all hosts
#allow them.
$config['persistent_db_conn'] = false;
$config['use_adodb_lite'] = true;
#-------------
#Path Settings
#-------------
$config['root_url'] = 'http://www.jamiesons.com.au';
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on')
{
$config['root_url'] = str_replace('http','https',$config['root_url']);
}
$config['root_path'] = '/var/virtual/web/w1633/';
#Name of the admin directory
$config['admin_dir'] = 'admin';
#Where do previews get stored temporarily? It defaults to tmp/cache.
$config['previews_path'] = '/var/virtual/web/w1633/tmp/cache';
#Where are uploaded files put? This defaults to uploads.
$config['uploads_path'] = '/var/virtual/web/w1633/uploads';
#Where is the url to this uploads directory?
$config['uploads_url'] = $config['root_url'] . '/uploads';
#---------------
#Upload Settings
#---------------
#Maxium upload size (in bytes)?
$config['max_upload_size'] = 2000000;
#Permissions for uploaded files. This only really needs changing if your
#host has a weird permissions scheme.
$config['default_upload_permission'] = '664';
#------------------
#Usability Settings
#------------------
#Allow smarty {php} tags? These could be dangerous if you don't trust your users.
$config['use_smarty_php_tags'] = false;
#Automatically assign alias based on page title?
$config['auto_alias_content'] = true;
#------------
#URL Settings
#------------
$config['url_rewriting'] = 'mod_rewrite'; // this is new from 1.6
$config['page_extension'] = '.html';
$config['use_hierarchy'] = true; // this will be the standard from 1.7
$config['query_var'] = 'page';
#--------------
#Image Settings
#--------------
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';
#Default path and URL for uploaded images in the image manager
$config['image_uploads_path'] = '/var/virtual/web/w1633/uploads/images';
$config['image_uploads_url'] = $config['root_url'] . '/uploads/images';
#------------------------
#Locale/Encoding Settings
#------------------------
$config['locale'] = '';
$config['default_encoding'] = 'utf-8';
$config['admin_encoding'] = 'utf-8';
$config['set_names'] = true;
$config['wiki_url'] = 'http://wiki.cmsmadesimple.org/index.php/User_Handbook/Admin_Panel';
?>