[Solved] Blank Page after installing Cacti (IIS)

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

Moderators: Developers, Moderators

mkessels
Posts: 9
Joined: Thu Apr 17, 2008 6:25 am

[Solved] Blank Page after installing Cacti (IIS)

Post by mkessels »

Hi,
i'm having somewhat of a problem with Cacti and I can't find a solution.
When I try to open the Cacti page after installing I just get a blank page without any error message.

I installed everything according to BSOD's manual and I didn't run into anything unclear or any errors.
I installed everything again 3 times in the hope I missed something. I put NTFS permissions on all rights to everyone on the PHP and Cacti maps for troubleshooting purposes.
PHP -m lists all the modules I need.
I made an info.php page that I found somewhere on this forum and that page works perfectly.

As an additional note: I did not use the default website since there are allready running other webpages from there so I made another website on port 1234.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Blank Page after installing Cacti (IIS)

Post by BSOD2600 »

mkessels wrote:As an additional note: I did not use the default website since there are allready running other webpages from there so I made another website on port 1234.
Did you test the php info page on THAT website?

When you manually type in http://localhost:1234/cacti/index.php, what do you get?

Any errors in your event logs?
mkessels
Posts: 9
Joined: Thu Apr 17, 2008 6:25 am

Post by mkessels »

Yeah i tested it on that website.
I didn't use a subdir in the website so the url is http://localhost:1234/index.php then and that gives the same result -> A blank page.
There aren't any errors in the logs either.

Today I installed everything on my home computer with WinXP as well to test it out but I have the exact same problem here.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Please attach the output from the phpinfo page.

Also, follow http://forums.cacti.net/viewtopic.php?t=26165 and attach it's output too, for when you ONLY visit the webpage (otherwise too many other events get in the way).
mkessels
Posts: 9
Joined: Thu Apr 17, 2008 6:25 am

Post by mkessels »

Here they are.
I left out the register values out of the log cause else too much junk would get in the way.

I used my home computer for these files since I'm at home now and @work too much spam from the other websites would get in the way (WSUS and Symantec AV)
Attachments
Logs.zip
(48.95 KiB) Downloaded 143 times
Last edited by mkessels on Thu Apr 17, 2008 4:06 pm, edited 1 time in total.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

In your phpinfo, I don't see the mysql, sockets or snmp extensions. You said they show up with: php -m?
mkessels
Posts: 9
Joined: Thu Apr 17, 2008 6:25 am

Post by mkessels »

Woops little mistake when I installed everything on my home computer today.

I fixed the mistake and the modules are active now (problem still exists though)

I updated the phpinfo file in my previous post with a new version
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Hmm still dont see those modules in your phpinfo... but thats fine if you say you see it now in php -m.

Anyways, that process monitor output, thats just for bringing up IE and navigating to the page? That portion of the output all looks fine. Although, I don't see anything for mysql-nt.exe -- did you filter that out? Cacti should try talking to the db.

Tried a different browser?

At home are you running on port 80 and the only website? If not, maybe you need to mess with IIS headers?
mkessels
Posts: 9
Joined: Thu Apr 17, 2008 6:25 am

Post by mkessels »

yeah they show up in php -m
and yes its for opening the page and I used the filters that were added when I used the reg file in that guide.
If those settings didn't filter it out then it wasn't there to begin with.

Haven't tried a different browser yet and yes it is the only website here @home and on port 80
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Alright, lets go a different route.

manually run the following from the command prompt: php cmd.php. Whats displayed and/or logged in /log/cacti.log ?
mkessels
Posts: 9
Joined: Thu Apr 17, 2008 6:25 am

Post by mkessels »

nothing at all

the command ran fine without any errors but the log file remained empty
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Yea, something isn't quite right...At the very least, you should've saw a message in cacti.log about the poller running/stopping, etc.

Try running through the MySQL portion of the set up again in my installation guide. You sure you set up the stuff in /include/config.php correctly?
mkessels
Posts: 9
Joined: Thu Apr 17, 2008 6:25 am

Post by mkessels »

I allready ran through the mysql part multiple times to be sure but no success.

This is my config.php. De username and password matches the one i set using the commands.

Code: Select all

/* make sure these values refect your actual database/host/user/password */
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "cactipw";
$database_port = "3306";

/* Default session name - Session name must contain alpha characters */
#$cacti_session_name = "Cacti";
mkessels
Posts: 9
Joined: Thu Apr 17, 2008 6:25 am

Post by mkessels »

ok wth today @ work i tried again for the 4th time and this time it worked.

Now I'm really like wtf since I have no idea what changed :)

I've set up Cacti now and everything seems to work fine.
Anyway thanks for the support :)
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

hmm congrats. I'd be really interested in what the underlaying problem was.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests