PostNuke: A Flexible Open Source Content Management System
home | forum | international support | contact us

Support Forum

Start ::  PostNuke 0.7 Support ::  Installation, Configuration, & Upgrades ::  0.763: Install and Upgrade Issues

Moderated by: Support Team

Bottom
0.763: Install and Upgrade Issues

  • Link to this postingPosted: 25.10.2006, 04:25
    Profile Homepage
    AmmoDump
    rank:
    pnProfessional pnProfessional
    registered:
     December 2003
    Status:
    offline
    last visit:
    08.05.08
    Posts:
    2635
    Only upgrades prior to version 0.71 need to run any script included with the patch. Otherwise, either delete them from the server or do not upload them it the first place. (These include upgrade.php, install.php, and the install directory). If coming from a previous version, please follow the manual.txt included in the docs directory of the patch.
    ___
    There have been some issues regarding installing and upgrading PostNuke to 0.763. With the continued momentum towards the PostNuke 0.8 release, there have been code changes to which are moving towards MySQL 5.x strict mode and improved overall security. While the PostNuke team strives to make each release stable, secure, and issue free, issues may nevertheless come to be.
    ___
    This is in reference to those who are having issues with:
    Cannot redeclare class in...pnAPI.php
    call to... on non-object...
    .... not initialized
    ___
    The lastest release/patch has been caused problems with servers which do not have their php.ini set with register_globals off. With register_globals on, there is a greater security risk due to injection of variables.
    ___
    There are a few, ways to 'fix' these issues.
    1. Try ugrading the modify config from the SVN ( modify_config.php )
    2. If you have access to your php.ini (you run your own server, or if PHP is run as a CGI module, simply turn your register_globals off. Or ask your provider to do it for you.
    Find:
    Code
    register_globals = On

    change it to:
    Code
    register_globals = Off

    3. If your provider allows write/modify an .htaccess file create or modify your .htaccess file (at the PostNuke root) to include the line:
    Code
    php_flag register_globals Off

    4. Write your own php.ini file, which overrides the the php.ini script for your server. Place it at your webroot. Includes the line:
    Code
    register_globals = Off

    4. If you are installing a fresh install, bybass the install script by installing manually. (I have details on how to do it at my website listed in my signature).
    ___
    Please note that the mimimun mysql requirement has been raised to 4.1 (see also mysql's
    lifetime philosophy at http://www.planetmysql.org/kaj/?p=56 )
    ___
    If you are still having problems, please do a search of the forums, if still having issues, add to an existing relevant thread or start a new one with providing information about the current mysql- and PHP-version.
    ___
    *This thread is locked to provide solutions in a confinded post.



    -----
    -- David Pahl -- (PostNuke Support Team)

    <div id="me" class="none" style="none" />

Start ::  PostNuke 0.7 Support ::  Installation, Configuration, & Upgrades ::  0.763: Install and Upgrade Issues

Main Menu

Extensions Database

Documentation

Development

Login





 


 Log in Problems?
 New User? Sign Up!

Donate to PostNuke