WordPress.org

Support

Support » Installation » Problem upgrading from 2.5 to 2.8.4

Problem upgrading from 2.5 to 2.8.4

  • 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)

Viewing 15 replies - 1 through 15 (of 16 total)
  • whooami

    @whooami

    Member

    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?

    whooami

    @whooami

    Member

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

    @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?

    whooami

    @whooami

    Member

    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?

    Trying that now.

    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.

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

    http://drinkinggamers.com/test.php

    whooami

    @whooami

    Member

    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
    whooami

    @whooami

    Member

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

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

    whooami

    @whooami

    Member

    there you go, delete all the files.

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

    whooami

    @whooami

    Member

    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)

    I will do so. Thanks again for the help!

    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.

    whooami

    @whooami

    Member

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

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Problem upgrading from 2.5 to 2.8.4’ is closed to new replies.
Skip to toolbar