Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image folder doesn't exist but it does


ardesjo

Recommended Posts

Hello,

in my admin when I want to add a product it now says something about image folder not existing /shop/catalog/images/ . It does and it's 777 CHMOD:ed... what can I do? :blink:

 

It looks like you changed the directory name from /osCommerce to /shop. I did something similar but what I did was pull my /catalog out of the /osCommerce folder so it was just /catalog/xxxx. The problem with doing this is that the configure.php file looks for them in the original place. Find this file and change your directory settings. This should fix the problem.

Link to comment
Share on other sites

It looks like you changed the directory name from /osCommerce to /shop. I did something similar but what I did was pull my /catalog out of the /osCommerce folder so it was just /catalog/xxxx. The problem with doing this is that the configure.php file looks for them in the original place. Find this file and change your directory settings. This should fix the problem.

 

Thanks, but I think they're like they should :(

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://handin.scrappa.mine.nu'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://handin.scrappa.mine.nu');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/shop/catalog/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/shop/catalog/admin/'); // absolute path required
 define('DIR_FS_ADMIN', 'shop/catalog/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/shop/catalog/'); // absolute path required
 define('DIR_FS_CATALOG', '/shop/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/');

Link to comment
Share on other sites

The shop works fine, with the old pictures. This happened when I moved it I guess.

So there something wrong when it comes to upload pictures to the right folder.

 

Any ideas? Please :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...