I know this is a common topic but I couldn’t find the errors I get anywhere.
After adding CKEditor to my CI Application and creating an instance of CKEditor on my View I get the following errors on the console:
View: localhost/sandbox/publications/new.php
Errors:
GET <a href="http://localhost/sandbox/publications/config.js?t=D9EF">http://localhost/sandbox/publications/config.js?t=D9EF</a> 404 (Not Found) ------- ckeditor.js ?>:73
GET <a href="http://localhost/sandbox/publications/lang/en.js?t=D9EF">http://localhost/sandbox/publications/lang/en.js?t=D9EF</a> 404 (Not Found) ------ ckeditor.js ?>:73
Uncaught TypeError: Cannot set property 'dir' of undefined ----------------------- ckeditor.js ?>:202
GET <a href="http://localhost/sandbox/publications/skins/moono/editor.css?t=D9EF">http://localhost/sandbox/publications/skins/moono/editor.css?t=D9EF</a> 404 (Not Found) --------- ckeditor.js ?>:73My folder structure is:
sandbox
- application
- assets
—lib
——ckeditor
- fonts
- system
And on my view i have:
<s+c+r+i+p+t type="text/javascript" src="<?php echo base_url();?>assets/lib/ckeditor/ckeditor.js ?>"></s+c+r+i+p+t>I have tried adding the corresponding CKEditor helper, controller but error persits.
Also my .htaccess file on CI root is:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]Anyone knows why im getting those errors on the console and CkEditor is not showing?