Fork me on GitHub

CoreDevs need help!  Bottom

Go to page 1 - 2 [+1]:

  • You are a Postnuke user?
    You have a non English installation?

    Fine! You can help us fix the last bigger bug in .8!

    http://noc.postnuke.com/tracker/index.php?func=detail&aid=5262&group_id=5&atid=101

    Please try to update a test installation of your .764 site and see if the reg_date is set correctly.

    Report you observations here or better directly in the tracker.

    If we can fix this in the next few days, we should be able to have the RC3 soon after.

    --
    best regards from Kiel, sailing city

    Steffen Voss

    Member of the Zikula Steering Committee
    Read The Zikulan's Blog "If you want people to RTFM, make a better FM!"
  • I'm not sure if you mean that bug is only in none English installs or not. I updated a English only site with a couple of hundred users and all the reg dates are 1970-01-01 10:30:00. I'll update my install from SVN and try it again.

    Ok, just tried it with latest SVN and it's still the same reg date is 1970 xx xx xx xx



    edited by: denisrf, Jan 23, 2008 - 07:58 AM
  • mmmh. Can you give us a list of the versions you use? Apache? PHP? MySQL?

    --
    best regards from Kiel, sailing city

    Steffen Voss

    Member of the Zikula Steering Committee
    Read The Zikulan's Blog "If you want people to RTFM, make a better FM!"
  • Just coming back for that:

    + Apache 2.2.6
    + MySQL 5.0.45
    + PHP 5.2.4
  • If anyone can provide a fix for this please do so. I've upgraded about ten different sites using databases from myself and others - In every single case the registration dates we're migrated as expected.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • In the tracker Carsten said, that a manual execution of the SQL worked out right. Maybe it could help to automatically check after the update if the dates are 1970 and if so execute the SQL again?

    --
    best regards from Kiel, sailing city

    Steffen Voss

    Member of the Zikula Steering Committee
    Read The Zikulan's Blog "If you want people to RTFM, make a better FM!"
  • I can't help with a patch, wish I could. The only other thing I can think of is; This site is fairly old, started life with .726 and over the years has been upgraded through all the different versions to 764. If that is having any effect I don't know. I've got a straight 764 thats not an upgrade, maybe I could get a backup of that and try it, see if that is any better. Can't do it today maybe tomorrow

    Denis
  • mmmh. One of our test sites has also a pretty long history. Could that be a problem? But on the other hand, Mark was able to update the dump of a site that failed for Carsten without any problems.

    --
    best regards from Kiel, sailing city

    Steffen Voss

    Member of the Zikula Steering Committee
    Read The Zikulan's Blog "If you want people to RTFM, make a better FM!"
  • kaffeeringe.de

    But on the other hand, Mark was able to update the dump of a site that failed for Carsten without any problems.


    That surprised me very much.

    I've done all upgrades with the german language-pack installed.
    But I although tried an upgrade after switching the pn7-site to english without success.

    But could it be that we have wrong files installed?
    (We can exclude any multilanguage database-settings, because Mark was able to update my SQL-dump)

    BUT
    My suggestion couldn't be correct, because denisrf has the same problem without any language-pack. icon_confused




    edited by: Herr.Vorragend, Jan 23, 2008 - 02:05 PM
  • Herr.Vorragend


    But could it be that we have wrong files installed?
    (We can exclude any multilanguage database-settings, because Mark was able to update my SQL-dump)


    Not sure what you mean. Which wrong files?

    I just did the same upgrade on a different server with the same result:

    + Apache 1.3.37
    + MySQL 4.1.22
    + PHP 4.4.4




    edited by: denisrf, Jan 23, 2008 - 10:46 PM
  • I don't think the problem is related to the language pack because I'm having it on a fresh install using only the default english pack.
    I think is related to the environment, as I said in the NOC. (and also I've found an hack that worked for me)

    --
    Zikula Italia
    SimpleGallery
  • I take back everything icon_biggrin

    By the way - my server settings:

    PHP 4.4.8
    mySQL 4.0.23
    Apache/1.3.37

    PHP 5.2.5
    mySQL 4.1.21
    Apache API Version: 20051115



    edited by: Herr.Vorragend, Jan 23, 2008 - 02:52 PM
  • I have the same problem. My regdate is converted to 1970 after an upgrade.
    I have converted my testsite in 0.764 (recently installed and very clean, only 2 users) to 0.8. Both users have a regdate of 1970 after conversion.

    Converting by hand (as suggested in the NOC):

    Code

    UPDATE pn_users,pnold_users SET pn_users.pn_user_regdate
    = FROM_UNIXTIME(pnold_users.pn_user_regdate) where
    pn_users.pn_uid=pnold_users.pn_uid;

    works perfectly.

    PHP 5.0.4
    MySQL 4.1.20
    Apache/2.0.54 (Fedora) API version 20020903

    --
    campertoday.nl, Module development, Dutch Zikula Community
  • The fixed upgrade code is now in the SVN (revision 23637).

    I also combined upgrade.76.php and upgrade.php into one file (upgrade.php), added some look and feel changes and prepared the code for better use in non-english sites.

    Please test. No need for manual upgrades any longer icon_wink


    --
    "He is not dangerous, he just wants to play...."
  • Excellent! Fixes the problem with reg dates and a much, much nicer and informative upgrade page.

    One problem. On using upgrade.php for the first time it gives and error about "pnTemp/upgrade_languages" not found. I think because it looks for the file before it has been created. Reload the page and it all runs fine, the file has now been created for upgrade.php to find.

    Denis

Go to page 1 - 2 [+1]:

This list is based on users active over the last 60 minutes.