How to install SSL on OSC: A Simple 1-2-3 Instruction
#101
Posted 02 February 2007 - 04:01 AM
define('DIR_WS_HTTPS_CATALOG', '');
to
define('DIR_WS_HTTPS_CATALOG', '/');
After that it should work if everything else is set up correctly.
Good luck, keep us posted.
Simple 1-2-3 Intructions on how to get, install and configure SSL
The Google Sandbox explained
Simple to follow instructions on how to change the look of your OSC
How To Make A Horrible OSC Website
my toolbox: PHP Designer 2007 - Winmerge - phpMyAdmin - WS_FTP - Photoshop - Paint Shop Pro - Crimson Editor
my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
#102
Posted 02 February 2007 - 04:05 AM
Then in you includes/configure.php file and admin/includes/configure.php ... change the bottom line:
define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
to
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
Simple 1-2-3 Intructions on how to get, install and configure SSL
The Google Sandbox explained
Simple to follow instructions on how to change the look of your OSC
How To Make A Horrible OSC Website
my toolbox: PHP Designer 2007 - Winmerge - phpMyAdmin - WS_FTP - Photoshop - Paint Shop Pro - Crimson Editor
my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
#103
Posted 02 February 2007 - 04:05 AM
jpweber, on Jan 31 2007, 02:41 AM, said:
And regarding the SSL, you can get the RapidSSL for just 15 bucks from many places. E-mail (not message) me if you need any referrals. I'd just fork up the 15 bucks and be done with it. Good luck.
Thank you very much for your help. The code you posted helped me to change the login box. thank you. i appriciate your help. i wish you all the best.
#104
Posted 02 February 2007 - 04:39 AM
jpweber, on Feb 2 2007, 04:05 AM, said:
Then in you includes/configure.php file and admin/includes/configure.php ... change the bottom line:
define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
to
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
Hi,
I tried what you suggested and still the same issues. Do you have any other suggestions?
Thanks,
Laura
#105
Posted 02 February 2007 - 04:51 PM
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.grunionfabrication.com$
RewriteRule ^(.*)$ http://grunionfabrication.com/$1 [R=301,L]
So I put this on my .htaccess page and when you go to www.grunionfabrication.com it takes you to grunionfabrication.com perfectly! However as you mentioned grunionfabrication.com/index.php will still come in if typed and is a duplicate page as grunionfabrication.com.... You mentioned search engines will penalize this... Is there any way to avoid this or is it normal to have those pages be the same? Thanks for your help on that!
#106
Posted 02 February 2007 - 05:03 PM
medved, on Feb 1 2007, 11:05 PM, said:
No problem. If I were you, I'd consider getting rid of the:
Welcome, Guest! Would you like to log in? Or would you prefer to create an account?
On your home page, and replacing it with 2, 3, or 4 keyword and key-phrase-loaded sentences describing what your company is all about. You already have the login and create account in the right column. Time to start putting some keywords and keyphrases in near the top, as an introduction.
Just a suggestion. Good luck.
Simple 1-2-3 Intructions on how to get, install and configure SSL
The Google Sandbox explained
Simple to follow instructions on how to change the look of your OSC
How To Make A Horrible OSC Website
my toolbox: PHP Designer 2007 - Winmerge - phpMyAdmin - WS_FTP - Photoshop - Paint Shop Pro - Crimson Editor
my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
#107
Posted 02 February 2007 - 05:07 PM
gypsiedream, on Feb 1 2007, 11:39 PM, said:
I tried what you suggested and still the same issues. Do you have any other suggestions?
Thanks,
Laura
Laura, you're almost there. SOMEWHERE in your includes/configure.php file, you have an occurence of /catalog/ ..... Find this occurrence of /catalog/ and replace it with just a forward slash: /. Your store is in the root (as it should be), so there should be no occurrences of /catalog/ in there.
This will solve your problem. If worst comes to worst, you can e-mail me your config file and I'll do it for you, since it's such a simple modification.
Simple 1-2-3 Intructions on how to get, install and configure SSL
The Google Sandbox explained
Simple to follow instructions on how to change the look of your OSC
How To Make A Horrible OSC Website
my toolbox: PHP Designer 2007 - Winmerge - phpMyAdmin - WS_FTP - Photoshop - Paint Shop Pro - Crimson Editor
my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
#108
Posted 02 February 2007 - 05:18 PM
grunionfab, on Feb 2 2007, 11:51 AM, said:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.grunionfabrication.com$
RewriteRule ^(.*)$ http://grunionfabrication.com/$1 [R=301,L]
So I put this on my .htaccess page and when you go to www.grunionfabrication.com it takes you to grunionfabrication.com perfectly! However as you mentioned grunionfabrication.com/index.php will still come in if typed and is a duplicate page as grunionfabrication.com.... You mentioned search engines will penalize this... Is there any way to avoid this or is it normal to have those pages be the same? Thanks for your help on that!
Elaine. What you need to do is go to your root catalog files. I don't understand why you have a folder, "~grunionf" in there. Maybe that's just temporary until you get the site up?
Anyway ... you would go to wherever your root files are located -- where your main index.php, product_info.php files, etc., are located. Look for files like shipping.php, privacy.php, condtions.php, etc., etc., and files in there like this.
Replace all occurrences of:
FILENAME_DEFAULT
with
"/" (with the quotation marks)
This is a smart thing to do (I do it, as you'll see on my latest one -- http://www.thevisiondepot.com/using_tvd.php ) .... if you click the continue button, it points to my root website, www.thevisiondepot.com, NOT www.thevisiondepot.com/index.php. Mind you, this site is only 3 or 4 months old, so it still needs work. But that's a smart thing to do.
So if you do the same -- replace the occurrences in your root directory files of FILENAME_DEFAULT with "/" (with quotation marks), all continue buttons will point to http://grunionfabrication.com. I would also advise others reading this to do this in your includes/application_top.php file. It appears that Elaine, you don't use breadcrumbs at all. But for others, in this file, find:
$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);
$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));
change to
$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);
$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link("/"));
Good luck.
Simple 1-2-3 Intructions on how to get, install and configure SSL
The Google Sandbox explained
Simple to follow instructions on how to change the look of your OSC
How To Make A Horrible OSC Website
my toolbox: PHP Designer 2007 - Winmerge - phpMyAdmin - WS_FTP - Photoshop - Paint Shop Pro - Crimson Editor
my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
#109
Posted 02 February 2007 - 05:46 PM
I really have NO IDEA where that "~grunionf" comes from... There is no file with that name in it at all. I think it came from when I installed osCommerce through my cpanel with startlogic. all of the catalog files have been moved to my root (public_html?) folder.
I will do what you said about the FILENAME_DEFAULT though.... also, I know this is a thread about ssl but I was wondering if you know anything about the ultimate seo cont... I had a question about installing it maybe I could pm it to you? Nothing big just small.... Thanks for your help!
#110
Posted 02 February 2007 - 05:53 PM
#111
Posted 02 February 2007 - 10:07 PM
jpweber, on Feb 2 2007, 05:07 PM, said:
This will solve your problem. If worst comes to worst, you can e-mail me your config file and I'll do it for you, since it's such a simple modification.
That fixed it.
Many, many, many Thanks!
Laura
#112
Posted 03 February 2007 - 01:28 AM
grunionfab, on Feb 2 2007, 12:53 PM, said:
I would have to look into you host's cpanel and check out their redirects, see if they allow 'em from there. I wouldn't know the code off hand, although it would probably look very similar to the other code, like this:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^grunionfabrication.com/~grunionf/$
RewriteRule ^(.*)$ http://grunionfabrication.com/$1 [R=301,L]
And yes, what do you need to know about Chemo's Ultimate SEO's?
Simple 1-2-3 Intructions on how to get, install and configure SSL
The Google Sandbox explained
Simple to follow instructions on how to change the look of your OSC
How To Make A Horrible OSC Website
my toolbox: PHP Designer 2007 - Winmerge - phpMyAdmin - WS_FTP - Photoshop - Paint Shop Pro - Crimson Editor
my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
#113
Posted 03 February 2007 - 02:01 AM
jpweber, on Feb 2 2007, 12:03 PM, said:
Welcome, Guest! Would you like to log in? Or would you prefer to create an account?
On your home page, and replacing it with 2, 3, or 4 keyword and key-phrase-loaded sentences describing what your company is all about. You already have the login and create account in the right column. Time to start putting some keywords and keyphrases in near the top, as an introduction.
Just a suggestion. Good luck.
#114
Posted 03 February 2007 - 08:53 PM
Anyone know of a hosting company that is good and reliable and installs SSL certs for you?
#115
Posted 03 February 2007 - 10:46 PM
nursallie, on Feb 3 2007, 02:53 PM, said:
Anyone know of a hosting company that is good and reliable and installs SSL certs for you?
I use godaddy for both my hosting and ssl and I haven't had any problems with them yet. (though I haven't been with them for too long, so it's hard to judge for sure) I just got ssl from them less than a week ago and it was an easy process. My domain is held there too so I didn't need to worry about having to verify anything.
#116
Posted 04 February 2007 - 02:45 AM
bullseye09, on Feb 3 2007, 05:46 PM, said:
We're not allowed to solicit in here; if you send me an e-mail, I'll give you my recommendations. GoDaddy wouldn't be one of 'em.
Simple 1-2-3 Intructions on how to get, install and configure SSL
The Google Sandbox explained
Simple to follow instructions on how to change the look of your OSC
How To Make A Horrible OSC Website
my toolbox: PHP Designer 2007 - Winmerge - phpMyAdmin - WS_FTP - Photoshop - Paint Shop Pro - Crimson Editor
my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
#117
Posted 04 February 2007 - 03:00 AM
When I click on my check out or my account I get this error now.
Warning: Cannot modify header information - headers already sent by (output started at /home/gypsi3/public_html/includes/languages/english.php:1) in /home/gypsi3/public_html/includes/functions/general.php on line 29
Previous to this I was getting parse errors and replaced the english.php with a backed up file. I got back to my site and now this. I didn't remember editing my english.php when I enabled my ssl cert. But I think this has something to do with it.
this is line 29 of my functions/general.php file:
function tep_exit() {
Thanks, Laura
#118
Posted 04 February 2007 - 09:20 AM
jpweber, on Feb 3 2007, 08:45 PM, said:
Simply stating my experience. Are there problems with godaddy I should know about?
#119
Posted 04 February 2007 - 07:13 PM
jpweber, on Feb 3 2007, 06:45 PM, said:
Hi Jason:
I think I need your recommendations. I am looking for a good hosting and will PM you soon.
N
#120
Posted 04 February 2007 - 09:02 PM
I have attached both config files.
Any help is greatly appriciated.
include/configure.php
define('HTTP_SERVER', 'http://www.islandtreasuresgourmet.com');
define('HTTPS_SERVER', 'https://www.islandtreasuresgourmet.com');
define('ENABLE_SSL', 'true');
define('HTTP_COOKIE_DOMAIN', 'www.islandtreasuresgourmet.com');
define('HTTPS_COOKIE_DOMAIN', '.islandtreasuresgourmet.com');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/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', '/www/docs/itgourmet/catalog/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
admin/include/configure.php
define('HTTP_SERVER', 'http://www.islandtreasuresgourmet.com');
define('HTTP_CATALOG_SERVER', 'http://www.islandtreasuresgourmet.com');
define('HTTPS_CATALOG_SERVER', 'https://www.islandtreasuresgourmet.com');
define('ENABLE_SSL_CATALOG', 'true');
define('DIR_FS_DOCUMENT_ROOT', $_SERVER['DOCUMENT_ROOT']);
define('DIR_WS_ADMIN', '/catalog/admin/');
define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);
define('DIR_WS_CATALOG', '/catalog/');
define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);
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/');









