BUG FIX for SSL warning caused by google analytics - SEO - PrestaShop

Jump to content

Photo

BUG FIX for SSL warning caused by google analytics

#1

Posted 05 November 2009 - 05:48 AM

golojap

    PrestaShop Newbie

  • Members
  • Pip
  • 8 Active 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

Posted 06 November 2009 - 11:33 PM

tonito

    PrestaShop Apprentice

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

#3

Posted 07 November 2009 - 02:25 AM

golojap

    PrestaShop Newbie

  • Members
  • Pip
  • 8 Active 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

Posted 27 November 2009 - 06:45 PM

Jason Seale

    PrestaShop Newbie

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

#5

Posted 27 November 2009 - 08:33 PM

Dave Sniper

    PrestaShop Apprentice

  • Members
  • PipPip
  • 59 Active 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

Posted 20 December 2009 - 03:34 PM

shoulders

    PrestaShop Apprentice

  • Members
  • PipPip
  • 392 Active 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

Posted 26 March 2010 - 02:26 AM

blueyedvl

    PrestaShop Newbie

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

#8

Posted 29 April 2010 - 09:40 AM

andrew

    PrestaShop Apprentice

  • Members
  • PipPip
  • 158 Active Posts
Thanks - this worked for us.

- Andrew

Creating a brilliant place ....
http://brilliantbikes.co.uk


#9

Posted 19 June 2010 - 10:06 AM

behcet

    PrestaShop Apprentice

  • Members
  • PipPip
  • 173 Active Posts
tnx golojap

#10

Posted 17 July 2010 - 01:18 PM

mir-aus

    PrestaShop Apprentice

  • Members
  • PipPip
  • 221 Active Posts
Thanks – this worked for me.

#11

Posted 23 October 2010 - 09:27 PM

badger1010

    PrestaShop Apprentice

  • Members
  • PipPip
  • 69 Active Posts
This worked for me.

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

#12

Posted 02 November 2010 - 02:53 PM

PoSSeK

    PrestaShop Apprentice

  • Members
  • PipPip
  • 74 Active 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


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cookies help us deliver our services. By using our services, you agree to use our cookies.     Learn more