Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

images not uploading


toolman

Recommended Posts

Hi there,

 

I have recently moved my store to a new server, but for some reason the images are not uploading. I have edited the configure.php file in admin, so the files should be uploading, but they are not. The image just has a red x in it, but if I right click and look at properties, it shows the correct location of the image.. mysite.com/images/image.jpg but it is not in the images folder. I have chmoded the images folder to 77 but still no luck,

 

This is my configure file.

Note: my store is located in a store folder. For example: http://www.mywebsite.com/store

 

Any ideas why this is not working?

 

define('HTTP_SERVER', 'http://www.mywebsite.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.mywebsite.com');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', 'store/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/store/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/store/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', ''); // absolute path required
 define('DIR_FS_CATALOG', ''); // absolute path required
 define('DIR_WS_IMAGES', 'images/'); //admin 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/');

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...