Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error: destination does not exist.


Guest

Recommended Posts

Posted

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

Posted
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

Posted

man i can't find the path. dose anyone know where i can find it?????

Posted
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

Posted

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

Posted

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

Posted

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>';

//////////////////////////////////////////////////////////////

Posted

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

Posted

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?

Posted

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..

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...