Guest Posted April 15, 2008 Posted April 15, 2008 Hey everyone, I added an add on. File Feature v8. when i try and up load an image i get this Error: destination does not exist. but i can't find anywhere on osC how to fix. can someone please help me out this is where i have the website http://smogunlimited.com/NSCreativeSolutio...?products_id=28 thanks for the help
photofxplus Posted April 15, 2008 Posted April 15, 2008 Its telling you that the file path/directory you are attempting to place the image in is not there. Probably a problem with the path. Is the error displaying the file path you are attempting?? Lloyd
Guest Posted April 15, 2008 Posted April 15, 2008 Its telling you that the file path/directory you are attempting to place the image in is not there. Probably a problem with the path. Is the error displaying the file path you are attempting?? No all it is giving me is Error: destination does not exist. and not the path. is there any way i can find out the path? i am new to osC so i realy don't no anything but i am welling to learn. thanks you the help photofxplus! N
Guest Posted April 16, 2008 Posted April 16, 2008 man i can't find the path. dose anyone know where i can find it?????
dmnalven Posted April 16, 2008 Posted April 16, 2008 Does the add-on have documentation and/or a support thread? Otherwise, contact the author. For ALL problems, please review this link first -> osCommerce Knowledge Base
Guest Posted April 17, 2008 Posted April 17, 2008 Does the add-on have documentation and/or a support thread? Otherwise, contact the author. Ya...it has documentation but it has nothing on what i am getting. Also i tried sending him an email a long long time ago, but guess what. he did not email me back. also there is support of thread but if you look at it i have been posting their for over a year now and i just don't get any help. well i don't know what to do Thanks for the replay dmnalven! flyhighsounds
photofxplus Posted April 17, 2008 Posted April 17, 2008 You can only upload an image on the categories.php page for either product or category image. Such as for categories: Line - 80 $categories_image = new upload('categories_image'); $categories_image->set_destination(DIR_FS_CATALOG_IMAGES); if ($categories_image->parse() && $categories_image->save()) { tep_db_query("update " . TABLE_CATEGORIES . " set categories_image = '" . tep_db_input($categories_image->filename) . "' where categories_id = '" . (int)$categories_id . "'"); } $categories_image->set_destination(DIR_FS_CATALOG_IMAGES); would be the path - DIR_FS_CATALOG_IMAGES Line 318 would be the products image upload. Now look at page 'catalog/admin/includes/configure.php' Line 22 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); Is that right?? Lloyd
photofxplus Posted April 17, 2008 Posted April 17, 2008 You could try this to see the path: Paste this towards the top of the catalog\admin\categories.php page: Below: require('includes/application_top.php'); require(DIR_WS_CLASSES . 'currencies.php'); $currencies = new currencies(); $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : ''); Paste this: /////////////////////////////Temp Insert echo 'path is: ' . DIR_FS_CATALOG_IMAGES . '<br>'; ////////////////////////////////////////////////////////////// Lloyd
Guest Posted April 17, 2008 Posted April 17, 2008 Yes, all the code you put up here is on the pages. I also tried put in echo 'path is: ' . DIR_FS_CATALOG_IMAGES . '<br>'; and it did not show me the path.:( I don't know what to do:( You could try this to see the path:Paste this towards the top of the catalog\admin\categories.php page: Below: require('includes/application_top.php'); require(DIR_WS_CLASSES . 'currencies.php'); $currencies = new currencies(); $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : ''); Paste this: /////////////////////////////Temp Insert echo 'path is: ' . DIR_FS_CATALOG_IMAGES . '<br>'; //////////////////////////////////////////////////////////////
photofxplus Posted April 17, 2008 Posted April 17, 2008 The echo statement should have shown - unless the contribution you installed is displaying a different page for image uploads.. We are talking about you trying to upload an image for a category or product right? When you try to upload an image and get the error - what page are you on? What is the address in your address bar? Lloyd
Guest Posted April 18, 2008 Posted April 18, 2008 I am on this page. http://smogunlimited.com/NSCreativeSolutio...?products_id=28 i am trying to upload an image that the client wants for there business cards or flyer. if you go to the website hit browse then try and upload any image. then you would get Error: destination does not exist. I don't know where the image uploads goes. well the images dose not upload at all tho. huummm I am trying to find out. this is the contribution i added: File Upload .77 (for PA - Option Type Feature). you can find it at this ULR http://addons.oscommerce.com/info/1540 thank you for all your help. N The echo statement should have shown - unless the contribution you installed is displaying a different page for image uploads..We are talking about you trying to upload an image for a category or product right? When you try to upload an image and get the error - what page are you on? What is the address in your address bar?
photofxplus Posted April 18, 2008 Posted April 18, 2008 There is a support forum for this contribution. http://www.oscommerce.com/forums/index.php?showtopic=59589 I browsed thru it and found some topics same as yours.. Lloyd
Guest Posted April 24, 2008 Posted April 24, 2008 Man this sucks!!! i can't get it to work!!!! AAAAAAAAAAAAAAAAA :angry: There is a support forum for this contribution.http://www.oscommerce.com/forums/index.php?showtopic=59589 I browsed thru it and found some topics same as yours..
Guest Posted April 25, 2008 Posted April 25, 2008 This is my code maybe if you see it you would know what to do, I installed the catalog in a folder called print-shop. so it is not called catalog. catalog/admin/includes/configure.php define('HTTP_SERVER', 'http://smogunlimited.com'); define('HTTP_CATALOG_SERVER', 'http://smogunlimited.com'); define('HTTPS_CATALOG_SERVER', 'http://smogunlimited.com'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/home/smogunli/public_html/NSCreativeSolutions/print-shop/'); define('DIR_WS_ADMIN', '/NSCreativeSolutions/print-shop/admin/'); define('DIR_FS_ADMIN', '/home/smogunli/public_html/NSCreativeSolutions/print-shop/admin/'); define('DIR_WS_CATALOG', '/NSCreativeSolutions/print-shop/'); define('DIR_FS_CATALOG', '/home/smogunli/public_html/NSCreativeSolutions/print-shop/'); 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/'); There is a support forum for this contribution.http://www.oscommerce.com/forums/index.php?showtopic=59589 I browsed thru it and found some topics same as yours..
Recommended Posts
Archived
This topic is now archived and is closed to further replies.