azbrat3 Posted November 20, 2008 Share Posted November 20, 2008 I recently changed hosting providers, loaded the files and the new db. so everything is setup there. I changed catalog/includes/configure.php and anyways I have broken image links on https://castbakery.com/catalog/ I have been looking on this forum searching for a couple hours now in various threads. Please help! -- thanks in advance. oh yea my permissions are set 777 on the images folder and directory. here is my configure.php define('HTTP_SERVER', 'http://castbakery.com'); define('HTTPS_SERVER', 'https://castbakery.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', '.castbakery.com'); define('HTTPS_COOKIE_DOMAIN', '.castbakery.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/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/content/c/b/m/cbmain/html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); here is my admin/includes/configure.php define('HTTP_SERVER', 'http://castbakery.com'); define('HTTP_CATALOG_SERVER', 'http://castbakery.com'); define('HTTPS_CATALOG_SERVER', 'https://castbakery.com'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/home/content/c/b/m/cbmain/html/catalog/'); define('DIR_WS_ADMIN', '/catalog/admin/'); define('DIR_FS_ADMIN', '/home/content/c/b/m/cbmain/html/catalog/admin/'); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', '/home/content/c/b/m/cbmain/html/catalog/'); 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/'); Link to comment Share on other sites More sharing options...
germ Posted November 20, 2008 Share Posted November 20, 2008 Might be the same thing as this : Click me And with folder permissions at 777 it's only a matter of time till you get hacked. It's just a question of when, and how bad... :o Folder permissions should not be higher than 755 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...
azbrat3 Posted November 20, 2008 Author Share Posted November 20, 2008 Might be the same thing as this : Click me And with folder permissions at 777 it's only a matter of time till you get hacked. It's just a question of when, and how bad... :o Folder permissions should not be higher than 755 I set it only to 777 because I read that thread already and was awaiting a fast response from you!! Thanks btw :P I did change the permissions on the images folder to 755 but still no luck with them loading. Link to comment Share on other sites More sharing options...
azbrat3 Posted November 20, 2008 Author Share Posted November 20, 2008 just a update, i confirmed with my hosting provider that they do not have any hotlinking protection setup on the hosting account. thanks again for the help, but it was my fault, had a issue with my .htaccess Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.