Fork me on GitHub

0.8 RC1 upgrading from PN 0.764  Bottom

Go to page 1 - 2 [+1]:

  • Hi folks,

    First of all, thanks a LOT for this release!!!

    I've installed it from scratch (install.php) on my production server, without a problem.
    FYI, it's running fine (a few hours of administration around) on a not recommended system ;) :
    Apache 1.3.37 / PHP 4.4.4 / MySQL 4.0.18.

    But the upgrading is not working...
    The original installation is a PN 0.750 a bit customized, upgraded correctly to a PN 0.764. Then i'm trying to upgrade from this .764 to the latest 0.8 RC1 release.
    When pointing to install.php, i get a bunch of PHP errors (about 300 lines) and at the bottom, i'm asked for my adminname / password. Whatever admin users i'm entering, i only got a "Failed to login to your site".

    Bye.
  • The upgrade procedure for .76x is to run upgrade76.php not install.php. See upgrade.html in the docs directory.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • Sorry Mark, i should have mentionned i've also previously edited the /config/config.php file with correct values, but with upgrade76.php i don't even get to the Login dialog in that case (only a bunch of PHP/SQL errors)...
    That's why i tried the "classic" upgrade.php (which is only for upgrading from a 0.8MS release, correct?).

    I can attach the error messages if you like?

    Bye.



    edited by: Yukulele, Jul 18, 2007 - 10:13 PM
  • Yes - can you send me details of the errors you get and, if your willing too, a copy of your SQL dump so that I can run the upgrade myself. E-mail to markwest at postnuke dot com.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • Forget it, apparently i didn't set the 'prefix' correctly in config.php (ns_ instead of the old nuke_ format).
    That's getting rid of all the PHP / SQL errors.

    But after a few pages of upgrading pages (no errors), just after asked for login (tried 2 admin users), i still get the "Failed to login to your site".

    Other upgraders experiences from .764?

    Bye.
  • A few sites, including my own, have been through the upgrade process ok so far.

    The error suggests that your not typing your PN admin username and password correctly.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • Finaly, i've copied most of my "old" .764 modules to the new .8 modules directory, and the upgrade is now working.

    But then my website "look" is all screwed whith unsinstalled blocks blocking the admin control / settings. I think i should disabled most of the "non-standards" modules / blocks in .764 before upgrading.

    Sorry for all this, you can delete this post Mark, as it looks more like a newbie diary than a real question about .8... ;)

    Bye.
  • I disagree Mark, I had the same issue... upgrading my pn8 RC1 (preRelease QA version) to the Production release.. just ended up reinstalling with new DB- It was all just test garbage anyway.. I did not mistype my pass.. I did reset it to the default Admin/Password via the DB, to no avail. Thought it was probably a session error.. but decided to go to a clean start, anyway.


    Edit: File upgrade, no scripts.





    edited by: AmmoDump, Jul 18, 2007 - 04:43 PM

    --
    David Pahl
    Zikula Support Team
  • Dave,

    I've not seen this problem on any test upgrades i've done. If someone can provide me with a DB that exhibits this issue then I can research it further. Thus far this issue hasn't been reported to the bug tracker.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • I think your problem was something else Ammo.

    Anyway, end of story, upgrade seems fine (all my users are here), i just deactivated most of the modules blocks in .764 before copying MySQL databases and upgrading.

    Now i can't reach "Postnuke settings" (permission denied?), PNphpBB2 does not work, etc. but that's another story :) .

    Bye.
  • Yeah, tried to recreate the error.. cannot seem to. Don't worry, if anyone can break it, I can. icon_wink

    --
    David Pahl
    Zikula Support Team
  • Remember that user permissions no longer exist in 0.8 - so if your admin access was granted through a user permission then you'll suddenly be demoted to a normal user after an upgrade.

    --
    itbegins.co.uk - Zikula Consulting

    birtwistle.me.uk - Personal Blog


    Please read the Support Guide
  • hi guys i have some problems with the upgrade to 0.8 cr1

    Notice: Use of undefined constant PN_CORE_ALL - assumed 'PN_CORE_ALL' in /var/www/vhosts/iartc.com/httpdocs/upgrade76.php on line 57

    Notice: Use of undefined constant PN_CORE_THEME - assumed 'PN_CORE_THEME' in /var/www/vhosts/iartc.com/httpdocs/upgrade76.php on line 57

    Notice: Use of undefined constant PN_CORE_AJAX - assumed 'PN_CORE_AJAX' in /var/www/vhosts/iartc.com/httpdocs/upgrade76.php on line 57

    Notice: Use of undefined constant PN_CORE_SESSIONS - assumed 'PN_CORE_SESSIONS' in /var/www/vhosts/iartc.com/httpdocs/upgrade76.php on line 57

    ADONewConnection: Unable to load database driver ''

    Fatal error: Call to a member function on a non-object in /var/www/vhosts/iartc.com/httpdocs/includes/pnAPI.php on line 332

    any idea?
  • Well, first you must set your site language to 'English' because is the only available language pack at the moment in the 0.8.

    I don't remember how i did to upgrade, but i guess that you must copy+paste the config-info of the 0.764 /config.php file to the 0.8 /config/config.php file and your database connection will be available.

    Try it and tell us! icon_wink

    --
    - Mateo T. -
    Mis principios... son mis fines
  • Great problem fixed, was my mistake, a mistype in the database name, but now i getting another error, i think i saw somebody with the same error message ill browse more around the forums if i find out where i saw it..

    Install Error:Attempted to get info from empty connection stack ...

    1. (array) 0:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnobjlib/DBConnectionStack.class.php
    2. (integer) line = 39
    3. (string) function = pn_exit
    4. (array) args:
    1. (string) 0 = Attempted to get info from empty connection stack ...
    2. (array) 1:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnobjlib/DBConnectionStack.class.php
    2. (integer) line = 103
    3. (string) function = getconnectioninfo
    4. (string) class = dbconnectionstack
    5. (string) type = ::
    6. (array) args:
    1. (NULL) 0 = (none)
    2. (string) 1 = dbtype
    3. (array) 2:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnobjlib/DataUtil.class.php
    2. (integer) line = 271
    3. (string) function = getconnectiondbtype
    4. (string) class = dbconnectionstack
    5. (string) type = ::
    6. (array) args: (empty)
    4. (array) 3:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnMod.php
    2. (integer) line = 100
    3. (string) function = formatforstore
    4. (string) class = datautil
    5. (string) type = ::
    6. (array) args:
    1. (string) 0 = /PNConfig
    5. (array) 4:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnAPI.php
    2. (integer) line = 99
    3. (string) function = pnmodgetvar
    4. (array) args:
    1. (string) 0 = /PNConfig
    2. (string) 1 = language_detect
    6. (array) 5:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnLang.php
    2. (integer) line = 40
    3. (string) function = pnconfiggetvar
    4. (array) args:
    1. (string) 0 = language_detect
    7. (array) 6:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnAPI.php
    2. (integer) line = 353
    3. (string) function = pnlangload
    4. (array) args: (empty)
    8. (array) 7:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/upgrade76.php
    2. (integer) line = 57
    3. (string) function = pninit
    4. (array) args:
    1. (integer) 0 = 1503
    9. (array) 8:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/upgrade76.php
    2. (integer) line = 22
    3. (string) function = _upg_upgrade
    4. (array) args: (empty)


    Warning: Invalid argument supplied for foreach() in /var/www/vhosts/iartc.com/httpdocs/includes/pnMod.php on line 104
    Install Error:Attempted to get info from empty connection stack ...

    1. (array) 0:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnobjlib/DBConnectionStack.class.php
    2. (integer) line = 39
    3. (string) function = pn_exit
    4. (array) args:
    1. (string) 0 = Attempted to get info from empty connection stack ...
    2. (array) 1:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnobjlib/DBConnectionStack.class.php
    2. (integer) line = 103
    3. (string) function = getconnectioninfo
    4. (string) class = dbconnectionstack
    5. (string) type = ::
    6. (array) args:
    1. (NULL) 0 = (none)
    2. (string) 1 = dbtype
    3. (array) 2:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnobjlib/DataUtil.class.php
    2. (integer) line = 271
    3. (string) function = getconnectiondbtype
    4. (string) class = dbconnectionstack
    5. (string) type = ::
    6. (array) args: (empty)
    4. (array) 3:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnMod.php
    2. (integer) line = 100
    3. (string) function = formatforstore
    4. (string) class = datautil
    5. (string) type = ::
    6. (array) args:
    1. (string) 0 = /PNConfig
    5. (array) 4:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnAPI.php
    2. (integer) line = 99
    3. (string) function = pnmodgetvar
    4. (array) args:
    1. (string) 0 = /PNConfig
    2. (string) 1 = language
    6. (array) 5:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnLang.php
    2. (integer) line = 41
    3. (string) function = pnconfiggetvar
    4. (array) args:
    1. (string) 0 = language
    7. (array) 6:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnAPI.php
    2. (integer) line = 353
    3. (string) function = pnlangload
    4. (array) args: (empty)
    8. (array) 7:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/upgrade76.php
    2. (integer) line = 57
    3. (string) function = pninit
    4. (array) args:
    1. (integer) 0 = 1503
    9. (array) 8:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/upgrade76.php
    2. (integer) line = 22
    3. (string) function = _upg_upgrade
    4. (array) args: (empty)


    Warning: Invalid argument supplied for foreach() in /var/www/vhosts/iartc.com/httpdocs/includes/pnMod.php on line 104

    Notice: Use of undefined constant _LOCALE - assumed '_LOCALE' in /var/www/vhosts/iartc.com/httpdocs/includes/pnLang.php on line 95
    Install Error:Attempted to get info from empty connection stack ...

    1. (array) 0:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnobjlib/DBConnectionStack.class.php
    2. (integer) line = 39
    3. (string) function = pn_exit
    4. (array) args:
    1. (string) 0 = Attempted to get info from empty connection stack ...
    2. (array) 1:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnobjlib/DBConnectionStack.class.php
    2. (integer) line = 103
    3. (string) function = getconnectioninfo
    4. (string) class = dbconnectionstack
    5. (string) type = ::
    6. (array) args:
    1. (NULL) 0 = (none)
    2. (string) 1 = dbtype
    3. (array) 2:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnobjlib/DataUtil.class.php
    2. (integer) line = 271
    3. (string) function = getconnectiondbtype
    4. (string) class = dbconnectionstack
    5. (string) type = ::
    6. (array) args: (empty)
    4. (array) 3:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnMod.php
    2. (integer) line = 100
    3. (string) function = formatforstore
    4. (string) class = datautil
    5. (string) type = ::
    6. (array) args:
    1. (string) 0 = /PNConfig
    5. (array) 4:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnAPI.php
    2. (integer) line = 99
    3. (string) function = pnmodgetvar
    4. (array) args:
    1. (string) 0 = /PNConfig
    2. (string) 1 = UseCompression
    6. (array) 5:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnAPI.php
    2. (integer) line = 362
    3. (string) function = pnconfiggetvar
    4. (array) args:
    1. (string) 0 = UseCompression
    7. (array) 6:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/upgrade76.php
    2. (integer) line = 57
    3. (string) function = pninit
    4. (array) args:
    1. (integer) 0 = 1503
    8. (array) 7:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/upgrade76.php
    2. (integer) line = 22
    3. (string) function = _upg_upgrade
    4. (array) args: (empty)


    Warning: Invalid argument supplied for foreach() in /var/www/vhosts/iartc.com/httpdocs/includes/pnMod.php on line 104
    Install Error:Attempted to get info from empty connection stack ...

    1. (array) 0:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnobjlib/DBConnectionStack.class.php
    2. (integer) line = 39
    3. (string) function = pn_exit
    4. (array) args:
    1. (string) 0 = Attempted to get info from empty connection stack ...
    2. (array) 1:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnobjlib/DBConnectionStack.class.php
    2. (integer) line = 103
    3. (string) function = getconnectioninfo
    4. (string) class = dbconnectionstack
    5. (string) type = ::
    6. (array) args:
    1. (NULL) 0 = (none)
    2. (string) 1 = dbtype
    3. (array) 2:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnobjlib/DataUtil.class.php
    2. (integer) line = 271
    3. (string) function = getconnectiondbtype
    4. (string) class = dbconnectionstack
    5. (string) type = ::
    6. (array) args: (empty)
    4. (array) 3:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnMod.php
    2. (integer) line = 100
    3. (string) function = formatforstore
    4. (string) class = datautil
    5. (string) type = ::
    6. (array) args:
    1. (string) 0 = /PNConfig
    5. (array) 4:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnAPI.php
    2. (integer) line = 99
    3. (string) function = pnmodgetvar
    4. (array) args:
    1. (string) 0 = /PNConfig
    2. (string) 1 = loadlegacy
    6. (array) 5:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/includes/pnAPI.php
    2. (integer) line = 367
    3. (string) function = pnconfiggetvar
    4. (array) args:
    1. (string) 0 = loadlegacy
    7. (array) 6:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/upgrade76.php
    2. (integer) line = 57
    3. (string) function = pninit
    4. (array) args:
    1. (integer) 0 = 1503
    8. (array) 7:
    1. (string) file = /var/www/vhosts/iartc.com/httpdocs/upgrade76.php
    2. (integer) line = 22
    3. (string) function = _upg_upgrade
    4. (array) args: (empty)


    Warning: Invalid argument supplied for foreach() in /var/www/vhosts/iartc.com/httpdocs/includes/pnMod.php on line 104
    PostNuke Upgrade script (for versions .764 only)

    This script will upgrade postnuke from versions 0.764 to the latest release. Upgrades from prior releases are not supported by this script.

    BEFORE proceeding you should backup your database

    * Backing Up user database... done.

    Fatal error: Call to a member function on a non-object in /var/www/vhosts/iartc.com/httpdocs/system/Blocks/pninit.php on line 179

Go to page 1 - 2 [+1]:

  • 0 users

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