Support » Installing WordPress » What happens now . . . .

  • Resolved iantate

    (@iantate)


    After a couple installs on my site I finally got to a screen that told me “Already Installed”, and a button at the lowere section of the screen with “Step 2”. I worte down my password, and clicked the next button, and this is what I got:

    <?php
    /* Short and sweet */
    define(‘WP_USE_THEMES’, true);
    require(‘./wp-blog-header.php’);
    ?>

    Just looking for a point in the right direction.

    Thanks,
    Ian

Viewing 8 replies - 1 through 8 (of 8 total)
  • It looks like your webserver is not configured to parse PHP files, but is instead displaying them as plaintext.

    You’ll need to add a Handler for PHP to your Apache configuration:
    AddType application/x-httpd-php .php

    The file has been uploaded as Binary which is why it looks like that and does not work.
    Delete it.
    Upload a new one from the downloaded zip, and do this as an ASCII file.

    If this sort of problem repeats, you may need to delete all the files and reupload.

    I truly appreciate your assistance guys.

    1 – I re-uploaded the code “4” different times ( in ASCII mode 2 of them )
    2 – Rebuilt a blank MySQL Data base
    ** PHP is version 4.3 on my Host

    3 – Re-ran the install all for times ( I’m on a MAC system, and I use Safari for my Browser) and this is as far as I get

    The same message as before, and this is a snip from the bottom of the screen:

    _____________________________________________________________________________
    (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’]) . ‘ ‘; $message = sprintf(__(“Your new WordPress blog has been successfully set up at: %1\$s You can log in to the administrator account with the following information: Username: admin Password: %2\$s We hope you enjoy your new weblog. Thanks! –The WordPress Team http://wordpress.org/ “), $guessurl, $random_password); @mail($admin_email, __(‘New WordPress Blog’), $message, $message_headers); upgrade_all(); ?>

    log in with the username “admin” and password “%2$s”.’), ‘../wp-login.php’, $random_password); ?>

    admin
    wp-login.php
    WordPress, personal publishing platform.’); ?>

    _____________________________________________________________

    if I click on the link for wp-login.php I get a “Forbidden” error from my web page.

    What next ??

    Ian

    How are you getting the files from your machine to the website ?

    This error is because the php is being read instead of acted upon – which could be a server or ftp error again.

    Cute FTP Pro for Mac is how they are being uploaded.

    iantate: create the following one-line PHP script, and save it as php.php:

    <?php phpinfo(); ?>

    Upload that to your website (in ASCII mode), and then try to load it in your browser. Please tell us what you see.

    WORD PRESS just ROCKS !!!!

    It’s amazing how cool, fast, and quickly the entire WordPress systems goes up and is ready to roll . . . when you have an admin on your hosting service that actually “turns on PHP” as they told you they had some days ago.

    Thanks for all your help and input. We are up, and rolling.

    Ian

    lol. Yeah, it does help if PHP is installed. 😉

    Glad you got everything sorted out. 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘What happens now . . . .’ is closed to new replies.