Jarus Posted November 23, 2007 Posted November 23, 2007 Hi all, For a few months I've been mucking around with osC, familiarising myself with it, and getting ready to open 2 online stores up with it. I also just wanted to say thanks to everyone involved and everyone on the forums too, as over the months I have had a few problems pop-up but all have been resolved due to simply searching the forums, except this one unfortunately. I must say also, that I have gone through at least 15 threads via searching the forums for this fix and have tried all mentioned fixes but none have worked yet, and it seems to be an issue that quite a few people have and one of the few that doesn't seem to get resolved often. I will explain the situation: I had this problem previously, and also couldn't find a fix or the actual problem, so I re-installed the store and got it back up and running in no time, without a problem, now the site has been on the back burner for a while now. While I got the site running fine - some issues have delayed getting it up, mainly financial as I am setting the site up for a friend, and he isn't ready to go live yet - not that we would be anyway due to this problem also. After the re-install everything is perfect, I couldn't be happier, love everything about osC, but I cannot for the life of me figure this one out. Up and running fine, images are working, and NOTHING has been changed since it was installed, BUT as I said, as of recently everything has been given the go ahead, to continue work and get the site up and running ASAP, but of course here is the problem: After a break working on the site as I said, anytime in the Admin section now it has the error at the top: Error: Catalog images directory does not exist: /catalog/images/ Now as soon as I saw this the first time I knew something has gone wrong BUT I don't know how or why since NOTHING has been changed since the site was working, and all the previous images display fine! Suddenly something has gone wrong and I cannot understand why, as no files have been modified or anything. Anyway, in spite of this error I tried adding a new product and the image does not work in the admin section, nor the shop front, as you will see by checking out my store. Again NOTHING has been changed/modified since the site was installed and all the first/original images are still working fine. Everything is being done the same way as it originally was, pictures are on my computer and I browse for them, to upload, as you do when adding a product. They are still even in the same location on my computer as when we started. The directory is still the same permissions wise, configure.php files haven't been modified and I've even tried that just to try fixing it (as mentioned in many other threads having the same problem) and it does nothing except add or subtract whatever I modify in the corresponding code. So I've left it how it was. Please this is stressing me out - and I'm sorry if this has been solved before but I was un-successful in finding the thread that contains a fix (for me) and it's causing big delays now in getting the site completely finished, which it is not yet, still some modifications to do regarding layout, and some colours etc. So if someone could have a look at the site and figure out where I've gone wrong, it would be greatly appreciated. As I said, all my previous issues have been solved just searching the forums, but this no matter what I try just won't work. The weird thing is, as I said NOTHING has been changed modified, we simply had to leave the site alone for a little bit, and now came back to finish it up, went into admin, saw the error and was puzzled but tried to add a product anyway, and what you see on the site is the problem, everything else working fine, new product added = broken image. CLICK HERE TO VIEW MY WEB-SITE It's the Protein (I know it's misspelt) under "New products for November" if you right-click I just noticed, it isn't even linking the filename of the image, but the correct directory it seems. Here are my configure.php files, obviously without my db details. ADMIN - CONFIGURE.PHP <?php define('HTTP_SERVER', 'http://www.yourbodyplace.com.au'); define('HTTP_CATALOG_SERVER', 'http://www.yourbodyplace.com.au'); define('HTTPS_CATALOG_SERVER', 'https://www.yourbodyplace.com.au'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/catalog/'); define('DIR_WS_ADMIN', '/catalog/admin/'); define('DIR_FS_ADMIN', '/catalog/admin/'); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', '/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/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'BLABLABLA'); define('DB_SERVER_PASSWORD', 'BLABLABLA'); define('DB_DATABASE', 'BLABLABLA'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> ---------------- CATALOG/INCLUDES - CONFIGURE.PHP <?php define('HTTP_SERVER', 'http://www.yourbodyplace.com.au'); define('HTTPS_SERVER', 'https://www.yourbodyplace.com.au'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'http://www.yourbodyplace.com.au'); define('HTTPS_COOKIE_DOMAIN', 'https://www.yourbodyplace.com.au'); 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', 'catalog/'); 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', 'BLABLABLA'); define('DB_SERVER_PASSWORD', 'BLABLABLA'); define('DB_DATABASE', 'BLABLABLA'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> I am desperate to try and fix this by the coming Monday as to hopefully have everything ready to finalise next week sometime, so any help will be appreciated. Thank you in advance. -------------------------- I just thought I'd post in here while I've made a topic another slight issue I'm having. Is it just me or is it harder than I thought to have actually larger images open when you click "Click to Enlarge" under a product. When I click it, it opens in a new window the same size as the thumbnail, which makes no point in even clicking it, but I can't figure that one out either, I am uploading a larger image and it's resizing it (not to my taste/requirements) as you can see, some of the images look squashed/distorted and it kind of looks a bit un-professional. Unfortunately for me, the graphical side of things is my biggest downfall, I'm not very good with modifying image sizes etc. creating thumbnails that stay in proportion to the original files etc. tried a thumbnail contribution previously with no luck, unfortunately I may have installed it wrong, as it broke ALL images on the site lol so I just thought I'd leave it be for now.
DejaVu Posted November 23, 2007 Posted November 23, 2007 This is a nice easy one! LOL You are really going to kick yourself, but I guess seeing as you left it a while you have a good excuse. You have for some reason, lost your full paths to your directories in your configs. define('HTTP_SERVER', 'http://www.yourdomain.com'); define('HTTP_CATALOG_SERVER', 'http://www.yourdomain.com'); define('HTTPS_CATALOG_SERVER', 'http://www.yourdomain.com'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/full/path/to/your/htdocs/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', '/full/path/to/your/htdocs/admin/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/full/path/to/your/htdocs/htdocs/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/'); That'll sort it. To find the full path I use phpinfo() in a PHP file to find the document root and work it out from there. Hope that helps. ;) As a side note I believe FS in the variable is refering to a (F)ull (S)ystem Path. (That was ripped from my config 2 minutes ago!) ;)
Jarus Posted November 23, 2007 Author Posted November 23, 2007 OMG! Thank you so much DejaVu you are an absolute lifesaver! THANK YOU!!!!! I have been up for so many hours since last night (now 4:15PM here) trying to find/fix this problem... and yeah I am kicking myself now, BUT I wouldn't have figured that out if you didn't point it out so thank you so much my god it feels like an olympic barbell with 4 plates on it has been lifted from my shoulders, geez this is such a relief you don't know :) Thank you so much, and again osC has come through with the goods! I love you all! :) The fact is, I have seen many more negative posts recently about this beautiful software, and I cannot see the reason for it - I mean I had this little issue but that is all that has gone wrong, I had a few things go wrong previously but nearly everything has been something I have most likely messed up somehow and I think people just get much more frustrated than me and kick it in lol, really I think anyone that hasn't had any experience with this needs to set up a test shop before creating there live version, just to get the hang of things. I was pretty overwhelmed when I first started with osC but now, after messing about a bit I can setup a store in no time without a hitch, and I think the people that have had problems, if it's gotten that bad, just try re-installing the shop, and see how you go, because you really can't go wrong! Sorry for the rant, but yeah I just think it's amazing that we have access to osC for FREE god damn it, that's too nice.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.