Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changed my upload directory somehow.


Aye Poppin

Recommended Posts

Not sure how I did it but how do I change it back-lol I know thats kinda general but I added my SSL and now I can't upload product images.

check on your includes/configure.php

Link to comment
Share on other sites

This is what it looks like.

  define('HTTP_SERVER', 'http://www.ayepoppintees.com/'); // eg, http://localhost - should not be empty for productive servers 
 define('HTTPS_SERVER', 'https://dlphost-secure.net/ayepoppintees/'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'ayepoppintees.com');
 define('HTTPS_COOKIE_DOMAIN', 'dlp-secure.net/ayepoppintees');
 define('HTTP_COOKIE_PATH', '');
 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('TITLE', 'AyePoppinTees');

 

I've changed things here and there. I either lose the site or my admin section-needless to say I'm confused.Maybe I should change the top line and leave it blank?

Link to comment
Share on other sites

define('HTTP_SERVER', 'http://www.ayepoppintees.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://dlphost-secure.net/ayepoppintees'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'ayepoppintees.com');

define('HTTPS_COOKIE_DOMAIN', 'dlphost-secure.net/ayepoppintees');

define('HTTP_COOKIE_PATH', '/');

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('TITLE', 'AyePoppinTees');

 

i assumed its in your root folder so i used / in the bold areas

Link to comment
Share on other sites

Found it!

 

define('DIR_FS_CATALOG', '/home/httpd/vhosts/ayepoppintees.com/httpdocs/');

 

I had catalog after httpdocs. Big mistake!

 

Curious, my uploaded(category & prod) images keep going to Catalog/Admin/Images/ , despite my below lines:

 

define('DIR_FS_CATALOG', '/home/domain/public_html/'); // absolute path req

 

define('DIR_FS_CATALOG_IMAGES', 'images/');

 

Any suggestions how I can correct this, to get them to upload directlly to the '/images/' folder?

Link to comment
Share on other sites

define('DIR_FS_CATALOG', '/home/domain/public_html/'); // absolute path req

 

there are two copies of the configure.php file. one in catalog/includes/ and another in catalog/admin/includes. the one in admin is used by the admin code when uploading the product images. make sure these both point to the same place.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...