PrestaShop Forum

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

PrestaShop Forum

Jump to content

 

BUG FIX for SSL warning caused by google analytics

11 replies to this topic
#1
golojap

    PrestaShop Newbie

  • Members
  • Pip
  • 8 posts
Hi all,

If you have annoying SSL warnings on your website, they are probably caused by Google Analytics v1.2. Since the code of google has been updated to support SSL, I though it was worth a shot to update the code of the module. So here it is, just replace the existing .php file with the one attached (and do a backup of the original in case something goes wrong of course ;-)

Please do not rely on my fix untill the prestashop team approves this modif and officially integrates it into prestashop.

Please note that the fix came straight from Google (see http://www.google.co...en&answer=55483), I've only adapted the code from the module.

Just in case I've also opened a bug tracker for this issue:
http://www.prestasho...cker/view/3228/

Hope it helps

goloajp

Attached Files



#2
tonito

    PrestaShop Apprentice

  • Members
  • PipPip
  • 28 posts
thank you for posting this, this has been nagging me for a while.

#3
golojap

    PrestaShop Newbie

  • Members
  • Pip
  • 8 posts
You're welcome ... I'm pretty new to Prestashop and really love it. What I particularly like also is the strong community behind it, so when I get a chance to bring my 2 cents, I'm glad to do so.

FYI, the Prestashop team apparently has integrated the fix in the SVN version. I guess this means it should be part of the next release.

Cheers

#4
Jason Seale

    PrestaShop Newbie

  • Members
  • Pip
  • 7 posts
Seems to have worked for me ... thanks!

#5
Dave Sniper

    PrestaShop Apprentice

  • Members
  • PipPip
  • 59 posts
You actually saved me a lot of email trying to resolve this problem with EUKhost guys. It is a bit weird firebug does not tell you if there is any request from "http"....

Thanks a million!
Website: http://www.quaycreative.com
Twitter: @quaycreative
Linkedin profile

#6
shoulders

    PrestaShop Apprentice

  • Members
  • PipPip
  • 357 posts
thanks, this worked for me. I have been at it for days i did not even think of the google analytics module being faulty.

shoulders

#7
blueyedvl

    PrestaShop Newbie

  • Members
  • Pip
  • 4 posts
Thank you so much, this was driving me up the wall.

#8
andrew

    PrestaShop Apprentice

  • Members
  • PipPip
  • 154 posts
Thanks - this worked for us.

- Andrew
Creating a brilliant place for cyclists.
http://www.brilliantbikes.co.uk

#9
behcet

    PrestaShop Apprentice

  • Members
  • PipPip
  • 129 posts
tnx golojap

#10
mir-aus

    PrestaShop Apprentice

  • Members
  • PipPip
  • 159 posts
Thanks – this worked for me.

#11
badger1010

    PrestaShop Apprentice

  • Members
  • PipPip
  • 67 posts
This worked for me.

Has this been fixed in later versions of PS?
Posted Image

#12
PoSSeK

    PrestaShop Apprentice

  • Members
  • PipPip
  • 72 posts
Hi everybody!

I have updated the ganalytics php but it is still not working for me. Security warnings keep on coming out when ssl is enabled.
Do I need to modify anything on the ganalytics.php or just upload it to the site?

Thank you for your help