Author |
Topic  |
|
Andy Humm
Average Member
  
United Kingdom
908 Posts |
Posted - 04 August 2008 : 03:11:59
|
I believed that I successfully installed the IPGate mod a while ago and on revisting the IP admin page, I noticed it is switched off. Changing the settings to select the Banning to On it confirms 'Your IPGate settings were saved successfully!' However the radio selector shows off and the main menu page states 'IP Gate is: Off' Checking my forum variables it shows a 1 which should be ON?? Variables are: /forum/STRIPGATEBAN 1 /forum/STRIPGATELCK 0 /forum/STRIPGATECOK 1 /forum/STRIPGATEMET 0 /forum/STRIPGATEMSG You are not allowed access to the page requested. /forum/STRIPGATELKMSG You are not allowed access to the page requested. /forum/STRIPGATENOACMSG You are not allowed access to the page requested. /forum/STRIPGATEWARNMSG You are not allowed access to the page requested. /forum/STRIPGATEVER 2.4.4 /forum/STRIPGATELOG 0 /forum/STRIPGATETYP 0 /forum/STRIPGATEEXP 0 /forum/STRIPGATECSS 0 /forum/STRIPGATESHOWRECS 5 /forum/STRIPGATEAUTOCLEAN 0
I can not see why the gate is saying it is switched off both on the IPGate main menu and settings page. I can add Ip addresses for banning. Thinking about why this may not work, does the mod rely on date formats as a few weeks ago, I removed the :ss off the date format display. Might be a red herring.. regards andy
Edit: Subject change< |
Edited by - Andy Humm on 04 August 2008 03:22:06 |
|
Andy Humm
Average Member
  
United Kingdom
908 Posts |
Posted - 04 August 2008 : 03:18:13
|
Since last post I have re-installed the old inc_func_common.asp with the :ss still showing on the forum, no luck the IPGate will not show switched on..< |
 |
|
Etymon
Advanced Member
    
United States
2396 Posts |
Posted - 04 August 2008 : 03:34:26
|
I don't know the MOD at all, but when things are switched off when you think they should be switched on, it sounds like a configuration issue with MOD code in config.asp. First, do a "Check Installation" in your admin section. If that doesn't work, walk through the set up that came with the MOD and compare your code to what the help says to do.< |
 |
|
Andy Humm
Average Member
  
United Kingdom
908 Posts |
Posted - 04 August 2008 : 05:13:06
|
Etymon Thank you for the input, I have carried out the 'Check Installation' satisfactorily, gone through page by apge with the MOD installation, changed the files one by one with original files and the forum variables show /forum/STRIPGATEBAN 1 (switched on), but the main menu and setting show that the Banning is OFF? I have checked the config_new table and the IPGate mod settings are set ON.
The only thing I can not confirm at the moment is to ban an IP address and ask the user to try accessing the forum. (Leatherlips, kindly did this test when we installed the mod a few months ago, to see how it worked and with success) If the ban works, then it might be the menu and admin pages are not picking up the STRIPGATEBAN = 1
I have tested the banning radio selectors by turning the IPGate off and the forum variables show STRIPGATEBAN =0 and reselected back on and the variable has successfully switched to 1 but the radio selector shows off.
The code for the selectors is: <input type="radio" value="1" name="strIPGateBan" <%= chkradio(stripgateban,0,false)%> style="width: 20px"> On <input type="radio" name="strIPGateBan" value="0" <%= chkradio(stripgateban,0,true)%>>
I see that the menu page shows off and all statements underneath is not shown,,
< |
Edited by - Andy Humm on 04 August 2008 05:28:41 |
 |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 04 August 2008 : 06:28:45
|
Andy, check config.asp for the dimensioned arrays associated with the mod. When the values don't show, it's normally due to an error there.< |
 |
|
Andy Humm
Average Member
  
United Kingdom
908 Posts |
Posted - 04 August 2008 : 07:53:49
|
quote: Originally posted by Carefree
Andy, check config.asp for the dimensioned arrays associated with the mod. When the values don't show, it's normally due to an error there.
CF, good spot, I found a comment halfway between the dim arrays which was causing the problems.
'wot-a-star!'< |
 |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 04 August 2008 : 08:28:21
|
Glad it's fixed.< |
 |
|
gpctexas
Junior Member
 
320 Posts |
Posted - 04 August 2008 : 21:12:30
|
Most of the probs with IPGate are with incorrect config.asp editing and incorrect placement of the inc_ipgate.asp in inc_header.asp
Glad you found the prob.< |
ipgate 2.4.4 RC3 http://www.gpctexas.net/ipgate_v244.zip |
 |
|
|
Topic  |
|