Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with configure.php


kristymichelle

Recommended Posts

When I go to login or to my acocunt, or a secure page, I get an Internal Server Error. Every non-secure page works fine. I'm pretty sure the problem is with my configure.php file:

 

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

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

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

define('HTTP_COOKIE_DOMAIN', 'www.minkshopping.com');

define('HTTPS_COOKIE_DOMAIN', 'www.minkshopping.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

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

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

 

// define our database connection

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

define('DB_SERVER_USERNAME', 'user_name');

define('DB_SERVER_PASSWORD', 'password');

define('DB_DATABASE', 'database_name');

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

I would say the problem is with your web host, or how https is configured for your domain, or perhaps a .htaccess file that rewrites URLs. Not the configure.php, which looks ok to me.

Link to comment
Share on other sites

  • 2 weeks later...

Hi, kristymichelle

 

I'm having the same problem as you.

 

What did you do to correct this error?????

 

Thanks!

 

 

 

 

 

When I go to login or to my acocunt, or a secure page, I get  an Internal Server Error. Every non-secure page works fine. I'm pretty sure the problem is with my configure.php file:

 

 

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...