By Anonymous (not verified) on
ok, i have winXp with IIS.
latest php, latest mySql, latest Drupal..... latest blank page.
after have created the db with phpmyadmin i call my drupal home and i get a blank page. even if i go to admin.php...
only blank pages.... sob ![]()
ps. i run postnuke,phpnuke,envolution,phpwebsite,mamboserver.... but not drupal... ![]()
spoon
Comments
just a blank page
I installed drupal yesterday for the first time. I found, for some things to work, especially in ie, I had to hardwire the base href line in the ???.themes e.g.
Hope it helps.
Joe
addition to my previuos post
I installed drupal yesterday for the first time. I found, for some things to work, especially in ie, I had to hardwire the base href line in the ???.themes e.g.
Hope it helps.
Joe
sorry...
... if i don't understand.
really don't know what u mean
This has been asked loads of times..
You could try removing or renaming the .htaccess file in your drupal webroot . See if that works?
yes
no changes...
spoon
once more
this is the line I keep trying to include. Sorry for repetition. Obviously php is blocked.
e.g. base href="http://drupal.org/" /
conf.php
Have you set the $base_url in includes/conf.php?
Turn on error reporting
I had the same problem. Turned out to be that the documentation was lacking a "feature". I initially created a /includes/{host}.php file (eg for a specific domain), then read about all of the directory setup and decided to just do a base install. However it turns out that if there is a {host}.php file for the domain, then it uses that one (which was not set up).
Many PHP installations will set error reporting off, to prevent giving hackers information about your file/database structure in error messages.
It turned out that I was getting an error that it could not access the database, but that error was not being displayed.
During initial configuration, this can be an issue.
If you need more thorough testing, you could put it into includes/bootstrap.inc so it works on more than just the first page.
The same problem
I have the same problem , 2 instalations and blak page in both.
I dont know if its a problem with database conection or another think
Previous version 4.4.2 work ok...
I try to enable php error reporting but is the same
any ideas ?
Which are the recommended permissions for directories and files in drupal ?
PD: I use Linux Slackware as a server
thanks in advance
Bruno
same problem also
Turning on error reporting did not show anything. So I started putting echo statements in the source to see where it stopped working. I get the echo output until I move it after start_session() in includes/session.inc. Any hints on how to fix this?
I'm using php 4.3.2 on OS X 10.3.7.
Me too
I ran Drupal 4.5 for a few days. I also tried a version cv4.6 but this had some template bugs, so I abandoned it. SInce then I had the blank page. I have checked all page permissions, database permissions, and reinstalled. Other test engines (wordpress, coppermine etc working OK). I hardwored error reporting in the index.php but have no errors showing. Just a blank page. I also tried another host on my computer.
I removed the .htaccess file drom Drupal's directory, still no luck. Guidiance welcome.
I'm using php 4.3.2 MySQL 4.0.21 on OS X 10.3.8
"It's never too late to have a happy childhood."
Tom Robbins
Update: attempted...
I switched to
allowoverride all
(changed from 'none'), in Apache's httpd.conf file
Quote: 'This allows the .httaccess files in DRupal to really work'... but no I still get a blank page.
my conf.php is as follows:
$db_url = "mysql:/user:secret@localhost/drupal";
$base_url = "http://localhost/~user/drupal_4.5.1";
I have 52 clean tables in a database with all privildges granted to user@localhost and user@%
"It's never too late to have a happy childhood."
Tom Robbins
Success, working again, but
Success, working again, but still mystified.
I switched to another user on OS X with same privilidges, and installed Drupal 4.5.2
It worked. I copied the same drupal directory to my usual user account, logged in there, adjusted permissions adjusted the base url. It worked. I then tested 4.5.1 and 4.5.0, and they didn't work (just the blank screen). All were clean installations.
Meanwhile I've erased and reinstalled mySQL, dumped databases, rewritten my virtual servers, and so on for two days!
"It's never too late to have a happy childhood."
Tom Robbins
some answers
Still can't make the errors come to the web browser, but I did find the error in the Apache log:
[Sun Mar 6 19:26:08 2005] [error] PHP Warning: pg_query(): Query failed: ERROR: null value in column "uid" violates not-null constraint in /Users/user/Sites/cms/includes/database.pgsql.inc on line 104
[Sun Mar 6 19:26:08 2005] [error] PHP Fatal error: ERROR: null value in column "uid" violates not-null constraint\nquery: INSERT INTO sessions (sid, hostname, timestamp) values('fc29e0b28c74aeca6ac7fd1cb3b335a9', '127.0.0.1', 1110155168) in /Users/user/Sites/cms/includes/database.pgsql.inc on line 121
For OS X, this is at /var/log/httpd/error_log
This was using Drupal 4.5.2 with PostgreSQL. I did not have this problem (blank screen) when I tried the 4.6 release candidate, but there were lots of other PostgreSQL errors. I'm using 4.5.1 now and all seems OK. One other minor bug is that the error log is filled with the following entry if you don't put a port in your connect specification.
[Mon Mar 7 10:56:40 2005] [error] PHP Notice: Undefined index: port in /Users/user/Sites/drupal-4.5.1/includes/database.pgsql.inc on line 27
(in)famous undefined mysql_connect()
I am running drupal-4.6.0 in WinXP with PHP5 and Mysql 4.1.x, Apache2, and having the same bank page problem.
After reading the apache2 logs, i see theres is a "undefined mysql_connect()" going on.
I have gone through the Apache2/Mysql/PHP/Drupal!!! install instructions a thousand times, considering PATHs to dlls, php.ini extensions, etc.
Nothing.
I was just so excited to try drupal....
Guess I will have to move to a previous release, an older php, older apache, etc.
Dissapointing and exhausting.
I have the exact same
I have the exact same Problem as you, running the same setup also. Let me know if you figure it out.
Eric
This may help for blank pages
My configuration is Win NT Server 4.0, Apache Server 2.0, PHP 5, MySQL 4.1.11.
I was getting the blank page with no error message and tried placing some debug text into my index.php before the includes as suggested. This didn't work for me either.
make sure you have this line in your httpd.conf
PHPIniDir "C:/winnt/"
It will be only winnt if thats where your php.ini file is. Also in your php.ini file make sure that the mysql extention is uncommented:
extension=php_mysql.dll
and the path is correct to the extension directory.
extension_dir = "c:/php/ext"
The only other thing I did was place the additional parameters into the global environment path:
c:\php;c:\mysql\bin
access your path by right clicking
"my computer"->properties->environment
I hope this helps it took me around 4 hours to figure out what configuration changes I was missing. Everytime I read over the install notes for php. I found something I'd missed.
Same problem again - please someone help! :D
Hi all, I'm new to drupal and I'm hoping someone's got past this problem.
I'm on WinXPHome SP2 running WAMP5 V.1.4.3.1
An old installatin of PHPNuke runs fine and my mysql, PHP & Apache installations check out great. However, I've tried every suggestion on this page and I still get a blank page when trying to access the drupal installation through the web-browser. Checking the Apache Error log shows the same thing every time. Call to undefined function, mysql_connect(). Every time.
I've tried doing everything that Jase suggested, even adding the environment paths (different access path in WinXP :) - Right click "My Computer"->properties->Advanced->Environment Variables) but nothing seems to work.
I'm about to reboot to see if that helps, but please - can anyone help me out here? I'm losing my mind with this!
Cheers,
Pollo
:::UDPATE:::
After flicking round the forum a little bit, I think I found the answer. REMEMBER TO RESTART THE SERVER AFTER YOU'VE MADE CHANGES!!! it really helps! :D
Thanks for your posts, I now have the initial drupal page and look forward to checking this system out!.
Pollo
I had the same problem.
I setup originally as a subdirectory site.com/drupal and when I decided the go with it on the main domain I accidentally deleted the ending ' in this line in the settings.php...
Bad...
Good...