Posted by borstahusen on February 18, 2008 at 9:35pm
| Project: | Drupal core |
| Version: | 6.0 |
| Component: | install system |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (cannot reproduce) |
Issue Summary
Hi,
I started fresh with 6.0, added write permission to sites/default, and wrote http://.../install.php
I get the first page, with the following alternatives:
Choose language
* Install Drupal in English
* Learn how to install Drupal in other languages
I chose Install Drupal in English, and got a blank page (in source, there's nothing between body and /body)
I get a blank page also with http://.../index.php
Apache Version Apache/2.0.54
PHP Version 5.0.4
Client API version 4.1.13 (mysql)
User-Agent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; InfoPath.2)
Thanks
Comments
#1
check your apache/http error logs. Blank pages are apache errors.
Typically related to not enough memory.
#2
Thank you, I checked with the ISP:
PHP Fatal error: %v%v() [function.require]: Failed opening required 'modules/block/block.install' (include_path='/usr/share/php5:/usr/share/php5/PEAR')
in /home/kf/www/includes/install.inc on line 689
(modules/block/block.install is in place = 6.01 kB).
Please advice.
#3
Hi, I'm new to Drupal, and I have no idea what I'm doing, I have the same problem. BUT, I think I fixed it. I didn't see an error... just a 500 error. But your error says: Failed opening required 'modules/block/block.install'. It doesn't have the "/" in front of modules. On line 254 of \includes\install.inc, the line reads:
$installs = array_merge($installs, drupal_system_listing($module .'.install$', 'modules'));
I changed it to:
$installs = array_merge($installs, drupal_system_listing($module .'.install$', '/modules'));
Notice the "/" before modules. I don't know if it fixed the problem... but I just got to the next step (instead of a blank page).
EDIT: I found a solution that fixed all of my blank pages problems. In /includes/bootstrap.inc, I added the line:
ini_set("include_path",".");
And... no other problems so far.
#5
Excellent, the bootstrap addition works like a charm. Drupal 6 installed and ready.
Thank you!
#6
where in the bootstrap did you put that info ?
#7
Nearly at the beginning:
<?php
// $Id: bootstrap.inc,v 1.206.2.2 2008/02/11 14:36:21 goba Exp $
/**
* @file
* Functions that need to be loaded on every Drupal request.
*/
ini_set("include_path",".");
/**
* Indicates that......
#8
#9