Fork me on GitHub

installation error  Bottom

  • When I installed PN 0.8 ms2,
    I got this error message.

    this ocurred just after selecting default theme


    Notice: Undefined variable: pntables in d:\apm_setup\htdocs\pn8ms2\includes\pnAPI.php on line 443

    Notice: Undefined variable: pntables in d:\apm_setup\htdocs\pn8ms2\includes\pnAPI.php on line 443


    Notice: Undefined variable: pntables in d:\apm_setup\htdocs\pn8ms2\includes\pnAPI.php on line 443

    Notice: Undefined variable: pntables in d:\apm_setup\htdocs\pn8ms2\includes\pnAPI.php on line 443

    Notice: Undefined variable: pntables in d:\apm_setup\htdocs\pn8ms2\includes\pnAPI.php on line 443


    Warning: Invalid argument supplied for foreach() in d:\apm_setup\htdocs\pn8ms2\includes\pnobjlib\DBUtil.class.php on line 279

    Notice: Undefined variable: pntables in d:\apm_setup\htdocs\pn8ms2\includes\pnAPI.php on line 443


    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at d:\apm_setup\htdocs\pn8ms2\includes\pnAPI.php:443) in d:\apm_setup\htdocs\pn8ms2\includes\pnSession.php on line 164

    Warning: Cannot modify header information - headers already sent by (output started at d:\apm_setup\htdocs\pn8ms2\includes\pnAPI.php:443) in d:\apm_setup\htdocs\pn8ms2\includes\pnSession.php on line 171

    Notice: Undefined variable: PNConfig in d:\apm_setup\htdocs\pn8ms2\install.php on line 76

    PostNuke installation
    " />

    PostNuke installation

    Please refer to the
    Installation guide
    during this process

    Existing Install Login
    We detected an existing installation. You must log in as the Administrative user to proceed.

    Failed to login, please check and try again.

    Administrative username:

    Password:

    NOTE: Official PostNuke distributions are ONLY available from PostNuke.com. For certitude of quality, please ensure you are installing an official distribution.

    Installer tasks

    Select language
    Accept licence
    System requirements
    Enter database information

    Select installation type
    Create admin user
    Select theme
    All done!

    Useful resources

    Installation guide
    PostNuke documentation
    Support Forums

    Notice: Undefined variable: pntables in d:\apm_setup\htdocs\pn8ms2\includes\pnAPI.php on line 443

    Warning: Invalid argument supplied for foreach() in d:\apm_setup\htdocs\pn8ms2\includes\pnobjlib\DBUtil.class.php on line 1461




    edited by: imoon, Oct 04, 2006 - 09:56 PM
  • my system is windows 2000
    I checked database and
    it seems it was created and loaded data correctly

    thanks
  • I have the same situation here at my test installation ^^

    PHP Version 4.4.4
    Apache/1.3.36 (Unix)

    this picture illustrates what "imoon" was talking about ;)

    http://img441.imageshack.us/img441/6061/pn080ms2errorduringjustafterinstallcp9.jpg


    pls help, because this is very frustrating - we all want to start developing for the big 8 :)
  • if register_globals is on
    pnInit() unsets $GLOBALS and others.

    after setting register_globals off in php.ini
    it's installed beautifully.

    thanks.
  • imoon,

    Thanks for that - we've been bashing our heads against the wall on this one attempting to work out what was going on.... I've now added a patch to SVN that fixes the problem so tonights snapshot should correct the problem.

    For those interested in the underlying cause.... We have some code in the PN startup function pnInit that emulates register_globals being off (for security). pnInit though supports multiple execution via load stages i.e. you can call pnInit with a parameter that starts certain parts of the PN core.

    The installer uses this as it gathers more information from you as you progress through the installer. However the code that emulated register globals off was running on every call to pnInit so if it was called twice during a single 'page' load then globals created within PN were lost.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • Thanks a lot,
    now it works icon_cool
  • beyss,

    Thanks for the feedback.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • I thought that I had this problem also but my register_globals is set to off. I was having similar issue with the new ephemerids released last month but the errors were in the ephem block only when PNphpBB module was active on the page. I tracked the problem down to

    Code

    Warning: Invalid argument supplied for foreach() in /home/jamhub/temp/includes/pnAPI.php on line 843


    Looking at the code and remembering that my Censor module is disactivated I turned the Censor module on and the problem disapeared. I didn't know the censor module was a dependency in pnAPI.
  • 0 users

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