Hallo,
wenn ich die Template-Einstellung "Komprimierung von JavaScript- und CSS-Dateien" aktiviere, bekomme ich leider folgenden Fehler in der Console.
Der Inhalt der betroffenen Datei ist Folgender:
Dieser Fehler führt leider dazu, dass das Paypal-Plugin nicht mehr funktioniert.
Shop-Version 4.06.9
PHP-Version 5.6
Paypal-Plugin 109
Kann hier jemand helfen?
wenn ich die Template-Einstellung "Komprimierung von JavaScript- und CSS-Dateien" aktiviere, bekomme ich leider folgenden Fehler in der Console.
Der Inhalt der betroffenen Datei ist Folgender:
Code:
(function(){'use strict';var PayPal=function(options){this.init(options);};PayPal.prototype={ppplus:'https://www.paypalobjects.com/webstatic/ppplus/ppplus.min.js',constructor:PayPal,init:function(options){this.options=$.extend({},{selector:''},options||{});},loadPaymentWall:function(loaded){if(typeof PAYPAL!='undefined'){return(typeof loaded=='function')?loaded():true;}
this.getScript(this.ppplus).done(function(){var validate=function(){if(typeof PAYPAL=='undefined'){window.setTimeout(function(){validate();},100);}
else if(typeof loaded=='function'){loaded();}}
validate();});},getInstallments:function(amount,currency){$.evo.io().call('jtl_paypal_get_presentment',[amount,currency],this,function(error,data){if(error)return;$(data.options.selector).html(data.response||'');});},getScript:function(url,options){return jQuery.ajax($.extend(options||{},{dataType:"script",cache:true,url:url}));}};var jtl_paypal=function(options){return new PayPal(options);};if(!window.paypal){window.paypal=jtl_paypal;}
$(document).on("evo:changed.price.article",function(e,price){paypal({selector:'.ppf-loader'}).getInstallments(price);});})(jQuery);;$(document).on('click','#offer_button',function(){$('#modal-angebot').css('display','block');});$(document).on('click','.close',function(){$('#modal-angebot').css('display','none');});window.onclick=function(event){var modal=document.getElementById('modal-angebot');if(event.target==modal){$('#modal-angebot').css('display','none');}};$("#print-logo ~ h1").css('text-align','center');;<?php
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo("Site error: the ".(php_sapi_name()=='cli'?'ionCube':'<a href="http://www.ioncube.com">ionCube</a>')." PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking.\n\nPlease visit ".(php_sapi_name()=='cli'?'get-loader.ioncube.com':'<a href="http://get-loader.ioncube.com">get-loader.ioncube.com</a>')." for install assistance.\n\n");exit(199);? ... der Rest ist verschlüsselt
Dieser Fehler führt leider dazu, dass das Paypal-Plugin nicht mehr funktioniert.
Shop-Version 4.06.9
PHP-Version 5.6
Paypal-Plugin 109
Kann hier jemand helfen?