• musthave

    (@musthave)


    Hi all,

    Just moved into the word of WordPress this morning as my host offers it as part of the package so I installed it and it was version 1.2.2 so after reading some more decided to upgrade to 1.5 – or so i thought!

    I went to admin and ran upgrade.php and it confirmed step one as being the only step and that it was succesful. However whenever I log into WordPress is states wordpress 1.2.2 at the bottom still, what am I missing?

    Any help greatly appreciated.

    Mike

Viewing 7 replies - 1 through 7 (of 7 total)
  • ifelse

    (@ifelse)

    Did you upload version 1.5 to your server? upgrade.php doesn’t download the latest version but refreshes the backend to the version uploaded.

    Thread Starter musthave

    (@musthave)

    I had but to the wrong directory DOH.

    Have moved things now and it has updated but I get the following at the top of the page above the dashboard etc…

    $dbh=mysql_connect (“localhost”, “mhmp_wrdp1”, “”) or die (‘I cannot connect to the database because: ‘ . mysql_error()); mysql_select_db (“mhmp_wrdp1”);
    Warning: Cannot modify header information – headers already sent by (output started at /home/mhmp/public_html/wordpress/wp-config.php:23) in /home/mhmp/public_html/wordpress/wp-admin/admin.php on line 6

    Warning: Cannot modify header information – headers already sent by (output started at /home/mhmp/public_html/wordpress/wp-config.php:23) in /home/mhmp/public_html/wordpress/wp-admin/admin.php on line 7

    Warning: Cannot modify header information – headers already sent by (output started at /home/mhmp/public_html/wordpress/wp-config.php:23) in /home/mhmp/public_html/wordpress/wp-admin/admin.php on line 8

    Warning: Cannot modify header information – headers already sent by (output started at /home/mhmp/public_html/wordpress/wp-config.php:23) in /home/mhmp/public_html/wordpress/wp-admin/admin.php on line 9

    I do not know php and have no idea what this means

    Any help appreciated

    Mike

    Thread Starter musthave

    (@musthave)

    Heres the first lines of the admin.php file in question :

    <?php
    require_once(‘../wp-config.php’);
    require_once(ABSPATH . ‘wp-admin/admin-functions.php’);
    auth_redirect();

    header(‘Expires: Mon, 11 Jan 1984 05:00:00 GMT’);
    header(‘Last-Modified: ‘ . gmdate(‘D, d M Y H:i:s’) . ‘ GMT’);
    header(‘Cache-Control: no-cache, must-revalidate, max-age=0’);
    header(‘Pragma: no-cache’);

    $dogs = $wpdb->get_results(“SELECT * FROM $wpdb->categories”);
    foreach ($dogs as $catt) {
    $cache_categories[$catt->cat_ID] = $catt;
    }

    get_currentuserinfo();

    Thread Starter musthave

    (@musthave)

    Also on top of my blog I get :

    $dbh=mysql_connect (“localhost”, “**********”, “”) or die (‘I cannot connect to the database because: ‘ . mysql_error()); mysql_select_db (“*********”);

    I have taken the databse name out myself.

    Mike

    Who is your host ?
    From your information it is hard to say what to do but if you do NOT have any posts I would go for a clean install of 1.5

    If you DO have posts I would consider exporting the database and again going for a clean install.

    rtmyers

    (@rtmyers)

    We are upgrading from 1.2 to 1.5. After deleting old files and uploading new files, and editing wp-config.php apprpriately, a visit to wp-admin/upgrade.php results in no output whatsoever (although the delay of 3-5 seconds indicates it’s trying to execute wp-admin/upgrade-functions.php).

    If we want to do a “clean install” of 1.5, then what is the procedure for exporting/importing the existing content?

    moshu

    (@moshu)

    “Clean install” above meant a new install of WP 1.5 letting the script to create the table in an empty database.
    If you just install the WP files on the server and then import the old tasbles into the DB, you’ll still have to run upgrade.php (the table structure in WP1.2.x and 1.5 is different, so the upgrade.php is taking care of that).

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Cannot get update to work’ is closed to new replies.