Just installed HitCounter on my CMS2.x / PHP 5.4 installation and get the errors for hit counter:
Deprecated: Function ereg() is deprecated in /home/www/mysite.com/modules/HitCounter/HitCounter.module.php on line 121
I see this has also been listed as on the HitCounter bug tracker but with no resolution.
Any ideas?
Thanks
HitCounter - Function ereg() is deprecated
-
michaywood
- Power Poster

- Posts: 280
- Joined: Thu Apr 15, 2010 12:27 am
Re: HitCounter - Function ereg() is deprecated
I saw calguy1000 fixed it in the SVN
Until new release you can hide the warning by adding to the config.php file:
Until new release you can hide the warning by adding to the config.php file:
Code: Select all
error_reporting(E_ERROR & ~E_DEPRECATED & ~E_NOTICE);- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
-
michaywood
- Power Poster

- Posts: 280
- Joined: Thu Apr 15, 2010 12:27 am
[solved] Re: HitCounter - Function ereg() is deprecated
thanks! turned off the errors for now

