SMF Support > Install and Upgrade Help

Warning and fatal error on clean install

(1/1)

maeztro:
I am trying to install SMF on a Linux server but get the following two errors:

Warning: dostep4(/raka/vhosts/root/php/smfinstalldir=/raka/vhosts/root/php/smf/Settings.php) [function.dostep4]: failed to create stream: No such file or directory in /path_to/smf/install.php on line 669

Fatal error: dostep4() [function.dostep4]: Failed opening required '/path_to/smfinstalldir=/path_to/smf/Settings.php' (include_path='.:/usr/lib/php:/usr/share/pear') in /raka/vhosts/root/php/smf/install.php on line 669

The database options work fine and tables are created in mySQL. On the next step the errors appear. I do not reach the page to create an admin user. Settings are written to the Settings.php file.

I am running Mandrake 9.1 with PHP Version 4.3.1, MySQL version 4.0.18 and Apache Apache version 2.0.44.

The files were unzipped directly on the server and not uploaded. All the files are present.

If I then ignore the errors and go directly to the smf , it seems as if the installation worked, but there are errors all over the place. At the top of the page I get:

Notice: Undefined index: latestRealName in /path_to/smf/Sources/BoardIndex.php on line 326
This error is repeated 4 times.

I can then register and login, but no don't have an administrative user.

Any leads?

Oldiesmann:
Make sure you put the correct paths in there before it tries to write stuff to settings.php, otherwise it won't be able to find it when it needs it.

el-brujo:
yo need to change the value of


--- Quote --- /path_to/smf/install.php
--- End quote ---

for this:


--- Quote ---/raka/vhosts/root/php/smf/install.php
--- End quote ---

[Unknown]:
What is this blinking installdir= problem?

-[Unknown]

Navigation

[0] Message Index

Go to full version