Fin
Installation problem with 1.30, upgrade(?)
  • Envoyé: 27.04.2004, 10:44
    Invité
    rang:
    1
    enregistré depuis:
     décembre 2003
    Status:
    hors ligne
    dernière visite:
    06.03.05
    Messages:
    0
    Hi everyone,

    I'm having a rather weird Weather problem.

    I'm trying to install the module for the very first time on my site.
    SO I upload the directory on the right place. It shows up in the modules list, I hit install (or the first thing that comes when there is a new module).

    Normally I should get a "activate" link now, but I only get "new version installed" and an Upgrade link.

    When I click that one, I get : _UPGRADEVERSNOTSUPPORT on top of the modules list.

    I tried re-uploading the whole directory, but that doesn't seem to work...


    Any help?

    Thanks all in advance
  • Envoyé: 28.04.2004, 18:09
       
    vedrine
    rang:
    Site Admin Site Admin
    enregistré depuis:
     décembre 2003
    Status:
    hors ligne
    dernière visite:
    21.07.08
    Messages:
    261
    [quote:f89057495e]Normally I should get a "activate" link now, but I only get "new version installed" and an Upgrade link. [/quote]
    This the sign that an old (version < 1.30) version of the weather module was one day installed on your site and not totaly uninstalled. Because Postnuke scan the nuke_module table for a record with pn_name = weather AND FIND ONE !! I am 100% sure of that even if you say that
    [quote:f89057495e]for the very first time on my site[/quote]
    You can trust me : even if you forget all about it, a version of weather WAS someday installed on your site.
    And as when you click on upgrade you get _UPGRADEVERSNOTSUPPORT (well this is a bug you should get "Upgrade from this version is unsupported" I must check my pnlang, file there is something wrong here :( but nobody reported it !!)
    this is a sign that in fact one day a version < 1.27 was installed and not propertly uninstalled.
    It is not very surprising because some weather 1.26 versions(at least but maybe others versions also) were buggy and unistallation process doesn't work :( (Hey I wasn't the module developper at that time icon_lol )
    So the only choice left to you if you want to install the weather module v 1.30 is to manualy "clean" your system.

    Here is a step by step guide of how to do it :
    - suppress the modules/weather directory you have just uloaded with all the files in it (I know it may seem silly but we need PostNuke to detect that it is no more here !!)
    - go to Administration -> modules and click on Regenerate
    - on the weather line you will see "Missing files" and a "Remove" link click on it. This will clean the nuke_modules table.
    - go to Administration -> block click on "Show all blocks" link and if you see any block with "weather" in the "Module" column remove it.
    - with phpMyAdmin check that in your database contain no table from the weather module . If you don't do that when you will try to install weather 1.30 it will fail with the message "Table creation failed". You will have to look for tables with name :
    nuke_wthr_pkg
    nuke_wthr_cache
    nuke_wthr_user
    nuke_wthr_subdiv
    nuke_wthr_region
    nuke_wthr_country
    nuke_wthr_city
    If you find any of these tables, delete it (DROP in phpMyAdmin)
    I have a screen capture of how to do this just in case you are not familiar with phpMyAdmin but unfortunately legend is in french icon_lol
    click here to see the sceen capture
    If you don't speak french :
    "tu coches ici" = "you click on the checkboxes here"
    "tu choisis drop ici" = "you choose drop here"
    Sorry I was too lazzy to re-do it in english icon_lol
    After You follow all these steps you can re-upload all the weather 1.30 directory and I am pretty confident that the upgrade process will work with no problem.
  • Envoyé: 04.05.2004, 14:51
    Invité
    rang:
    1
    enregistré depuis:
     décembre 2003
    Status:
    hors ligne
    dernière visite:
    06.03.05
    Messages:
    0
    It worked!

    Many many thanks.. I still don't get why there were traces of a previous weather installation. My site was allmost a fresh stock phpnuke installation.

    but anyway, many thanks for you excellent guide;
    now we can display the weather conditions on our cricket pitch in Mechelen, Belgique.

    Merci beaucoup!

    check out our site : http://www.mechelencc.be
Réponse rapide
 
  • Options
Code:
Couleur de la police:  
Taille de la police: