SOLVED IPBlocker probleem
Posted: Mon May 18, 2009 6:14 pm
Ik ben van het weekend voor het eerst aan het stoeien gegaan met CMSMS en dat bevalt heel goed. De website begint aardig al vorm te krijgen, maar nu loop ik toch tegen een probleem aan waar ik niet uit kom. Ik wil graag de module IPBlocker installeren, maar als ik dat doe krijg ik de volgende melding
Alvast heel erg bedankt. ;)
Ik heb volgens de instructie het stukje code toegevoegd aan include.phpWarning: Missing argument 1 for IPBlocker::ipBanned(), called in /home/miramde/public_html/include.php on line 250 and defined in /home/miramde/public_html/modules/IPBlocker/IPBlocker.module.php on line 126
Warning: Cannot modify header information - headers already sent by (output started at /home/miramde/public_html/modules/IPBlocker/IPBlocker.module.php:126) in /home/miramde/public_html/lib/classes/class.admintheme.inc.php on line 171
Warning: Cannot modify header information - headers already sent by (output started at /home/miramde/public_html/modules/IPBlocker/IPBlocker.module.php:126) in /home/miramde/public_html/lib/classes/class.admintheme.inc.php on line 174
Warning: Cannot modify header information - headers already sent by (output started at /home/miramde/public_html/modules/IPBlocker/IPBlocker.module.php:126) in /home/miramde/public_html/lib/classes/class.admintheme.inc.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/miramde/public_html/modules/IPBlocker/IPBlocker.module.php:126) in /home/miramde/public_html/lib/classes/class.admintheme.inc.php on line 178
Warning: Cannot modify header information - headers already sent by (output started at /home/miramde/public_html/modules/IPBlocker/IPBlocker.module.php:126) in /home/miramde/public_html/lib/classes/class.admintheme.inc.php on line 181
Warning: Cannot modify header information - headers already sent by (output started at /home/miramde/public_html/modules/IPBlocker/IPBlocker.module.php:126) in /home/miramde/public_html/lib/classes/class.admintheme.inc.php on line 186
Ik heb al het hele forum door gezocht, maar kom nergens iets tegen over deze module. Ik ben ook geen programmeur, ik kom een heel eind in HTML, maar het moet niet te technisch gaan worden. Is er iemand die me op weg kan helpen?NOTE: You must add this code to the /include.php file, approx. line 227, after the $modload->LoadModules code.
# Load IPBlocker module and test for IP
$ipBlocker = & CmsModule::GetModuleInstance("IPBlocker");
if($ipBlocker && $ipBlocker->ipBanned()){
header("location:". $ipBlocker->GetRedirect());
}
Alvast heel erg bedankt. ;)