PDA

View Full Version : who is online



michael_s
01-24-2011, 01:00 PM
The file admin/whos online throws this error:

Deprecated: Function eregi() is deprecated in adminwhos_online.php on line 558

You can correct it if you replace line 558 with :

if (preg_match('/^(.*)' . tep_session_name() . '=[a-f,0-9]+[&]*(.*)/', $whos_online['last_page_url'], $array)) {

No files, only the above.

More... (http://addons.oscommerce.com/info/7791)