1
rapada
Error :( Help please
  • 2006/10/31 14:32

  • rapada

  • Just popping in

  • Posts: 26

  • Since: 2006/5/20


I have this error on the top of my website...

ommon']) && XOOPS_ROOT_PATH != '') { include XOOPS_ROOT_PATH."/include/common.php"; } } ?>

Any advice on how to fix it :)

TIA

2
Bender
Re: Error :( Help please
  • 2006/10/31 18:59

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


Check your mainfile.php. Did you handedit that file maybe deleting accidently an open or close tag?

The last lines should read like this
foreach ( array('GLOBALS''_SESSION''HTTP_SESSION_VARS''_GET''HTTP_GET_VARS''_POST''HTTP_POST_VARS''_COOKIE''HTTP_COOKIE_VARS''_REQUEST''_SERVER''HTTP_SERVER_VARS''_ENV''HTTP_ENV_VARS''_FILES''HTTP_POST_FILES''xoopsDB''xoopsUser''xoopsUserId''xoopsUserGroups''xoopsUserIsAdmin''xoopsConfig''xoopsOption''xoopsModule''xoopsModuleConfig''xoopsRequestUri') as $bad_global ) {
        if ( isset( 
$_REQUEST[$bad_global] ) ) {
            
header'Location: '.XOOPS_URL.'/' );
            exit();
        }
    }

    if (!isset(
$xoopsOption['nocommon']) && XOOPS_ROOT_PATH != '') {
        include 
XOOPS_ROOT_PATH."/include/common.php";
    }
}
?>


(now this one is based on XOOPS 2.0.15 since you did not mention which version you have)
Sorry, this signature is experiencing technical difficulties. We will return you to the sheduled signature as soon as possible ...

Login

Who's Online

361 user(s) are online (124 user(s) are browsing Support Forums)


Members: 1


Guests: 360


oswaldo,

more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits