Viewing 12 replies - 1 through 12 (of 12 total)
  • Samuel B

    (@samboll)

    What version is showing at the bottom of any admin page?
    You do know even with the upgrade you are hopelessly out of date with WP versions?

    Thread Starter GwenArBreizhou

    (@gwenarbreizhou)

    Sorry, I was very busy these times and I’ve just read your reply ;o((
    Version is 1.2.1 so what’s wrong ?

    If I’m still on version 1.2.1, it’s only because of Free (my internet provider) which propose us to install WP. So I want to upgrade it and as I read on the documentation pages, I have to first upgrade from 1.2 to 1.5 and then from 1.5 to 2.0, haven’t I ?

    Thanks in advance for reply,

    Ok – that is the correct way to do it.
    Still – what version is showing at the bottom of any admin page?

    Edit – Are you using your old wp-config.php?
    You may want to transfer the info from that one to the newer one.

    Thread Starter GwenArBreizhou

    (@gwenarbreizhou)

    version 1.2.1 is showing at the bottom of any admin page.

    I have not touch wp-config.php.

    I have done all what is needed for upgrading but I got this message
    Fatal error: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /mnt/151/sdb/d/f/gwenaelm/wordpress/wp-includes/wp-db.php on line 164 when I ask wp-admin/upgrade.php

    Why ?

    because your wp-config.php file contains all the information about your mySQL databases. if you’ve already overwritten them, then the information is lost. did you make a backup copy of that file? it contains the necessary information. otherwise the ‘upgrade.php’ will try to update a non-existing database.

    Thread Starter GwenArBreizhou

    (@gwenarbreizhou)

    I tried again and yet get the same message.
    So I opened wp-config-sample.php like if it was the first install, write my login and password

    <?php
    // ** MySQL settings ** //
    define('DB_NAME', 'wordpress');     // The name of the database
    define('DB_USER', 'username');     // Your MySQL username
    define('DB_PASSWORD', 'password'); // ...and password
    define('DB_HOST', 'localhost');     // 99% chance you won't need to change this value
    
    // Change the prefix if you want to have multiple blogs in a single database.
    $table_prefix  = 'wp_';   // example: 'wp_' or 'b2' or 'mylogin_'
    
    // Change this to localize WordPress.  A corresponding MO file for the
    // chosen language must be installed to wp-includes/languages.
    // For example, install de.mo to wp-includes/languages and set WPLANG to 'de'
    // to enable German language support.
    define ('WPLANG', '');
    
    /* Stop editing */
    
    define('ABSPATH', dirname(__FILE__).'/');
    require_once(ABSPATH.'wp-settings.php');
    ?>

    and after saving it as wp-config.php, I tried again to upgrade and get the same error message ;o((

    But then, I opened my old wp-config.php but it didn’t look the same at all

    <?
    define('DB_PASSWORD', '********');
    $table_prefix  = 'wp_';
    define('WPLANG', 'fr_FR');
    $passsql = DB_PASSWORD;
    define('ABSPATH', dirname(__FILE__).'/');
    require_once(ABSPATH.'wp-settings.php');
    ?>

    Is it normal ?
    Or could my internet provider have done something special during the configuration (remember that I didn’t install WP 1.2.1, my internet provider did ;o(( ??

    Thanks in advance,

    It happened that I found an old 1.2.1 folder on my computer – the wp-config-sample looks exactly the same as the present day’s config file.
    So, it must be your host!

    Thread Starter GwenArBreizhou

    (@gwenarbreizhou)

    Arggghhh …
    And if I want to install a new version and save the old messages and comments, will it be possible ?

    Thanks in advance,

    Wouldn’t be easier to ask these questions from your host? They should know the best what they modified and whether a “normal” upgrade is possible on their setting.
    Just my $0.02

    Thread Starter GwenArBreizhou

    (@gwenarbreizhou)

    I will try to contact them but I’m not sure anybody there is quite good in php in the technical support ;o((

    Send me your card number and I’ll send you your $0.02 ;o))

    Anybody has an idea to save the old messages and insert them in a new version ?

    You don’t have to “save” the old posts – they are well, merci, in the database ??

    All you have to figure out why the upgrade doesn’t work.
    Now, I went to that upgrade link from your original post and clicked it… it gives a different error, which makes me think you don’t have the 1.5 version files uploaded to the server: by the line# and error text – seems to be the wp-db of 1.2.1.

    Thread Starter GwenArBreizhou

    (@gwenarbreizhou)

    Yes because the version 1.5 didn’t work so I put back my old 1.2.1 version ;o((

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Upgrade from 1.2 to 1.5’ is closed to new replies.