• “Open /wp-admin/install.php in your browser”

    Hi everyone,
    The above doesn’t work for me. I’ve cleared the database several times already and it just doesn’t do anything. I keep getting the same error message. Any ideas?

    Below is my config file and the error message(s).

    Thanks.
    Rick

    My wp-config.php file:

    [moderated lengthy config code – we all have the same file.]

    ERROR MESSAGE BELOW:

    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.”, “WordPress › Error”); } require_once(‘../wp-config.php’); require_once(‘./upgrade-functions.php’); if (isset($_GET[‘step’])) $step = $_GET[‘step’]; else $step = 0; header( ‘Content-Type: text/html; charset=utf-8’ ); ?> > text_direction) ) : ?>
    WordPress
    ‘.__(‘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’); ?>

    ERROR: please type your e-mail address”)); } else if (!is_email($admin_email)) { die(__(“ERROR: the e-mail address isn’t correct”)); } ?>

Viewing 5 replies - 1 through 5 (of 5 total)
  • In your wp-config.php, try changing the table prefix.
    The default is wp_.
    Change it to something else like wrdp1_ and try it.

    at the very top of your wp-admin/install.php, do you see the following :

    <?php

    that ONE line ought to be at the VERY top of that file, with NO extra lines above it. You appear to not have PHP installed, or not available, if that’s the case.

    What you are seeing is the actual stuff inside install.php **that is intended to be parsed by PHP** being returned to your browser without going through PHP interpreter.

    Thread Starter ricklee

    (@ricklee)

    Hi Guys, Thanks for your help.

    Samboll, I did as you suggested, changing the table prefix to wrdp1_ but it didn’t do anything different.

    Whooami, the <?php tag is indeed at the top with nothing above it. I didn’t change any of the files after I downloaded them, except for wp-config.php

    I am running XAMPP, and can run other PHP applications without any problems, so I’m not sure why the file cannot access the PHP interpreter, if that is the problem.

    I would appreciate any other suggestions. Thanks!

    Rick

    and what about wp-config.php?

    opening php tag? closing? are they where theyre sposed to be?

    My best suggestion would be to re-edit a new wp-config.php in a text editor that wont screw up formatting, upload the fresh copy, and try again.

    One of those files is hosed.

    Thread Starter ricklee

    (@ricklee)

    Hi Whooami,
    Yes, the wp-config.php file has it’s opening and closing tags where they should be. Just to be sure, I did what you suggested, writing a new wp-config.php using VIM as my text editor, and it made no difference.

    Is there any other way to set this up without running the “[in]famous five minute install?” 🙂

    Thanks again.
    Rick

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Can’t install WordPress (clearintg database tables doesn’t work)’ is closed to new replies.