Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

configure.php


pritibhandari

Recommended Posts

hi

 

I have a problem with this code . I just deleted my configure.php . so i just pasted this code and replaced as per requirements of the site. But now the problem is ,its excepting configuration table and the table in the database is oscommerce_configuration . So i created the configuration Table . Now the issue is admin is taking oscommerce_configuration table and the catalog is taking configuration table . If i change in admin it wont make changes in catalog. will i get solution to solve this issue.

 

The code is as below:

 

  1. // Define the webserver and path parameters
  2. // * DIR_FS_* = Filesystem directories (local/physical)
  3. // * DIR_WS_* = Webserver directories (virtual/URL)
  4. define('HTTP_SERVER', 'http://www.west2india.com'); // eg, http://localhost - should not be empty for productive servers
  5. define('HTTPS_SERVER', 'http://www.west2india.com/shopping/'); // eg, https://localhost - should not be empty for productive servers
  6. define('ENABLE_SSL', 'false'); // secure webserver for checkout procedure?
  7. define('HTTP_COOKIE_DOMAIN', 'west2india.com');
  8. define('HTTPS_COOKIE_DOMAIN', '');
  9. define('HTTP_COOKIE_PATH', '/shopping/');
  10. define('HTTPS_COOKIE_PATH', '');
  11. define('DIR_WS_HTTP_CATALOG', '/shopping/');
  12. define('DIR_WS_HTTPS_CATALOG', '');
  13. define('DIR_WS_IMAGES', 'images/');
  14. define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
  15. define('DIR_WS_INCLUDES', 'includes/');
  16. define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
  17. define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
  18. define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
  19. define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
  20. define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

  21. define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
  22. define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');
  23. define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
  24. define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

  25. // define our database connection
  26. define('DB_SERVER', '209.62.87.247:3306'); // eg, localhost - should not be empty for productive servers
  27. define('DB_SERVER_USERNAME', 'DATABASEUSERNAME');
  28. define('DB_SERVER_PASSWORD', 'DATABASEPASSWORD');
  29. define('DB_DATABASE', 'DATABASENAME');
  30. define('USE_PCONNECT', 'false'); // use persistent connections?
  31. define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
  32. ?>

I will be greatful if anyone gives me the solution regarding this issue.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...