Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shared SSL Problem


charlesn

Recommended Posts

I am new in oscommerce and I just installed it.

Without SSL enable everything works fine but as soon as I change the configure.php file to use shared SSL then I get the following error message during the checkout.

 

"Content-type: text/html X-Powered-By: PHP/4.3.0 No input file specified."

 

 

My store is installed in:

http://antwitech.com/catalog

 

My shared SSL is:

http://aitsecure.aitsecre.net/antwitech.com

 

I need help to make SSL works - could anyone let me know what I am doing wrong.

The following is my configure.php content:

 

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

define('HTTPS_SERVER', 'https://aitsecure.aitsecure.net/antwitech.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.antwitech.com');

define('HTTPS_COOKIE_DOMAIN', 'https://aitsecure.aitsecure.net/antwitech.com');

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

define('HTTPS_COOKIE_PATH', 'https://aitsecure.aitsecure.net/antwitech.com/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/virtual/site5/fst/var/www/html/catalog/');

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

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

Link to comment
Share on other sites

Hi,

 

I am not too sure that you have the right https address, normally for a shared ssl the url is something like https://servername.com/~username/catalog

I have had a quick look but canot get anything on the ssl address your gave. the other works fine.

 

Try looking in your control panel fo rthe web site it may give the path there or get in touch with your hosts to ask them.

 

Regards

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

Get rid of "catalog" in your HTTPS setting. You put your OSC files right under your shared SSL folder. Change it to:

 

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

define('HTTPS_SERVER', 'https://aitsecure.aitsecure.net/antwitech.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.antwitech.com');

define('HTTPS_COOKIE_DOMAIN', 'https://aitsecure.aitsecure.net/antwitech.com');

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

define('HTTPS_COOKIE_PATH', '/');

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

define('DIR_WS_HTTPS_CATALOG', '/');

Link to comment
Share on other sites

Thanks for your reply - I did make the change but I didn't quiet understand when you say " You put your OSC files right under your shared SSL folder".

My entire installation is in catalog/ folder what do I need to move to where?

 

The second thing is with the current configuration that you can see above I am getting the following error message when I try to checkout a product from the store.

Here is the error message : "No input file specified."

 

Thank you for help,

 

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

define('HTTPS_SERVER', 'https://aitsecure.aitsecure.net/antwitech.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.antwitech.com');

define('HTTPS_COOKIE_DOMAIN', 'https://aitsecure.aitsecure.net/antwitech.com');

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/');

Link to comment
Share on other sites

OOPS~~ My bad. I went to https://aitsecure.aitsecure.net/antwitech.com/ , thought that's the site you put on your shared SSL server. Please put the /catalog/ setting back.

 

I tried to link to https://aitsecure.aitsecure.net/antwitech.com/catalog/ , but unable to. I got this error:

FATAL ERROR: register_globals is disabled in php.ini, please enable it!

 

You might want to open your .htaccess file and add the following code:

php_flag register_globals on

Link to comment
Share on other sites

Thank you very much - my SSL works fine now - I am just providing my current configure info for anyone who might have the same problem next time.

 

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

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

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

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

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

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

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

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

define('DIR_WS_HTTPS_CATALOG', '/antwitech.com/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/');

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...