I installed drupal according to the installation guidelins, but keep on getting a blank/white screen when I point my internet browser to localhost. I do see the drupal icon in appear in front of the http address.

What could I have missed.

Comments

hvrossum’s picture

I moved the files of drupal in a subdir drupal under /var/www/html/ and loaded localhost. I get the Fedora Core testpage screen. (appche and httpd seem to be working correctly)

hmm, strange

voytechs’s picture

I just went through the same hassle. When I checked /var/logs/httpd/error_log found it was complaining that an undefined PHP function was being called:

[client 192.168.1.1] PHP Fatal error: Call to undefined function mysql_connect() in /var/www/html/includes/database.mysql.inc on line 31

Then I checked with PHP website and found out that they no longer supply this function linked to a MySQL library by default. So I had to install a different PHP module with mysql support builtin.

Here is a link for RedHat FC4 RPM that worked right away and fixed this problem for me:

ftp://rpmfind.net/linux/fedora/core/4/i386/os/Fedora/RPMS/php-mysql-5.0....

Hope this helps!

hvrossum’s picture

I found out that I was not running the php-mysql-5.0.4-10 component.
You can see this when you enter the command rpm -aq|grep -i mysql

So I installed it though the add/remove applications.

After a reboot it worked again.