cacti adodb.inc.pho deprecated messages..
Moderators: Developers, Moderators
cacti adodb.inc.pho deprecated messages..
After compiling and installing cacti with apache 2 net-snmp and the latest php
configured the database.. so far everything went fine without an error..
but when I say http://cacti/cacti on my local network I get lots of
deprecated adodb.inc.php messages at line
866, 872, 1183 and so on.
Anyone knows the solution/fix for this.
configured the database.. so far everything went fine without an error..
but when I say http://cacti/cacti on my local network I get lots of
deprecated adodb.inc.php messages at line
866, 872, 1183 and so on.
Anyone knows the solution/fix for this.
-
- Cacti User
- Posts: 51
- Joined: Thu Aug 06, 2009 9:18 pm
That is indeed the first place I started but no logs..cert-eh-fiable wrote:What do your cacti logs and system logs say?
After some search I think that the real problem is this:
Warning: Cannot modify header informatio - headers already sent by
(output started at /var/apache2/htdocs/cacti/lib/adodb/adodb.inc.php:866)
in /var/apache2/htdocs/cacti/include/auth.php on line 29.
What I could find is something about session support.. I am still looking for the
solution...
os: solaris 10 sparc
packages: compiled php5, net-snmp etc
everything installed and in place..
-
- Cacti User
- Posts: 51
- Joined: Thu Aug 06, 2009 9:18 pm
That is exactly what is making this particular challenge a problem for I have 0 logs to work with.. system logs tell me nothing, cacti logs neither (size 0) and now I am loggin php errors also and php too is really quite (size 0)...cert-eh-fiable wrote:make sure local and global php.ini is safe_mode=off
modify php.ini to log errors
check the php logs
have you checked your cacti logs?
This is why I am lost here... I will think and think.. see if I can come with some creative idea..
The only piece of information I have now is this:
Warning: Cannot modify header information - headers already sent by (output at /var/apache2/htdocs/cacti/lib/adodb/adodb.inc.php:866) in /var/apache2/htdocs/cacti/include/auth.php n line 29
Thank you for being here with me
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
PHP 5.3 will cause a lot of notices about depreciated function calls.
In that case you've to configure your PHP not beeing so chatty or use PHP 5.2.10 instead.
Best regards
-Andreas-
In that case you've to configure your PHP not beeing so chatty or use PHP 5.2.10 instead.
Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
I don't mind the warnings but the problem is that I will not get the cacti screen and only the deprecated messages and 1 warning. And nothing in the logsbrowniebraun wrote:PHP 5.3 will cause a lot of notices about depreciated function calls.
In that case you've to configure your PHP not beeing so chatty or use PHP 5.2.10 instead.
Best regards
-Andreas-
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
If there has been any output sent to the browser before a redirect command (header function) will always fail.
The warning is a consequence of the depreciated messages sent to the browser before.
Which version of PHP are you using?
Best regards
-Andreas-
The warning is a consequence of the depreciated messages sent to the browser before.
Which version of PHP are you using?
Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
As I wrote it in my first comment modify your php.ini to suppress messages from type E_DEPRECATED or downgrade to PHP 5.2.10.
Best regards
-Andreas-
Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
Who is online
Users browsing this forum: No registered users and 0 guests