Danny74 Posted March 27, 2009 Share Posted March 27, 2009 I recently changed my domain name. However, when I access my site online, none of the images appear. How can I fix this. Thanks! Link to comment Share on other sites More sharing options...
Guest Posted March 27, 2009 Share Posted March 27, 2009 I recently changed my domain name. However, when I access my site online, none of the images appear. How can I fix this. Thanks! Check to make sure the images are there (on the server) and your paths are correct in your configure.php files. Link to comment Share on other sites More sharing options...
Danny74 Posted March 27, 2009 Author Share Posted March 27, 2009 Check to make sure the images are there (on the server) and your paths are correct in your configure.php files. I checked and the images are all there. I just changed the configure.php file in includes/ The site still displays no images and all the links are broken. Strange. However, I did gain access to my /admin section, which is good. Please help. Thanks. Link to comment Share on other sites More sharing options...
[email protected] Posted March 27, 2009 Share Posted March 27, 2009 I checked and the images are all there. I just changed the configure.php file in includes/ The site still displays no images and all the links are broken. Strange. However, I did gain access to my /admin section, which is good. Please help. Thanks. your images are still there, don't worry. i just went through the same thing and i found my answers here ⇑ Hybrid Elephant ⇒ http://www.hybridelephant.com/ ⇐ The World's Finest Exotic Incense ⇓ Link to comment Share on other sites More sharing options...
Danny74 Posted March 28, 2009 Author Share Posted March 28, 2009 The images appear in admin, but they don't appear in the actual store and all the links are broken. They refer to the old domain. I changed both admin/configure.php and includes/configure.php to the new domain name. I'm not sure what's causing this. Please help. Thanks. Link to comment Share on other sites More sharing options...
germ Posted March 28, 2009 Share Posted March 28, 2009 In the includes FOLDER (catalog and admin) where the normal configure.php files are there is a FOLDER named local On some installs there may be a configure.php inside the local FOLDER (catalog and admin) If there is, anything in it overrides anything in the normal configure.php files. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Danny74 Posted March 28, 2009 Author Share Posted March 28, 2009 In the includes FOLDER (catalog and admin) where the normal configure.php files are there is a FOLDER named local On some installs there may be a configure.php inside the local FOLDER (catalog and admin) If there is, anything in it overrides anything in the normal configure.php files. I changed all instances of the old domain name to the new one, but the images still don't appear. All the links are broken, also. Could it be something else? Link to comment Share on other sites More sharing options...
germ Posted March 28, 2009 Share Posted March 28, 2009 Got a URL so I can see WTF is going on? :unsure: If you don't want it pickerd up by search engines post it like: mydomain DOT com /catalog If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Danny74 Posted March 28, 2009 Author Share Posted March 28, 2009 This is the includes.configure.php. This reflects all the changes I made. <?php define('HTTP_SERVER', 'http://www.mysite.net'); define('HTTPS_SERVER', 'http://www.mysite.net'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'www.mysite.net'); define('HTTPS_COOKIE_DOMAIN', 'www.mysite.net'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); 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_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/danny/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'admin'); define('DB_SERVER_PASSWORD', 'password'); define('DB_DATABASE', 'danny_website'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> Here is the admin/includes/configure.php. Again, this reflects changes to the new domain name. <?php define('HTTP_SERVER', 'http://www.mysite.net'); define('HTTP_CATALOG_SERVER', 'http://www.mysite.net'); define('HTTPS_CATALOG_SERVER', 'http://www.mysite.net'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/home/danny/public_html/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', '/home/danny/public_html/admin/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/home/danny/public_html/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); 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', DIR_WS_CATALOG . 'includes/languages/'); 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_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'admin'); define('DB_SERVER_PASSWORD', 'password'); define('DB_DATABASE', 'danny_website'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> All links are still broken and no images appear in actual store. They only appear in admin interface. Thank you for looking into this. Link to comment Share on other sites More sharing options...
germ Posted March 28, 2009 Share Posted March 28, 2009 If you don't want to post the URL you can PM it to me and it will remain confidential. Otherwise - Stick a fork in me 'cuz I'm done... :blush: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Guest Posted March 28, 2009 Share Posted March 28, 2009 The images appear in admin, but they don't appear in the actual store and all the links are broken. They refer to the old domain. I changed both admin/configure.php and includes/configure.php to the new domain name. I'm not sure what's causing this. Please help. Thanks. Double check to make sure when you ftp the configure files (assuming that's what you do) you are sending them to the new server/domain and not the old one. Link to comment Share on other sites More sharing options...
germ Posted March 28, 2009 Share Posted March 28, 2009 I tried, but haven't gotten a PM yet. There are some things you just can't check from looking at the config file. I always say, "One click is worth 1,000 words". If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.