This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 4

Error in safari and chrome - safari_init.php


  1. jdevelopia
    Member

    Hi!

    When I use the Javascript Code in safari and chrome the browser redirects me to a blank page, only appears the first time, I think is related with cookies.

    I get this error url:
    domain.com/safari_init.php?ref=aHR0cDovLzEwNy42LjE2MC45OC9+amJhc2UvY29udGFjdG8=

    In firefox works fine.

    Any idea to solve this?

    Thanks a lot!

    Posted 9 years ago #
  2. jdevelopia
    Member

    hi! again!

    I found in your forum this post: http://www.appnitro.com/forums/topic/safari-chrome-reloading-page-but-changes-038-to-amp-in-url?replies=2

    Is the same issue.

    Is correct to fix it editing the machform_loader.js like that say rocketmedia member?

    In my case the url donĀ“t have www, because is a production site, and the url is the ip of my server.

    Thanks a lot!

    Posted 9 years ago #
  3. yuniar

    The session cookie most likely failing because the URL is using IP address. You can try editing the machform_loader.js file, but the session cookie might not work.


    MachForm Founder

    Posted 9 years ago #
  4. jdevelopia
    Member

    Hi Yuniar!

    With the fix in the machform_loader.js the form with javascript code works fine now in safari and chrome.

    I only fix with a comment in the line 24:

    //var mf_folder = __machform_url.substring(0,__machform_url.lastIndexOf('/'));

    I hope thats the right way.

    Thanks a lot for your reply!

    Posted 9 years ago #

RSS feed for this topic

Reply