warning message

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

Moderators: Developers, Moderators

Post Reply
kevin
Posts: 3
Joined: Mon Oct 07, 2002 9:37 pm

warning message

Post by kevin »

I get this when I try to access the index.php file. How can I fix it?

Code: Select all

Warning: Cannot send session cache limiter - headers already sent (output started at /home/sbcmon/public_html/cacti/include/config.php:47) in /home/sbcmon/public_html/cacti/include/auth.php on line 30

Warning: Cannot add header information - headers already sent by (output started at /home/sbcmon/public_html/cacti/include/config.php:47) in /home/sbcmon/public_html/cacti/auth_login.php on line 87
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

You are getting this error because there is whitespace somewhere in your config.php file. Open up this file edit out any space before the first <? and after the last ?> of the page. Your error specifically is complaining about line 47, but I cannot see why there would be whitespace on that line unless you added a print statement or something.

It's also possible that you are experiencing a unix->dos conversion problem. Have you moved your source from unix to dos (or dos to unix) lately?

Just a few suggestions.

-Ian
kevin
Posts: 3
Joined: Mon Oct 07, 2002 9:37 pm

Post by kevin »

I used dreamweaver to edit the config.php, that must have been the root of the problem. I used notepad and now it works fine.

Thanks for the tip!
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests