HELP! Can't view install.php (errors), no luck with installation. (9 posts)

  1. jessmina
    Posted 11 years ago #

    I'm trying to install WordPress 1.5.2 on my server (in the public_html/words folder) but I can't run the words/wp-admin/install.php either from the browser address bar, or from within my FTP program. If I run it from the browser, my error is:

    There doesn't seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.

    The thing is, I installed the WP-CONFIG file in the PUBLIC_HTML folder (above WORDS). Even when it was inside WORDS, and inside WP-ADMIN, there were still problems).

    I also can't create the WP-CONFIG file through the web interface.

    If I try to access INSTALL.PHP through my FTP, I get this:


    $guessurl = str_replace('/wp-admin/install.php?step=2', '', 'http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) );

    if (isset($_GET['step']))
    $step = $_GET['step'];
    $step = 0;
    header( 'Content-Type: text/html; charset=utf-8' );

    $installed = $wpdb->get_results("SELECT * FROM $wpdb->users");
    if ($installed) die(__('
    Already Installed

    You appear to have already installed WordPress. To reinstall please clear your old database tables first.
    ') . '');

    switch($step) {

    case 0:

    ReadMe documentation at your leisure.'), '../readme.html'); ?>

    ....plus a whole lot of other (error) gobbledegook.

    I'm not very technically minded with servers and PHP, so the simplest explanation would be greatly appreciated.

    Thanks so much.

  2. James Huff
    Support Team Rep.
    Posted 11 years ago #


  3. James Huff
    Support Team Rep.
    Posted 11 years ago #

    The install script needs to be run in your browser. See: http://codex.wordpress.org/Installing_WordPress#Step_5:_Run_the_Install_Script

    Also, the wp-config.php file needs to be created before running the install script. See: http://codex.wordpress.org/Installing_WordPress#Step_3:_Set_up_wp-config.php

    Please start the installation from the beginning, and follow the instructions very carefully.


  4. Joni
    Posted 11 years ago #

    WP ships with a wp-config-sample.php file. It will ask for database information. You should create your database and user first. Then put this information in the wp-config-sample.php file where indicated. Then SAVE the file AS wp-config.php. Then upload it to your WP root, which in your case would be your "words" folder/directory. Then run your install script.

  5. jessmina
    Posted 11 years ago #

    If my server generates a prefix for my database name/username, e.g it converts database BLOG to DOMAIN_BLOG, then do I enter the prefixed version in WP-CONFIG, or just the regular version?

  6. James Huff
    Support Team Rep.
    Posted 11 years ago #

    The answer to your question is here: http://wordpress.org/support/topic/42100

    Please do not duplicate your questions.

  7. jessmina
    Posted 11 years ago #

    Sorry. I wrote the reply, but didn't know if anybody would see it.

  8. James Huff
    Support Team Rep.
    Posted 11 years ago #

    At least those of us helping you in this thread would have seen it. Don't worry, we're responsible, we keep track of these things. ^_-

  9. jessmina
    Posted 11 years ago #

    lol, I just posted a new thread before I read your last post...silly me. I'll know better in future! You'll probably see it.

    I honestly thought there'd be nobody else online when I was, and that I'd have to wait days for a reply...thanks for your help.

Topic Closed

This topic has been closed to new replies.

About this Topic