• Anonymous

    I have this problem during installation:
    when i run wp-admin/install-config.php, i put all parameters for DB, but it cannot create file “wp-config.php”. So, as written in readme, i edit wp-config-sample.php and insert name, username, password and host of db and save it as “wp-config.php”. When i try to run wp-admin/install.php, i have:
    “It doesn’t look like you’ve installed WP yet. Try running install.php”
    What’s the problem?

Viewing 11 replies - 16 through 26 (of 26 total)
  • Well, uploaded the spacemonkey files but I get the error
    We’re having a little trouble selecting the proper database for WordPress.
    Are you sure it exists?
    Your database name is currently specified as wordpress. Is this correct?
    On some systems the name of your database is prefixed with your username, so it would be like username_wordpress. Could that be the problem?
    when I point to install.php. The database is there and so is the user. wp-config is edited and everything… If I don’t figure out this soon. I am going to ditch wordpress… it’s given me nothing but heartache ever since I downloaded it 5 days ago.

    Thread Starter Anonymous

    On my failed set up I’m using:
    mysql-4.0.20a
    Xitami v2.5b5
    PHP 4.3.7
    On my running setup it’s:
    mysql 4.0.x (not sure)
    Apache2.0
    PHP 4.3.x (not sure)
    Both Win2K.
    Now: Can anyone exaplain how come install.php eventually requires wp-settings.php (through ../wp-config.php), if wp-settings.php expects the installation to finis.
    Another question: wp-settings.php checks whether $_SERVER[‘PHP_SELF’] has install.php in it. I guess it checks weather it’s being called in the install stage but in my case it contains the value:
    /wp/wp-admin
    the value:
    /wp/wp-admin/install.php (which I guess we need to check)
    is in the [‘SCRIPT_NAME’] [‘REQUEST_URI’] variables.

    Thread Starter Anonymous

    Problem Solved!
    I’ve installed apache, and indeed it provides to full script name in $_SERVER[‘PHP_SELF’], unlike Xitami.
    I would suggest changing the check to use another server variable as mentioned above (unless it’s a clear error on xitami’s part…).
    Another issue I encountered is that step 3 failed to identify the correct blog location. It specified https://server instead of https://server/wordpressDirectory.

    Thread Starter Anonymous

    I’m having the same problem, i.e getting the message:
    It doesn’t look like you’ve installed WP yet. Try running install.php.
    I’m installing on a remote host that’s running:
    mysql Ver 9.38 Distrib 3.22.30, for sun-solaris2.7 (sparc)
    PHP 4.3.8
    There are other people running WordPress off of the same server so I’m not sure why I’m having problems
    I’ve tried replacing DB_HOST with the IP address of the server, but I get the same message as using ‘localhost’. It also appears that WordPress has not created any tables in the process of setup.
    Any help would be most appreciated.
    Josh

    Thread Starter Anonymous

    I installed at home server (running Xitami) just commenting the following lines in the file wp-settings.php :
    /*if (!$users && !strstr($_SERVER['PHP_SELF'], 'install.php')) {
    die("It doesn't look like you've installed WP yet. Try running install.php.");
    }*/

    I’ve been tracking this down and found a variety of solutions.
    Problem 1: $_SERVER[‘PHP_SELF’] is used in WordPress 1.2.0 but is not defined in all PHP installations.
    Problem 2: The link in the resulting error message is incorrect when WordPress is installed in a subdirectory instead of in the document root.
    You can ignore Problem 2 as it is just confusing things.
    Problem 1 fixes:
    First, you can confirm that this is your problem by displaying your PHP configuration using a test page named something like test.php that looks like
    <?php
    phpinfo()
    ?>
    That should display a lot of information about your PHP configuration, including a section titled PHP Variables that has an entry for _SERVER[“PHP_SELF”]. If that entry says ‘no value’ this is your problem.
    If you are running the Xitami web server, put this in your php.ini file (it may be the default in newer versions of PHP, and this information was added to the Xitami install doc recently)
    cgi.fix_pathinfo=1
    If you are running PHP as a cgi that is invoked through an Apache redirect, perhaps using suPHP or suexec, then the above php.ini directive may fix the problem. Try it. I don’t have access to a system set up that way and my Google results were less certain about that than it was about the Xitami case.
    If you are running PHP as a cgi indirectly through a shell script cgi that invokes the cgi version of PHP on a command line, you must ensure that all the environment variables that are listed in the CGI 1.1 spec are defined and exported before the call to PHP. Failing to define PATH_INFO will cause this particular error.
    Last ditch fix:
    If you are unable to get $_SERVER[‘PHP_SELF’] to be defined in your PHP environment, you can work around the problem by changing every instance of $_SERVER[‘PHP_SELF’] in the WordPress php files to say $_SERVER[‘SCRIPT_NAME’]
    There are only a handful of those and that will fix the problem.

    Thread Starter Anonymous

    Have a look at your .htaccess file to make sure that it does not specify a different php setting. This was my issue. I had at one time modified the .htaccess file to make sure that gallery would work on FatCow’s servers. Now that the default php version is correct, the .htaccess file was causing issues.

    I’m getting this same problem on a hosted UNIX environment (ocf.berkeley.edu to be specific). Sadly, phpinfo shows: _SERVER[“PHP_SELF”] no value. I really don’t feel like slogging through the workarounds tonight, but I’ll update later if I can get anything to work. What a pain…

    Well, changing ‘PHP_SELF’ to ‘SCRIPT_NAME’ did just work for me. By my count, there were 13 files that had to be modified.

    Unfortunately, now themes don’t seem to be working. I tried changing the themes in the admin section, but still nothing.

    I just re-installed, made the PHP_SELF to SCRIPT_NAME changes again, and now everything is working fine. I must have made a typo or something when making the changes.

    i have the same problem

    https://mathrm.110mb.com/wordpress/ <— PROBLEM
    https://mathrm.110mb.com <— phpinfo

    https://mathrm.phpnet.us/wordpress/ <— WORKS fine
    https://mathrm.phpnet.us <— phpinfo

    wp-config are the same. but some phpcore-server-configs are different. i think this is the problem.

    Thanks!

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘It doesn’t look like you’ve installed WP yet.’ is closed to new replies.