[support] Install script does not appear [SOLVED]

Ron Siven r.siven at mchsi.com
Tue Feb 6 05:43:50 UTC 2007


You're not going to believe this.  I just cleared my browser's cache, and the 
install script ran.  My site is up and running.

For what it's worth, here is a list of changes of note that I made along the 
way:

In httpd.conf:
 AddType text/html  .shtml  .php 
 AllowOverrides All 

In /etc/my.cnf:
 sql-mode="MYSQL40"

file pernissions were set to some funky number (like 27443, or something).  I 
changed them all to an actual user name.

Thanks to everyone for their help!!!

Sincerely,
Ron Siven


On Monday 05 February 2007 11:12:04 pm Ron Siven wrote:
> This worked fine.  I was able to list any table in any database.
>
> On Monday 05 February 2007 6:59:04 pm RJ wrote:
> >  Let's find out if you can connect to the database using php. Make a new
> > page and put only the following in it:
> > <?php
> > /* Connecting, selecting database */
> > $link = mysql_connect("mysql_host", "mysql_user", "mysql_password")
> > or die("Could not connect : " . mysql_error());
> > echo "Connected successfully";
> > mysql_select_db("my_database") or die("Could not select database");
> >
> > /* Performing SQL query */
> > $query = "SELECT * FROM my_table";
> > $result = mysql_query($query) or die("Query failed : " . mysql_error());
> >
> > /* Printing results in HTML */
> > echo "<table>\n";
> > while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {
> > echo "\t<tr>\n";
> > foreach ($line as $col_value) {
> > echo "\t\t<td>$col_value</td>\n";
> > }
> > echo "\t</tr>\n";
> > }
> > echo "</table>\n";
> >
> > /* Free resultset */
> > mysql_free_result($result);
> >
> > /* Closing connection */
> > mysql_close($link);
> > ?>
> > ----- Original Message -----
> > From: "Ron Siven" <r.siven at mchsi.com>
> > To: <support at drupal.org>
> > Sent: Monday, February 05, 2007 7:25 PM
> > Subject: Re: [support] Install script does not appear
> >
> > > On Sunday 04 February 2007 7:21:24 pm RJ wrote:
> > > >  Does Fedora Core 6 install php-extensions when you install,  MySQL
> > > > 5.0, PHP 5.1.6 and Apache 2.2.3? On the "php info" page look to see
> > > > if the php-extensions are installed.
> > > >
> > > >  I use FreeBsd and "extensions" is a separate port for me.
> > > >
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Kitt Hodsden" <kitt-drupal at hodsden.org>
> > > > To: <support at drupal.org>
> > > > Sent: Sunday, February 04, 2007 6:47 PM
> > > > Subject: Re: [support] Install script does not appear
> > > >
> > > > > >         - 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/ ]
> > > > >
> > > > > --
> > > > > [ Drupal support list | http://lists.drupal.org/ ]
> > >
> > > Yes, I believe it is.
> > >
> > > PHP Extension => 20050922
> > >
> > > For anyone that's interested, here is the php info from my server.
> >
> > Remember,
> >
> > > this is a fresh install right from the Fedora rpms.  I have not changed
> > > anything...well not much.
> >
> > -------------------------------------------------------------------------
> >-- - ----
> >
> > > --
> > > [ Drupal support list | http://lists.drupal.org/ ]




More information about the support mailing list