Welcome Guest, Not a member yet? Register   Sign In
Problem with FCKeditor implementation
#1

[eluser]PoWah[/eluser]
I've done everything following http://codeigniter.com/wiki/FCKeditor/ page and I get an error: The URI you submitted has disallowed characters. when I try to load fckeditor in browser

Any ideas? :/
#2

[eluser]PoWah[/eluser]
Problem solved..
I added base_url(). to the line
Code:
$this->fckeditor->BasePath = base_url().'sisteminiai_failai/plugins/fckeditor/';
in view file and everything is Ok.
Sorry for consuming your time ;-)
#3

[eluser]Dr.Dan[/eluser]
Actually, I am having different problem with FCKeditor. I am getting the following error:

Code:
404 Page Not Found

The page you requested was not found.

If I change :
Code:
$this->fckeditor->BasePath = 'system/plugins/FCKeditor/';
//to
$this->fckeditor->BasePath = base_url() . '/plugins/fckeditor/';

Then I am getting the following error:
Code:
Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.
Error 404

What's wrong? Where should I look at?
#4

[eluser]Dr.Dan[/eluser]
Ok,

when I write
Code:
$this->fckeditor->BasePath = base_url().'system/plugins/FCKeditor/';

instead of
Code:
$this->fckeditor->BasePath = 'system/plugins/FCKeditor/';

Then it is working. But I think this should be mentioned in the wiki.
#5

[eluser]Unknown[/eluser]
hi all,
am using FCKeditor i followed the steps in wiki it works on localhost but when i upload it it gave me this msg:



A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: libraries/Fckeditor.php

Line Number: 132


Not Found

The requested URL /system/index.php/plugins/FCKeditor/editor/fckeditor.html was not found on this server.

and am using .htaccess to remove index.php but its still here :S


thnx all
#6

[eluser]esra[/eluser]
Generally, you might consider using Mozilla FireFox with the Firebug extension. It will help isolate problems caused by incorrect paths, missing files, css and js file naming problems and much more.




Theme © iAndrew 2016 - Forum software by © MyBB