New Landing How can we help? Themeforest Theme Support Flexform Maps integration doesn't work on https

Viewing 7 posts - 1 through 7 (of 7 total)
  • Posted in: Flexform
  • #87806
    HPDE2013
    Member
    Post count: 1

    Hi, thanks for the great theme!
    Unfortunately we got problems with the Maps element within the page builder on our “https” website. As you can see here, it works perfect on the http version:
    http://www.homephysio.de/physiotherapie-in-bayreuth

    But on https maps is not loaded:
    https://www.homephysio.de/physiotherapie-in-bayreuth
    or
    https://www.homephysio.de/physiotherapie-in-hanau/physig-physiotherapie

    We have already change the google URL to https in functions.js and functions.php, but it still doesn’t load. Do you know where the problem comes from and what could be a solution?
    Many thanks in advance!

    #87810
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please open to edit functions.php find this code at line 157 :
    wp_register_script('sf-maps', 'http://maps.google.com/maps/api/js?sensor=false', 'jquery', NULL, TRUE);
    Change to
    wp_register_script('sf-maps', '//maps.google.com/maps/api/js?sensor=false', 'jquery', NULL, TRUE);

    Thanks

    #87841
    HPDE2013
    Member
    Post count: 1

    Works perfect! Thanks!

    #87850
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great, thanks Mohammad!

    – Kyle

    #93928
    headfullofjelly
    Member
    Post count: 5

    Hi, I tried to edit similarly functions.php in Neighborhood Theme (line 150) and then this occured:

    Parse error: syntax error, unexpected T_STRING in functions.php on line 582

    I am unable to access to admin panel, so I cannot restore it from the backup.

    Could You advise me how can I restore it to previouse state or provide me with latest functions.php (didn’t make a copy – stupid me!) and/or explain how such change could lead to this error.

    Thanks in advance,
    B.

    #93931
    headfullofjelly
    Member
    Post count: 5

    Ok, I managed to restore functions.php it from the theme backup archive, but I still do not understand what happened. I onle removed http: from the line.

    B.

    #93932
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You create any error definitely or missed anything. If you provide me login detail so i can make this change to you.
    Thanks

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register