HOW CAN I FIX THIS PROBLEM I HAVE ERROR MESSAGE EVERY TIME IN CREATE GRAPH
Notice: Only variable references should be returned by reference in C:\AppServ\www\cacti\lib\adodb\adodb.inc.php on line 866
Notice: Only variable references should be returned by reference in C:\AppServ\www\cacti\lib\adodb\adodb.inc.php on line 866
Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\cacti\lib\adodb\adodb.inc.php:866) in C:\AppServ\www\cacti\host.php on line 123
HELP ME PLS HOW CAN I FIX THIS PROBLEM
Moderators: Developers, Moderators
My guess is a NTFS permission problem. Read the installation guide in my signature.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 1
- Joined: Thu Oct 18, 2007 4:08 am
- Location: New Zealand
Hi,
I have the same problem (but I'm using Linux).
Notice: Only variable references should be returned by reference in C:\AppServ\www\cacti\lib\adodb\adodb.inc.php on line 866
This is because the function which the statement on line 866 exists in has an ampersand, which means pass the reference back to the caller, and not the value (hence: By Reference vs By Value).
I just removed the & symbol, and the error message is now gone.
I don't have the next problem you're experiencing:
Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\cacti\lib\adodb\adodb.inc.php:866) in C:\AppServ\www\cacti\host.php on line 123
... but this happens when data has already been sent back to the browser, at which point the script has passed it's chance to insert/modify headers. I'm thinking you might be getting this because of the initial error being sent to the browser, but you'll have to just see.
Let me know how you get on.
(Hope my info was useful to you).
Cheers,
Nick Larsen
I have the same problem (but I'm using Linux).
Notice: Only variable references should be returned by reference in C:\AppServ\www\cacti\lib\adodb\adodb.inc.php on line 866
This is because the function which the statement on line 866 exists in has an ampersand, which means pass the reference back to the caller, and not the value (hence: By Reference vs By Value).
I just removed the & symbol, and the error message is now gone.
I don't have the next problem you're experiencing:
Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\cacti\lib\adodb\adodb.inc.php:866) in C:\AppServ\www\cacti\host.php on line 123
... but this happens when data has already been sent back to the browser, at which point the script has passed it's chance to insert/modify headers. I'm thinking you might be getting this because of the initial error being sent to the browser, but you'll have to just see.
Let me know how you get on.
(Hope my info was useful to you).
Cheers,
Nick Larsen
Who is online
Users browsing this forum: No registered users and 5 guests