[solved] localhost cacti index page is blank

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

Moderators: Developers, Moderators

Post Reply
dsharma
Posts: 15
Joined: Thu Aug 12, 2010 1:32 am

[solved] localhost cacti index page is blank

Post by dsharma »

Hi,

Iam installing a fresh Cacti on my system. I followed the instructions posted on http://bsod2600.home.comcast.net/~bsod2 ... ndows.html.
Following are my specifications:
Windows xp professional service pack 2
cacti 0.8.7.g
my sql server 5.1.49
apache 2.2
php 5.2.14
The problem is that when iam trying to open cacti index page it is blank. I started debugging cacti php pages by inserting echo.Then i found there is a problem with my cacti database connection, because the echo message placed just after db_connect_real is not displaying anything,but iam able to loging mysql database through command prompt both using my root login as well as cacti user login.
My config.php settings are:
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "******";
$database_port = "3306";
I changed these settings to root login also but in vain,Please help.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) you really should be on XP SP3, SP2 is EOL.

2) for new installs, you know about the windows installer? http://forums.cacti.net/viewtopic.php?t=14946

3) enable the php error log. Any errors in that?
4) look in the mysql error log, any errors in that?
5) a phpinfo page work?
dsharma
Posts: 15
Joined: Thu Aug 12, 2010 1:32 am

[solved]localhost cacti index page is blank

Post by dsharma »

I solved this issue. I had to uncomment this line in php configuration file
'extension=php_mysql.dll'
Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests