today I tried to install the current version of SPIP and I encountered a
problem during the installation process:
When I press "Next" at Step 5 (after inserting name, e-mail address,
login and password) the script suddenly stops without any output.
I had a look at the sourcecode of "ecrire/install.php3" and did some
trial-and-error-testing. Finally I figured out that I had to replace
$htpass = generer_htpass($pass);
with
$htpass = "";
on line 47 because the function generer_htpass() is not defined in that
file or in any of the included files.
After that replacement the installation process finished without any
further problems and I am now able to log into SPIP, but I think sooner
or later there will be problems because $htpass is not defined properly.
Please tell me which alterations in "ecrire/install.php3" or elsewhere
are necessary to make it work properly.
After that replacement the installation process finished without any
further problems and I am now able to log into SPIP, but I think sooner
or later there will be problems because $htpass is not defined properly.
Fortunately, this field is not really useful unless you want
SPIP to generate ".htpasswd" files for your own needs. Otherwise,
you won't miss anything
However, your error is a little strange :
today I tried to install the current version of SPIP and I encountered a
problem during the installation process:
When I press "Next" at Step 5 (after inserting name, e-mail address,
login and password) the script suddenly stops without any output.
I had a look at the sourcecode of "ecrire/install.php3" and did some
trial-and-error-testing. Finally I figured out that I had to replace
$htpass = generer_htpass($pass);
with
$htpass = "";
on line 47 because the function generer_htpass() is not defined in that
file or in any of the included files.
That function really is defined in inc_acces.php3, which is itself
called from inc_base.php3. Also, it the function didn't exist, the
script would at least output a PHP fatal error.
Chances are that the crypt() function (a built-in PHP function)
called from generer_htpass does not work properly on your system
and causes PHP to fail silently.
What are your versions of Apache and PHP ? On which Operating
System ?
Yours
Antoine.
PS : spip@rezo.net is the (mainly) French-speaking mailing-list.
If you don't speak French, you might prefer to use
spip-en@rezo.net, the English-speaking mailing-list. It is much
less crowded too.
(see http://listes.rezo.net/mailman/listinfo/spip-en)
I had a similar problem (though I'm not sure if it the same as yours) and it
proved to be connected with the blocking of cookies.
In order to log in the first time, once I had entered my login, password,
etc., I had to lower my "Cookies" protection in the "Privacy" options of IE6
to "low".
The first login then worked. Having accomplished that, I could then
re-change my Cookies setting to "Medium", and subsequent logins work fine.
(I guess you should have addressed this to the English-speaking list, so I'm
sending this there.)
Paolo
-----Original Message-----
From: Andreas Krisch [mailto:akrisch@gmx.net]
Sent: Tuesday, September 30, 2003 5:40 PM
To: spip@rezo.net
Subject: [Spip] missing include in ecrire/install.php3?
Dear SPIP-Team,
today I tried to install the current version of SPIP and I
encountered a
problem during the installation process:
When I press "Next" at Step 5 (after inserting name, e-mail address,
login and password) the script suddenly stops without any output.
I had a look at the sourcecode of "ecrire/install.php3" and did some
trial-and-error-testing. Finally I figured out that I had to replace
$htpass = generer_htpass($pass);
with
$htpass = "";
on line 47 because the function generer_htpass() is not
defined in that
file or in any of the included files.
After that replacement the installation process finished without any
further problems and I am now able to log into SPIP, but I
think sooner
or later there will be problems because $htpass is not
defined properly.
Please tell me which alterations in "ecrire/install.php3" or
elsewhere
are necessary to make it work properly.
Fortunately, this field is not really useful unless you want
SPIP to generate ".htpasswd" files for your own needs. Otherwise,
you won't miss anything
perfect!
Chances are that the crypt() function (a built-in PHP function)
called from generer_htpass does not work properly on your system
and causes PHP to fail silently.
What are your versions of Apache and PHP ? On which Operating
System ?
Apache/1.3.27
PHP Version 4.3.2
SunOS no8 5.9 Generic_112233-08 sun4u
PS : spip@rezo.net is the (mainly) French-speaking mailing-list.
If you don't speak French, you might prefer to use
spip-en@rezo.net, the English-speaking mailing-list. It is much
less crowded too.
(see http://listes.rezo.net/mailman/listinfo/spip-en)
PS : spip@rezo.net is the (mainly) French-speaking mailing-list.
If you don't speak French, you might prefer to use
spip-en@rezo.net, the English-speaking mailing-list. It is much
less crowded too.
(see http://listes.rezo.net/mailman/listinfo/spip-en)