2.4.3.21. Sape code is not displayed on main page

If you add Sape code to your site and it does not display on all pages:

  1. Ensure that in the PHP settings, the checkbox next to "register_long_arrays" is selected.
  2. Open the Sape code and before the line
    $sape = new SAPE_client($o);

    add the line:

    $o['force_show_code'] = true;

    If this does not help, you need to disable redirects on the site so that the main page is displayed in the browser's address bar.

Content