Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

500 error?


Damon122

Recommended Posts

Posted

Why am I always getting a (500) internal server error when I try to access my oscommerce store via my new SSL package?. For example if my oscommerce store was based at:

 

http://www.store.com/catalog

 

and my secure store was located at:

 

https://www.secureserversite.com/catalog

 

The http server works great but again, with the https server I get an internal server error.

 

Can someone please tell me why this is happening???

 

 

Thanks

Posted

could you post a link to the site? is the ssl working outside the store?

Posted

your ssl certificate works, however you have items which are not behind ssl, (flash).

Posted

post your configure.php file here, without the database info

Posted

Hello,

 

I modified the configuration.php file slightly to adjust the SSL settings but it's still no use.

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 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.wakie.net'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www1.securesiteserver.co.uk/wakie'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.wakie.net');
 define('HTTPS_COOKIE_DOMAIN', 'www1.securesiteserver.co.uk/wakie');
 define('HTTP_COOKIE_PATH', '/execsc');
 define('HTTPS_COOKIE_PATH', '');
 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', '/domains/w/a/wakie.net/public_html/catalog/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Posted

going to your site you have ssl turned off for the catalog.

 

you should use your server error and access logs to help you figure out what is going on.

Posted

Well I have taken the steps of enabling SSL but its not good enough :(

 

Is there anything else which has to be edited within the store?

Posted

try just having a generic header, no flash, etc in there. when i go to cat i get a totally different error.

Posted

Well I modified the header back to the original oscommerce one with no luck. I have changed back to the flash one now so nothing to see :)

 

Any more help is appreciated.

Posted

leave it generic, as welll as index.php and footer.php. have you changed anything in application_top?

Posted

I am going to install a mock version of oscommerce on the server tommorow just to see if a fresh copy accepts the SSL. Thanks for all the help. I will post again if I notice any problems throughout this testing.

Archived

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

×
×
  • Create New...