HELP ME PLS HOW CAN I FIX THIS PROBLEM

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
bahamut
Posts: 1
Joined: Wed Jul 25, 2007 1:31 am

HELP ME PLS HOW CAN I FIX THIS PROBLEM

Post by bahamut »

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
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

My guess is a NTFS permission problem. Read the installation guide in my signature.
bsd_daemon
Posts: 1
Joined: Thu Oct 18, 2007 4:08 am
Location: New Zealand

Post by bsd_daemon »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests