Last 15 Snips show! Welcome to Snipped, a code gallery for creating, saving and sharing all kinds of code snippets.

Fix: Sendungsverfolgung (DHL) url load failed

JTL Shop 4 · April 29, 2016 11:42 am

0 1 546

Fehler trifft bei SSL Verschlüsselung des Shops auf. .. is not allowed by Access-Control-Allow-Origin

## includes/tools.Global.php in der Funktion loeseHttps()

// Aus
$conf = Shop::getSettings(array(CONF_GLOBAL));
if ($conf['global']['kaufabwicklung_ssl_nutzen'] === 'Z' && (isset($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) === 'on' || intval($_SERVER['HTTPS']) === 1))
&& !(isset($_GET['exclusive_content']) && intval($_GET['exclusive_content']) === 1)

// Wird
$conf = Shop::getSettings(array(CONF_GLOBAL));
if ($conf['global']['kaufabwicklung_ssl_nutzen'] === 'Z' && (isset($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) === 'on' || intval($_SERVER['HTTPS']) === 1))
&& !(isset($_GET['exclusive_content']) && intval($_GET['exclusive_content']) === 1)
&& (verifyGPDataString('isAjax') !== 'true')

Discuss this Snip
  • Chris 3 years ago
    Profile Avatar

    Original Thema http://forum.jtl-software.de/fehler-bugs-jtl-shop/85058-sendungsverfolgung-dhl-url-load-failed.html


  • You must be Signed In to discuss this Snip
Chris

Chris

Joined on
April 28, 2016

  • 22 Snips
    Contributed
  • 19 Likes
    Given
  • 8 Comments Posted
Snip Tags
Get Social And Share

Manage and share all of your code snippets in one easy place.