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

Dizkus

Bottom
$GLOBALS problem in DynaMenu with PHP5
  • Posted: 22.03.2008, 22:26
     
    tcochran
    rank:
    Softmore Softmore
    registered:
     July 2003
    Status:
    offline
    last visit:
    31.03.08
    Posts:
    89
    Server just upgraded from PHP4 to PHP5, which apparently caused a problem with superglobals in DynaMenu. My AutoTheme layout breaks if I leave the required DynaMenu code at the bottom of the layout:

    Code

    echo $GLOBALS['dmfooter'];


    What should I use to replicate this functionality in PHP5?

    --
    Terry Cochran

    Boomernet - WashtenawWeb
  • Posted: 01.04.2008, 00:07
     
    tcochran
    rank:
    Softmore Softmore
    registered:
     July 2003
    Status:
    offline
    last visit:
    31.03.08
    Posts:
    89
    RESOLVED -- this was a conflict with magic_quotes_sybase

    If this happens to anyone else, change your .htaccess settings to:

    Code

    php_flag magic_quotes_gpc off
    php_flag magic_quotes_runtime off


    --
    Terry Cochran

    Boomernet - WashtenawWeb

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula