design pros Posted April 11, 2005 Posted April 11, 2005 Can anyone please help me with this issue? I installed the oscommerce store with no problems, I login to the Admin Panel and try to add a new product but the image I try and upload for the product says IMAGE DOES NOT EXIST. I have followed all the directions and CHMOD the image directory to 777. Still getting the same thing, any help would be greatly appreciated!!! Thanks
♥Vger Posted April 11, 2005 Posted April 11, 2005 If you are using the Browse function to locate the image on your hard drive at the time that you add the product to your catalogue then I just don't see how you can get the error 'Image Does Not Exist'. Are you uploading the images seperately via FTP? Vger
design pros Posted April 11, 2005 Author Posted April 11, 2005 I'm using the BROWSE function while adding the product, which I try to upload from my computer. Then it says IMAGE DOES NOT EXIST when I preview. I'm assuming maybe its just not uploading the image to the server. I've checked with my host and the PHP upload function is turned on so it must be within the installation that causes it. Any suggestions???
♥Vger Posted April 11, 2005 Posted April 11, 2005 Is the image appearing on the website, just not appearing when you view Preview? If so, go to Configuration --> Images in osC 'admin' and check that Image Required is set to True Vger
design pros Posted April 11, 2005 Author Posted April 11, 2005 The image doesnt show up on the store at all, its just broken, its not uploading the image it seems, when i right click on the broken image it doesn't show the image was uploaded.
♥Vger Posted April 11, 2005 Posted April 11, 2005 It sounds like your includes/configure.php file is not set up correctly. The path to images should be 'images/' and nothing else. Vger
design pros Posted April 11, 2005 Author Posted April 11, 2005 Can you copy and paste how the entire configure.php should be correctly edited? Thanks
design pros Posted April 12, 2005 Author Posted April 12, 2005 It keeps saying No File Uploaded at the top error message of the admin.
design pros Posted April 12, 2005 Author Posted April 12, 2005 http://www.pbk1.com/catalog/admin/ Go in and see if you can take a look at it for me and find out whats wrong, I assume everything is correct? Thanks
Guest Posted April 12, 2005 Posted April 12, 2005 post your configure.php file here, without the database connection info. everyone's configure.php is different, hence you need to post yours.
design pros Posted April 12, 2005 Author Posted April 12, 2005 <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 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://www.pbk1.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.pbk1.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/catalog/'); // absolute path required 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/'); ?> Thats the configure.php file located in /catalog/admin/includes
Guest Posted April 12, 2005 Posted April 12, 2005 here, i will post it for you. to show you how vulnerable you are, in posting what you did. I can get full access to your server by doing things like this. i will not post the database info tho. i suggest you go change the passwords on the database and password protect your admin area. <?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://www.pbk1.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', 'www.pbk1.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/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', '/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); i did change your document root path, go to tools in the admin, server info and search for document_root
design pros Posted April 12, 2005 Author Posted April 12, 2005 what do you want me to do with that? i'm aware of the security risk, this is a beta site which will be removed after i figure out this bug with the images
Guest Posted April 12, 2005 Posted April 12, 2005 i made a change in your document root, which is very strange, it is in the root and no site should ever be in the root directory. this could be causing some of your problems too.
design pros Posted April 12, 2005 Author Posted April 12, 2005 any idea why the images aren't uploading?
Guest Posted April 12, 2005 Posted April 12, 2005 yes, you have a document root problem, starting with the server setup. once you get that fixed, then you can fix oscommerce. it is not an oscommerce problem.
design pros Posted April 12, 2005 Author Posted April 12, 2005 any way you can fix it for me? or tell me what i need to do?
Guest Posted April 12, 2005 Posted April 12, 2005 The following constants are wrong: DIR_FS_DOCUMENT_ROOT DIR_FS_ADMIN DIR_FS_CATALOG You'll need to enter the appropriate server paths.
design pros Posted April 12, 2005 Author Posted April 12, 2005 i'm using yahoo web hosting and i cant find the server paths? anyone know it by chance?
Guest Posted April 12, 2005 Posted April 12, 2005 Yes... You have a very strange server path. If this is a new installation, try setting it up again. And try to keep the default configurations.
design pros Posted April 12, 2005 Author Posted April 12, 2005 thats what i just did with that install, im lost this is a pain in the a**!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.