Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Modules not showing up in admin section


5-Squared

Recommended Posts

Hi,

 

I am new to OSCommerce so please bear with me if I'm not using correct terminology. I moved my clients store from one server to another. I made the necessary changes to the config.php files, and was able to get the store up and running on the new server.

 

I am running into issues with my modules (mainly STS module). I have followed all of the installation instructions. When I log into the admin and go to Modules > STS, all that shows is the path to the module: Module Directory: /catalog/includes/modules/sts/. When I click the 'install module' link nothing happens. This same thing is happening with all of my modules.

 

I've been googling for hours and have not been able to figure out what I'm doing wrong. I'm thinking perhaps my config files are not set up 100% correctly. Any advice anyone has for me is greatly greatly appreciated. I have posted my two configure files below. Please note that we have not pointed heir domain to the new server yet, so the store is accessed by visiting: http://66.147.244.193/~jandijew/catalog

 

 

Here are my files:

catalog/includes/configure.php:

 

<?php

define('HTTP_SERVER', 'http://66.147.244.193/~jandijew');

define('HTTPS_SERVER', 'https://66.147.244.193/~jandijew');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'http://66.147.244.193/~jandijew');

define('HTTPS_COOKIE_DOMAIN', 'https://66.147.244.193/~jandijew');

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

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

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

define('DIR_WS_HTTPS_CATALOG', '/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', '/catalog/');

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

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

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

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'myusername');

define('DB_SERVER_PASSWORD', 'mypassword');

define('DB_DATABASE', 'mydb');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

 

 

 

 

 

catalog/admin/includes/configure.php:

 

<?php

define('HTTP_SERVER', 'http://66.147.244.193/~jandijew');

define('HTTP_CATALOG_SERVER', 'http://66.147.244.193/~jandijew');

define('HTTPS_CATALOG_SERVER', 'https://66.147.244.193/~jandijew');

define('ENABLE_SSL_CATALOG', 'false');

define('DIR_FS_DOCUMENT_ROOT', '/catalog/');

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

define('DIR_FS_ADMIN', '/catalog/admin/');

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

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

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'myusername');

define('DB_SERVER_PASSWORD', 'mypassword');

define('DB_DATABASE', 'mydb');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

Link to comment
Share on other sites

I figured it out.

 

I did a clean install so I cant say what it was for sure, but I think it was as stupid as me not adding al the files within the 'STS' folder. I modified all the other files, but didn't include those. Stupid me - so glad its working.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...