Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Test Server / Admin Module Can't See Directories


hempopotamus

Recommended Posts

I have set up my MAC as a test server as I am going to try to mod my osCommerce install a little bit. Anyhow I can pull up the catalog and the admin section. I have a problem that in the Admin pages it can't seem to see the local directories, ie. images, backup etc. They are all there. My local/configure.php for the Admin module has the following in it.

 

 

define('HTTP_SERVER', 'http://127.0.0.1/~matt/wholesale'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://127.0.0.1/~matt/wholesale');

define('HTTPS_CATALOG_SERVER', 'https://127.0.0.1/~matt/wholesale');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/cdn/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/cdn/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/cdn/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/cdn/'); // absolute path required

define('DIR_FS_CATALOG', '/cdn/'); // 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/');

 

this is essentially how I have set up the local/configure.php for the catalog. Can someone possible tell me what I have wrong in here. Thanks.

Link to comment
Share on other sites

here is one for comparison

  define('HTTP_SERVER', 'http://wolfen2sb');
 define('HTTP_CATALOG_SERVER', 'http://wolfen2sb');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false'); 
 define('DIR_FS_DOCUMENT_ROOT', 'd:/easyphp1-7/www/testweb/'); 
 define('DIR_WS_ADMIN', '/testweb/admin/'); // absolute path required
 define('DIR_FS_ADMIN', 'd:/easyphp1-7/www/testweb/admin/'); 
 define('DIR_WS_CATALOG', '/testweb/'); // absolute path required
 define('DIR_FS_CATALOG', 'd:/easyphp1-7/www/testweb/'); 
 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/');

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.

Link to comment
Share on other sites

in particular pay close attention to these

define('DIR_FS_DOCUMENT_ROOT', 'd:/easyphp1-7/www/testweb/'); 
define('DIR_FS_ADMIN', 'd:/easyphp1-7/www/testweb/admin/'); 
define('DIR_FS_CATALOG', 'd:/easyphp1-7/www/testweb/');

note the use of the drive letter and full path location yours may be c:/cdn/admin/ or something

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.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...