Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Help Upgrading to 764
  • Posted: 06.01.2008, 22:29
     
    biddly
    rank:
    Freshman Freshman
    registered:
     January 2005
    Status:
    offline
    last visit:
    27.01.08
    Posts:
    35
    I have a simple PostNuke genealogy site that I created about 4 years ago. I am currently using PN 750 on my site. A couple of months ago, my isp upgraded their server to PHP v5.2.5. The result - I cannot login as Admin to my site due to a fatal error in PostNuke (Call to a member function Execute() on a non-object in /home/mysite/public_html/includes/pnSession.php on line 368).

    Today I decided to upgrade my PostNuke to 764 and found I have two choices:

    1) Upgrade from a downloaded version of pn764
    2) Upgrade from Fantastico at cpanel

    Both choices present problems that I cannot find solutions for. If I choose option 1, I MUST login and ensure all modules are initialized and change my current Xanthia theme to ExtraLite. There is an IMPORTANT WARNING not to skip these steps. However, as explained above, I cannot log in to change themes.

    If I choose Option 2 (fantastic upgrade), I am warned not to upgrade if files, languages, themes have been modified or if I've added mods to this installation of Post-Nuke. I HAVE modified themes and HAVE added mods (an important genealogy module).

    Neither option gives instructions on what to do IF themes are modified and cannot be changed or if third party mods installed.

    Can someone please help me figure out what to do at this point? I am not a technical person nor am I a computer programmer, but I can follow instructions.

    Thank you in advance for your help.

    Sue
  • Posted: 07.01.2008, 00:47
     
    larsneo
    rank:
    Software Foundation Software Foundation
    registered:
     December 1969
    Status:
    offline
    last visit:
    15.11.08
    Posts:
    4481
    first of all you should make a full backup and a DB-dump of your site (always a good idea prior to any changes).
    i don't know if i recall .75 correctly but there should be a file 'includes/pnSession.php'. try to find (around #92)

    Quote

    // Session handlers
    session_set_save_handler("pnSessionOpen",
    "pnSessionClose",
    "pnSessionRead",
    "pnSessionWrite",
    "pnSessionDestroy",
    "pnSessionGC");


    insert just above

    Code

    // PHP 5.2 workaround
            if (version_compare(phpversion(), '5.2.0', '>=')) {
                register_shutdown_function('session_write_close');
            }


    --
    regards from germany
    ..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::..
  • Posted: 07.01.2008, 01:15
     
    biddly
    rank:
    Freshman Freshman
    registered:
     January 2005
    Status:
    offline
    last visit:
    27.01.08
    Posts:
    35
    Thank you so much, larsneo. That did the trick!

    Sue

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula