Fckeditor+CI online - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Fckeditor+CI online (/showthread.php?tid=29649) |
Fckeditor+CI online - El Forum - 04-16-2010 [eluser]rurkss[/eluser] Please, help me. I got this message, after I loaded my site on host Code: A PHP Error was encountered my config.php file Code: $config['fckeditor_basepath'] = "/system/application/plugins/fckeditor/"; // should start with slash my fckeditor.php file in system/application/libraries/ Code: if (!defined('BASEPATH')) exit('No direct script access allowed'); Fckeditor+CI online - El Forum - 04-16-2010 [eluser]Jelmer[/eluser] You got that message because in all likelyhood paths are handled different on your server from your home-PC. Try changing this: Code: if (!defined('BASEPATH')) exit('No direct script access allowed'); Code: if (!defined('BASEPATH')) exit('No direct script access allowed'); And you might do the same for the other setting. The APPPATH constant should always work when CI works. Fckeditor+CI online - El Forum - 04-16-2010 [eluser]rurkss[/eluser] Thanks a lot, you my god!!! its working!!!! |