Welcome Guest, Not a member yet? Register   Sign In
Fckeditor+CI online
#2

[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');
....
....
....
if ( !function_exists('version_compare') || version_compare( phpversion(), '5', '<' ) )
    include_once( 'system/application/plugins/fckeditor/fckeditor_php4.php'  ) ;
else
    include_once( 'system/application/plugins/fckeditor/fckeditor_php5.php ' ) ;
To this (note also the space at the end of the PHP5 file):
Code:
if (!defined('BASEPATH')) exit('No direct script access allowed');
....
....
....
if ( !function_exists('version_compare') || version_compare( phpversion(), '5', '<' ) )
    include_once( APPPATH.'plugins/fckeditor/fckeditor_php4.php'  ) ;
else
    include_once( APPPATH.'plugins/fckeditor/fckeditor_php5.php' ) ;

And you might do the same for the other setting. The APPPATH constant should always work when CI works.


Messages In This Thread
Fckeditor+CI online - by El Forum - 04-16-2010, 09:48 AM
Fckeditor+CI online - by El Forum - 04-16-2010, 10:23 AM
Fckeditor+CI online - by El Forum - 04-16-2010, 10:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB