| Author |
Message |
Taz Worker


Joined: Dec 22, 2005 Posts: 158
|
Posted:
Sat Aug 05, 2006 10:35 am |
|
I am setting up a new site and trying to configure some of the Sentinel settings and I have noticed that for each of the site configurations i.e. Admin Blocker, Author Blocker ect. . . That the Email IP Look UP says NOT AVAILABLE. Can anyone tell me why it would say this?
Thanks |
Last edited by Taz on Sat Aug 05, 2006 5:22 pm; edited 1 time in total |
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9133 Location: Arizona
|
Posted:
Sat Aug 05, 2006 1:01 pm |
|
Version of NukeSentinel please? |
|
|
|
 |
Taz Worker


Joined: Dec 22, 2005 Posts: 158
|
Posted:
Sat Aug 05, 2006 1:07 pm |
|
Sorry,
It is 2.4.2
Thanks! |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9133 Location: Arizona
|
Posted:
Sat Aug 05, 2006 1:20 pm |
|
Looks like PHP's mail function is not working. It checks first to make sure it would work, and if not set up properly, it shows as not available. |
|
|
|
 |
Taz Worker


Joined: Dec 22, 2005 Posts: 158
|
Posted:
Sat Aug 05, 2006 1:56 pm |
|
I'm not sure if you are pointing to a host problem or my site as the problem. Can you give me a shove in the right direction? |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9133 Location: Arizona
|
Posted:
Sat Aug 05, 2006 1:58 pm |
|
NS makes an attempt to connect to the PHP mail() function. It appears that that function is not working. Does your user registration process work on this site? If it does, than I cannot see how NS would not also be working. |
|
|
|
 |
Taz Worker


Joined: Dec 22, 2005 Posts: 158
|
Posted:
Sat Aug 05, 2006 2:13 pm |
|
Ok I understand what you are saying, let me test the user registration and see if that is working or not. |
|
|
|
 |
Taz Worker


Joined: Dec 22, 2005 Posts: 158
|
Posted:
Sat Aug 05, 2006 2:54 pm |
|
The registration is working fine. . . Wierd. . . |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9133 Location: Arizona
|
Posted:
Sat Aug 05, 2006 3:07 pm |
|
Well, let us see if we can figure out what is going on. Try opening this file:
admin\modules\nukesentinel\functions.php
Find the definition of the function blocker_config. Looks for this line here:
$mailtest = @mail();
Remove the "@" sign and see if you get an error message. (Make sure display errors is turned on in your config.php.) |
|
|
|
 |
Taz Worker


Joined: Dec 22, 2005 Posts: 158
|
Posted:
Sat Aug 05, 2006 3:32 pm |
|
Ok i got this error message
Warning: mail() expects at least 3 parameters, 0 given in /home/cvetter/public_html/admin/modules/nukesentinel/functions.php on line 290 |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9133 Location: Arizona
|
Posted:
Sat Aug 05, 2006 4:30 pm |
|
Ok, although this is not a permanent fix from a NS standpoint, I don't know why it is not working in your specific environment. If you are getting mail to work within the registrations, than what I would do is change the line:
$mailtest = @mail();
TO:
$mailtest = true;
You may want to try a ban to see if you get the ban email with the "lookup". But, that is the best I can offer at the moment.
Also, would you please do me a favor and modify your topic title to be more specific to the issue so that it isn't just "Sentinel Setup"? Thx. |
|
|
|
 |
Taz Worker


Joined: Dec 22, 2005 Posts: 158
|
Posted:
Sat Aug 05, 2006 5:23 pm |
|
OK I'll give that a try. I changed my original post, is that a better description?
Thanks for the help. |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9133 Location: Arizona
|
Posted:
Sat Aug 05, 2006 10:31 pm |
|
Excellent topic title! Thank you!
 |
|
|
|
 |
Taz Worker


Joined: Dec 22, 2005 Posts: 158
|
Posted:
Sun Aug 06, 2006 7:04 pm |
|
OK I set the mailtest = true, that didn't seem to do anything. I also disabled the cache just in case it was doing anything. That didn't seem to help either. The part you said to "try a ban if you get the ban email with the lookup" I am not sure what you are refering to here. I am starting to think this has something to do with my host. Out of curiosity I setup another cms package and it is doing the same thing. I tried raven 2.0 and nuke evolution. They are both acting the same way. Anyone have any more thoughts? |
|
|
|
 |
Taz Worker


Joined: Dec 22, 2005 Posts: 158
|
Posted:
Sun Aug 06, 2006 7:19 pm |
|
Here is something else wierd.... The Sentinel setup, under Administrative Settings, Admin Auth, only has the two following settings.
Off
admin CGIAuth
the admin httpAuth is not listed. . . . What the heck ?! |
|
|
|
 |
FireATST RavenNuke(tm) Development Team

Joined: Jun 12, 2004 Posts: 633 Location: Ohio
|
Posted:
Sun Aug 06, 2006 9:10 pm |
|
your webhost may not allow httpAuth. |
|
|
 |
 |
Taz Worker


Joined: Dec 22, 2005 Posts: 158
|
Posted:
Mon Aug 07, 2006 7:49 pm |
|
Interesting point, I have two sites with this host. The sentinel works fine on one site, it is only acting up on this new site. What is the command to grab the php settings ??
phpinfo()???? or something? I'm not a php expert.  |
|
|
|
 |
FireATST RavenNuke(tm) Development Team

Joined: Jun 12, 2004 Posts: 633 Location: Ohio
|
Posted:
Mon Aug 07, 2006 8:23 pm |
|
Is this a separate domain, or is the second site a subdomain of the first? |
|
|
 |
 |
Taz Worker


Joined: Dec 22, 2005 Posts: 158
|
Posted:
Thu Aug 10, 2006 7:40 pm |
|
It is a separate domain all together. one is 8tharclan.org and the other is techheadz.org. The techheadz.org is the one with the problem. |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9133 Location: Arizona
|
Posted:
Sat Aug 12, 2006 2:50 pm |
|
It is probably on a different server that is set up differently. To check your "phpinfo", simply upload a file with the following in it and then access it with your browser:
| Code: |
<?php
phpinfo();
?>
|
But, I am not sure that will tell you whether you have HTTPAuth or CGIAuth available. You may have to ask your host. |
|
|
|
 |
Taz Worker


Joined: Dec 22, 2005 Posts: 158
|
Posted:
Mon Aug 14, 2006 10:02 am |
|
lol Well like I said and proved, I am not a php expert! I forgot the colon following the phpinfo, no wonder my test file wouldnt work. I ran this phpinfo() on both servers. The 8tharclan says the SERVER API = APACHE, but the techheadz.org says it's CGI. I'm no expert but would CGI limit me from using httpauth? I did forward this on to my host.
Thanks guys, |
|
|
|
 |
Tao_Man Involved


Joined: Jul 15, 2004 Posts: 252 Location: OKC, OK
|
Posted:
Mon Aug 14, 2006 12:09 pm |
|
As set up techheadz.org will not be able to use httpauth, the server api is saying that php is set up as CGi not as an Apache module |
|
|
|
 |
Taz Worker


Joined: Dec 22, 2005 Posts: 158
|
Posted:
Mon Aug 14, 2006 12:50 pm |
|
I got a reply from my host, check this out . . .
Anyone else run into this? |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9133 Location: Arizona
|
Posted:
Mon Aug 14, 2006 7:35 pm |
|
Yes, this tells me your are most certainly using PHP as CGI and no, HTTPAuth will NOT work. However, CGIAuth should work just fine I believe. |
|
|
|
 |
Taz Worker


Joined: Dec 22, 2005 Posts: 158
|
Posted:
Tue Aug 15, 2006 6:01 am |
|
This PHPSUEXEC, sounds like it makes the site more secure. Is there any disadvantage to using the CGI (and I assume this means I would use the staccess file and not the htaccess file? Does anyone else have any experience with this PHPSUEXEC? |
|
|
|
 |
|
|
|
|