Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't see pics in admin


Blowin

Recommended Posts

Posted

Hello...

 

I was having a problem with being redirected and was told to move all of my folders to my root directory, which I did and it did solve the problem of the redirection. However, it created a new problem in that I can't see any pictures in my admin now. I'm not sure where to go to fix this. Any help would be greatly appreciated.

 

P.S. talk to me like I'm 5...I'm not a total techie!

Posted

a is for apple

b is for banana

c is for configure file - check those.

Your online success is Paramount.

Posted

Funny...however, I'm not real sure what I'm looking for. I've looked at the config file a couple of times and have tried to change things but nothing I've tried is working...

Posted

I honestly don't see where it would be in the config file. The pictures that are missing are my product images...so when I add a new product, I can't see the pic in admin...just get the box with the red X...is that a config file problem or something else?

Posted

If you have moved the files to root then you need to make the paths in the configure.php files reflect the changes made thus if you were in catalog before and are now in root remove catalog from the paths in the configure.php files

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

Ok...that's a start...thanks for that. I am a techno dumbarse...am I changing this in the admin>config file? I don't see where there's a path to the images in this file.

Posted

Ok...I think I've found the right config file. Can someone please tell me which line I need to change to make my product images show up in the admin again? I don't see "catalog" in any of the paths, but it still isn't working...

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

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

Posted
define('DIR_WS_CATALOG', '/home/blowinin/public_html/');

should be

define('DIR_WS_CATALOG', '/');

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Archived

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

×
×
  • Create New...