Jump to content


Photo

Can't Get The Https To Work


  • Please log in to reply
13 replies to this topic

#1 Jack from Hurst

Jack from Hurst

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 18 October 2011 - 11:10 AM

Hello: I can't get the https:// to work on our shopping cart. I am using 1.8.1 cart, and on our hosting site have installed and tested an SSL cert from Networks Solutions. I have changed the HTTPS Setting in the Admin area and edited the "avactis-layouts/storefront-layout.ini" as per your instructions in the 1.8.1 manual shown below. Can you please help me correcting what ever is preventing the HTTPS/SSL from working. Thanks.

<b>[Site]
 ;The path and URL of the online storefront.
 ;The paths and URLs of all storefront pages listed below, as well as the
 ;TemplateDirectory path, are specified relative to SiteURL and SitePath.
 SiteURL = "http://www.australia...cts.com/store/"
 SitePath = "/home/austra20/public_html/store/"
 SiteHTTPSURL = "https://www.australi...cts.com/store/"
 
 [Templates]
 ;The path to the folder containing store block templates.
 ;By default, store blocks use the system templates contained in the folder avactis-templates.
 ;To use a different set of templates, uncomment the line TemplateDirectory.
 ;The path to the template folder is specified relative to SitePath.
 TemplateDirectory = avactis-templates
 
 [ProductList]
 ;This section specifies the file name and the path to the file of the page that
 ;displays the list of products and subcategories of the selected category.
 ;The file path is specified relative to SitePath.
 Default = store.php
 Categories {34}= store-special-offers.php
 
 [ProductInfo]
 ;This section specifies the file name and the path to the file of the
 ;page that displays the selected product description.
 ;The file path is specified relative to SitePath.
 Default = product-info.php
 ;Categories {3}= product-trousers.php
 ;Products {1, 13, 24}= product-gloves.php
 
 [SearchResult]
 ;This section specifies the file name and the path to the file of the page that displays
 ;the Search Results. The file path is specified relative to SitePath.
 Default = search-results.php
 
 [Cart]
 ;This section specifies the file name and the path to the file of the page that displays
 ;the Shopping Cart contents. The file path is specified relative to SitePath.
 Default= cart.php
 
 [Checkout]
 ;This section specifies the file name and the path to the file of the checkout page.
 ;The file path is specified relative to SitePath.
 HTTPS = YES
 Default = checkout.php
 
 [Closed]
 ;This section specifies the file name and the path to the file of the Store Closed page.
 ;The file path is specified relative to SitePath.
 Default = store-closed.php
 
 [Download]
 Default = download.php
 
 [Registration]
 Default = register.php
 
 [AccountActivation]
 Default = activation.php
 
 [CustomerPersonalInfo]
 Default = personal-info.php
 
 [CustomerOrdersHistory]
 Default = orders.php
 
 [CustomerOrderInfo]
 Default = order-info.php
 
 [CustomerOrderInvoice]
 Default = order-invoice.php
 
 [CustomerOrderDownloadLinks]
 Default = order-download-links.php
 
 [CustomerSignIn]
 Default = sign-in.php
 
 [CustomerNewPassword]
 Default = new-password.php
 
 [CustomerChangePassword]
 Default = change-password.php
 
 [CustomerForgotPassword]
 Default = forgot-password.php
 
 [CustomerAccountHome]
 Default = home.php
 </b>


#2 DonH

DonH

    Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 1,022 posts

Posted 22 October 2011 - 04:10 PM

I no longer have 1.8 installed. Have you enabled https for specific areas of the storefront in the admin? When you say that it's not working, what is happening?

#3 Ruby Chair

Ruby Chair

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 22 December 2011 - 07:21 AM

Howdy. I have such problems too. And I failed to get it fixed. So strange. Can you help me please?

#4 DonH

DonH

    Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 1,022 posts

Posted 22 December 2011 - 10:58 AM

We would need much more information. Which cart version? What have you done? Which specific areas are not being served as https? What, if any, error messages are you getting?

#5 kris

kris

    Novice

  • Members
  • PipPip
  • 30 posts

Posted 27 December 2011 - 07:22 AM

We would need much more information. Which cart version? What have you done? Which specific areas are not being served as https? What, if any, error messages are you getting?



Hi I am having the same problems:
Version : 2.1.1

I have the Payment "Offline credit card "
In Admin : HTTPS Storefront is pointing to the wrong directory, but when i type in the correct directory and hit save. Nothing happens.

Is there a file i can edit manually to point to the correct directory?

thanks

#6 Lana

Lana

    Devotee

  • Members
  • PipPipPipPip
  • 123 posts

Posted 27 December 2011 - 08:29 AM

Your problem may connect with your store url if your SSL certificate is provided for www.yourstore.com, but you are trying to specify the https url without prefix. Use the same domain name for your http and https urls. Also check if your avactis-system/https_config.php file is writeable for script.

Try opening the "robots.txt" file via https:

https://yourstore.com/robots.txt


Does it work without warnings?

#7 kris

kris

    Novice

  • Members
  • PipPip
  • 30 posts

Posted 27 December 2011 - 09:13 AM

Your problem may connect with your store url if your SSL certificate is provided for www.yourstore.com, but you are trying to specify the https url without prefix. Use the same domain name for your http and https urls. Also check if your avactis-system/https_config.php file is writeable for script.

Try opening the "robots.txt" file via https:

https://yourstore.com/robots.txt


Does it work without warnings?


Hi Lana,

Thanks for your reply.

I installed SSL (by GoDaddy) to my www.mydomain.com, but the store is in www.mydomain.com/estore
I was told by Godaddy that the cart would still work in the subdomain as long as I point the HTTPS to the correct domain www.mydomain.com
When i enter the domain (www.mydomain.com) in the Admin/https settings, it does not accept it, and the HTTPS setting is still pointing to the www.mydomain.com/estore.
I changed the https_config.php file to point to www.mydomain.com, but that just stopped the whole shopping cart from loading.
How do I point the HTTPS to www.mydomain.com?

I checked the permission of the avactis-system/https_config.php and changed it to writeable via File permission. I'm not sure what you mean by Writeable for script? After updating the permission, I still could not update the pointer for HTTPS in Admin.

Here is the following message you get when you try and purchase something from my website:
"Manual Offline Credit Card Processing Payment module requires an HTTPS connection. Right now an HTTP connection is used, which automatically disables the module. Please set up an HTTPS connection for storefont checkout pages and try again. ?


I tried the following : http://www.lifecreat....com/robots.txt (this is the directory that the SSL is installed in)
and it opened my page fine. (no errors displayed)

When i tried http://www.lifecreat...tore/robots.txt (which is the directory that the store is installed in)
I get the following: Which i assume is correct, as SSL is not installed in the subdirectory.

User-agent: *
Disallow: /activation.php
Disallow: /cart.php
Disallow: /change-password.php
Disallow: /checkout.php
Disallow: /download.php
Disallow: /forgot-password.php
Disallow: /home.php
Disallow: /init.php
Disallow: /new-password.php
Disallow: /order-download-links.php
Disallow: /order-info.php
Disallow: /order-invoice.php
Disallow: /orders.php
Disallow: /personal-info.php
Disallow: /register.php
Disallow: /search-form.php
Disallow: /search-results.php
Disallow: /store-closed.php
Disallow: /subscriptions.php
Disallow: /unsubscribe.php
Disallow: /avactis-system/


Thank you in advance for all of your help.
Kristina

#8 Lana

Lana

    Devotee

  • Members
  • PipPipPipPip
  • 123 posts

Posted 28 December 2011 - 05:04 AM

Why are you trying to change your https url to www.mydomain.com? Keep it www.mydomain.com/estore, it's OK.

#9 kris

kris

    Novice

  • Members
  • PipPip
  • 30 posts

Posted 28 December 2011 - 09:19 AM

Why are you trying to change your https url to www.mydomain.com?

Keep it www.mydomain.com/estore, it's OK.


The line said https, so I thought it might help

Do you have any suggestions on what I can do to fix the problem with the https issue.



Why are you trying to change your https url to www.mydomain.com?

Keep it www.mydomain.com/estore, it's OK.


The line said https, so I thought it might help

Do you have any suggestions on what I can do to fix the problem with the https issue.



PLEASE CAN ANYONE HELP..

I have done what the manual said.
I have installed SSL in the root directory, with the store in a subdirector
I have tried to update the https in The admin HTTPS/settings, Avactis does not allow me to set the root director as the HTTPS directory.

I am unable to set the HTTPS to the correct directory. Is there a bug in the application? Is there a bug fix/update that I need to install?

#10 DonH

DonH

    Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 1,022 posts

Posted 28 December 2011 - 12:45 PM

Please do exactly what was asked. The ssl certificate was installed in the site's root directory. That should mean that all subdirectories can also serve its files by https or by http. Lana asked that you enter https://yourstore.com/robots.txt. If the certificate was correctly installed, you will be able to open the robots.txt file by https. Instead of using https, as Lana asked, you used http. The issue is with https (the encrypted transmission) not with http (normal transmission). When I try https://www.lifecrea....com/robots.txt, I get question of whether I want to display only the secured content or all content. If I select only the secured content, I see only unstyled text with no images. When I try https://www.lifecrea...tore/robots.txt with no warnings.

In the store admin enter "www.lifecreatesmemories.com/estore/" (without the "").

#11 kris

kris

    Novice

  • Members
  • PipPip
  • 30 posts

Posted 28 December 2011 - 11:18 PM

Please do exactly what was asked. The ssl certificate was installed in the site's root directory. That should mean that all subdirectories can also serve its files by https or by http. Lana asked that you enter https://yourstore.com/robots.txt. If the certificate was correctly installed, you will be able to open the robots.txt file by https. Instead of using https, as Lana asked, you used http. The issue is with https (the encrypted transmission) not with http (normal transmission). When I try https://www.lifecrea....com/robots.txt, I get question of whether I want to display only the secured content or all content. If I select only the secured content, I see only unstyled text with no images. When I try https://www.lifecrea...tore/robots.txt with no warnings.

In the store admin enter "www.lifecreatesmemories.com/estore/" (without the "").



Hi Don,

thank you for your reply.

Sorry, in my previous reply I forgot to type HTTPS.

I am very new at HTTPS, I have never installed it before, so I'm not sure what response I am suppose to get with HTTPS://lifecreatesmemories.com/robots.txt

I type https://lifecreatesm....com/robots.txt, but I only get my website come up. (no messages). Is that what is suppose to happen? (attached file: https_lifecreatesmemoriescom_robotstxt)
when i typed : https://lifecreatesm...tore/robots.txt I get the following (attached file: https_lifecreatesmemoriescom_estore_robotstxt)

When i used Explorer, I got the same response.
When i used Chrome, I got the following: HTTPS in RED and crossed out ( (attached file: https_lifecreatesmemoriescom_robotstxt Chrome & https_lifecreatesmemoriescom_https explaination on my site)

Am i suppose to get a warning or something else?
Is the file Robots.txt suppose to be in the www.lifecreatesmemories.com directory or on my PC. Or is it a Windows command? Sorry I have never installed HTTPS / SSL before.

I changed the Admin to lifecreatesmemories.com/estore/ as you requested (attached files for Admin and the payment details)
what am i doing wrong????


I just spoke to GoDaddy, they said i need to upload a page on the .com directory to set the https security.

I am currently creating a new webpage to see if that fixes the problem.
He also mentioned that the estore is configured to http somewhere in the codeing. Is there a document in my estore that i should check?

I will let you know what happens when i upload a webpage to the .com directory

thanks

Attached Images

  • payment_option.JPG
  • https_lifecreatesmemoriescom_robotstxt_Chrome.JPG
  • https_lifecreatesmemoriescom_https_explaination_on_my_site.jpg
  • https_lifecreatesmemoriescom_estore_robotstxt__explorer.JPG
  • https_lifecreatesmemoriescom_robotstxt.JPG
  • https_lifecreatesmemoriescom_estore_robotstxt__explorer.JPG
  • admin.JPG


#12 Lana

Lana

    Devotee

  • Members
  • PipPipPipPip
  • 123 posts

Posted 29 December 2011 - 01:58 AM

Kris, I suggest that you should open a support ticket and our specialists will help you. Please, use this form to post the ticket and submit your access details:


https://www.avactis....support.php?ftp

#13 DonH

DonH

    Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 1,022 posts

Posted 29 December 2011 - 01:08 PM

Kris, I think that it's a good idea to send a support ticket as Lana suggested.

I'll see if I can answer some of your other questions.
The robots.txt file tells the search engine robots what they can and can not index in the site. When Avactis installs, it creates a robots.txt file in the directory in which the cart was installed. In your case, lifecreatesmemories.com/estore/. That is why it displays when you go to either http or https://lifecreatesm...tore/robots.txt.

You don't have a robots.txt file in the root directory, lifecreatesmemories.com/, so it can't display. Often that will cause a 404 Page Not Found error to display, but your domain must be setup to display the index.html file instead.

Looking at the above, you now need to add a checkmark next to Checkout in the Storefront settings. After that, you should be able to enable the Offline Credit Card payment option.

#14 kris

kris

    Novice

  • Members
  • PipPip
  • 30 posts

Posted 29 December 2011 - 07:29 PM

Hi Don, YEHHHHHHH !!!! THANK YOU , THANK YOU, THANK YOU SOOOOO MUCH IT WORKS!!!!!!!!!!!!!!!!!!!!!!! THANK YOU ONCE AGAIN.