snipt

Ctrl+h for KB shortcuts

JavaScript

Cordova/AngularJS: jsHybugger protocol error

1
2
3
app.config(['$compileProvider', function($compileProvider) {
    $compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|ftp|mailto|file|content):/);
}]);
https://snipt.net/embed/13f1519c9d8cd4ab08a5ef0026d01178/
/raw/13f1519c9d8cd4ab08a5ef0026d01178/
13f1519c9d8cd4ab08a5ef0026d01178
js
JavaScript
3
2016-12-30T10:46:57
True
False
True
Jan 23, 2014 at 05:29 AM
/api/public/snipt/107969/
cordovaangularjs-jshybugger-protocol-error
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="nx">app</span><span class="p">.</span><span class="nx">config</span><span class="p">([</span><span class="s1">&#39;$compileProvider&#39;</span><span class="p">,</span> <span class="kd">function</span><span class="p">(</span><span class="nx">$compileProvider</span><span class="p">)</span> <span class="p">{</span> </span><span id="L-2"><a name="L-2"></a> <span class="nx">$compileProvider</span><span class="p">.</span><span class="nx">aHrefSanitizationWhitelist</span><span class="p">(</span><span class="sr">/^\s*(https?|ftp|mailto|file|content):/</span><span class="p">);</span> </span><span id="L-3"><a name="L-3"></a><span class="p">}]);</span> </span></pre></div> </td></tr></table>
cordova, error, jsHybugger, phonegap, protocol

Text only

Drupal: Panelizer, "Additional uncaught exception thrown while handling exception."

Just add max_allowed_packet = 20M to your my.ini (or my.cnf) file and try again
https://snipt.net/embed/a3a3103587dba1793932e03a77f373d2/
/raw/a3a3103587dba1793932e03a77f373d2/
a3a3103587dba1793932e03a77f373d2
text
Text only
1
2019-07-13T12:26:23
True
False
True
Jul 20, 2013 at 05:19 PM
/api/public/snipt/68807/
drupal-panelizer-additional-uncaught-exception-thrown-while-handling-exception
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>Just add max_allowed_packet = 20M to your my.ini (or my.cnf) file and try again </span></pre></div> </td></tr></table>
"drupal 7", error, panelizer