Simple problem (or so it seems). CKEditor works fine. But when I dropped in CKFinder, I get the error, "CKFinder is not a constructor" when attempting the follow:
var finder = new CKFinder();
finder.basePath = '/includes/ckfinder/';
finder.create();
Well, basically it's the first line that causes it, rendering the others pointless. This is copied/pasted directly from the CK website, minus the change in basepath.
If I do a View Source on the page in Chrome, I can click on the link for ckfinder.js and it opens a tab and shows that it's there. Yet it just doesn't work.
For the sake of completeness, here's the script tag:
<script type="text/javascript" src="/includes/ckfinder/ckfinder.js"></script>
What have I done wrong?