BlazeAlmighty Posted March 17, 2006 Posted March 17, 2006 Hey Guys, I have searched the fourms and cant find the answer anywhere. The images are showing up for the example products but when I add a new product I cant get the images to work. If someone could walk me through it I would really appreciate it. I tryed to upload it using the page part that says image product image: using the browse button but when i go to the preview page it says Warning: No file uploaded. Can someone help me?? I really need to get this running ASAP.
mtechama Posted March 17, 2006 Posted March 17, 2006 what is your web addy? Wade Morris Amarillo, Texas Before you do any changes on your site you need to do BACKUP! BACKUP!
BlazeAlmighty Posted March 17, 2006 Author Posted March 17, 2006 www.brinee.com I only have one pic showing that is broken link
mtechama Posted March 17, 2006 Posted March 17, 2006 The way I see it that the image(s) has not been uploaded Wade Morris Amarillo, Texas Before you do any changes on your site you need to do BACKUP! BACKUP!
BlazeAlmighty Posted March 17, 2006 Author Posted March 17, 2006 What do you mean, I keep trying to add it and I have tryed to at it from my harddrive and set it to show from the web were I added the image and nothing
mtechama Posted March 17, 2006 Posted March 17, 2006 ok ther is one possibility that your configuration could be wrong in your: (catalog)/includes/configure.php look for this: define('DIR_WS_IMAGES', 'images/'); and tell me what is your settings? Wade Morris Amarillo, Texas Before you do any changes on your site you need to do BACKUP! BACKUP!
BlazeAlmighty Posted March 17, 2006 Author Posted March 17, 2006 What i found is at /osc/includes/configure.php This is what it says: define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/cgi/osc/'); define('DIR_WS_HTTPS_CATALOG', ''); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); I just copied a section out of it.
mtechama Posted March 17, 2006 Posted March 17, 2006 What i found is at /osc/includes/configure.php This is what it says: define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/cgi/osc/'); define('DIR_WS_HTTPS_CATALOG', ''); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); I just copied a section out of it. change this define('DIR_WS_HTTP_CATALOG', '/cgi/osc/'); to this define('DIR_WS_HTTP_CATALOG', ''); and see what happens Wade Morris Amarillo, Texas Before you do any changes on your site you need to do BACKUP! BACKUP!
mtechama Posted March 17, 2006 Posted March 17, 2006 ok change it back to the original settings define('DIR_WS_HTTP_CATALOG', '/cgi/osc/'); ok what is the settings here: define('HTTP_SERVER', 'http://www.yourdomain.com/catalog'); // eg, http://localhost - should not be empty for productive servers Wade Morris Amarillo, Texas Before you do any changes on your site you need to do BACKUP! BACKUP!
BlazeAlmighty Posted March 17, 2006 Author Posted March 17, 2006 LOL, I guess you saw that, I can tell you in order for the php to work, it has to be in the cgi folder of my web browser.
BlazeAlmighty Posted March 17, 2006 Author Posted March 17, 2006 Heres the entire file sans the passwords and stuff: <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://brinee.8m.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'brinee.8m.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/cgi/osc/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', ''); define('DIR_WS_HTTPS_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', '/www/cgi/osc/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
mtechama Posted March 17, 2006 Posted March 17, 2006 Heres the entire file sans the passwords and stuff: <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright ? 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://brinee.8m.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'brinee.8m.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/cgi/osc/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', ''); define('DIR_WS_HTTPS_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', '/www/cgi/osc/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); ok change this: define('HTTP_SERVER', 'http://brinee.8m.com'); // eg, http://localhost - should not be empty for productive servers tp this:define('HTTP_SERVER', 'http://www.brinee.8m.com/cgi/osc/'); // eg, http://localhost - should not be empty for productive servers I will be watching your site Wade Morris Amarillo, Texas Before you do any changes on your site you need to do BACKUP! BACKUP!
mtechama Posted March 17, 2006 Posted March 17, 2006 ok change this: define('HTTP_SERVER', 'http://brinee.8m.com'); // eg, http://localhost - should not be empty for productive servers tp this:define('HTTP_SERVER', 'http://www.brinee.8m.com/cgi/osc/'); // eg, http://localhost - should not be empty for productive servers I will be watching your site I assumed that didn't work so change it back where it was. Wade Morris Amarillo, Texas Before you do any changes on your site you need to do BACKUP! BACKUP!
BlazeAlmighty Posted March 17, 2006 Author Posted March 17, 2006 Ok i need to CHmod the file but it really didnt seem to change anything, What folder should the images be in?
mtechama Posted March 17, 2006 Posted March 17, 2006 Ok i need to CHmod the file but it really didnt seem to change anything, What folder should the images be in? can you able change it back to this define('HTTP_SERVER', 'http://brinee.8m.com'); // eg, http://localhost - should not be empty for productive servers Wade Morris Amarillo, Texas Before you do any changes on your site you need to do BACKUP! BACKUP!
mtechama Posted March 17, 2006 Posted March 17, 2006 Sorry that I couldn't help you......... maybe someone else may able to help you........I tried Wade Morris Amarillo, Texas Before you do any changes on your site you need to do BACKUP! BACKUP!
BlazeAlmighty Posted March 17, 2006 Author Posted March 17, 2006 Sorry that I couldn't help you......... maybe someone else may able to help you........I tried Thanks for trying
mtechama Posted March 17, 2006 Posted March 17, 2006 Well I am unable to do anything but I have send a message to "enigma1" he may able to help you so you need to very patients Wade Morris Amarillo, Texas Before you do any changes on your site you need to do BACKUP! BACKUP!
BlazeAlmighty Posted March 17, 2006 Author Posted March 17, 2006 Well I am unable to do anything but I have send a message to "enigma1" he may able to help you so you need to very patients no problem, what i can see that it is doing is no matter what i put in it is saying the image location is: /cgi/osi/images/ but no file name. I think it maybe some kind of scripting problem. like a variable is not right or something. Is there a previous version of OScommerce I can download that has no bugs maybe? If not, what is the php file that hold the image locations? Thanks for your help
BlazeAlmighty Posted March 18, 2006 Author Posted March 18, 2006 Ok I have reinstalled the site because I have had no response and here is what is happening: When I go to edit a example product it says underneath the product image text box ooo.gif or whatever the file name maybe. When i leave that as it is, and go to preview, the images go broken link. But when I hit update it goes back to normal with the proper image. It's really weird. Please someone Help!!!!!!!!!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.