Forums / General Questions / https suddenly stopped working ....

https suddenly stopped working ....

Locked

Started by thesaint444 on 15 Mar 2007, 11:06 PM · Views: 5,067

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
15 Mar 2007, 11:06 PM
#1
thesaint444 avatar

thesaint444

New Zenner

Join Date:
Mar 2007
Posts:
5
Plugin Contributions:
0

https suddenly stopped working ....

Hi Guys and Girls,
I am new to Zen cart and any help woulld be greatly appreciated. I have a site that i administer with zen cart 1.3.5 installed, https://www.kid-safe.co.uk which was working fine. Suddenly when the users go to checkout from:

http://store.kid-safe.co.uk/index.php?main_page=shopping_cart&$cPath=0

the page can not be accessed and they receieve the message:

unable to connect, can't establish a connection to the server at store.kid-safe.co.uk.

I believe my configure.php file is correct as it worked ok before and have posted it here:

<?php /** * * @package Configuration Settings * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> define('HTTP_SERVER', 'http://store.kid-safe.co.uk'); define('HTTPS_SERVER', 'https://store.kid-safe.co.uk'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'true'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); 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', DIR_WS_CATALOG . 'pub/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', '/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_CATALOG', '/home/kidsafe/public_html/store/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', 'ks'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', '*******'); define('DB_SERVER_PASSWORD', '************'); define('DB_DATABASE', 'kidsafe_shop'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', '/home/kidsafe/public_html/store/cache'); ?>

Does anyone have any ideas what might be wrong? Are there file permission changes that may be causing this or is there another area I should be looking into?

many thanks,
John

16 Mar 2007, 12:46 AM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: https suddenly stopped working ....

are you sure that the SSL Certificate hasnt expired

Zen cart PCI compliant Hosting

16 Mar 2007, 1:05 AM
#3
thesaint444 avatar

thesaint444

New Zenner

Join Date:
Mar 2007
Posts:
5
Plugin Contributions:
0

Re: https suddenly stopped working ....

Hi Merlin,
thanks for the reply. I am not sure but I dont think so. I believe the certificate i am using was issued by commodo. Any ideas how I would check that? Is that what happens when the cert expirers?

many thanks,
St.john

16 Mar 2007, 1:29 AM
#4
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: https suddenly stopped working ....

Either the SSL is no longer installed,
( host needs to re-install ) or the SSL has expired,

SSL information for store.kid-safe.co.uk:

Version Supported? Information
SSLv2 No Sorry, I could not connect. The connection was refused (there is no SSL at store.kid-safe.co.uk:443).
SSLv3 No Sorry, I could not connect. The connection was refused (there is no SSL at store.kid-safe.co.uk:443).
TLS 1.0 No Sorry, I could not connect. The connection was refused (there is no SSL at store.kid-safe.co.uk:443).

Certificate:
I could not detect any SSL at store.kid-safe.co.uk:443.

Zen cart PCI compliant Hosting

16 Mar 2007, 1:32 AM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,728
Plugin Contributions:
0

Re: https suddenly stopped working ....

You need to talk to you host and find out what has happened to your Certificate.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

16 Mar 2007, 1:42 AM
#6
thesaint444 avatar

thesaint444

New Zenner

Join Date:
Mar 2007
Posts:
5
Plugin Contributions:
0

Re: https suddenly stopped working ....

Hi,
many thanks for the help and advice. How did you check to see there was no ssl certificate? It must have expired. I will have to get a new one. Do you simply buy another or renew the old one?

thanks,
St.john

16 Mar 2007, 1:43 AM
#7
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: https suddenly stopped working ....

If you guys have ssh root access you may want to try

httpd stop
httpd startssl

some times using control panel or using

service restart httpd will NOT restart ssl

Zen cart PCI compliant Hosting

16 Mar 2007, 1:52 AM
#8
thesaint444 avatar

thesaint444

New Zenner

Join Date:
Mar 2007
Posts:
5
Plugin Contributions:
0

Re: https suddenly stopped working ....

Hi Merlin,
yes i have root access, one question:

http stop - stops http ...

http startssl - does that bring http back up and ssl together?

many thanks,
st.john

16 Mar 2007, 1:55 AM
#9
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: https suddenly stopped working ....

httpd stop ( stopps all processes port 80 and 443

httpd startssl will restart port 80 and443

Zen cart PCI compliant Hosting

16 Mar 2007, 2:03 AM
#10
thesaint444 avatar

thesaint444

New Zenner

Join Date:
Mar 2007
Posts:
5
Plugin Contributions:
0

Re: https suddenly stopped working ....

Hi Merlin,
well done! that did it. Thanks for helping me learn something new. I also have cpanel on the server. Maybe when it was doing some updates it has stopped ssl from working, very strange but ok now.

How did you test the ssl functionallity earlier?

best regards,
St.john

16 Mar 2007, 2:04 AM
#11
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: https suddenly stopped working ....

dnsstuff members tools

restarting apache with cpanel is totally hit or miss.

Zen cart PCI compliant Hosting