Need help to fix error log

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
neamul
Posts: 1
Joined: Sun Jul 21, 2019 1:42 am

Need help to fix error log

Post by neamul »

I have installed Cacti 1.2.4 on CentOS 7.6.1810 and Apache/2.4.6, PHP/7.1.30.

I can see an error on Console -> Utilities -> View Log ("Log Administration"):

2019/07/21 13:02:29 - CMDPHP PHP ERROR WARNING Backtrace: (/utilities.php[59]:utilities_view_logfile(), /utilities.php[1066]:strpos(), CactiErrorHandler())
2019/07/21 13:02:29 - ERROR PHP WARNING: strpos(): Empty needle in file: /usr/share/cacti/utilities.php on line: 1066

Below is the details which written on the file line number 1066
-------
1065
1066 if (strpos($logFile, $configLogBase) === false) {
1067 continue;
1068 }
-------

Please help me to fix the error.
Attachments
2019-07-21 (2).png
2019-07-21 (2).png (51.48 KiB) Viewed 753 times
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Need help to fix error log

Post by netniV »

That was fixed in 1.2.5
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests