Guest Posted September 26, 2003 Share Posted September 26, 2003 I'm using the WYSIWYG HTMLArea MS2 v1.7 contribution. The pictures do not load under the "image manager" when you try to add a picture for a 'category image' or 'product image'. I realize the pictures path is somewhere in the code but I don't know how to change it or what to look for. Please help. Below are the settings I have under ...catalog/admin/includes/configure.php define('HTTP_CATALOG_SERVER', 'http://www.theorientalmart.com'); define('HTTPS_CATALOG_SERVER', 'https://host98.ipowerweb.com/~theorien'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/home/theorien/public_html/catalog/'); define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/theorien/public_html/catalog/admin/'); define('DIR_WS_CATALOG', '/~theorien/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/theorien/public_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/'); Quote Link to comment Share on other sites More sharing options...
Guest Posted September 27, 2003 Share Posted September 27, 2003 Hi, I had to chmod the images/options folder to 777 and the images still were not showing up but the images were there so I chmod one image to 777 and it showed up. Then, I did some testing on the images after the first one and they started showing up fine without changing the permissions. Then I went back to the first image and change the permissions back to the original one and the image was still showing up. I couldn't figure it out but at least the images are showing up in the admin when you upload one. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 29, 2003 Share Posted September 29, 2003 Can anyone help on this? I'm still having problems. The last post didn't solve anything. You can see what I'm talking about by going to the link below and trying to add a "category image"...the images in the "image editor" don't show up. https://host98.ipowerweb.com/~theorien/cata...baf3fdcc81ea07a Please help. Thanks, Ryan Quote Link to comment Share on other sites More sharing options...
jello1 Posted September 29, 2003 Share Posted September 29, 2003 The problem is the "s" in https:// the image mgr is calling the http:// url not the https:// fix this in your image mgr config Quote <span style='font-family:Courier'>If you can't fix it Perl it!!!...</span> ****************************** Link to comment Share on other sites More sharing options...
Guest Posted September 29, 2003 Share Posted September 29, 2003 jello1, I figured it was serving up the wrong url. Where do I find the image mgr config? Thanks, Ryan Quote Link to comment Share on other sites More sharing options...
jello1 Posted September 29, 2003 Share Posted September 29, 2003 why are you using the secure url for your admin?. you don't need to do this. Quote <span style='font-family:Courier'>If you can't fix it Perl it!!!...</span> ****************************** Link to comment Share on other sites More sharing options...
Guest Posted September 29, 2003 Share Posted September 29, 2003 My customer ask for a secure connection in the admin area. I could see why they would need it. For example, the customers are listed in the admin section. Do you see a reason not to? I'm trying to edit the config file you mentioned. I'm trying to work with the config.inc.php file located: /catalog/admin/htmlarea/popups/config.inc.php ..and change the following code piece: // IMAGE_DIR and IMAGE_URL identify the Image directory "root" (MUST end in "/") // Do NOT include "http://my.hostname.com" in IMAGE_URL; just the path from the // DocumentRoot of your webserver. define("IMAGE_DIR", trim(DIR_FS_CATALOG . DIR_WS_IMAGES)); define("IMAGE_URL", trim(DIR_WS_CATALOG_IMAGES)); I'm trying to change it to: // IMAGE_DIR and IMAGE_URL identify the Image directory "root" (MUST end in "/") // Do NOT include "http://my.hostname.com" in IMAGE_URL; just the path from the // DocumentRoot of your webserver. //define("IMAGE_DIR", trim(DIR_FS_CATALOG . DIR_WS_IMAGES)); define("IMAGE_DIR", trim('/home/theorien/public_html/catalog/images/')); //define("IMAGE_URL", trim(DIR_WS_CATALOG_IMAGES)); define("IMAGE_URL", trim('/home/theorien/public_html/catalog/images/')); I'll let you know if this makes a difference. Thanks for your help. Quote Link to comment Share on other sites More sharing options...
jello1 Posted September 29, 2003 Share Posted September 29, 2003 Ryan, http://theorientalmart.com/catalog/admin/c...n=edit_category use the above url and look. this is how it should be not the secure set your config file not to use the secure server for admin Quote <span style='font-family:Courier'>If you can't fix it Perl it!!!...</span> ****************************** Link to comment Share on other sites More sharing options...
jello1 Posted September 29, 2003 Share Posted September 29, 2003 Ryan, your customer might want a password access to the admin not a 128 bit secure link. there is no reason to send them to a secure link. just lock down the admin dir with .htacces Quote <span style='font-family:Courier'>If you can't fix it Perl it!!!...</span> ****************************** Link to comment Share on other sites More sharing options...
Guest Posted September 29, 2003 Share Posted September 29, 2003 ...but there's no security that way, right? I don't see the 'lock' at the bottom showing 128bit encryption. I could set my config file to use the non-secure server for the admin area; however, the customer would like to see it secure...must be a psychological thing. Still not having any luck tweeking the config.inc.php file I noted in my earlier post. Advice? PS..you're the best for trying to help me. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 29, 2003 Share Posted September 29, 2003 Just saw your last post, you're probably right. I'm going to try to lock down the admin area with .htaccess. Are there any threads that show how to do this? I've never done it before. Thanks, Ryan Quote Link to comment Share on other sites More sharing options...
jello1 Posted September 29, 2003 Share Posted September 29, 2003 Well if they must see the lock. just put a lock image on the admin page. it's that easy. use .htaccess to lock (password protect) down the dir. there is really no need to use 128 bit on the admin area. 128 bit is used to encrypt cc and pass info from the no secure to the secure server. and you will also see a increase in speed with out the 128 bit. Quote <span style='font-family:Courier'>If you can't fix it Perl it!!!...</span> ****************************** Link to comment Share on other sites More sharing options...
jello1 Posted September 29, 2003 Share Posted September 29, 2003 I just went to your host here is the link to set up a secure dir http://www.ipowerweb.com/tutorials/cpanel_...ppdirectory.htm this should do it for you ps nice layout. are you using BST or STS? Quote <span style='font-family:Courier'>If you can't fix it Perl it!!!...</span> ****************************** Link to comment Share on other sites More sharing options...
jello1 Posted September 29, 2003 Share Posted September 29, 2003 I see that you are using the nosecure link..... well done. now the image mgr works!. good luck Quote <span style='font-family:Courier'>If you can't fix it Perl it!!!...</span> ****************************** Link to comment Share on other sites More sharing options...
Guest Posted September 29, 2003 Share Posted September 29, 2003 jello1 - thanks again for your help. I'll try .htaccess to see if they're satisfied with that. Why the images won't show up under the 'image manager' when I make the site secure is still a conundrum to me and I'd like to figure it out. The best guess I have is to change the config.inc.php file (/catalog/admin/htmlarea/popups/config.inc.php). If anyone has advice or knows how to rectify this let me know. oh yeah, not sure what sts vs. bst is. They are Berkely servers though if that answers your question. Quote Link to comment Share on other sites More sharing options...
jello1 Posted September 29, 2003 Share Posted September 29, 2003 Ryan, Use this link to your store http://www.theorientalmart.com/catalog/adm...n=edit_category I can see the images just fine. it's working the way it should. click on any image in the image mgr and you will see the image appear on the right. Quote <span style='font-family:Courier'>If you can't fix it Perl it!!!...</span> ****************************** Link to comment Share on other sites More sharing options...
Guest Posted September 29, 2003 Share Posted September 29, 2003 jello1, yep - it works alright, thanks. I had it to this point before I tried to make everything secure. I tried to secure the entire site but the only hurdle I couldn't get past was bringing up the images in the 'image manager' like I mentioned. Not being able to figure that out still bugs me, I wish I knew how to fix it. Quote Link to comment Share on other sites More sharing options...
Guest Posted October 4, 2003 Share Posted October 4, 2003 Can someone please tell me where I screwed up to get this mess Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.