Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Modules HELP


MoisesZaragoza

Recommended Posts

Posted

Hey every one I really don?t know what to do.

 

I'm having problem with my Modules

 

When I go to the admin section >> Modules I see the Interface and a Line in the middle that says

 

Module Directory: /c45/max1666/Maximum/zz_oscommerce2/catalog/includes/modules/payment/

 

 

That's the address were the modules are located I all ready Re-uploaded the modules Directory.

 

I also re Uploaded the Admin section to my website.

 

I don?t know what to do.

at the end of the day the code will be good

Posted

Here is my configure.php files for Addmin

<?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://www.maximuminternational.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.maximuminternational.com');
 define('HTTPS_CATALOG_SERVER', 'https://www.maximuminternational.com');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/c45/max1666/Maximum/zz_oscommerce2/catalog/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/Maximum/zz_oscommerce2/catalog/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/c45/max1666/zz_oscommerce2/catalog/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/Maximum/zz_oscommerce2/catalog/'); // absolute path required
 define('DIR_FS_CATALOG', '/c45/max1666/Maximum/zz_oscommerce2/catalog/'); // 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/');

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', CANT TEL');
 define('DB_SERVER_PASSWORD', CANT TEL');
 define('DB_DATABASE', 'CANT TEL');
 define('USE_PCONNECT', 'false'); // use persisstent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

 

 

 

 

Here is my configure.php files for the customes

 

 

<?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://www.maximuminternational.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'http://www.maximuminternational.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.maximuminternational.com/');
 define('HTTPS_COOKIE_DOMAIN', 'www.maximuminternational.com');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');
 define('DIR_WS_HTTP_CATALOG', '/Maximum/zz_oscommerce2/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/Maximum/zz_oscommerce2/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', '/c45/max1666/Maximum/zz_oscommerce2/catalog/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', CANT TEL');
 define('DB_SERVER_PASSWORD', CANT TEL');
 define('DB_DATABASE', CANT TEL'');
 define('USE_PCONNECT', 'false'); // use persisstent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

at the end of the day the code will be good

Posted

Silly question but did you check in admin/includes/languages/(language)/modules.php to see that the define line is like this:

define('TEXT_MODULE_DIRECTORY', 'Module Directory:');

Posted

Ok I downloaded OSC and re installed it.

and it's still not showing the Mods.

 

some ome plese help

at the end of the day the code will be good

  • 4 weeks later...
Posted

check your

define('DIR_FS_CATALOG', '/home/eaglequa/public_html/shop/catalog/')

which is common in my store only to the following line

define('DIR_FS_ADMIN', '/home/eaglequa/public_html/shop/catalog/admin/'); // absolute pate required

I noticed that your code had only a couple of lines in the code that pointed to

'/c45/max1666/Maximum/zz_oscommerce2/catalog/'

 

when I compared it to my own code, sure enough, the common deonominator was the line above, which is some wierd path provided by my server host (wish they woulda told me; what a stab in the dark that was).

 

I think I actually solved this problem long ago but must've gotten the catalog/includes/configure.php, and the catalog/admin/includes folder mixed up. When I posted the right file (with the above change) it worked).

 

Hope I helped.

Archived

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

×
×
  • Create New...