Support » Installing WordPress » Install.php odd error

  • I have installed Wampserver 2 and followed the WordPress tutorials exactly to the best of my knowledge. (saved the unzipped WordPress files within its www folder, change wp-config.php sample)

    However when I open intall.php in my web browser(Firefox and IE7) the follwing comes up with two text input boxes in the center(which I couldn’t copy and paste)and I have tried every username and password even though unsure what it wants. Also I have not previously installed wordpress yet it claims I have:

    >
    WordPress
    ‘.__(‘Already Installed’).’

    ‘.__(‘You appear to have already installed WordPress. To reinstall please clear your old database tables first.’).’
    ‘);} switch($step) { case 0: case 1: // in case people are directly linking to this display_header(); ?>

    ReadMe documentation at your leisure. Otherwise, just fill in the information below and you\’ll be on your way to using the most extendable and powerful personal publishing platform in the world.’), ‘../readme.html’); ?>

    error) ) wp_die($wpdb->error->get_error_message()); display_header(); // Fill in the data we gathered $weblog_title = stripslashes($_POST[‘weblog_title’]); $admin_email = stripslashes($_POST[‘admin_email’]); $public = (int) $_POST[‘blog_public’]; // check e-mail address if (empty($admin_email)) { // TODO: poka-yoke die(‘

    ‘.__(“ERROR: you must provide an e-mail address.”).’
    ‘); } else if (!is_email($admin_email)) { // TODO: poka-yoke die(‘

    ‘.__(‘ERROR: that isn’t a valid e-mail address. E-mail addresses look like: username@example.com’).’
    ‘); } $wpdb->show_errors(); $result = wp_install($weblog_title, ‘admin’, $admin_email, $public); extract($result, EXTR_SKIP); ?>

    admin

    ‘.__(‘Note that password carefully! It is a random password that was generated just for you.’).”; ?>

    Any Help is greatly appreciated

Viewing 2 replies - 1 through 2 (of 2 total)
  • Are you sure PHP working fine in your server?

    open a notepad

    <?php

    phpinfo();

    ?>

    SAve it as info.php in your WWW folder

    now point your browser to info.php. You should not see
    <?php

    phpinfo();

    ?>

    instead you should see some detail infomation about PHP version and all.

    Hey Greg,

    It’s prompting you to log in? This is on your local machine? Might be before WP…

    If it is WP…

    Are you able to start the WP install over? Drop all of the database tables (not delete the database, you need that!) and the .htacess file if any at the root (/) and the wp-config.php file. Don’t pre-edit the wp-config.php. visit yourdomain.com/install.php and let the install pull the wp-config-sample.php and prompt you for the values (db_name etc). It will then save the new wp-config.php for you and create a .htacess file.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Install.php odd error’ is closed to new replies.