Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Modules in Admin Page don't show up


betta4ucom

Recommended Posts

I've just installed OSC on my website, a problem encountered in the admin page,

 

this showing up when clicking on Payment Modules

Module Directory: DIR_FS_CATALOG_MODULESpayment/

 

Same to the Shipping Modules

Module Directory: DIR_FS_CATALOG_MODULESshipping/

 

and also Order Total,

Module Directory: DIR_FS_CATALOG_MODULESorder_total/

 

What should I do to correct this?

 

Millions thanks for any help.

 

rgds

Bobby

Link to comment
Share on other sites

looks like you are missing a define in your configure.php file

 

  define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

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

I also have this problem on a fresh install, nothing I have ever encountered before when using osC, however the suggested solution isn't working for me.

 

Initially I had the same text as betta4ucom posted originally, now I have:

 

Module Directory: /home/n15luvd/public_html/vw/admin/includes/modules/payment/

 

anybody have any idea what could be causing this and anymore suggestions on how to fix?

Link to comment
Share on other sites

Pete...

thanks for taking the time to reply but I don't see what that has to do with the problem in hand?

 

 

back to the topic....

 

I have seen a couple of threads regarding this but none with solutions that work for me as the suggested code to edit in configure.php is not what I have.

 

This is my configure.php code (database section omitted)

 

<?php
/*
 $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 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://www.luvdub.com/vw'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://luvdub.com/vw'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', false); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_luvdub.com', 'www.luvdub.com');
 define('HTTPS_COOKIE_luvdub.com', 'www.luvdub.com');
 define('HTTP_COOKIE_PATH', '/vw/');
 define('HTTPS_COOKIE_PATH', '/vw/');
 define('DIR_WS_HTTP_CATALOG', '/vw/');
 define('DIR_WS_HTTPS_CATALOG', '/vw/');
 define('DIR_WS_ADMIN', '/admin/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 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_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');
 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// protected since inside docroot instead of outside to facilitate addon installer
 define('DIR_FS_WORK', '/home/n15luvd/public_html/vw/admin/_work/'); 

// define our database connection
?>

Link to comment
Share on other sites

I know that the admin call needs taking out of the module directory

 

Module Directory: /home/n15luvd/public_html/vw/admin/includes/modules/payment/

 

 

I just can't see in my configure.php code how to do this

Link to comment
Share on other sites

my configure.php file had missing defines which i had to add to make the modules show up... still having probs with no backup directory but sure i'll figure it out

 

change these

 

define('HTTP_SERVER', 'http://www.luvdub.com/vw'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://luvdub.com/vw');

 

to be

 

define('HTTP_SERVER', 'http://www.luvdub.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://luvdub.com');

 

for the backup directory create a folder called backups in the admin and chmod it to 777 for permissions

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

Thanks everyone for helping.

 

I've done it by simply replacing the following codes,

 

define('HTTP_SERVER', 'http://rsgcraft.com/shop'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://rsgcraft.com/shop'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'rsgcraft.com');

define('HTTPS_COOKIE_DOMAIN', 'rsgcraft.com');

define('HTTP_COOKIE_PATH', '/shop/');

define('HTTPS_COOKIE_PATH', '/shop/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

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

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

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_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

with the following codes,

 

define('HTTP_SERVER', 'http://rsgcraft.com/shop'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://rsgcraft.com');

define('HTTPS_SERVER', 'https://rsgcraft.com/shop'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

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

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

define('DIR_WS_CATALOG', '/shop/');

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

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/');

 

and its ok now.

Link to comment
Share on other sites

  • 3 weeks later...

The (default) modules for Payment and Shipping are showing alright in my admin modules panel. However the Order Total modules dir is entirely empty (that is, not even the default ones are being shown). Needless to say if I try to install new Order Total modules they do not show up either.

 

I figured it has to do with configure.php (but then again, why Payment and Shipping show up but Order Total doesn't?!). The current file (without the database part) looks like this:

 

define('HTTP_SERVER', 'http://teakme.nl');

define('HTTPS_SERVER', 'http://teakme.nl');

define('ENABLE_SSL', 'false');

define('HTTP_COOKIE_DOMAIN', 'teakme.nl');

define('HTTPS_COOKIE_DOMAIN', 'teakme.nl');

define('HTTP_COOKIE_PATH', '/./');

define('HTTPS_COOKIE_PATH', '/./');

define('DIR_WS_HTTP_CATALOG', '/./');

define('DIR_WS_HTTPS_CATALOG', '/./');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

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_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

Should I change it in some other way or so?

 

Thanks beforehand,

 

Robbin

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...