After upgrading from 0.6.8a to 0.8.1 I constantly see following notice when viewing graphs: Notice: A session had already been started - ignoring session_start() in /usr/local/www/data/cacti-new/include/top_graph_header.php on line 33
how can I fix this?
ignoring session_start()
Moderators: Developers, Moderators
this also happens with me.raX wrote:What version of PHP are you running? I have yet to see this error message before.
-Ian
deq% php -version
PHP 4.3.3RC1 (cli) (built: Jul 4 2003 18:13:16)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
FreeBSD 5.1
Here's the full error message:
Notice: A session had already been started - ignoring session_start() in /usr/local/www/data/cacti/include/top_graph_header.php on line 33
Btw, the interface snmp implementation completely fail on freebsd as those oids don't exist on net-snmp 5 install... sucks :|
I too get this message. It's located at the top of the screen when clicking "Graphs". I'm testing straight out of the box, without cmd.php having been run yet.
pentarou# php -version
PHP 4.3.3RC1 (cli) (built: Jul 12 2003 20:31:20)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
FreeBSD pentarou.parodius.com 4.8-STABLE FreeBSD 4.8-STABLE #0: Thu May 15 11:28:23 PDT 2003 root@pentarou.parodius.com:/usr/obj/usr/src/sys/PARODIUS-SMP i386
Please advise.
pentarou# php -version
PHP 4.3.3RC1 (cli) (built: Jul 12 2003 20:31:20)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
FreeBSD pentarou.parodius.com 4.8-STABLE FreeBSD 4.8-STABLE #0: Thu May 15 11:28:23 PDT 2003 root@pentarou.parodius.com:/usr/obj/usr/src/sys/PARODIUS-SMP i386
Please advise.
Solution
'Hi,
i've made a little change in cacti/include/top_graph_header.php
and now with FreeBSD no more error
i've made a little change in cacti/include/top_graph_header.php
Code: Select all
if (!isset($_SESSION["sess_user_id"])) {
session_start();
}
Who is online
Users browsing this forum: No registered users and 0 guests