Forums

Step One (3 posts)

  1. ryantrojan
    Member
    Posted 4 years ago #

    I realize many of you have seeen this question posted before, and I have tried searching and reading other threads, but they haven't helped.

    I have followed the installation instructions to the letter.

    Unzipped to dektop folder wordpress. Edit wp-config-sample with the following:

    define('DB_NAME', 'kayrell_notstudying'); // The name of the database
    define('DB_USER', 'kayrell_admin'); // Your MySQL username
    define('DB_PASSWORD', '****'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

    saved as wp-config.php

    Then I uploaded the entire folder.
    I added the user to the database.

    However, when I run the install 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' );
    ?>

    This is followed by the Wordpress logo and then this:
    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'); ?>

    Then there is a bunch of code after that.

    I am fairly new to all of this. My server is Freewebhosts.net which is running PHP version 4.3.11 and MySQL version 4.0.24.

    Any suggestions on how to get WordPress installed would be most appreciated. Thanks.

  2. Kafkaesqui
    Moderator
    Posted 4 years ago #

    That would happen if the file is not being seen as a PHP document. Are you sure PHP is enabled on your server? Did you upload the php files as ASCII, or as binary (which cause problems on occasion)?

    Try this: create a text file called test.php, and in it paste this:

    <?php
    echo $_SERVER['PHP_SELF'];
    ?>

    Upload this to your blog root, and then access it in your browser. If PHP is running it should display the file path. If not, you'll get a blank page, though you'll see the code above in the page source.

  3. ryantrojan
    Member
    Posted 4 years ago #

    Thank you for your help. I created the test file and uploaded it to my public_html directory. It worked, which told me that I needed to put the word press folders in the public html folder as well.

    Now, all I need is a better free host. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic