PDA

View Full Version : SSL Connection


irishterri
7-3-05, 12:59 PM
I did the SSL Setup but the following message appears in the left hand column of Admin Panel:

You are not protected by a secure SSL connection.

Please advise what could be causing this problem or what I am doing wrong.

irishterri
7-3-05, 01:28 PM
I did what Steve1 suggested in previous Admin Login post and I am now getting the following message on left hand column of Admin Panel

You are protected by a unknown secure SSL connection.

and page will not display when I click on `My Store' or any of the other selections in Admin Panel.

What should I do now?

stevel
7-3-05, 02:18 PM
You did not do what I suggested, at least not correctly. Check that the define for HTTP_SERVER in your admin/includes/configure.php has a value of 'https://examplecom.secure.powweb.com' (where you replace "examplecom" with your domain name, removing the dot).

irishterri
7-3-05, 03:06 PM
I forgot to delete . from domain but have done so now. Unfortunately, that has brought up the following error message:


Warning: mysql_connect(): Too many connections in /www/o/obairukcom/htdocs/osCommerce/catalog/action/includes/functions/database.php on line 19
Unable to connect to database server!

I cannot see what I have done wrong here - please help!

stevel
7-3-05, 09:15 PM
You haven't done anything wrong for that message. It could be that the SQL server you are using is overloaded. Which one is it?

Try again in a while.

irishterri
7-4-05, 04:49 AM
Steve

Thank you for your help. It is very much appreciated.

I am on "mysql11".

I was able to log in to Admin Panel but the following message is still showing in left hand column of Admin Panel:

You are protected by a unknown secure SSL connection.

Also, page still won't display when When I click on `My Store' etc.

What can I do to sort this?

irishterri
7-4-05, 08:25 AM
Since my last post to you, I have tried to access `My Store' in Admin Panel and I am now getting the following message:


Network Error (dns_unresolved_hostname)

Your requested host "obairukcom.secure.powweb.comdir_ws_adminconfigurat ion.php" could not be resolved by DNS.


What can I do to put this right?

stevel
7-4-05, 09:43 AM
Ok, it looks as if again you have a syntax error in your admin/includes/configure.php. Post the first 20 lines and let's see what you've got.

The "unknown SSL connection" message is normal.

irishterri
7-4-05, 11:32 AM
HERE IS THE FULL CONTENTS OF admin/includes/configure.php



<?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', 'https://mysitecom.secure.powweb.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'http://mysite.com');
define('HTTPS_CATALOG_SERVER', 'https://mysitecom.secure.powweb.com');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', '/www/o/b/mysite.com/htdocs/osCommerce/catalog/'); // where the pages are located on the server
define('DIR_WS_ACTION', '/osCommerce/catalog/admin/'); // absolute path required
define('DIR_FS_ACTION', '/www/o/b/mysite.com/htdocs/osCommerce/catalog/admin/'); // absolute pate required
define('DIR_WS_CATALOG', '/osCommerce/catalog/'); // absolute path required
define('DIR_FS_CATALOG', '/www/o/b/mysite.com/htdocs/osCommerce/catalog/'); // absolute path required
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
define('DIR_FS_BACKUP', DIR_FS_ACTION . 'backups/');

// define our database connection
define('DB_SERVER', 'mysql11.powweb.com'); // eg, localhost - should not be empty for productive servers
define('DB_SERVER_USERNAME', 'xxx');
define('DB_SERVER_PASSWORD', 'xxxxxx');
define('DB_DATABASE', 'xxxx');
define('USE_PCONNECT', 'false'); // use persisstent connections?
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql';
?>

stevel
7-4-05, 11:37 AM
Does it really say:

define('DIR_WS_ACTION', '/osCommerce/catalog/admin/'); // absolute path required
define('DIR_FS_ACTION', '/www/o/b/mysite.com/htdocs/osCommerce/catalog/admin/'); // absolute pate required

That "ACTION" should be "ADMIN".

If you are retyping this by hand, you may have overlooked some other errors. Feel free to send me a Private message with the actual file.