Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Secure Server 500 Error


Jonj1611

Recommended Posts

Hi, Ok I installed oscommerce and I thought I had it configured correctly, my hosting account uses a shared SSL, basically it is https://web1.secure-secure.co.uk/jonsmedia.com

 

The problem is when I try to create an account or go to checkout I get a 500 Internal Server Error - Apache/2.0.50 (Red Hat) Server at web1.secure-secure.co.uk Port 443

 

Any ideas, because I am stuck here is my configure.php file :-

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

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://www.jonsmedia.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://web1.secure-secure.co.uk/jonsmedia.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.jonsmedia.com');

define('HTTPS_COOKIE_DOMAIN', 'https://web1.secure-secure.co.uk/jonsmedia.com');

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

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

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

define('DIR_WS_HTTPS_CATALOG', '/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', '/home/sites/jonsmedia.com/public_html/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', 'localhost'); // eg, localhost - should not be empty for productive servers

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

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

define('DB_DATABASE', '******');

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

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

?>

 

Hope somebody can help!!

Link to comment
Share on other sites

Erm, many thanks for that, doh!! I see that someone has edited it now, never mind I am in the process of deleting the catalog directory and will reinstall with a different password when I work out how to use this program correctly, I think I may be in a little over my head here so I will come back after I have learnt a bit more about what I exactly need.

Link to comment
Share on other sites

Have a look at your .htaccess file permissions... These are set in an apache webserver in a file called access.conf

 

If you don't have access to this then ask your host. I am trying to solve another problem which gives that Internal server error and I have just this second read something on the apache.org website which pointedthe finger for this error at .htaccess errors

 

cheers

 

 

andy

 

ps: .htaccess files are hidden by default using ssh unless you select 'view hidden files'. i don't think you can see them using ftp programs

with ten thousand dollars we'll all be millionaires

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...