[support] Install script does not appear

Ron Siven r.siven at mchsi.com
Mon Feb 5 05:52:36 UTC 2007


Yes, I get a bunch of PHP Warnings and Notices about files not existing, etc.

At the very end of the error log, I see this:
[Sun Feb 04 22:06:47 2007] [error] [client 192.168.2.102] PHP Fatal error:  
Call to undefined function block_list() in /var/www/html/includes/theme.inc 
on line 1013
[Sun Feb 04 22:06:47 2007] [error] [client 192.168.2.102] PHP Fatal error:  
Unknown: Cannot find save handler users in Unknown on line 0

I got rid of the second one by changing session.save_handler = users to 
session.save_handler = files

the block_list() one still eludes me, though. 

Regarding the AddType line, I have to apologize because I cut and pasted from 
teh original email, and someone had already pointed that out.  So, it's 
actually 
	AddType  text/html .shtml .php

I also tried your variation as well.

When I add the error_reporting code to install.php, nothing happens.  Firefox 
still tries to download the file rather than display it.  If I add it to 
index.php, nothing happens either, although firefox does not try to download 
it.

Here it is, did I do it right?

*snip*

<?php
// $Id: install.php,v 1.34 2007/01/10 10:15:07 unconed Exp $
ini_set('error_reporting', E_ALL);
require_once './includes/install.inc';

/**
 * The Drupal installation happens in a series of steps. We begin by verifying
 * that the current environment meets our minimum requirements. We then go
 * on to verify that settings.php is properly configured. From there we
 * connect to the configured database and verify that it meets our minimum
 * requirements. Finally we can allow the user to select an installation
 * profile and complete the installation process.
 *
 * @param $phase
 *   The installation phase we should proceed to.
 */
function install_main() {
  global $profile, $install_locale;
  require_once './includes/bootstrap.inc';

*end snip*

One more thing,  when I go to the base url, and get a blank page, I go to view 
the source for the page, and it's blank as well.



I'm thinking that this is all caused by messed up settings in php.ini.  You?




On Sunday 04 February 2007 5:47:46 pm Kitt Hodsden wrote:
> >         - AddType  test/html .shtml php
>
> This probably should be both text/html as well as .php (missing the .).
>
> Though, what I have is actually (YMMV) :
>
> AddType application/x-httpd-php .php .phtml .php3
>
> Find your server's error logs and look to see if you're getting a PHP
> error.
>
> An example of what you MIGHT see (but probably not for this file):
>
> [Thu Feb  1 12:33:14 2007] [error] PHP Fatal error: ...
>
> If you see this, what is the error?  Memory related?  Syntax error?
>
> If that doesn't turn up anything, see if you can an error output to the
> browser. Add this to the top of the install.php, after the <?php
>
> ini_set('error_reporting', E_ALL);
>
> then reload the page.  What do you get?
>
> Kitt.
>
> Quoting Ron Siven <r.siven at mchsi.com>:
> > On Saturday 03 February 2007 7:29:37 pm Simon Swegles wrote:
> > > Make certain your file permissions and ownership are set correctly.
> > > Are you using FTP to upload the drupal files, or are you getting them
> > > from shell? If FTP, are you uploading in ASCII or binary? Also if you
> > > are using FTP, try creating the phpinfo file locally and using the same
> > > method to upload it; then see if the phpinfo file works. Is "<?php" on
> > > the first line of install.php, or is there content or blank space above
> >
> > it?
> >
> >
> >
> > Thanks, Simon.
> >
> > I went through all of the files, and even went so far as to open up all
> > permissions (777) on all files with no luck.  I also found something
> > about MySQL 5 and sql mode setting it to MYSQL40,  restart MySQL server,
> > and recreate database.  No luck.
> >
> > I am running drupal on my local server running Fedora Core 6.  So, no
> > FTP.
> >
> > phpinfo() works fine.
> >
> > Install script: first line is <?php
> >
> > To recap some other information that may have dropped off the original
> > post:
> > Drupal 5.1
> > MySQL 5.0
> > PHP 5.1.6
> > Apache 2.2.3
> >
> > I followed the instructions :
> > - change httpd.conf:
> >         - DocumentIndex index.php index.html
> >         - AddType  test/html .shtml php
> >
> > - create an empty database,
> > - set browser to the base URL
> >
> > All I get is a blank page.  If I go to
> > http://www.mydomain.com/install.php,
> >
> > Firefox tries to download it.  If I let it download, it is just an empty
> > file.
> >
> > Thanks to everyone for their help so far.
> >
> > Ron
> >
> >
> >
> >
> > --
> > [ Drupal support list | http://lists.drupal.org/ ]




More information about the support mailing list