fresh install results in blank page...

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
fozzy
Cacti User
Posts: 54
Joined: Mon Jan 09, 2006 11:33 am
Location: SE of LIML
Contact:

fresh install results in blank page...

Post by fozzy »

Looks like i got everything installed correctly... but i only get a blank page...

I installed following install directions, mysql is up, php works (phpinfo runs), nothing logged by php, if i access the page i get in the access log a line but data size is -

It's not my first cacti install... but i really can't get what is wrong...

I already searched the forums and found three or four threads but nothing helped.

Running debian 3.1, apaceh2, php4, cacti 0.8.6j (tried 0.8.6i too with the same result)

Any ideas appreciated...

Thank you, Luca
fozzy
Cacti User
Posts: 54
Joined: Mon Jan 09, 2006 11:33 am
Location: SE of LIML
Contact:

Post by fozzy »

got this fixed...

installed php4-mysql and php4-gd and aded the extensions to both apache2 and cli php.ini files....

possibly worth having some sort of echo to signal such a problem?

i have php error logging enabled and didn't get anything in the log.

Thank you, Luca
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I would at least recommend adding php-session and php-snmp,, if nor already installed
Reinhard
fozzy
Cacti User
Posts: 54
Joined: Mon Jan 09, 2006 11:33 am
Location: SE of LIML
Contact:

Post by fozzy »

added php4-snmp, can't find any debian package in aptitude which resembles php-session...

as above... it might be useful to have a link to the prerequisites in the installation guide :) mainly if some packages are good for performance or whatever which isn't immediatley visible as missing :)

Thank you, Luca
runlikeanantelope
Cacti User
Posts: 63
Joined: Thu Feb 15, 2007 12:08 pm

Post by runlikeanantelope »

fozzy wrote:got this fixed...

installed php4-mysql and php4-gd and aded the extensions to both apache2 and cli php.ini files....

Can you explain you to check to see if php4-mysql and php4-gd is installed? Also, how do I add the extensions as you've suggested?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

php -m should show the modules. Running phpinfo() should show more data. Find the config at /etc/php.ini and sometimes more at /etc/php.d/* (at least for RedHat). For me, installing via yum was fine in all cases
Reinhard
sheds
Posts: 11
Joined: Fri Apr 06, 2007 4:08 pm
Location: ???????????????

Post by sheds »

fozzy wrote:got this fixed...

installed php4-mysql and php4-gd and aded the extensions to both apache2 and cli php.ini files....

possibly worth having some sort of echo to signal such a problem?

i have php error logging enabled and didn't get anything in the log.

Thank you, Luca
How do you add the extensions to apache and php.ini? I believe that's the only step i am missing. I researched php.net to find out how, but i haven't seen worst documentation ever since mysql's docs. Jejejeje.
fozzy
Cacti User
Posts: 54
Joined: Mon Jan 09, 2006 11:33 am
Location: SE of LIML
Contact:

Post by fozzy »

in your php.ini look for the Dynamic Extension section

and add

extension=mysql.so
extension=gd.so

This is how i did it on apache under linux (not sure but it should be the same on windows)

Luca
sheds
Posts: 11
Joined: Fri Apr 06, 2007 4:08 pm
Location: ???????????????

Post by sheds »

JAJAJA, don't worry bringing windows up. I am using linux. Yeah!!!

Thanks for the tip, i'll be doing that now.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests