Note that there are some explanatory texts on larger screens.

plurals
  1. POalex gorbatchev's syntax highlighter giving an error message
    text
    copied!<p>I'm getting the following error message in Chrome and firefox while trying to implement gorbachev's syntax highlighter.</p> <p>The page at local host says: SyntaxHighlighter Can"t find brush for: php</p> <p>It's all the more frustrating because i just got it working on a test page in the same folder, it still works. There is very little different between the two pages. Here's my code:</p> <pre><code>&lt;??&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;!--STYLESHEET LINKS--&gt; &lt;link href="stylesheet.css" rel="stylesheet" type="text/css" media="screen" /&gt; &lt;link href="shThemeDefault.css" rel="stylesheet" type="text/css" media="screen" /&gt; &lt;link href="shCore.css" rel="stylesheet" type="text/css" media="screen" /&gt; &lt;!--JQUERY SCRIPTS--&gt; &lt;script type="text/javascript" src="jquery.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="jquery-ui.js"&gt;&lt;/script&gt; &lt;!--PROCESSING SCRIPTS &lt;script type="text/javascript" src="processing.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="init.js"&gt;&lt;/script&gt; --&gt; &lt;!--syntax highlighter--&gt; &lt;script type="text/javascript" src="shBrushPhp.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="shCore.js"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; $(document).ready(function() { // put all your jQuery goodness in here. SyntaxHighlighter.all(); }); &lt;/script&gt; &lt;/head&gt; &lt;title&gt;code&lt;/title&gt; &lt;body&gt; &lt;div id="content"&gt; &lt;h2&gt;code&lt;/h2&gt; &lt;pre class="brush: php"&gt; $last_modified = filemtime("header.php"); echo("last modified: "); echo(date("m.j.y h:ia", $last_modified)); &lt;/pre&gt; &lt;!--&lt;script type="application/processing"&gt; &lt;/script&gt; &lt;canvas data-processing-sources="processing/lines.pde"&gt; &lt;/canvas&gt; --&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; &lt;??&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload