Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Ctracker Ct_ipblocker Error 
 
I was trying to ad a site IP Blocker and this error appeared:
Warning: preg_match(): Unknown modifier '/' in /ctracker/engines/ct_ipblocker.php on line 66

managed to eleminate the error by comenting out this lines:
Code: [Download] [Hide]
  1.          /*  
  2.          * Now lets check if we have matches in the blocklist  
  3.          */  
  4.          if ( preg_match('/^' . $current_value . '$/is', $ct_client_ip) || preg_match('/^' . $current_value . '$/is', $ct_user_agent) || preg_match('/^' . $current_value . '$/is', $ct_remote_host) )  
  5.          {  
  6.              // We have a match, so write the log  
  7.              include_once($phpbb_root_path . 'ctracker/classes/class_log_manager.' . $phpEx);  
  8.  
  9.              // write data into logfile  
  10.              $logfile = new log_manager();  
  11.              $logfile->write_general_logfile($ctracker_config->settings['ipblock_logsize'], 3);  
  12.              unset($logfile);  
  13.  
  14.              // generate HTML output  
  15.              $htmloutput = '<html>  
  16.              <head><title>CBACK CrackerTracker :: Security Alert</title></head>  
  17.                  <body>  
  18.                      <br />  
  19.                      <div align="center">  
  20.                          <table style="border:2px solid #000000" border="0" width="600" cellpadding="10" cellspacing="0">  
  21.                              <tr>  
  22.                                  <td align="left" bgcolor="#000000"><font face="Tahoma, Arial, Helvetica" size="4" color="#FFFFFF"><b>SECURITY ALERT&nbsp;&raquo;&nbsp;&raquo;&nbsp;&raquo;&nbsp;&raquo;</b></font></td>  
  23.                              </tr>  
  24.                              <tr>  
  25.                                  <td bgcolor="#FFF2CF" align="left">  
  26.                                  <font face="Tahoma, Arial, Helvetica" size="2" color="#000000"><b>CBACK CrackerTracker</b> blocked you because the Admin blocked your IP range, useragent or hostname from this board.<br /><br />  
  27.                                  If you think you're banned without a reason please tell the Admin from this error message and ask him what happened that he has the possibility to unblock you.  
  28.                                  </font>  
  29.                                  </td>  
  30.                              </tr>  
  31.                          </table>  
  32.                      </div>  
  33.                  </body>  
  34.              </html>';  
  35.  
  36.              // stop the script  
  37.              die($htmloutput);  
  38.          }  
  39.  


Surely not the best solution... can someone help fixing this bug?
 



 
jzSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Ctracker Ct_ipblocker Error 
 
Mmm... it is strange... try to add the site without http://
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Ctracker Ct_ipblocker Error 
 
Mighty Gorgon wrote: [View Post]
Mmm... it is strange... try to add the site without http://


not sure what you mean Mighty
 



 
jzSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Ctracker Ct_ipblocker Error 
 
Tell me what site are you trying to add... and I'll show you what I mean.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron