Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Path to modules?


ivan8r

Recommended Posts

I'm not sure my modules are installed correctly. Instead of having control over my modules, I only have a path to them.

 

Module Directory: usr/local/apache/htdocs/catalog/includes/modules/shipping/

 

Can anybody tell me what I'm doing wrong here?

 

Ivan

Link to comment
Share on other sites

Here's what I wrote in my admin/includes/config.php

 

define('DIR_FS_DOCUMENT_ROOT', '/usr/local/apache/htdocs/');

 

Is this wrong in any way? I'm pretty new to this, so it could be an ID10T error.

 

Ivan

Link to comment
Share on other sites

This is what I am using in that section:

  define('DIR_FS_DOCUMENT_ROOT', '/home/octave/public_html'); // 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', '/osc_freecall/admin/');

 define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

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

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

 

It looks like you have a trailing / on the DIR_FS_DOCUMENT_ROOT, but you'd have to check the other peices to see if you need one or don't need one there.

Link to comment
Share on other sites

I removed the trailing /, but I still get the same behavior. I'm going to contact my host to verify that this IS the correct root directory. If you have any more ideas for me, please post.

 

Thanks!

Ivan

Link to comment
Share on other sites

Well, I just found out that I do have the correct root.

 

I'm wondering, what is the name of the file that is supposed to be running in this directory? Maybe I'm missing a file?

 

Ivan

Link to comment
Share on other sites

How about the top portion of the configure.php

 

  define('HTTP_SERVER', 'http://www.8thoctave.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

 define('HTTP_CATALOG_SERVER', 'http://www.8thoctave.com');



 define('HTTPS_CATALOG_SERVER', 'https://secure.sashbox.net/~octave');

 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

 

Do you have your www in there? The correct secure settings, etc.?

Link to comment
Share on other sites

To make this easier, I'm putting my entire config file in here. I'm sure it's something I'm overlooking...

 

Ivan

 

<?php



// Define the webserver and path parameters

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

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

 define('HTTP_SERVER', 'http://www.systemelectronics.net/catalog'); // eg, http://localhost - should not be empty for productive servers

 define('HTTPS_SERVER', 'https://www.systemelectronics.net/catalog'); // eg, https://localhost - should not be empty for productive servers

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

 define('DIR_WS_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', '/usr/local/apache/htdocs');

 define('DIR_FS_CATALOG', '/usr/local/apache/htdocs/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('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');



// define our database connection

 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

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

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

 define('DB_DATABASE', 'syselec');

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

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

?>

Link to comment
Share on other sites

catalog is already in your URL and you have it here too:

 

define('DIR_FS_CATALOG', '/usr/local/apache/htdocs/catalog')

 

Try taking that out of your DIR_FS_CATALOG and see if that helps.

Link to comment
Share on other sites

oh wait ... never mind.

 

You have your DIR_WS_CATALOG written weird in addition to your _SERVER settings.

 

I always hate to break the flow of things like you have done in your configure.php file as it frankly confuses the heck out of me when things aren't all in their places with bright shiney faces ... :wink:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...