Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No Modules


Guest

Recommended Posts

Setting up a new store and having some problems with the modules.

 

When I go to the modules section I just get:

 

Module Directory: /clientdata/n5200-2-dynamic/m/a/myserver.com/www/catalog/install/templates/pages/../../..//includes/modules/shipping/

 

 

I thought maybe the modules.PHP was looking in the wrong folder so I changed the following code to try fix but all it did was change the above to what ever I edited the code to.

 

if (tep_not_null($set)) {

switch ($set) {

case 'shipping':

$module_type = 'shipping';

$module_directory = DIR_FS_CATALOG_MODULES . 'shipping/'; *CHANGED THESE LINES*

$module_key = 'MODULE_SHIPPING_INSTALLED';

define('HEADING_TITLE', HEADING_TITLE_MODULES_SHIPPING);

break;

case 'ordertotal':

$module_type = 'order_total';

$module_directory = DIR_FS_CATALOG_MODULES . 'order_total/'; *CHANGED THESE LINES*

$module_key = 'MODULE_ORDER_TOTAL_INSTALLED';

define('HEADING_TITLE', HEADING_TITLE_MODULES_ORDER_TOTAL);

break;

case 'payment':

default:

$module_type = 'payment';

$module_directory = DIR_FS_CATALOG_MODULES . 'payment/'; *CHANGED THESE LINES*

$module_key = 'MODULE_PAYMENT_INSTALLED';

define('HEADING_TITLE', HEADING_TITLE_MODULES_PAYMENT);

break;

}

}

 

Anyone able to shed some light on this problem, i've done a search but not come up with anything.

 

Cheers,

Link to comment
Share on other sites

check the paths, as it seems to me they set incorrectly.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

check the paths, as it seems to me they set incorrectly.

 

The code listed above if from a fresh install so i assume it should be correct. I have tried to edit the lines mentioned,

but I've had no luck. all it does if change this :

 

Module Directory: /clientdata/n5200-2-dynamic/m/a/myserver.com/www/catalog/install/templates/pages/../../..//includes/modules/order_total

 

To this:

 

Module Directory: DIR_FS_CATALOG_INCLUDES_MODULESshipping

 

or what ever I change the line to.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...