PEAK XOOPS - update v3 in englishin japanese

update v3

List posts in the topic

none update v3

msg# 1
depth:
0
Previous post - Next post | Parent - Children.1 | Posted on 2007/2/19 6:40
minimum  二等兵   Posts: 10
in my web I had last version of protector, all OK

I update, and when I go to module "protector" I get a blank page....

I use language English for protector

Debug on:
Fatal error: Cannot redeclare class protector in /usr/home/voraus/www/v2_sp/modules/protector/class/protector.php on line 3
All errors (0) queries (9) blocks (0) extra (0) timers (3)

SELECT * FROM xoops_config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
SELECT sess_data FROM xoops_session WHERE sess_id = 'bf25f5dc3d9c3c7c2e45acbcb1d3f546'
SELECT * FROM xoops_users WHERE uid=1
DELETE FROM xoops_protector_access WHERE expire < UNIX_TIMESTAMP()
SELECT COUNT(*) FROM xoops_protector_access WHERE ip='85.57.9.60' AND request_uri='/v2/modules/protector/admin/index.php'
SELECT COUNT(*) FROM xoops_protector_access WHERE ip='85.57.9.60'
INSERT INTO xoops_protector_access SET ip='85.57.9.60',request_uri='/v2/modules/protector/admin/index.php',expire=UNIX_TIMESTAMP()+'60'
SELECT * FROM xoops_modules WHERE dirname = 'protector'
SELECT * FROM xoops_config WHERE (conf_modid = '41') ORDER BY conf_order ASC
Total: 9 queries

In mainfile.php

define('XOOPS_GROUP_ADMIN', '1');
define('XOOPS_GROUP_USERS', '2');
define('XOOPS_GROUP_ANONYMOUS', '3');


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();
}
}
require XOOPS_ROOT_PATH.'/include/fastestcache.php' ;

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

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

fastestcache_setcookie() ; // Insert this

include XOOPS_ROOT_PATH."/modules/tplsadmin/include/autoupdate.inc.php" ;
}

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

any idea?

thanks for ALL your modules
Votes:6 Average:10.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!