|
|
| Author |
Message |
guest2 Guest
|
Posted: Fri Aug 29, 2003 5:06 am Post subject: Notice: A session had already been started |
|
|
when i try to see the graphs i get this message:
Notice: A session had already been started - ignoring session_start() in c:\apache\htdocs\cacti\include\top_graph_header.php on line 33
and everything is blocked!
Help!! |
|
| Back to top |
|
 |
Bob Guest
|
Posted: Fri Aug 29, 2003 5:14 pm Post subject: Me too! |
|
|
I'm seeing the exact issue as above...  |
|
| Back to top |
|
 |
Bob Guest
|
Posted: Fri Aug 29, 2003 8:50 pm Post subject: |
|
|
Forgot the pertininent details...
Win2K Server (all patches and service packs on deck), Apache 2.0.47, Cacti 0.8.2a, MySQL 3.23.57, PHP 4.3.3, RRDTool 1.0.40. I might go up to Cacti 0.8.3 and see what happens, but my other Cacti install is running beautifully on 0.8.2.
Any thoughts anyone? |
|
| Back to top |
|
 |
Guest
|
Posted: Tue Sep 02, 2003 10:32 am Post subject: |
|
|
Ok, I've tried editing cacti/include/top_graph_header.php as mentioned in this thread - http://www.raxnet.net/board/viewtopic.php?t=1984&highlight=session , and there's still no joy. Same error. What's going on here? Anyone else besides guest2 and myself having this issue? I know next to nothing about PHP, so the error is a tad difficult for me to diagnose.
Anyone? |
|
| Back to top |
|
 |
jimchris
Joined: 02 Oct 2003 Posts: 4
|
Posted: Mon Oct 06, 2003 7:01 pm Post subject: some insight on no graphs being displayed |
|
|
Fellow Cacti travelers on the Win32 side of the stream.
Here is some insight on no graphs being displayed.
Let me know if you see the same results.
Thx
Jim Christophersen
Windward Engineering
New York
Installed is Cacti 0.8.3a.
Supporting applications:
Apache 2.0.47-win32,
PHP 4.3.3-win32,
ActiveState Perl 5.8.806-MSWindows
The platform system is Win2k server/sp3 + IE6/SP1.
An interesting REPEATABLE sequence that does display a graph.
1. Launch Cacti's entry page & login as admin.
2. Choose the graph's tab.
3. Click the second tree( in my case a successfully polled router)
Watch the lower left corner of your browser, see the "graph_view.php?action=tree..."
wait 10 seconds and click on the browser stop button.
Ta Da we have a graph, it is consistent with the desired parameters.
So I turned on activestate's komodo IDE and ran "graph_view.php?action=tree..."
up came from within "cacti\include\auth.php"
PHP Warning: session_start(): Cannot send session cookie
- headers already sent in C:\Apache2\htdocs\cacti\include\auth.php on line 40
To confirm that it is a real issue, thanks to Welling & Thomson pg 435, open a file like phpinfo.php in the htdocs/cacti directory:
This is what I see
.........................................Web display of http://traffic.webnslookup.com:8080/cacti/phpinfo.php
test1
this is PHP.
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Apache2\htdocs\cacti\phpinfo.php:10) in C:\Apache2\htdocs\cacti\phpinfo.php on line 16
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Apache2\htdocs\cacti\phpinfo.php:10) in C:\Apache2\htdocs\cacti\phpinfo.php on line 16
the contents of $sess_var is hello world
.........................................htdocs/cacti/phpinfo.php.....................................
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="SAPIEN Technologies PrimalScript 3.0">
<TITLE>Document Title</TITLE>
</HEAD>
<BODY>
<!-- Insert HTML here -->
test1<br>
<?PHP
/* Insert your PHP code here */
echo "this is PHP.<br>";
session_start();
session_register("sess_var");
$sess_var = "hello world";
echo "the contents of \$sess_var is $sess_var<br>";
phpinfo();
?>
</BODY>
</HTML>
......................................................................................................
Let me know if any of you see a similar result. |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|