webman2015 Posted July 8, 2009 Share Posted July 8, 2009 HI all, Has anyone else ever seen this? I followed the instructions precisely. Tried various changes and ideas. My links kept coming up as: http://homelightingtoday.comindex.php/?cPath=30_40 Not the missing slash after the .com After two weeks of working on this problem and reading all the forum posts, I finally figured out what the problem was. In my configure.php file I made the following change: define('HTTP_SERVER', 'http://www.homelightingtoday.com/'); define('HTTPS_SERVER', 'https://homelightingtoday.com/'); define('ENABLE_SSL', 'true'); Note the added slash in red. My SSL certificate still doesnt work, but at least the website is running smoothly again. Hope this helps someone. Troy Please help: I set up the SSL certificate on my hosting account with no problem. I am using Verisign SSL. They checked my certificates and say there is no problem. But after making the changes to the configure.php file, all of my products are missing. The homepage shows up and the categories show up. But all products lead to a blank page. My website is http://www.homelightingtoday.com Now, I have been trying to fix this for two weeks. I opened a brand new hosting account and re-installed all my files and database because I had this problem two weeks ago. I uploaded the whole website and the database of 40,000 items. After a week of work, I installed the SSL certificate on the server again with no problem. Then I altered the configure.php by simply changing one little thing. I changed the ssl from "false" to "true". Suddenly, all my products are gone again. Example: go to my home page, click on "bath lighting", then click on "contemporary" and with internet explorer, I get a blank white page. Anybody know what went wrong here? My configure.php is: define('HTTP_SERVER', 'http://www.homelightingtoday.com'); define('HTTPS_SERVER', 'https://www.homelightingtoday.com'); define('ENABLE_SSL', true); I have tried various ideas with the above settings from adding or removing the www and trying to reset my configure.php to its original settings. All with no results. I just dont know what to do anymore. this is my third time rebuilding the whole website because of this error. I have spent days scouring the web for clues or related problems. Any help would be greatly appreciated. Troy Link to comment Share on other sites More sharing options...
sprint10s Posted July 10, 2009 Share Posted July 10, 2009 i get a box pop up when going into the catalog saying do you want to view on the website content that was delivered securely, is there a way for this not to pop up, im afraid that most user will say yes and then the catalog looks like crap. www.racemaxims.com then click on online catalog at the top thanks Link to comment Share on other sites More sharing options...
Guest Posted July 23, 2009 Share Posted July 23, 2009 Your SSL seems to be functioning perfectly, Anna. Config files are fine. For future reference, if you do get a popup box in IE that says "this page contains both secure and nonsecure items. Do you wish to view the nonsecure items?", then this is your problem: You have *something* in your code that has an http:// link in it. This might be a reference to an image, such as http://www.arlisa-bijoux.com/shop/images/image1.jpg, or it could be a link, such as <a href="http://www.yahoo.com">Visit Yahoo Personals Today!</a>. Or it could be an embedded flash file. The solution: If you cannot rid the http:// and do something like ../images/image1.jpg, then find the page you have the http:// link on, and add an 's' to it. So it'll look like this: <a href="https://www.yahoo.com">Visit Yahoo Personals Today!"</a>. Just add the 's' to it, and you won't get that error. Furthermore, there are some things regarding your site that I'd really like to talk to you about, Anna. It's a very nice website, nice color scheme. You have PWA in there, good. You have changed the default look of OSC, good. Have your own buttons, good. But there are some serious things that I'd like to talk to you about, Anna, because this is too nice of a site to let go to waste. Et moi, je parle un peu de francais, aussi! Send me an e-mail, or find me on messenger (all of that's in my profile), and we'll go from there. hi jason thank you very mych for your help about installing the ssl but your instructions did not work for my include/configuer.php because when i click on my account the page url did not display https, thats will secare my customers because they are loging with thier details and its not secure can you please help me what am i missing my ssl is from godaddy.com and my page is www.gamait.co.uk but the isntruction worked for the admin/configuer.php Link to comment Share on other sites More sharing options...
Guest Posted July 23, 2009 Share Posted July 23, 2009 hi jasonthank you very mych for your help about installing the ssl but your instructions did not work for my include/configuer.php because when i click on my account the page url did not display https, thats will secare my customers because they are loging with thier details and its not secure can you please help me what am i missing my ssl is from godaddy.com and my page is www.gamait.co.uk but the isntruction worked for the admin/configuer.php its working now , it was not working becase my configuer.php file permision was not set correctly i.e it was not set to write so chnaged file permision to write , then did the change, then changed back the file permission to read only, now its working Link to comment Share on other sites More sharing options...
jgandia Posted July 23, 2009 Share Posted July 23, 2009 Hello, I'm new with this. I'm tryin to enable SSL on my host that has shared ssl. All works fine except when I go to admin I have error message : 'record too long'. My admin/includes/configure.php: define('HTTP_SERVER', 'https://myweb.x10hosting.com'); define('HTTP_CATALOG_SERVER', 'https://myweb.x10hosting.com'); define('HTTPS_CATALOG_SERVER', 'https://chopin.x10hosting.com/~myusername'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/home/myusername/public_html/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', '/home/myusername/public_html/admin/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/home/myusername/public_html/'); 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('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'myusername'); define('DB_SERVER_PASSWORD', '*******'); define('DB_DATABASE', 'databasename); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); My includes/configure (this works well): define('HTTP_SERVER', 'http://myweb.x10hosting.com'); define('HTTPS_SERVER', 'https://chopin.x10hosting.com/~myusername'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'myweb.x10hosting.com'); define('HTTPS_COOKIE_DOMAIN', 'chopin.x10hosting.com/~myusername'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_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/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/myusername/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'myusername'); define('DB_SERVER_PASSWORD', '*****'); define('DB_DATABASE', 'databasename); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); Please Help!!! :lol: Link to comment Share on other sites More sharing options...
♥ecartz Posted July 24, 2009 Share Posted July 24, 2009 My admin/includes/configure.php: define('HTTP_SERVER', 'https://myweb.x10hosting.com'); define('HTTP_CATALOG_SERVER', 'https://myweb.x10hosting.com'); define('HTTPS_CATALOG_SERVER', 'https://chopin.x10hosting.com/~myusername'); should be define('HTTP_SERVER', 'https://chopin.x10hosting.com/~myusername'); define('HTTP_CATALOG_SERVER', 'https://chopin.x10hosting.com/~myusername'); define('HTTPS_CATALOG_SERVER', 'https://chopin.x10hosting.com/~myusername'); You can't run more than one domain name on shared SSL. This is most likely the cause of your error. My includes/configure (this works well): define('HTTP_SERVER', 'http://myweb.x10hosting.com'); define('HTTPS_SERVER', 'https://chopin.x10hosting.com/~myusername'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'myweb.x10hosting.com'); define('HTTPS_COOKIE_DOMAIN', 'chopin.x10hosting.com/~myusername'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); should be define('HTTP_SERVER', 'http://myweb.x10hosting.com'); define('HTTPS_SERVER', 'https://chopin.x10hosting.com/~myusername'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'myweb.x10hosting.com'); define('HTTPS_COOKIE_DOMAIN', 'chopin.x10hosting.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/~myusername/'); The other way might have worked, but this might make the osCsid appear in the URL less often. Always back up before making changes. Link to comment Share on other sites More sharing options...
jgandia Posted July 24, 2009 Share Posted July 24, 2009 should be define('HTTP_SERVER', 'https://chopin.x10hosting.com/~myusername'); define('HTTP_CATALOG_SERVER', 'https://chopin.x10hosting.com/~myusername'); define('HTTPS_CATALOG_SERVER', 'https://chopin.x10hosting.com/~myusername'); You can't run more than one domain name on shared SSL. This is most likely the cause of your error. should be define('HTTP_SERVER', 'http://myweb.x10hosting.com'); define('HTTPS_SERVER', 'https://chopin.x10hosting.com/~myusername'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'myweb.x10hosting.com'); define('HTTPS_COOKIE_DOMAIN', 'chopin.x10hosting.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/~myusername/'); The other way might have worked, but this might make the osCsid appear in the URL less often. Thanks!. Now it works! :blush: Link to comment Share on other sites More sharing options...
jgandia Posted August 3, 2009 Share Posted August 3, 2009 Thanks!. Now it works! :blush: Now it seems to work but I can`t send e-mail from the utility on admin zone. I can't send e-mail too when I change the status of an order or when a customer makes an order he doesn't receive an e-mail. I've tried it disabling ssl and changing parameters of shared ssl server and it works well, so the problem is in shared ssl. How can I solve it? Thanks. Link to comment Share on other sites More sharing options...
Jerry Flynn Posted August 9, 2009 Share Posted August 9, 2009 Jason I used your set up for the SSL and now I can not log in to my admin. Any Ideas? Link to comment Share on other sites More sharing options...
mrecosse Posted August 24, 2009 Share Posted August 24, 2009 I'm with fasthosts in the UK. There seems to be much grief with getting OSC to work with their shared SSL system. If I can get this working I promise to write a thread explaining in 123 detail how to get it working. With their shared SSL you get two distinct sets of webspace. The normal space is in my instance on a Linux server whilst the SSL space is always on a Windows server. As suggested by their own support page I have uploaded mirrors of OSC to both servers. I've been through the processes explained in length above and I can get everything working on the user side of things. SSL is correctly detected and implemented through the checkout process, when accounts are set up and during login. However all of the admin still wants to take place on the non SSL site. Even if I log in using the https://vault1.secured-url.com/mysite/catalog/admin it takes me to the non SSL admin pages. Logging in on the http://www.mysite.com/catalog/admin also takes keeps on the non SSL side. Everything seems to work OK - but obviously not protected by a SSL connection. My catalog/includes configure.php file reads define('HTTP_SERVER', 'http://www.mysite.co.uk'); define('HTTPS_SERVER', 'https://vault1.secured-url.com/mysite'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.mysite.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'https://vault1.secured-url.com/mysite'); My admin/includes configure.php file reads define('HTTP_SERVER', 'http://www.mysite.co.uk'); define('HTTP_CATALOG_SERVER', 'http://www.mysite.co.uk'); define('HTTPS_CATALOG_SERVER', 'https://vault1.secured-url.com/mysite'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/home/fhlinux133/a/mysite.co.uk/user/htdocs/catalog/'); define('DIR_WS_ADMIN', '/catalog/admin/'); define('DIR_FS_ADMIN', '/home/fhlinux133/a/mysite.co.uk/user/htdocs/catalog/admin/'); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', '/home/fhlinux133/a/mysite.co.uk/user/htdocs/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/'); I've tried putting an s on the end of the http for the HTTP_SERVER and HTTP_CATALOG_SERVER lines but that just doesn't work at all. I'm wondering if these should be set to the vault1.secured-url.com... address? If so then the DIR_FS_ADMIN and DOCUMENT_ROOT lines look suspicious as these are obviously linux paths - whereas I know my SSL space is on a windows machine? If I need to change these to match the windows paths is there anything else I need to do? I'm resigned to the fact that I might need to manually copy any images for new products from the SSL space to the 'normal' space - but I can live with that. If only I can get the admin to work under SSL. Any clues? Simon Link to comment Share on other sites More sharing options...
www.resourcesonline.us Posted September 20, 2009 Share Posted September 20, 2009 I am following your directions on installing the SSl. However when I make changes to the catalog/indludes/configure.php the changes wont take. Every time I uplaod the file and then redownload the file again it goes back to the same settings. If I change the false to true and add the s after the HTTP then uplaod the file it wont take. Again I will downlaod the same file to check on if the changes were made and they go back to the default code that was there originally. Here is what it looks like: <?php define('HTTP_SERVER', 'http://ezidavid.accountsupport.com'); define('HTTPS_SERVER', 'https://ezidavid.accountsupport.com'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'ezidavid.accountsupport.com'); define('HTTPS_COOKIE_DOMAIN', 'ezidavid.accountsupport.com'); define('HTTP_COOKIE_PATH', '/STORE/'); define('HTTPS_COOKIE_PATH', '/STORE/'); define('DIR_WS_HTTP_CATALOG', '/STORE/'); define('DIR_WS_HTTPS_CATALOG', '/STORE/'); 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', 'STORE'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'ezidavid.accountsupportmysql.com'); define('DB_SERVER_USERNAME', 'ezidavid_app'); define('DB_SERVER_PASSWORD', 'pssword1'); define('DB_DATABASE', 'ezidavid_IC_20090919_122714'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> Link to comment Share on other sites More sharing options...
blr044 Posted September 21, 2009 Share Posted September 21, 2009 I am following your directions on installing the SSl. However when I make changes to the catalog/indludes/configure.php the changes wont take. Every time I uplaod the file and then redownload the file again it goes back to the same settings.If I change the false to true and add the s after the HTTP then uplaod the file it wont take. Again I will downlaod the same file to check on if the changes were made and they go back to the default code that was there originally. Here is what it looks like: <?php define('HTTP_SERVER', 'http://ezidavid.accountsupport.com'); define('HTTPS_SERVER', 'https://ezidavid.accountsupport.com'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'ezidavid.accountsupport.com'); define('HTTPS_COOKIE_DOMAIN', 'ezidavid.accountsupport.com'); define('HTTP_COOKIE_PATH', '/STORE/'); define('HTTPS_COOKIE_PATH', '/STORE/'); define('DIR_WS_HTTP_CATALOG', '/STORE/'); define('DIR_WS_HTTPS_CATALOG', '/STORE/'); 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', 'STORE'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'ezidavid.accountsupportmysql.com'); define('DB_SERVER_USERNAME', 'ezidavid_app'); define('DB_SERVER_PASSWORD', 'pssword1'); define('DB_DATABASE', 'ezidavid_IC_20090919_122714'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> Seems like i hve done the same thing in the past. I had to change permission of file before I could edit it. Just make sure you put permission back to 444 or 400 after editing. Bennett Link to comment Share on other sites More sharing options...
mycreativewishes Posted October 26, 2009 Share Posted October 26, 2009 I have configured the pages you directed to configure and my site still does not pull up ssl certificate unless you type in https:// instead of http:// I contacted my hosting and asked why this would not work right. They then went into the ht access and redirected the site. That was fine and the ssl worked after that, however, when I submitted to the search engines I got an error stating that search engines would not index secure servers. I asked them about this and all I want is for the site to be secure when creating an account and at checkout. They said it is a coding issue in the links, but I don't know how to begin making the adjustments, or where to make this work properly. Please review my site and help me fix this problem. http://creativewisheswholesale.com. The foloowing code is from the includes/configure.php file, the one underneath is from the admin/includes/configure.php define('HTTP_SERVER', 'http://www.creativewisheswholesale.com');// eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.creativewisheswholesale.com');// eg, http://localhost - should not be empty for productive servers define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.creativewisheswholesale.com'); define('HTTPS_COOKIE_DOMAIN', 'www.creativewisheswholesale.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_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/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/creative/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); ___________________________________________________________________________ define('HTTP_SERVER', 'https://www.creativewisheswholesale.com'); define('HTTP_CATALOG_SERVER', 'https://www.creativewisheswholesale.com'); define('HTTPS_CATALOG_SERVER', 'http://creativewisheswholesale.com'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/home/creative/public_html/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', '/home/creative/public_html/admin/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/home/creative/public_html/'); 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/'); Link to comment Share on other sites More sharing options...
BryceJr Posted October 26, 2009 Share Posted October 26, 2009 @mycreativewishes: Check for an extra configure.php file in includes/local and admin/includes/local folder. If you find it, rename it. Link to comment Share on other sites More sharing options...
mycreativewishes Posted October 26, 2009 Share Posted October 26, 2009 @mycreativewishes: Check for an extra configure.php file in includes/local and admin/includes/local folder. If you find it, rename it. There is no extra configure.php file that I can find. Joe Link to comment Share on other sites More sharing options...
BryceJr Posted October 27, 2009 Share Posted October 27, 2009 Comment the htaccess lines that your provider put in your htaccess file. Put a "#" in front of the line(s). Since they put it, ask them which lines. Ex: #rewrite something Your configure.php files look good. Your store should go to SSL on pages that require it such as login, create account, etc. There is no extra configure.php file that I can find. Joe Link to comment Share on other sites More sharing options...
Ben Nevis Posted November 17, 2009 Share Posted November 17, 2009 Ok, well until now I hadn't used SSL, but because of comments here around saying it was A Good Thing, I decided to enable it. My host provides shared SSL so I updated the config files according to the instructions, and everything appeared fine, https was invoked when I tried to login as a customer, I clicked on 'Sign In' .. and then I lost my session ID. So all the normal losing session id things happened. Any idea why this might have happened, anyone? Any idea what I should look for? The configure.php files entries are correct, the https url is correct (albeit that it points to a different domain address than my shop), the secure page comes up, but the session Id gets lost in passing from http to https. www.jyoshna.com. Currently using OsC with STS, Super Download Store, Categories Descriptons, Manufacturers Description, Individual Item Status, Infopages unlimited, Product Sort, Osplayer with flashmp3player, Product Tabs 2.1 with WebFx Tabpane and other bits and pieces including some I made myself. Many thanks to all whose contributions I have used! Link to comment Share on other sites More sharing options...
Ben Nevis Posted November 18, 2009 Share Posted November 18, 2009 Ok, well until now I hadn't used SSL, but because of comments here around saying it was A Good Thing, I decided to enable it. My host provides shared SSL so I updated the config files according to the instructions, and everything appeared fine, https was invoked when I tried to login as a customer, I clicked on 'Sign In' .. and then I lost my session ID. So all the normal losing session id things happened. Any idea why this might have happened, anyone? Any idea what I should look for? The configure.php files entries are correct, the https url is correct (albeit that it points to a different domain address than my shop), the secure page comes up, but the session Id gets lost in passing from http to https. If it's of any help, although it might just add to the confusion, a fresh install of osC 2.2 behaves in exactly the same way, so that suggests the behaviour isn't anything to do with any mods I've done or contributions I've added. On the otherhand, a fresh install of osC 3.0, which I'd put on to play around with, behaves itself. Ie it keeps the session ID throughout the change from http to https pages and switching around between them. All three (my actual 2.2-based shop, 'fresh' 2.2 and 3.0) all have exactly the same settings in the configure files. www.jyoshna.com. Currently using OsC with STS, Super Download Store, Categories Descriptons, Manufacturers Description, Individual Item Status, Infopages unlimited, Product Sort, Osplayer with flashmp3player, Product Tabs 2.1 with WebFx Tabpane and other bits and pieces including some I made myself. Many thanks to all whose contributions I have used! Link to comment Share on other sites More sharing options...
Guest Posted November 18, 2009 Share Posted November 18, 2009 Good day to you all, I'm hoping somone could give me some help as this thread has already given me a much better understanding of the problem and the knowledge within is excellent. I'm having a long headache with my SSL and the site switching from http:// to https://. The sites domain is www.radshaperc.com which has an SSL written specifically for us and when you go to the shop online and go to the login, account etc., it won't switch over to the https:// secure side? Instrestingly if you manually type in https:// infront of anything it all works but it won't switch over at the crtical points. An SSL Checker states everything is OK. I've tried all the excellent advice already on here but I just can't get to the bottom of it. My include/configure.php reads: <?php define('HTTP_SERVER', 'http://www.radshaperc.com'); define('HTTPS_SERVER', 'https://www.radshaperc.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'radshaperc.com'); define('HTTPS_COOKIE_DOMAIN', 'radshaperc.com'); define('HTTP_COOKIE_PATH', '/osc/'); define('HTTPS_COOKIE_PATH', '/osc/'); define('DIR_WS_HTTP_CATALOG', '/osc/'); define('DIR_WS_HTTPS_CATALOG', '/osc/'); 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/chri7522/public_html/osc'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'chri7522_osc1'); define('DB_SERVER_PASSWORD', 'xNm4WJ61nr'); define('DB_DATABASE', 'chri7522_osc1'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> and my admin/includes/configure.php reads: <?php define('HTTP_SERVER', 'https://www.radshaperc.com'); define('HTTP_CATALOG_SERVER', 'https://www.radshaperc.com'); define('HTTPS_CATALOG_SERVER', 'https://www.radshaperc.com'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/home/chri7522/public_html/osc'); define('DIR_WS_ADMIN', '/osc/admin/'); define('DIR_FS_ADMIN', '/home/chri7522/public_html/osc/admin/'); define('DIR_WS_CATALOG', '/[%installpath %]/'); define('DIR_FS_CATALOG', '/home/chri7522/public_html/osc/'); 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('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'chri7522_osc1'); define('DB_SERVER_PASSWORD', 'xNm4WJ61nr'); define('DB_DATABASE', 'chri7522_osc1'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> Thanks in advance for any help you can give. Chris Link to comment Share on other sites More sharing options...
litaliacool Posted November 18, 2009 Share Posted November 18, 2009 Hi All I purchased a SSL certificate off my Hosting site... the SSL is called fastweb.co.uk My hosting is on a shared sever... i don’t now if the SSL is on a shared server... I have uploaded all the checkout_*****.php's, create_account.php's, login.php and logoff.php and that’s it... When I login as a customer or try and checkout i get these messages Warning: main(includes/application_top.php): failed to open stream: No such file or directory in /home/web/secure/html/cinemascreens/checkout_shipping.php on line 13 Fatal error: main(): Failed opening required 'includes/application_top.php' (include_path='.:') in /home/web/secure/html/cinemascreens/checkout_shipping.php on line 13 I have tried playing with the config I just can not sort it out any help would be appreciated Here are my configure.php Admin/includes/configure.php define('HTTP_SERVER', 'http://www.cinemascreens.co.uk'); define('HTTP_CATALOG_SERVER', 'http://www.cinemascreens.co.uk'); define('HTTPS_CATALOG_SERVER', 'https://www.fastweb.co.uk/cinemascreens'); define('ENABLE_SSL_CATALOG', 'true');// secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/vhost/vhost8/c/i/n/cinemascreens.co.uk/www/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', '/vhost/vhost8/c/i/n/cinemascreens.co.uk/www/admin/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/vhost/vhost8/c/i/n/cinemascreens.co.uk/www/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); includes/configure.php define('HTTP_SERVER', 'http://www.cinemascreens.co.uk'); define('HTTPS_SERVER', 'https://www.fastweb.co.uk/cinemascreens/'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.cinemascreens.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'https://www.fastweb.co.uk/cinemascreens/'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); Thank you :'( Frank Link to comment Share on other sites More sharing options...
freckles Posted November 24, 2009 Share Posted November 24, 2009 Hi All, I just implemented my SSL, and it worked! Amazing things happen when ya read the directions carefully. The problem is now none of the images load when i'm on the https site. i tried adding text to the .htaccess to make it text.htaccess, and that didn't make any difference. i tried altering application_top.php following the directions on the first page of the other SSL help topic: // set the type of request (secure or not) $request_type = (getenv('HTTPS') == '1') ? 'SSL' : 'NONSSL'; // set the type of request (secure or not) $request_type = ($_SERVER['HTTPS'] == 'on') ? 'SSL' : 'NONSSL'; // set the type of request (secure or not) $request_type = (getenv('SERVER_PORT') == '443') ? 'SSL' : 'NONSSL';to either 1 or $_SERVER and non of those worked either. so how do I get the images to load on the https pages? here is the site, but its not public and not finished, so please don't actually try to buy anything yet. http://www.nicholasb...store/index.php ok, thanks for any help you all can give, its much appreciated. Link to comment Share on other sites More sharing options...
Guest Posted November 28, 2009 Share Posted November 28, 2009 Did you ever get a fix for this? I'm having the same problem on http://www.dumpsterdivastreasures.com. The https seems to be working fine because I can get to it if I type it in directly, but the site won't flip from http to https at the appropriate points. I've got ENABLE_SSL set to true, and there are no redirects in the .htaccess file. Good day to you all, I'm hoping somone could give me some help as this thread has already given me a much better understanding of the problem and the knowledge within is excellent. I'm having a long headache with my SSL and the site switching from http:// to https://. The sites domain is www.radshaperc.com which has an SSL written specifically for us and when you go to the shop online and go to the login, account etc., it won't switch over to the https:// secure side? Instrestingly if you manually type in https:// infront of anything it all works but it won't switch over at the crtical points. An SSL Checker states everything is OK. I've tried all the excellent advice already on here but I just can't get to the bottom of it. My include/configure.php reads: <?php define('HTTP_SERVER', 'http://www.radshaperc.com'); define('HTTPS_SERVER', 'https://www.radshaperc.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'radshaperc.com'); define('HTTPS_COOKIE_DOMAIN', 'radshaperc.com'); define('HTTP_COOKIE_PATH', '/osc/'); define('HTTPS_COOKIE_PATH', '/osc/'); define('DIR_WS_HTTP_CATALOG', '/osc/'); define('DIR_WS_HTTPS_CATALOG', '/osc/'); 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/chri7522/public_html/osc'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'chri7522_osc1'); define('DB_SERVER_PASSWORD', 'xNm4WJ61nr'); define('DB_DATABASE', 'chri7522_osc1'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> and my admin/includes/configure.php reads: <?php define('HTTP_SERVER', 'https://www.radshaperc.com'); define('HTTP_CATALOG_SERVER', 'https://www.radshaperc.com'); define('HTTPS_CATALOG_SERVER', 'https://www.radshaperc.com'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/home/chri7522/public_html/osc'); define('DIR_WS_ADMIN', '/osc/admin/'); define('DIR_FS_ADMIN', '/home/chri7522/public_html/osc/admin/'); define('DIR_WS_CATALOG', '/[%installpath %]/'); define('DIR_FS_CATALOG', '/home/chri7522/public_html/osc/'); 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('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'chri7522_osc1'); define('DB_SERVER_PASSWORD', 'xNm4WJ61nr'); define('DB_DATABASE', 'chri7522_osc1'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> Thanks in advance for any help you can give. Chris Link to comment Share on other sites More sharing options...
germ Posted November 28, 2009 Share Posted November 28, 2009 Did you ever get a fix for this? I'm having the same problem on http://www.dumpsterdivastreasures.com. The https seems to be working fine because I can get to it if I type it in directly, but the site won't flip from http to https at the appropriate points. I've got ENABLE_SSL set to true, and there are no redirects in the .htaccess file. Your site work just as it should for me using IE7 anf Firefox 3.0 :thumbsup: Freckles and I got a resolution on his problem in another thread. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Guest Posted November 28, 2009 Share Posted November 28, 2009 Murphy's Law - as soon as I posted the question, I figured out what I was doing wrong. Now, I'm getting an error when I click on Google Checkout. Do you get the same on my site, it goes right to the Google Checkout error screen when you click on the Google Checkout button? Your site work just as it should for me using IE7 anf Firefox 3.0 :thumbsup: Freckles and I got a resolution on his problem in another thread. Link to comment Share on other sites More sharing options...
germ Posted November 28, 2009 Share Posted November 28, 2009 Murphy's Law - as soon as I posted the question, I figured out what I was doing wrong. Now, I'm getting an error when I click on Google Checkout. Do you get the same on my site, it goes right to the Google Checkout error screen when you click on the Google Checkout button? Google Checkout Support Thread If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.