WordPress.org

Ready to get started?Download WordPress

Forums

Problem upgrading from 2.5 to 2.8.4 (17 posts)

  1. autumnschild
    Member
    Posted 4 years ago #

    Hi,

    So I've installed WordPress 2.5 through a 'one-click' tool my hosting provider has, and it works just fine. I want to upgrade to WordPress 2.8.4 because I want to use all those fancy new features.

    I downloaded 2.8.4 and using an ftp client (and following the upgrade instructions) I upgraded to 2.8.4. After everything was said an done, when I went to my WordPress blog (http://www.drinkinggamers.com/main) the following text appeared:

    <./?php /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define('WP_USE_THEMES', true); /** Loads the WordPress Environment and Template */ require('./wp-blog-header.php'); ?>

    When I go to http://www.drinkinggamers.com/main/readme.html that page shows up just fine, but all other php pages give me this problem.

    I already wrote to my hosting provider about the problem and they said that there were no extra steps needed on their end to do the update successfully.

    Can you all help me find my problem?

    Thanks,

    autumnschild(dan)

  2. whooami
    Member
    Posted 4 years ago #

    reupload the index.php that lives in the same dir as your wp-config.php

    before doing so, open it, and make sure that it looks like this:

    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES', true);
    
    /** Loads the WordPress Environment and Template */
    require('./wp-blog-header.php');
    ?>

    the one on your site does NOT look like that.

    --

    scratch that, your wp-config.php is displaying the same way.

    what happens if you create a file that has this in it:

    <?php
    phpinfo();
    ?>

    upload the file to your web space, name it something ending in .php and load it in your browser. what do you see?

  3. whooami
    Member
    Posted 4 years ago #

    youre on iis. is there a reason you need windows based hosting?

  4. autumnschild
    Member
    Posted 4 years ago #

    @whooami
    No particular reason. It was the option I selected when I signed up for hosting. Is there some issue with php and iis that I'm unaware of?

  5. whooami
    Member
    Posted 4 years ago #

    what happens if you create a file that has this in it:

    <?php
    phpinfo();
    ?>

    upload the file to your web space, name it something ending in .php and load it in your browser. what do you see?

  6. autumnschild
    Member
    Posted 4 years ago #

    Trying that now.

  7. autumnschild
    Member
    Posted 4 years ago #

    Well damn. I can't do that from work. I'll have to try again from home. When I have an answer of what I see, I'll post it here.

  8. autumnschild
    Member
    Posted 4 years ago #

    Ok I got it to work. There's a lot of info, so here's the link to it.

    http://drinkinggamers.com/test.php

  9. whooami
    Member
    Posted 4 years ago #

    ok, so php works.

    are you able to confirm the files that you are upoading look correct as they exist on the server?

    specifically, that the open ing php tag isnt malformed like I see on your site?

    It needs to look like this"

    <?php

    not

    <./?php
  10. whooami
    Member
    Posted 4 years ago #

    you can look inside your wp-config.php, your wp-settings.php, any of the files basically to check that.

  11. autumnschild
    Member
    Posted 4 years ago #

    Weird. Alot of the php files on the server are <../?php or <./?php I wonder what made them that way.

  12. whooami
    Member
    Posted 4 years ago #

    there you go, delete all the files.

    check that the files you are uploading, dont have that in them -- then re-upload.

  13. whooami
    Member
    Posted 4 years ago #

    if they do -- grab another copy of the zip off the download page (see big orange link at the top of the page youre reading)

  14. autumnschild
    Member
    Posted 4 years ago #

    I will do so. Thanks again for the help!

  15. autumnschild
    Member
    Posted 4 years ago #

    Very strange... I re-downloaded 2.8.4 and installed it again on my site (via filezilla, not FTP via DOS this time) and the files on the server side again have the <./?php or <../?php opening tags. The ones on my computer (that I used to install over) don't have those. It's like they were added during the transfer.

  16. whooami
    Member
    Posted 4 years ago #

    oke, well we know its not a wordpress problem. when you get the files uploaded right, chances are it will work.

  17. autumnschild
    Member
    Posted 4 years ago #

    Figured it out. I changed the transfer type to binary. So that problem has gone away. Many thanks again for all the help :)

Topic Closed

This topic has been closed to new replies.

About this Topic