• 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 (https://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 https://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)
  • 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?

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

    Thread Starter autumnschild

    (@autumnschild)

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

    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?

    Thread Starter autumnschild

    (@autumnschild)

    Trying that now.

    Thread Starter autumnschild

    (@autumnschild)

    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.

    Thread Starter autumnschild

    (@autumnschild)

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

    https://drinkinggamers.com/test.php

    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

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

    Thread Starter autumnschild

    (@autumnschild)

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

    there you go, delete all the files.

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

    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)

    Thread Starter autumnschild

    (@autumnschild)

    I will do so. Thanks again for the help!

    Thread Starter autumnschild

    (@autumnschild)

    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.

    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.