Deprecated:Function ereg() is deprecated for osCommerce

Error:
Deprecated: Function ereg() is deprecated in

Try replacing line 16-17 in catalog/includes/application_top.php and admin/includes/application_top.php

// set the level of error reporting
 error_reporting(E_ALL & ~E_NOTICE);

To
// set the level of error reporting
 error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);

Looking at the long list of deprecated features in PHP 5.3.0. I get the impression that if you want to replace all the code with  deprecated functions we might as well do a total rewrite and use  superglobals everywhere.
But then we might as well better start using osC v3. Pity there doesn't seem to be any progress in that area   So for the time being I believe adding the ~E_DEPRECATED will at least  be needed too. Frankly, I'm amazed that these are the only error  messages since for example all the session_ functions are deprecated  too.

Installing a WYSIWYG editor for product descriptions in osCommerce v2.2 or v2.3.x

Step 1. Go to ckeditor.com and download the latest Editor Release (CK Editor, which has superseded FCK Editor)…

Step 2. Unzip it all, then upload the fckeditor folder and all it’s contents to your admin directory.

Step 3. Amend admin/categories.php.

Find this:

<script language="javascript" src="includes/general.js"></script>

After add it:

<script type="text/javascript" src="./ckeditor/ckeditor.js"></script>

Go to admin/includes/template_top.php and Find the line –

tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15',           (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id'])));

Replace by  it

tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id'])),' class="ckeditor"');

Upload it and refresh the category (prodcut adding/editing) page. You should see the newly installed Editor looking like this:

Enjoy it..        🙂