Mailing List Archive

Install problem with 1.2.0?
While I'm not ruling out the possibility that I've completely bungled
something along the way, I've run into an install glitch which has me
stumped.

This is a fresh install of the latest stable release, downloaded earlier
today.

Server (if it matters) is a RedHat box, running PHP 4.3, and Apache
1.3.27.

I edited the LocalSettings.php and AdminSettings.php files as directed, ran
the classic install (not the web-based installer), and everything seemed to
go through just fine.

However, after running the installer, the following files are empty:

-rw-rw-r-- 1 arakune arakune 0 Mar 24 12:10 LocalSettings.php
-rw-rw-r-- 1 arakune arakune 0 Mar 24 12:10 Version.php
-rw-rw-r-- 1 arakune arakune 0 Mar 24 12:10 index.php
-rw-rw-r-- 1 arakune arakune 0 Mar 24 12:10 redirect.php
-rw-rw-r-- 1 arakune arakune 0 Mar 24 12:10 redirect.phtml
-rw-rw-r-- 1 arakune arakune 0 Mar 24 12:10 wiki.phtml

I've tried re-installing, again with the same problem. At this point,
I'm thinking of trying with version 1.1, and seeing how that goes. But
all the same, wondering if there's something obvious that I'm missing
here, or if something slipped when bundling this release. I'd certainly
prefer to run with 1.2 if possible.

If there's any additional information that I can provide which might
help, let me know!

Thanks,

Steph Smith

--
HOST SYSTEM RESPONDING, PROBABLY UP...
Re: Install problem with 1.2.0? [ In reply to ]
As a follow up, I just tried reinstalling again. Before running
install.php, I backed up the problematic files. After running the
installer, I restored the files to their pre-install state, and
at first blush it *looks* like things work fine.

However, I gather that there are changes made to these files by the
install process which are important for the stable running of the
application. Are these changes which I can make by hand (and if so,
are the documented someplace other than trying to parse the install
script). Or are things likely to run all right using the pre-install
version of the following files:

> -rw-rw-r-- 1 arakune arakune 0 Mar 24 12:10 LocalSettings.php
> -rw-rw-r-- 1 arakune arakune 0 Mar 24 12:10 Version.php
> -rw-rw-r-- 1 arakune arakune 0 Mar 24 12:10 index.php
> -rw-rw-r-- 1 arakune arakune 0 Mar 24 12:10 redirect.php
> -rw-rw-r-- 1 arakune arakune 0 Mar 24 12:10 redirect.phtml
> -rw-rw-r-- 1 arakune arakune 0 Mar 24 12:10 wiki.phtml

Thanks again!

Steph

--
There may be said to be two classes of people in the world; those who constantly
divide the people of the world into two classes and those who do not.
-- Robert Benchley
Re: Install problem with 1.2.0? [ In reply to ]
On Mar 24, 2004, at 09:27, Steph Smith wrote:
> I edited the LocalSettings.php and AdminSettings.php files as
> directed, ran
> the classic install (not the web-based installer), and everything
> seemed to
> go through just fine.
>
> However, after running the installer, the following files are empty:
>
> -rw-rw-r-- 1 arakune arakune 0 Mar 24 12:10
> LocalSettings.php
> -rw-rw-r-- 1 arakune arakune 0 Mar 24 12:10 Version.php
> -rw-rw-r-- 1 arakune arakune 0 Mar 24 12:10 index.php
> -rw-rw-r-- 1 arakune arakune 0 Mar 24 12:10 redirect.php
> -rw-rw-r-- 1 arakune arakune 0 Mar 24 12:10 redirect.phtml
> -rw-rw-r-- 1 arakune arakune 0 Mar 24 12:10 wiki.phtml

It looks like you're trying to install in-place. The destination
directory MUST NOT be the same as the source directory with the classic
install.

First, copying files over themselves destroys them, as you've seen. :(

Second, the maintenance scripts are very unsafe to have sitting around
in a web-accessible directory (they are disabled if you run the web
install). If using classic install, you must install from a different
directory from the final destination.

I'll add more warnings...

-- brion vibber (brion @ pobox.com)