ASP Posted October 9, 2014 Share Posted October 9, 2014 (edited) I currently have Prestashop installed in domain.com/shop/ whilst building in maintenance mode, and plan to move to the root when ready to go live. My host offers "Thawte Secure SSL space for secure online shop Checkout pages, linked from the main website". Using their service I've created a unique folder entitled 'secure-ssl' which generated the following URL: https://secure53.prositehosting.co.uk/secure-ssl If I add this URL as the 'SSL domain' in the 'SEO & URLs' section and then try to enable SSL, a 'Not found' page is displayed as it is looking for: /secure-ssl/shop/admin9540/index.php How do I correctly configure Prestashop to make use of this SSL folder for account and checkout purposes? Edited October 17, 2014 by ASP (see edit history) Link to comment Share on other sites More sharing options...
Bill Dalton Posted October 10, 2014 Share Posted October 10, 2014 ASP, your SSL (HTTPS) must point to the same place as your HTTP. It looks like you are creating a new directory separate from the directory you have Prestashop installed. Also you don't add the directory to the domain. If the the https domain is https://secure53.pro...o.uk/ that is all you enter, all folders within that domain will be allowed. If you need to use the directory "secure-ssl" ... that needs to be the root directory for your shop. 1 Link to comment Share on other sites More sharing options...
ASP Posted October 10, 2014 Author Share Posted October 10, 2014 (edited) Thank you for the response. I think it best if I explain my situation.I'm using Fasthosts and pay for their Business Gold package. They are a popular host in the UK and list Prestashop as their most installed e-commerce platform.The help page explains that I can add a shared SSL space for e-commerce by creating a folder on their SSL server. This must be uniquely titled and is accessed by uploading files to a folder with the same name on my domain.The folder name "secure-ssl" was available, so I created this directory as a test. To save confusion, let's say I went with "ASP-Shop" instead as advised by Fasthosts. I obviously don't want my shop URLs to be prefixed by ASPdomain.com/ASP-Shop/, so is there a way of making the checkout section the only area using the SSL directory instead of the whole site as per Amazon, eBay etc.? Edited October 10, 2014 by ASP (see edit history) Link to comment Share on other sites More sharing options...
Bill Dalton Posted October 10, 2014 Share Posted October 10, 2014 I understand. They will allow you to create a folder and anything you put in the folder can use SSL. Unless you setup your PrestaShop in that SSL folder it will be useless to you. You need to have both the http and https pointing to the same directory. Usually with a shared host you would just need to enter their SSL domain and it would work for your existing site path. You should contact your host for more info. 1 Link to comment Share on other sites More sharing options...
ASP Posted October 11, 2014 Author Share Posted October 11, 2014 Spoke with the host and I cannot have my desired root location, so have settled upon /wares/ which was available on the shared SSL directory and suits my brand.I've changed the Base URI to /wares/ and renamed my "shop" folder to "wares", which has worked. I've entered secure53.prositehosting.co.uk as the SSL domain and clicked on the Please click here to us HTTPS... link and entered my login details.The back office is now running from the SSL domain and shows the padlock in the browser, but the customer account and cart on the front office are still insecure. Under the Enable SSL option in the back office General tab, it still displays this: Link to comment Share on other sites More sharing options...
Bill Dalton Posted October 11, 2014 Share Posted October 11, 2014 That means your theme may be pointing to resource with http address and not https. If you need help with that you'll need to post a link to your web site. 1 Link to comment Share on other sites More sharing options...
ASP Posted October 12, 2014 Author Share Posted October 12, 2014 On 10/11/2014 at 4:46 PM, Bill Dalton said: That means your theme may be pointing to resource with http address and not https. If you need help with that you'll need to post a link to your web site. I cannot post a link to the site as it is in maintenance mode and only visible with my IP. It contains forthcoming products and info that we don't want to be leaked early. I can provide full details and screenshots of any aspect of my Prestashop installation. My theme is a duplicate of the default with modifications to the CSS files. Please let me know what to check or provide. Thank you! Link to comment Share on other sites More sharing options...
Bill Dalton Posted October 12, 2014 Share Posted October 12, 2014 (edited) Other problems may be found with your search module and others, take a look at this thread, http://www.prestashop.com/forums/topic/346307-chrome-ssl-error/ Unfortunately it could be one of many things. If you know how to use the developer tools within your browser they will help you quickly identify the resource calls that need to be converted to an SSL call. You may find a http:// link to Google fonts in your theme headertpl. If so change to https:// Edited October 12, 2014 by Bill Dalton (see edit history) 1 Link to comment Share on other sites More sharing options...
ASP Posted October 13, 2014 Author Share Posted October 13, 2014 Thank you for the continued support Mr. Dalton, I greatly appreciate the help.Please note that I am not at the stage of the scenario above. I'm stuck at the point of enabling SSL. The Pref/General page still displays the "Please click here to us HTTPS..." link. When I click, the admin page refreshes but nothing changes: Link to comment Share on other sites More sharing options...
Bill Dalton Posted October 13, 2014 Share Posted October 13, 2014 If I go to https://secure53.prositehosting.co.uk/wares/ I do see the site in maintenance mode. In Preferences/SEO & URLs/Set shop URL Shop Domain: www.example.com SSL domain: secure53.prositehosting.co.uk Base URI: /wares/ Please confirm this matches what you have. 1 Link to comment Share on other sites More sharing options...
ASP Posted October 13, 2014 Author Share Posted October 13, 2014 Yes, but the only difference is no "www.": Shop Domain: example.com Link to comment Share on other sites More sharing options...
Bill Dalton Posted October 14, 2014 Share Posted October 14, 2014 That's fine. Please try it from another browser, or clear your browser cache. It wouldn't hurt at this point to clear your web site cache \cache\smarty\compile\cache\smarty\cache\themes\your-theme\cache 1 Link to comment Share on other sites More sharing options...
ASP Posted October 14, 2014 Author Share Posted October 14, 2014 Tried in a different clean browser (Firefox), cleared my usual browser cache (Chrome) and deleted all files contained in: \cache\smarty\compile\cache\smarty\cache\themes\your-theme\cache All to no avail, I'm afraid. Still getting this: On 10/13/2014 at 10:52 AM, ASP said: Please note that I am not at the stage of the scenario above. I'm stuck at the point of enabling SSL. The Pref/General page still displays the "Please click here to us HTTPS..." link. When I click, the admin page refreshes but nothing changes: Link to comment Share on other sites More sharing options...
Bill Dalton Posted October 14, 2014 Share Posted October 14, 2014 It seems for whatever reason the PHP routines are not recognising your SSL domain even though it is a working address. Lets try to bypass that. Your host controls ... use to open your MySQL directly. In table ps_configuration Change id_configuration 31 PS_SSL_ENABLED Change to value 1id_configuration 232 > PS_SHOP_DOMAIN_SSL Change to value secure53.prositehosting.co.uk Please note the id_configuration numbers may be different, I used mine, the important part is to find PS_SSL_ENABLED and change the value to one, using the numeral 1. Also find PS_SHOP_DOMAIN_SSL. 1 Link to comment Share on other sites More sharing options...
ASP Posted October 15, 2014 Author Share Posted October 15, 2014 Thank you so much, we're getting somewhere now! SSL is now enabled, but I am now unable to access the secure areas of the store due to Error code: ERR_TOO_MANY_REDIRECTS: Link to comment Share on other sites More sharing options...
Bill Dalton Posted October 15, 2014 Share Posted October 15, 2014 Lets first try regenerating .htaccess. Preferences/SEO & URLs If you have Friendly URL on, please turn off, don't forget to save. If you are not using Friendly URL please delete file .htaccess. 1 Link to comment Share on other sites More sharing options...
ASP Posted October 16, 2014 Author Share Posted October 16, 2014 (edited) Have turned off and saved, but same error received. I have Clean URLs installed, so also disabled that, but no change. Edited October 16, 2014 by ASP (see edit history) Link to comment Share on other sites More sharing options...
Bill Dalton Posted October 16, 2014 Share Posted October 16, 2014 Next please change Preferences / SEO & URLs > Redirect to the canonical URL > No Redirection. 1 Link to comment Share on other sites More sharing options...
ASP Posted October 16, 2014 Author Share Posted October 16, 2014 No change Link to comment Share on other sites More sharing options...
Bill Dalton Posted October 16, 2014 Share Posted October 16, 2014 (edited) You will need to contact your host, I should be able to reach your web site here, http://secure53.prositehosting.co.uk/wares/ If I use the secure version I am redirected. https://secure53.prositehosting.co.uk/wares/ This as you can see doesn't work. Contact your host, let them know. They may be able to change the configuration to eliminate the redirect. Edited October 16, 2014 by Bill Dalton (see edit history) 1 Link to comment Share on other sites More sharing options...
ASP Posted October 16, 2014 Author Share Posted October 16, 2014 Live chatted with the host and we started from scratch as the previous advisor's solution was not correct.I've made the Base URI /shop/ and renamed the "wares" folder "shop" as it was originally.Following their recommendation I've deleted the "wares" folder on the shared secure server and created one called "MyDomain". The SSL domain is now: secure53.prositehosting.co.uk/MyDomain/ and I have duplicates of my whole Prestashop /shop/ directory copied to secure53.prositehosting.co.uk/MyDomain/shop/ With SSL enabled the cart now points to secure53.prositehosting.co.uk/MyDomain/shop/order which is correct, but somewhere lodged into the Prestashop files is the "wares" directory relic as the browser displays the error: Not FoundThe requested URL /wares/index.php was not found on this server. Link to comment Share on other sites More sharing options...
Bill Dalton Posted October 16, 2014 Share Posted October 16, 2014 You removed/changed /wares/ from base URI in Preferences / SEO & URLs ? 1 Link to comment Share on other sites More sharing options...
ASP Posted October 16, 2014 Author Share Posted October 16, 2014 Yes, it's now /shop/ When I hover over Cart it displays: https://secure53.prositehosting.co.uk/MyDomain/ But when I click it the browser displays this: Link to comment Share on other sites More sharing options...
Bill Dalton Posted October 16, 2014 Share Posted October 16, 2014 (edited) Try Advanced Parameters / Performance Choose Force compilationTurn cache off. Wouldn't hurt to delete .htaccess again if that doesn't work. Edited October 16, 2014 by Bill Dalton (see edit history) 1 Link to comment Share on other sites More sharing options...
ASP Posted October 16, 2014 Author Share Posted October 16, 2014 (edited) Our responses crossed-over! I deleted .htaccess, cleared cache and forced compilation which got rid of the /wares/ error, but now have another issue. Will update here tomorrow when I've had a chance to solve it. Thank you for your patience and support Mr. Dalton, most helpful indeed. Edited October 16, 2014 by ASP (see edit history) 1 Link to comment Share on other sites More sharing options...
ASP Posted October 17, 2014 Author Share Posted October 17, 2014 As advised by the host, I have copied the full set of Prestashop files to https://secure53.prositehosting.co.uk/SecureDomainFolder/shop/ but the URLs for the secure content such as '/order' and '/my-account' are not real directories and result in this error:"The requested URL /SecureDomainFolder/shop/order was not found on this server."With SSL disabled I'm taken through to '/shop/order' for the cart summary page. Link to comment Share on other sites More sharing options...
Bill Dalton Posted October 17, 2014 Share Posted October 17, 2014 To be clear, you are trying to run two sets of files? If so that will not work. It will only work if you use one set of files. That means if you wish to use SSL, you must enable SSL access to the path of your PS installation. For example, if you setup you shop in https://secure53.prositehosting.co.uk/SecureDomainFolder/shop/ You need to have your host point yourdomain.com to THAT folder SecureDomainFolder/shop/ so that both can be reached. As you can see using a shared SSL domain will cause some headaches. Including having two access points that also create some duplicate content issues. That means you must also make use of Robots.txt to block search engines from indexing content from the https://secure53.prositehosting.co.uk path and only the yourdomain.com path. Add to that .... Google is now encouraging all websites to run 100% SSL. I really strongly suggest you consider installing your own dedicated SSL certificate for yourdomain.com. That is not to say we can't continue with your present course. Full speed ahead Captain, if you like. 1 Link to comment Share on other sites More sharing options...
ASP Posted October 17, 2014 Author Share Posted October 17, 2014 I'll get back in touch with the host, this is getting ridiculous. They claim to have many happy ecommerce customers using SSL via their shared server. Link to comment Share on other sites More sharing options...
ASP Posted October 17, 2014 Author Share Posted October 17, 2014 (edited) What a waste of everyone's time, Fasthosts are not able to run Prestashop with SSL enabled! I will therefore be moving my hosting to TSO Host. They are Prestashop friendly and confirmed that I'll be able to have an SSL certificate and install Prestashop at https://MyDomain.com. It will also save me nearly £50 a year on hosting fees!Thanks again for all of your help with this Mr. Dalton! Edited October 17, 2014 by ASP (see edit history) 1 Link to comment Share on other sites More sharing options...
Bill Dalton Posted October 17, 2014 Share Posted October 17, 2014 You got to where I wanted you to be. I'm happy. Hope to see you around the forum. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now