Lines start with DEPRECATED in Cacti Application

Asked By 0 points N/A Posted on -
qa-featured

I have successfully installed Cacti Application on my computer. I’ve done creating the device for the network. I have created graphs for my new device and have viewed it.

All was successful except when I opened the program to start working on it. I was loaded with numerous lines each containing the same message starting with the word DEPRECATED. It just came out instantly I don’t know why.

How do I stop these lines from appearing?

The messages appear below as a screenshot.

Deprecated: Function ereg_replace() is deprecated in C:cactiincludeconfig.php on line 58

Deprecated: Function ereg_replace() is deprecated in C:cactiincludeconfig.php on line 59

Deprecated: Assigning the return value of new by reference is deprecated In C:cactilibadodbadodb.inc.php on line 866

Deprecated: Assigning the return value of new by reference is deprecated In C:cactilibadodbadodb.inc.php on line 872

Deprecated: Assigning the return value of new by reference is deprecated In C:cactilibadodbadodb.inc.php on line 1183

Deprecated: Assigning the return value of new by reference is deprecated In C:cactilibadodbadodb.inc.php on line 1961

Deprecated: Assigning the return value of new by reference is deprecated In C:cactilibadodbadodb.inc.php on line 3027

Deprecated: Assigning the return value of new by reference is deprecated In C:cactilibadodbadodb.inc.php on line 3592

Deprecated: Assigning the return value of new by reference is deprecated In C:cactilibadodbadodb.inc.php on line 3667

Deprecated: Assigning the return value of new by reference is deprecated In C:cactilibadodbadodb.inc.php on line 3687

Deprecated: Function split() is deprecated in C:cactilibfunction.php on line 1358

Deprecated: Function session_unregister() is deprecated in C:cactilibfunction.php on line 263

You are now logged into Cacti. You can follow these basic steps to get started.

Create devices for network

Create graphs for your new devices

View your new graphs

SHARE
Answered By 25 points N/A #101859

Lines start with DEPRECATED in Cacti Application

qa-featured

Dear Carson fernandez,

To remove the "Deprecated" word, you should change some settings in your php.ini file and some other files of your cacti install. You may try doing the following:

1. In your php.ini file, set error_reporting = E_ALL & ~E_DEPRECATED.

2. In cacti/include/global.php change the line error_reporting(E_ALL); to error_reporting.

(E_ALL ^ E_DEPRECATED);

3. In cacti/lib/adodb/adodb-time.inc.php change the line error_reporting(E_ALL); to error_reporting.

(E_ALL ^ E_DEPRECATED); (The same as step 2).

4. Restart your web server.

Now you will find the word "Deprecated" removed.

Hope this may help you.

Best of luck.

Related Questions