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

Dizkus

Bottom
726 upgrade almost perfect, but some code showing
  • Posted: 30.07.2004, 20:27
     
    Curbob
    rank:
    Softmore Softmore
    registered:
     April 2003
    Status:
    offline
    last visit:
    29.06.07
    Posts:
    51
    I just finished a test upgrade to 726 and it looks like all/most is fine, but on my front page, at the bottom of the page I see this

    $output->PrintPage(); exit; } break; default: // Failed to load the module $output = new pnHTML(); $output->StartPage(); $output->Text('Sorry, you cannot access this file directly...'); $output->EndPage(); $output->PrintPage(); break; } /* do we really need this here [larsneo] if (function_exists('session_write_close')) { session_write_close(); } else { // Hack for old versions of PHP with bad session save $sessvars = ''; foreach ($GLOBALS as $k => $v) { if ((preg_match('/^PNSV/', $k)) && (isset($v))) { $sessvars .= "$k|" . serialize($v); } } pnSessionWrite(session_id(), $sessvars); } exit; */ } ?>

    does anyone have an idea what could be causing this?

    BTW could it be something wrong with my templete? I did create it myself (DOH!) and it looked correct in 723 but maybe i'm missing a tag? or is it more than that

    Thanks
    Curbob
  • Posted: 30.07.2004, 21:07
     
    Curbob
    rank:
    Softmore Softmore
    registered:
     April 2003
    Status:
    offline
    last visit:
    29.06.07
    Posts:
    51
    ok, i found where the code is coming from, index.php but still not sure why it's showing up.
  • Posted: 31.07.2004, 08:10
     
    Curbob
    rank:
    Softmore Softmore
    registered:
     April 2003
    Status:
    offline
    last visit:
    29.06.07
    Posts:
    51
    I thought it may have been my theme but I tried another theme and the same thing happened, they are both AutoTheme.. going to check if the AutoTheme update helps ..

    anyone with an idea?
  • Posted: 31.07.2004, 08:52
     
    Curbob
    rank:
    Softmore Softmore
    registered:
     April 2003
    Status:
    offline
    last visit:
    29.06.07
    Posts:
    51
    figured it out, and like alot of problems i've searched through, I had a space after ?> in index.php, even though most had worse things happen i figured i should check it.

    So even though i figured this out myself, thanks all for the answers to everyone elses questions, without those i wouldnt have survived the last year using PostNuke.

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula