Vote for v1.5 Fixes

PrestaShop Forum: Build a free online shop. Count on the Community!

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum: Build a free online shop. Count on the Community!

Jump to content

 
Photo

LETS WORK ON SHARED SSL SOLUTION


  • Please log in to reply
25 replies to this topic
tdr170

    PrestaShop Fanatic

  • Members
  • PipPipPipPip
  • 2159 posts

Posted 26 November 2012 - 11:42 PM

Try clearing your caches both your browser and Prestashop in 1.4.9 this can be found in ..tools/smarty/ use your FTP and clear both the cache and compile folders (leave any index.php files).

From the back office set force compile on and cache off, enable SSL as I described then go to tools, generator and generate a new .htaccess file and see if that helps.

If not try this go to Preferences, SEO & URL and turn off friendly URL's and save then back on and save, then generate another .htaccess file and see if that helps.

Post your results.
-------------------------------------------------------------------------------
Did we help, If so give us a like, it lets others know we can help
-------------------------------------------------------------------------------

glennlawre

    PrestaShop Apprentice

  • Members
  • PipPip
  • 160 posts

Posted 27 November 2012 - 09:57 AM

No luck I'm afraid.

I already had force compile and disable cache set. I had tried to clear the compile folder, except for the index file, and I don't have anything in cache folder.

I have also just tried to clear my browser cache.

Also, currently I am not using Friendly URLs on this test site, so no need to change this. I did regenerate the .htaccess, but I think this is just for using SEF URLs if I am not mistaken, so probably not going to do anything to help.

I have my shop domain & SSL set to secure-ssl-servers.us/test25-net, but still no joy!

The problem seems to be that the baseDir is getting set to "secure-ssl-servers.us" whereas on the non-secure pages the baseDir is "test25.net" and all the paths to the required file are relevant. With the baseDir set to "secure-ssl-servers.us" is does not know where the required files are, i.e. stylesheets, images etc...

Any ideas why this might be?

Cheers...

tdr170

    PrestaShop Fanatic

  • Members
  • PipPipPipPip
  • 2159 posts

Posted 27 November 2012 - 06:23 PM

I think I see the issue:

In your Domain and in the SSL you only put the root of your shop, you do not add the sub directory of your shop as the SSL cover the root and all sub folders.
You set where your shop is installed in PS directory.

kinda like this:

/test25-net/
yourdomian.secure.com
yourdomain.secure.com
-------------------------------------------------------------------------------
Did we help, If so give us a like, it lets others know we can help
-------------------------------------------------------------------------------

glennlawre

    PrestaShop Apprentice

  • Members
  • PipPip
  • 160 posts

Posted 28 November 2012 - 11:08 AM

That did it alright, thanks for this!

One other thing, have you figured out a way to only have the shared ssl only apply to the required pages? Using ssl on the whole site slows it down dramatically. Plus, the domain for the entire site is now https://secure-ssl-s...-net/"whatever", not www.test25.net/"whatever"

This could maybe be off-putting for some people that visit the site.

Can the site work with shared ssl?

Thanks again for your help...

tdr170

    PrestaShop Fanatic

  • Members
  • PipPipPipPip
  • 2159 posts

Posted 28 November 2012 - 05:04 PM

I'm not sure that is possible because of the different addresses, Prestashop will see this as two different domains and you will have issues with log in, shopping carts and others I'm sure.
The best bet is to do as I did break down and buy an SSL its not that expensive.

Edited by tdr170, 28 November 2012 - 07:15 PM.

-------------------------------------------------------------------------------
Did we help, If so give us a like, it lets others know we can help
-------------------------------------------------------------------------------

glennlawre

    PrestaShop Apprentice

  • Members
  • PipPip
  • 160 posts

Posted 28 November 2012 - 06:04 PM

Yeah, probably will just have to bite the bullet and purchase a cert!

Thanks for your help on this though...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users