• When trying to activate WordPress, we received the error below. We are not sure what this means. Can anyone help?

    danielle

    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’, ”, ‘https://’ . $_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’); ?>

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

    query(“UPDATE $wpdb->options SET option_value = ‘$weblog_title’ WHERE option_name = ‘blogname'”); $wpdb->query(“UPDATE $wpdb->options SET option_value = ‘$admin_email’ WHERE option_name = ‘admin_email'”); // Now drop in some default links $wpdb->query(“INSERT INTO $wpdb->linkcategories (cat_id, cat_name) VALUES (1, ‘”.addslashes(__(‘Blogroll’)).”‘)”); $wpdb->query(“INSERT INTO $wpdb->links (link_url, link_name, link_category, link_rss) VALUES (‘https://blog.carthik.net/index.php’, ‘Carthik’, 1, ‘https://blog.carthik.net/feed/’);”); $wpdb->query(“INSERT INTO $wpdb->links (link_url, link_name, link_category, link_rss) VALUES (‘https://blogs.linux.ie/xeer/’, ‘Donncha’, 1, ‘https://blogs.linux.ie/xeer/feed/’);”); $wpdb->query(“INSERT INTO $wpdb->links (link_url, link_name, link_category, link_rss) VALUES (‘https://zengun.org/weblog/’, ‘Michel’, 1, ‘https://zengun.org/weblog/feed/’);”); $wpdb->query(“INSERT INTO $wpdb->links (link_url, link_name, link_category, link_rss) VALUES (‘https://boren.nu/’, ‘Ryan’, 1, ‘https://boren.nu/feed/’);”); $wpdb->query(“INSERT INTO $wpdb->links (link_url, link_name, link_category, link_rss) VALUES (‘https://photomatt.net/’, ‘Matt’, 1, ‘https://xml.photomatt.net/feed/’);”); $wpdb->query(“INSERT INTO $wpdb->links (link_url, link_name, link_category, link_rss) VALUES (‘https://zed1.com/journalized/’, ‘Mike’, 1, ‘https://zed1.com/journalized/feed/’);”); $wpdb->query(“INSERT INTO $wpdb->links (link_url, link_name, link_category, link_rss) VALUES (‘https://www.alexking.org/’, ‘Alex’, 1, ‘https://www.alexking.org/blog/wp-rss2.php’);”); $wpdb->query(“INSERT INTO $wpdb->links (link_url, link_name, link_category, link_rss) VALUES (‘https://dougal.gunters.org/’, ‘Dougal’, 1, ‘https://dougal.gunters.org/feed/’);”); // Default category $wpdb->query(“INSERT INTO $wpdb->categories (cat_ID, cat_name, category_nicename) VALUES (‘0’, ‘”.addslashes(__(‘Uncategorized’)).”‘, ‘”.sanitize_title(__(‘Uncategorized’)).”‘)”); // First post $now = date(‘Y-m-d H:i:s’); $now_gmt = gmdate(‘Y-m-d H:i:s’); $wpdb->query(“INSERT INTO $wpdb->posts (post_author, post_date, post_date_gmt, post_content, post_title, post_category, post_name, post_modified, post_modified_gmt) VALUES (‘1’, ‘$now’, ‘$now_gmt’, ‘”.addslashes(__(‘Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!’)).”‘, ‘”.addslashes(__(‘Hello world!’)).”‘, ‘0’, ‘”.addslashes(__(‘hello-world’)).”‘, ‘$now’, ‘$now_gmt’)”); $wpdb->query( “INSERT INTO $wpdb->post2cat (rel_id, post_id, category_id) VALUES (1, 1, 1)” ); // Default comment $wpdb->query(“INSERT INTO $wpdb->comments (comment_post_ID, comment_author, comment_author_email, comment_author_url, comment_author_IP, comment_date, comment_date_gmt, comment_content) VALUES (‘1’, ‘”.addslashes(__(‘Mr WordPress’)).”‘, ”, ‘https://www.ads-software.com’, ‘127.0.0.1’, ‘$now’, ‘$now_gmt’, ‘”.addslashes(__(‘Hi, this is a comment.
    To delete a comment, just log in, and view the posts\’ comments, there you will have the option to edit or delete them.’)).”‘)”); // Set up admin user $random_password = substr(md5(uniqid(microtime())), 0, 6); $wpdb->query(“INSERT INTO $wpdb->users (ID, user_login, user_pass, user_nickname, user_email, user_level, user_idmode, user_registered) VALUES ( ‘1’, ‘admin’, MD5(‘$random_password’), ‘”.addslashes(__(‘Administrator’)).”‘, ‘$admin_email’, ’10’, ‘nickname’, NOW() )”); $message_headers = ‘From: ‘ . stripslashes($_POST[‘weblog_title’]) . ‘ log in with the username “admin” and password “%2$s”.’), ‘../wp-login.php’, $random_password); ?>

    Note that password carefully! It is a random password that was generated just for you. If you lose it, you will have to delete the tables from the database yourself, and re-install WordPress. So to review:’); ?>

    admin
    wp-login.php

    WordPress, personal publishing platform.’); ?>

Viewing 6 replies - 16 through 21 (of 21 total)
  • Couple of things:
    Is mysql connecting with everything else ?
    If you have phpmyadmin, are any db tables created ?
    One thing to try – in the wp-config.php file, change the table_prefix to something different than the default.

    podz what do you mean? Change it to table1_prefix or what?

    Processor Name Intel(R) Celeron(R) CPU 2.00GHz
    Vendor ID GenuineIntel
    Processor Speed (MHz) 2018.009
    Total Memory 249636 kB
    Free Memory 4196 kB
    Total Swap Memory 1052216 kB
    Free Swap Memory 991920 kB
    System Uptime 62 Days, 9 Hours and 16 Minutes
    Apache 1.3.31 Running
    DirectAdmin 1.23.4 Running
    Exim 4.42 Running
    MySQL 4.0.17 Running
    Named 9.2.1 Running
    ProFTPd 1.2.9 Running
    sshd Running
    vm-Pop3d 1.1.7e Running

    Thats the stuff I can find. When I open phpMyadmin after trying to install, there are no tables created in the database.

    Im sorry I cant give you the address, because it seems to need password access.

    The error message I recieve is in the first post of this thread.
    I cant run <?php infophp(); ?> it just gives me a blank page and nothing loading.
    Do I need to get in contact with my hosting company and tell them about this?

    // Change the prefix if you want to have multiple blogs in a single database.
    $table_prefix = 'wp_'; // example: 'wp_' or 'b2' or 'mylogin_'

    What ftp client are you using to get the files from your computer to the server ?
    I would suggest allowing me to try and install it for you, but if it is secure…….

    I tried, I changed it to Blog_ but no luck.

    That would be fine for me, just add me on msn Devon(at)w2dmb.za.net
    I dont really want to give out the password and stuff on a public forum ??

    Thanks Podz

    I’m also getting the exact same message. I contacted my customer support (hosting is on myhosting.com) and someone is trying to figure out why it isn’t working for me. If I get an answer that works, I’ll post it, maybe it’ll be applicable to another host as well…

    I’m very new to this… I tried the infophp suggestion above – I’m assuming that I just save it as a php file (i went with test.php). When I try to run it, it just opens in my web browser (firefox).

    Hello?
    Does no-one have any idea what is wrong here?
    I have contacted my admin, and he says that PHP is enabled, I have tried it with a mysql database created, and without, no luck.
    https://www.w2dmb.za.net
    Please help, I really dont know what to do.

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘WordPress already installed error?’ is closed to new replies.