Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Path incorrect


rusty1001

Recommended Posts

Hi

 

Are these paths correct for installed/ modules??

 

File Manager view in admin..

C:/wamp/www/catalog/

File Manager next level up....

 

C:/wamp/www/catalog//admin

 

below are the files of config...

 

A little history: I did not get a definitive answer the other day and I am not sure if this view in the admin area of the file manager is a correct representation of the files but I think that there is an extra / (fwd slash in the root path) - In the install window there is a default choice of the ---- /catalog/------(is this correct?) for the path which is what I go for .....everything is working fine.. when I am working in the modules , that is code added in ,,, but have not got STS templates working, Easy poputate and a few others yet..

 

I got easy populate working beautifully when installed with lower versions of mysql/php but there I had to add the paths myself in the install window and it worked fine...

 

 

are the configs correct below? and if not what is the correct path, I have removed some of the fwd slash and everything fell over but EP and other projects it is not working on my local server settings??

 

To me it looks Ok, but I wonder if it is not effecting files added? Should I change anything?

 

thanks

 

Russell

View file manger admin .... paths

 

 

 

 

includes config......

 

// Define the webserver and path parameters

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

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

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

 

productive servers

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

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

define('HTTP_COOKIE_DOMAIN', '127.0.0.1');

define('HTTPS_COOKIE_DOMAIN', '');

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

define('HTTPS_COOKIE_PATH', '');

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

define('DIR_WS_HTTPS_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', 'C:/wamp/www/catalog/');

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

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

 

 

admin - configure......

 

 

Copyright © 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://127.0.0.1'); // eg, http://localhost - should not be empty for

 

productive servers

define('HTTP_CATALOG_SERVER', 'http://127.0.0.1');

define('HTTPS_CATALOG_SERVER', '');

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

define('DIR_FS_DOCUMENT_ROOT', 'C:/wamp/www/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required

define('DIR_FS_ADMIN', 'C:/wamp/www/catalog/admin/'); // absolute pate required

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

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

Rusty

-------------------------------------------

Link to comment
Share on other sites

Just one in admin is incorrect:

 

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

 

should be:

 

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

 

I have no idea why you have double slashes :huh:

 

Sonia

Link to comment
Share on other sites

Tyr removing the trailing slash from[/code]define('DIR_FS_DOCUMENT_ROOT', 'C:/wamp/www/catalog/'); // where the pages are located on the server

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...