Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't do anything in my Admin


mtechama

Recommended Posts

Posted

I have up loaded my store on my test site. I know that the setting are deferrent than on my live store. I always do this before update my store or stores and I am unable to get to my shipping and payment. Also in File manage its says this:

 

Warning: dir(/home/content/m/o/r/morristech/html/giftshop/): failed to open dir: No such file or directory in /home/content/m/t/e/mtechamatest/html/giftshop/admin/file_manager.php on line 178

 

Fatal error: Call to a member function on a non-object in /home/content/m/t/e/mtechamatest/html/giftshop/admin/file_manager.php on line 179

 

 

And in my Modules (Shipping and Payment) its say this:

 

Module Directory: /home/content/m/o/r/morristech/html/giftshop/includes/modules/payment/

 

here is my Admin Configure.php:

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

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Posted

Your answer is here:

Warning: dir(/home/content/m/o/r/morristech/html/giftshop/): failed to open dir: No such file or directory in /home/content/m/t/e/mtechamatest/html/giftshop/admin/file_manager.php on line 178

 

You have the wrong path set in your configure.php file. Change them to:

/home/content/m/t/e/mtechamatest/html/giftshop/

Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Posted

Change

 define('DIR_WS_ADMIN', '/giftshop/admin/')

 

to

 define('DIR_WS_ADMIN', '/admin/')

You already defined the /giftshop/ part when you defined where the catalog is.

Posted

I'm pretty sure that in the code, the admin directory is never referenced as DIR_WS_CATALOG . DIR_WS_ADMIN. His setup is correct.

Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Posted

change:

 

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

 

to:

 

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

 

and also change:

 

define('DIR_FS_CATALOG', '/home/content/m/o/r/morristech/html/giftshop/'); // absolute path required

 

to:

 

define('DIR_FS_CATALOG', '/home/content/m/o/r/morristech/html/'); // absolute path required

Archived

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

×
×
  • Create New...