cacti mbstring.overload has to be set to 0 when on same machine as egroupware
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cacti (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi
this affects Ubuntu 8.04 LTS (all up to date):
http://
In short : when egroupware and cacti are installed so they are served by the same apache, you never know, which apache instance is actually serving it; and since cacti cannot use '''php_value mbstring.
So the /etc/apache2/
> > Alias /cacti /usr/share/
> >
> > <DirectoryMatch /usr/share/
> > Options +FollowSymLinks
> > AllowOverride None
> > order allow,deny
> > allow from all
> > # <IfModule mod_php4.c> # modify here
> > AddType application/
> >
> > php_flag magic_quotes_gpc Off
> > php_flag short_open_tag On
> > php_flag register_globals Off
> > php_flag register_argc_argv On
> > php_flag track_vars On
> > # this setting is necessary for some locales
> > php_value mbstring.
> > php_value include_path .
> >
> > DirectoryIndex index.php
> > # </IfModule> # and here
> > </DirectoryMatch>
I don't know if the ifmodule modification is meaningful at all, but I haven't tested it without, and with the file reading as above, it works flawless.
Hello,
I'm using Ubuntu 8.10, cacti 0.8.7b-2.1ubuntu2, egroupware 1.4.004-2.dfsg-1 and php5 5.2.6-2ubuntu4.1.
Using cacti alone on a tab (IE or Firefox), it works fine.
But when I use egroupware on another tab than cacti (IE or Firefox) and I go back to cacti, cacti shows: mb-ereg- replace] : mbregex compile err: premature end of char-class in /usr/share/ cacti/site/ include/ global. php on line 86
"Warning: mb_ereg_replace() [function.
Warning: mb_ereg_replace() [function. mb-ereg- replace] : mbregex compile err: premature end of char-class in /usr/share/ cacti/site/ include/ global. php on line 87
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/ cacti/site/ include/ global. php:86) in /usr/share/ cacti/site/ include/ global. php on line 121
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/ cacti/site/ include/ global. php:86) in /usr/share/ cacti/site/ include/ global. php on line 122
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/ cacti/site/ include/ global. php:86) in /usr/share/ cacti/site/ include/ global. php on line 123
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/ cacti/site/ include/ global. php:86) in /usr/share/ cacti/site/ include/ global. php on line 124
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/ cacti/site/ include/ global. php:86) in /usr/share/ cacti/site/ include/ global. php on line 125
Warning: session_start() [function. session- start]: Cannot send session cache limiter - headers already sent (output started at /usr/share/ cacti/site/ include/ global. php:86) in /usr/share/ cacti/site/ include/ global. php on line 129
Warning: include( /database. php) [function.include]: failed to open stream: No such file or directory in /usr/share/ cacti/site/ include/ global. php on line 184
Warning: include() [function.include]: Failed opening '/database.php' for inclusion (include_path='.') in /usr/share/ cacti/site/ include/ global. php on line 184
Warning: include_ once(/functions .php) [function. include- once]: failed to open stream: No such file or directory in /usr/share/ cacti/site/ include/ global. php on line 185
Warning: include_once() [function.include]: Failed opening '/functions.php' for inclusion (include_path='.') in /usr/share/ cacti/site/ include/ global. php on line 185
Fatal error: Call to undefined function db_connect_real() in /usr/share/ cacti/site/ include/ global. php on line 191
"
http:// .../egroupware/ admin/phpinfo. php shows: func_overload 7 0
"
Directive Local Value Master Value
...
mbstring.
"
So, the entry on cacti.conf doesn't works.