PEAK XOOPS - Re: protector with xoops 2.0.15 ! pre-post check gives blank page! hlp in englishin japanese

Re: protector with xoops 2.0.15 ! pre-post check gives blank page! hlp

List posts in the topic

question Re: protector with xoops 2.0.15 ! pre-post check gives blank page! hlp

msg# 1.1.1.1.2
depth:
4
Previous post - Next post | Parent - No child | Posted on 2006/9/20 3:36
gibaphp  上等兵 From: Brasil - S  Posts: 22
Ok, my mainfile.php is correct, but

ps: Php debug is enabled


Quote:
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();
}
}

include( XOOPS_ROOT_PATH . '/modules/protector/include/precheck.inc.php' ) ;

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

include( XOOPS_ROOT_PATH . '/modules/protector/include/postcheck.inc.php' ) ;



But for eliminat notice in php5 ??

Quote:
Notice: Undefined variable: xoopsDB in file /modules/protector/include/postcheck.inc.php line 17
Notice: Trying to get property of non-object in file /modules/protector/include/postcheck.inc.php line 17
Notice: Undefined variable: elt in file /class/xoopsform/form.php line 457

Notice not welcome for php5.

Exist one form for elimite this notice ?

Thanks
Votes:15 Average:6.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!