gnuffo1 Posted December 12, 2005 Posted December 12, 2005 But it means that I cannot add new products with images. I've checked the permissions of the images folder and it is 777, which is what it is supposed to be. Also, there is no .htaccess file in the images folder, which is how it is supposed to be. What is wrong? btw my site is www.sentinel-technology if that helps at all
Guest Posted December 12, 2005 Posted December 12, 2005 But it means that I cannot add new products with images. I've checked the permissions of the images folder and it is 777, which is what it is supposed to be. Also, there is no .htaccess file in the images folder, which is how it is supposed to be. What is wrong? btw my site is www.sentinel-technology if that helps at all Can't get your link to work, tried both com and net. But just to throw out there since I had a similiar problem last week, make sure your path is catalog/images and not catalog/catalog/images or however you have it set. Just check for that double folder. It can be easy to miss. Did that when I did a modification last week, took me a while to figure it out too lol. Hope that helps.
gnuffo1 Posted December 12, 2005 Author Posted December 12, 2005 whoops, its .co.uk sorry about that.
AlanR Posted December 12, 2005 Posted December 12, 2005 What do you have for DIR_FS_DOCUMENT_ROOT in admin/includes/configure.php? Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
gnuffo1 Posted December 12, 2005 Author Posted December 12, 2005 Right, I think I've figured it out. The local path on the server that my site is installed is in home/gnuffo1/public_html but for some reason the images are trying to be accessed from home2/gnuffo1/public_html, which is where the error message is trying to get the from. It works from the acutal catalogue because the images are still in the images folder relative to the URL, but it means the server can't find the images folder on its hard drive. All I need to do is find which file stores the path to the image file and change it from home2 to home. I've changed the entry in includes/configure.php from: define('DIR_FS_CATALOG', '/home2/gnuffo1/public_html/shop1/'); to: define('DIR_FS_CATALOG', '/home/gnuffo1/public_html/shop1/'); but this hasn't done anything at all. The error message still says home2, not home.
gnuffo1 Posted December 12, 2005 Author Posted December 12, 2005 OK, I've done the other configure.php in admin/includes and that's fixed it, thanks. The whole thing must have been my host's fault, changing the servers round or something.
Guest Posted December 12, 2005 Posted December 12, 2005 Did you change the configure.php in admin/includes too? Right, I think I've figured it out. The local path on the server that my site is installed is in home/gnuffo1/public_html but for some reason the images are trying to be accessed from home2/gnuffo1/public_html, which is where the error message is trying to get the from. It works from the acutal catalogue because the images are still in the images folder relative to the URL, but it means the server can't find the images folder on its hard drive. All I need to do is find which file stores the path to the image file and change it from home2 to home. I've changed the entry in includes/configure.php from: define('DIR_FS_CATALOG', '/home2/gnuffo1/public_html/shop1/'); to: define('DIR_FS_CATALOG', '/home/gnuffo1/public_html/shop1/'); but this hasn't done anything at all. The error message still says home2, not home.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.