Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Modules (once again)


miou

Recommended Posts

I'm sorry for opening a topic which must have been discussed plenty of times, but I've tried all suggested ideas and it doesn't seem to work

 

My shop works fine, the installation was a success and the only thing that doesn't work, is the MOST IMPORTANT. The modules which control payment and shipping options don't work at all. I don't have a clue of what I'm supposed to expect on my admin screen, but all I get are paths refering to my web server's direcotires where the relevant files are stored

 

I checked previous pots regarding this issue, and I saw quite a few people suggesting to edit my /catalog/includes/configure.php file end replace the DOCUMENT_ROOT with the exact path. So I did, and now my configure.php file looks like:

define('DIR_FS_DOCUMENT_ROOT', 'D:/Inetpub/wwwroot1/beads/');

 

BUT: This didn't work out, and modules still don't work at all.

 

Can someone tell me what I've done wrong? Have I changed something that i shouldn't? I'm just ONE step away from completing the project and I can't

 

BTW, my complete /catalog/includes/configure.php file looks as follows:

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

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

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

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

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

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

define('DIR_FS_DOCUMENT_ROOT', 'D:/Inetpub/wwwroot1/beads/');

define('DIR_FS_CATALOG', 'D:/Inetpub/wwwroot1/beads/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', '10.195.1.7'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '*****');

define('DB_SERVER_PASSWORD', '*****');

define('DB_DATABASE', 'catalog');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

define('DIR_FS_DOCUMENT_ROOT', 'D:/Inetpub/wwwroot1/beads/');

 

Are you running a local test server (own machine) or uploading to a webserver?

Your IP addresses make me think it's a webserver, though your 'DIR_FS_DOCUMNET_ROOT' is set for a local server.

 

If the standard

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT);

doesn't work for you, your 'DIR_FS_DOCUMNET_ROOT' will be the file system for your files as per your hosted directory... not the actual file system as if it was a local setup.

 

For a webserver setup it should look like

define('DIR_FS_DOCUMENT_ROOT', '/home/yoursitename/public_html');

or something to that effect.

 

If it's a local setup (test server), you should be modifying 'catalog/includes/local/config.php' instead of 'catalog/includes/config.php'.

 

HTH,

Tony

"The price of success is perseverance. The price of failure comes much cheaper."

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...