Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSl checkout


zpupster

Recommended Posts

hello support,

 

i my updating my site 2334 to 234

 

the other day i took down the 2334 files, but i had to reupload them.

 

 

the site is back on 2334 for now. I noticed that--

 

my checkout process ( starting with https...checkout_shipping.php) is so so slow--like 15 seconds.

 

should i contact my host?  or Is there something i can do  in oscommerce to return the checkout process to .25 s

 

 

thanks 

Link to comment
Share on other sites

Upgrading the version of your shop shouldn't have caused this unless there is a mistake in the upgrade. You can ask your host but most will reply that the cert is working fine and the problem is in your code, which they don't work on. I suggest you first check your ssl on this site. If it shows problems, then you have something more solid to show your host. If it is fine, then install a blank version of 2.3.4 into a subdirectory. The ssl will work with it, as long as it is enabled in the configure files, and you will be able to see if it is the changes you made or the ssl on the server at fault. 

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

i did a fresh install and the SSL was not working , waiting to talk to my hosting company.

 

is there an example configure files that work properly for 234 with SSL.  I have some strange things happening-- implementing 

the configure files.

 

I have read a number of other posts dealing with the same issue, but none have a conclusive configure file.

Link to comment
Share on other sites

No, not as far as I know. There is a thread here about setting up a configure file but it hasn't been updated to work with the latest version. But if you did an install using the installation script, it will setup the configure file correctly. Though you have to be sure to select the ssl option. When you say the cert doesn't work, do you mean that if you go to https://yourdomain.com/testshop (or whatever the url is) that the ssl isn't present? Or do you mean it doesn't engage when you click on login? The latter would be a problem with the configure file.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

my freshly installed configure files

 

 

 

/includes/configure.php

 

<?php
  define('HTTP_SERVER', 'http://mysite.com');
  define('HTTPS_SERVER', 'http://mysite.com');
  define('ENABLE_SSL', false);
  define('HTTP_COOKIE_DOMAIN', '');
  define('HTTPS_COOKIE_DOMAIN', '');
  define('HTTP_COOKIE_PATH', '/new/');
  define('HTTPS_COOKIE_PATH', '/new/');
  define('DIR_WS_HTTP_CATALOG', '/new/');
  define('DIR_WS_HTTPS_CATALOG', '/new/');
  define('DIR_WS_IMAGES', 'images/');
  define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
  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', 'pub/');
  define('DIR_FS_CATALOG', '/home/user/public_html/new/');
  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
  define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

admin/includes/configure.php

 

<?php
  define('HTTP_SERVER', 'http://mysite.com');
  define('HTTPS_SERVER', 'http://mysite.com');
  define('ENABLE_SSL', false);
  define('HTTP_COOKIE_DOMAIN', '');
  define('HTTPS_COOKIE_DOMAIN', '');
  define('HTTP_COOKIE_PATH', '/new/admin');
  define('HTTPS_COOKIE_PATH', '/new/admin');
  define('HTTP_CATALOG_SERVER', 'http://mysite.com');
  define('HTTPS_CATALOG_SERVER', 'http://mysite.com');
  define('ENABLE_SSL_CATALOG', 'false');
  define('DIR_FS_DOCUMENT_ROOT', '/home/user/public_html/new/');
  define('DIR_WS_ADMIN', '/new/admin/');
  define('DIR_WS_HTTPS_ADMIN', '/new/admin/');
  define('DIR_FS_ADMIN', '/home/user/public_html/new/admin/');
  define('DIR_WS_CATALOG', '/new/');
  define('DIR_WS_HTTPS_CATALOG', '/new/');
  define('DIR_FS_CATALOG', '/home/user/public_html/new/');
  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_ADMIN . 'backups/');
  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
  define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
Link to comment
Share on other sites

these are the changes i am doing for ssl

 

/includes/configure.php

define('HTTP_SERVER', 'http://mysite.com');
  define('HTTPS_SERVER', 'https://mysite.com');
  define('ENABLE_SSL', true);

admin/includes/configure.php

define('HTTP_SERVER', 'http://mysite.com');
  define('HTTPS_SERVER', 'https://mysite.com');
  define('ENABLE_SSL', true);

and

define('HTTP_CATALOG_SERVER', 'http://mysite.com');
  define('HTTPS_CATALOG_SERVER', 'https://mysite.com');
  define('ENABLE_SSL_CATALOG', 'true');
Link to comment
Share on other sites

Yes!!

 

that looks good --SSL works--sort of

 

login.php  good

checkout_shipping.php  ETC. Etc. good

 

putting https://mysite.com will work also.

 

 

the /admin section is not automatically being protected

the url is mysite.com/admin  instead of the https://mysite/admin.

 

 

https://mysite/admin works but styling seems absent.  i am still working on this.

Link to comment
Share on other sites

fantastic!!

 

 

thank you,  Jack

 

 i have spent last couple of Sundays trying to get the configure file correct for osc234..

 

  So , We have a new osc234 install working. and new install SSL(https) is like it was a few days ago. 

 

the present osc2334 checkout is still slow,

 

If it is now the SSL-, I am guessing it is with the database connection.

 

 

Could I be right??

 

thanks again.

Link to comment
Share on other sites

Some ssl certificates are slower than others but I doubt it would be noticeable, especially on a test shop. So the slowness would seem to be shop-related. In 2.3.4, in admin->Tools, there is the database tables section. Go there, select all of the tables and then the convert to utf option. That might make a difference.  

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

i have 3 shops

 

working presently osc 2334 - checkout slow- ( this worked great until recently)

the site we are going to osc 234 - checkout slow

and the tet site suggested osc234 this--checkout good.

 

the databases are all utf

 

also when i ran the security check in the admin that page is very slow- not usually the case.

Link to comment
Share on other sites

Assuming these are all using the same certificate and that the last shop you mention is the new, blank, installation, then it has to be something in the other shops. Try changing the configure file for the blank shop so that it uses one of the other databases. If the site slows down, then the problem is in the database. Otherwise, it is probably in the files.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...