waxmus Posted September 24, 2008 Share Posted September 24, 2008 Can anyone help me? I am in the process of adding the content to my OS commerce site and when I am adding a new product I add an image of the product and in the admin section it attaches no problem and uploads all of the information but when I view that product in the actual site it is broken, any ideas? As you can probably tell I am not a web designer so any info on this problem would be greatly appreciated. Thanks...... Link to comment Share on other sites More sharing options...
FIMBLE Posted September 24, 2008 Share Posted September 24, 2008 Hi tim Whats your URL ? Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
PinkPoppy Posted October 1, 2008 Share Posted October 1, 2008 Hello, i get this too http://www.cherylswebdesign.co.uk/catalog/index.php I've put images in images folder uploaded via ftp in binary and in file manager changed permissions, I've looked and looked round these boards but can't seem to find anything! Please help me somebody! The image shows up as there but just as a broken link image ?? Poppy x Link to comment Share on other sites More sharing options...
germ Posted October 1, 2008 Share Posted October 1, 2008 All the "broken" images show up like this in the HTML: http://www.cherylswebdesign.co.uk/catalog/images/ All path... No name! :o In your admin, you need to give it an image there when creating categories and products, and let osC upload instead of uploading yourself via FTP. 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...
PinkPoppy Posted October 2, 2008 Share Posted October 2, 2008 Thanks for your reply Jim, yeah i noticed that too. I've done what you suggested with a new product one that hasn't had the image already uploaded via ftp and it's done the same. You are talking about when you create a new product is says product image, has abox and then a browse button, i find and find the image and then click preview but at the top of the screen it says warning no file uploaded. I try to type in the image box but as soon as i click in it it brings up the browsing box. I tried to add on the filebrowser add on, but didn't have much luck. I might try again though. Have you got any other ideas of what i could try? x Link to comment Share on other sites More sharing options...
germ Posted October 2, 2008 Share Posted October 2, 2008 Well, since it's an admin problem, it could be a configure file problem. Post your /admin/includes/configure.php file BE SURE TO LEAVE OUT THE DATABASE INFO (DB USERNAME/PASSWORD/ETC.) IF IT'S IN THE FILE (USUALLY AT THE BOTTOM). 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...
PinkPoppy Posted October 2, 2008 Share Posted October 2, 2008 Here it is <?php define('HTTP_SERVER', 'http://www.cherylswebdesign.co.uk'); define('HTTPS_SERVER', 'http://www.cherylswebdesign.co.uk'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'www.cherylswebdesign.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'www.cherylswebdesign.co.uk'); 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', '/catalog/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/cherylswebuk/public_html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Link to comment Share on other sites More sharing options...
germ Posted October 2, 2008 Share Posted October 2, 2008 That's the catalog one. It doesn't affect uploading of images. I need to see the one from your admin (see the path specified in my last post). 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...
PinkPoppy Posted October 2, 2008 Share Posted October 2, 2008 Oops my bad Having trouble connecting to my ftp now, will post in a minute when it finally connects Link to comment Share on other sites More sharing options...
PinkPoppy Posted October 2, 2008 Share Posted October 2, 2008 That is that one, It's just in a folder called catalog/admin/includes/configure.php. When i unzipped the package I uploaded the catalog file cos everything was in there ?? So all my osc files are in catalog, is that not right then? Link to comment Share on other sites More sharing options...
germ Posted October 2, 2008 Share Posted October 2, 2008 I hate to rain on your parade, but you've uploaded your catalog configure file into your admin, and now your admin doesn't work. :( 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...
PinkPoppy Posted October 2, 2008 Share Posted October 2, 2008 Ha ha, my bad again. I stuffed something up and have decided to just start again. So when you upload I have a folder called catalog with everything in and a folder called extras, it's just those two isn't it? I'll reinstall it all and see what happens 2nd time round :) wish me luck! Link to comment Share on other sites More sharing options...
satish Posted October 2, 2008 Share Posted October 2, 2008 required image set it to true(probably its false). Also define('DIR_WS_IMAGES', '/catalog/images/'); should be define('DIR_WS_IMAGES', '/images/'); Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
PinkPoppy Posted October 2, 2008 Share Posted October 2, 2008 Required image was set to true and I tried both options. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.