• I am very new to this stuff and am having a difficult time getting the “5 minute” installation to work. I have the latest versions of Apache, PHP and MySQL installed and all seem to be working fine. I made the changes to wp-config as required (user=root and password={same as MySQL}.

    When I try to open/run install.php I get the following:

    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.”); require_once(‘../wp-config.php’); require_once(‘./upgrade-functions.php’); $guessurl = str_replace(‘/wp-admin/install.php?step=2’, ”, ‘http://’ . $_SERVER[‘HTTP_HOST’] . dirname($_SERVER[‘PHP_SELF’]) ); if (isset($_GET[‘step’])) $step = $_GET[‘step’]; else $step = 0; header( ‘Content-Type: text/html; charset=utf-8’ ); ?>
    WordPress
    hide_errors(); $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.
    ‘) . ”); $wpdb->show_errors(); switch($step) { case 0: ?>

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

    plus a lot more…

    Any help would be very much appreciated.

    Regards,
    Peter

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter pjafrombbay

    (@pjafrombbay)

    I should have added to the initial post that I am trying to install on a Windows XP platform and using ‘localhost’.

    Regards,
    Peter

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    It looks like you don’t have PHP configured properly. Try this guide: http://www.tamba2.org.uk/wordpress/xampp/

    I have the same problem and get the same error.

    But on my server when accessing phpmyadmin it says No Privileges in the main menu.. Could that be the problem and if so, how to fix it? (I made a database and i made a user with dba-access. I can create tables and so on, but still it says: No Privileges in main).

    Please help, I will soon loose my patience! 🙁

    Don’t loose your patience – better learn how to set up your DB and/or server. Setting up your server is NOT a WordPress problem. If the server and DB is OK, and the install still doesn’t work, then we will be more than happy to help you.

    Hullo..
    Seing as I seem to have the same problem, I’m gonna tag along here..
    According to my webhost, they do support WP, (allthough they dont support installing WP :-/)
    I’ve configured MySQL with the DB name/User, and edited wp-config.php with this info. Tried using ‘localhost’ and the hostname supplied by my webhost, but without any luck.

    The error-message, is the same as described in the first post here.

    Any ideas, would be appreciated.

    Thanks
    Soren

    sorenMN – the first post here describes a situation where PHP may not be present or the files have been uploaded wrongly.

    What is your error message ?
    Are you using cpanel / plesk / vdeck / ensim ?

    The error messages is as follows:

    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.”); require_once(‘../wp-config.php’); require_once(‘./upgrade-functions.php’); $guessurl = str_replace(‘/wp-admin/install.php?step=2’, ”, ‘http://’ . $_SERVER[‘HTTP_HOST’] . dirname($_SERVER[‘PHP_SELF’]) ); if (isset($_GET[‘step’])) $step = $_GET[‘step’]; else $step = 0; header( ‘Content-Type: text/html; charset=utf-8’ ); ?>

    hide_errors(); $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.

    ‘) . ”); $wpdb->show_errors(); switch($step) { case 0: ?>
    ReadMe documentation at your leisure.’), ‘../readme.html’); ?>

    Sorry if the problem is of another type.. if so, i’ll post it in a new thread.

    I’m not using cpanel / plesk / vdeck / ensim (since i really dont know what they are)..

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error when trying to install’ is closed to new replies.