Hi Guys,
I am trying to install the fckeditor on a oscommerce website to give me a wysiwyg editor in my descriptions fields
I have come up against numerous errors and have fixed them all, but this one has got me stumped. I've literally spend at least 24 of the last 48 hrs modding the code and trying different things out but its completely beyond me.
Heres the error I'm geting - this is displayed on the page where the description / fckeditor should be:
Fatal error: Cannot instantiate non-existent class: fckeditor in /home/sites/www.jewelleryfountain.co.uk/public_html/catalog/admin/includes/functions/html_output.php on line 259
and heres the piece of code I think its referring to:
////
// Output a form textarea field fckeditor/editor/_source/classes
function tep_draw_fckeditor($name, $width, $height, $text) {
$oFCKeditor = new fckeditor($name);
$oFCKeditor -> Width = $width;
$oFCKeditor -> Height = $height;
$oFCKeditor -> BasePath = 'http://www.jewelleryfountain.co.uk/FCKeditor/';
$oFCKeditor -> Value = $text;
$field = $oFCKeditor->Create($name);
return $field;
}
The fckeditor is located in my root file and I cant find a file that is called fckeditorclass.php (as one person had suggested)- I really am at a loos - and any help will be very very appreciated.
Thanks for taking the time to read this, and a HUGE thank you to anyone who can come up with a solution!
Kelly 🙂