1.5.1 New store, No products, No mods. Yes, I have read all the other posts that have been made but none solve my issue.
I have created an add on domain called myaddondomain.com (theoretical) to my main account mymainaccount.com. DNS has been changed and is revolving correctly. All image files are loaded to to the server. My config files appear to be fine however there arent any images showing ( not even the default ZC banner) in the front end nor back end of myaddondomain.com. In Firebug, I can see the image on the server (weird). Also I can load the image that are missing by placing using a direct link to them like this:
http://myaddondomain.com/images/logo.gif
I have installed ZC 1.5.1 in a sub directory called myaddondir so path to the add on store is /home/mymainaccount/public_html/myaddondir/
My config files are listed below. I dont see any problems with them. Can you spot anything that would keep the images in the add on store from appearing?
************************ admin/includes/configure ************************
define('HTTP_SERVER', 'http://www.myaddondomain.com');
define('HTTPS_SERVER', 'https://www.myaddondomain.com');
define('HTTP_CATALOG_SERVER', 'http://www.myaddondomain.com');
define('HTTPS_CATALOG_SERVER', 'https://www.myaddondomain.com');
define('ENABLE_SSL_ADMIN', 'false');
define('ENABLE_SSL_CATALOG', 'false');
$t1 = parse_url(HTTP_SERVER);$p1 = $t1['path'];$t2 = parse_url(HTTPS_SERVER);$p2 = $t2['path'];
define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p1) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p2) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_HTTPS_CATALOG', '/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
define('DIR_FS_ADMIN', realpath(dirname(__FILE__) . '/../') . '/');
define('DIR_FS_CATALOG', '/home/mymainaccount/public_html/myaddondir/');
define('DIR_FS_LOGS', '/home/mymainaccount/public_html/myaddondir/logs');
define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DB_TYPE', 'mysql');
define('DB_PREFIX', '');
define('DB_CHARSET', 'utf8');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'mymainaccount_mysuername');
define('DB_SERVER_PASSWORD', '123456789');
define('DB_DATABASE', 'mymainaccount_dbName');
define('SQL_CACHE_METHOD', 'file');
define('DIR_FS_SQL_CACHE', '/home/mymainaccount/public_html/myaddondir/cache');
********************** /includes/configure.php ************************
define('HTTP_SERVER', 'http://www.myaddondomain.com');
define('HTTPS_SERVER', 'https://www.myaddondomain.com');
define('ENABLE_SSL', 'false');
define('DIR_WS_CATALOG', '/myaddondir/');
define('DIR_WS_HTTPS_CATALOG', '/myaddondir/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
define('DIR_WS_PHPBB', '/');
define('DIR_FS_CATALOG', '/home/mymainaccount/public_html/myaddondir/');
define('DIR_FS_LOGS', '/home/mymainaccount/public_html/myaddondir/logs');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
define('DB_TYPE', 'mysql');
define('DB_PREFIX', '');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'mymainaccount_mysuername');
define('DB_SERVER_PASSWORD', '123456789');
define('DB_DATABASE', 'mymainaccount_dbName');
define('SQL_CACHE_METHOD', 'file');
define('DIR_FS_SQL_CACHE', '/home/mymainaccount/public_html/myaddondir/cache');
**********************************************************************
Thank you for any help...
Bookmarks