Fatal error: Cannot redeclare title_trim
Moderators: Developers, Moderators
Fatal error: Cannot redeclare title_trim
Fatal error: Cannot redeclare title_trim() (previously declared in C:\webroot\cacti\include\functions.php:27) in c:\webroot\cacti\include\functions.php on line 27
Fatal error: Cannot redeclare title_trim
Ok, i just install. After install i go to the /install/index.php by the web how your manual said and everything was fine. When i click to go to the next page after complete the path information i get this error.
Fatal error: Cannot redeclare title_trim() (previously declared in C:\webroot\cacti\include\functions.php:27) in c:\webroot\cacti\include\functions.php on line 27
Windows 2000 Server
I am runing with IIS 5
MYSQL
PHP
rrdtool
All with the latest version
Thanks for your Help.
Fatal error: Cannot redeclare title_trim() (previously declared in C:\webroot\cacti\include\functions.php:27) in c:\webroot\cacti\include\functions.php on line 27
Windows 2000 Server
I am runing with IIS 5
MYSQL
PHP
rrdtool
All with the latest version
Thanks for your Help.
redeclare error in function.php
I have just installed Cacti on a Win2K Server as well as PHP and Apache 2 as the web server and MYSql.
After the login screen I also am getting a unable to redeclare function title_trim from functions.php previously declared in functions.php.
include path = c:\program files\apache group\apache2\htdocs\cacti
Thanks.
After the login screen I also am getting a unable to redeclare function title_trim from functions.php previously declared in functions.php.
include path = c:\program files\apache group\apache2\htdocs\cacti
Thanks.
hi,
i have the same problem after updating from cacti 0.68a to cacti 0.8
what do you mean with:
wenn i'm adding
as windows path i have the same problem....
I am running cacti 0.8 on a w2k server with php 4.2.2 and iis.
i have the same problem after updating from cacti 0.68a to cacti 0.8
Code: Select all
Fatal error: Cannot redeclare title_trim() (previously declared in C:\Inetpub\wwwroot\cacti\include\functions.php:27) in c:\inetpub\wwwroot\cacti\include\functions.php on line 27
Code: Select all
include path = c:\program files\apache group\apache2\htdocs\cacti
Code: Select all
c:\inetpub\wwwroot\cacti\
I am running cacti 0.8 on a w2k server with php 4.2.2 and iis.
Cannot redeclare title_trim()
Same here. 0.6.8a was working but 0.8 returns this error:
Fatal error: Cannot redeclare title_trim() (previously declared in C:\htdocs\CACTI\include\functions.php:27) in C:\htdocs\cacti\include\functions.php on line 27
DB conversion seems to have worked but I never got to the login screen.
Win2K Server
Apache 2.0.45 (Win32)
PHP 4.3.0
Fatal error: Cannot redeclare title_trim() (previously declared in C:\htdocs\CACTI\include\functions.php:27) in C:\htdocs\cacti\include\functions.php on line 27
DB conversion seems to have worked but I never got to the login screen.
Win2K Server
Apache 2.0.45 (Win32)
PHP 4.3.0
Same error...
I am experiencing the same error as above. The web-based install portion seemed to go OK, but as soon as it completed I get the same error.
"Fatal error: Cannot redeclare title_trim() (previously declared in D:\Apache\Apache2\htdocs\cacti\include\functions.php:27) in d:\apache\apache2\htdocs\cacti\include\functions.php on line 27"
Windows 2000 Server
Apache 2.0.46
PHP 4.3.1
MySQL 4.0.11
"Fatal error: Cannot redeclare title_trim() (previously declared in D:\Apache\Apache2\htdocs\cacti\include\functions.php:27) in d:\apache\apache2\htdocs\cacti\include\functions.php on line 27"
Windows 2000 Server
Apache 2.0.46
PHP 4.3.1
MySQL 4.0.11
This is confusing... I am using PHP's include_once() function everywhere, as to prevent this kind of error.
After getting this error, what happens if you point your browser to /index.php?
Also can some give me their:
1) cacti Web Root
2) Web Server Document Root
Normally this error will reveal where functions.php is being called from... I have no idea why it is not here. I am curious to see if it is the installer or a Cacti include causing this error.
-Ian
After getting this error, what happens if you point your browser to /index.php?
Also can some give me their:
1) cacti Web Root
2) Web Server Document Root
Normally this error will reveal where functions.php is being called from... I have no idea why it is not here. I am curious to see if it is the installer or a Cacti include causing this error.
-Ian
Fatal error: Cannot redeclare title_trim
cacti web root = c:\webroot\cacti
web server document root = c:\webroot
Thanks
web server document root = c:\webroot
Thanks
Re: Fatal error: Cannot redeclare title_trim
Should be: /cactiblacksky wrote:cacti web root = c:\webroot\cacti
Should be: c:/webrootblacksky wrote:web server document root = c:\webroot
Make sure to clear your poller cache under utilities after making this change.
-Ian
Pointing the browser to /index.php results in the same error. Actually, pointing the brower to any .php file in that directory gives the same error.raX wrote:This is confusing... I am using PHP's include_once() function everywhere, as to prevent this kind of error.
After getting this error, what happens if you point your browser to /index.php?
Also can some give me their:
1) cacti Web Root
2) Web Server Document Root
Normally this error will reveal where functions.php is being called from... I have no idea why it is not here. I am curious to see if it is the installer or a Cacti include causing this error.
-Ian
Cacti web root is /cacti
Web server document root is d:/apache/apache2/htdocs
Thanks!
Cannot redeclare title_trim()
I checked my settings table and the values look correct but the problem persists.
Code: Select all
name value
------------- --------------
path_webcacti /cacti
path_webroot C:/htdocs
Fatal error: Cannot redeclare title_trim
My settings table look ok also with the correct data.
Still same error...
Also what is poller cache and how can i clear it?
Thanks[/img]
Still same error...
Also what is poller cache and how can i clear it?
Thanks[/img]
Who is online
Users browsing this forum: No registered users and 2 guests