Author |
Message |
aacws
New Member


Joined: Nov 17, 2004
Posts: 8
|
Posted:
Wed Nov 17, 2004 8:52 am |
|
Ever since I installed Sentinel my GameServer block shows the following message Leave this site now! everything else in the module works fine. You can see the server details if you load the full module page but not in the block, block code shown below.
Code:<?php
if (eregi("block-GameServers.php", $_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
$serverpath = pathinfo($_SERVER['SCRIPT_NAME']);
if ($serverpath['dirname']=="/") {
$serverpath = $_SERVER['SERVER_NAME'];
} else {
$serverpath = $_SERVER['SERVER_NAME'].$serverpath['dirname'];
}
$content = file_get_contents ("http://".$serverpath."/modules.php?name=GameServers&do=block");
?>
|
|
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Wed Nov 17, 2004 2:57 pm |
|
Just to be sure that it is a sentinel conflict, comment out the NukeSentinel include statments at the top of your mainfile.php. Do you still have the problem? |
|
|
|
 |
aacws

|
Posted:
Wed Nov 17, 2004 3:56 pm |
|
problem goes if I comment out the NS include statments |
|
|
|
 |
aacws

|
Posted:
Thu Nov 25, 2004 4:03 pm |
|
anyone able to help me on this as it's really anoying me. |
|
|
|
 |
TheosEleos
Life Cycles Becoming CPU Cycles

Joined: Sep 18, 2003
Posts: 960
Location: Missouri
|
Posted:
Thu Nov 25, 2004 6:38 pm |
|
He is currect, Raven. I have this installed on my site as well but never used the block before. I just tested and with Sentinel active the block does give that message. |
_________________ Only registered users can see links on this board! Get registered or login! |
|
 |
 |
Raven

|
Posted:
Thu Nov 25, 2004 10:31 pm |
|
Have you looked in your server error log? |
|
|
|
 |
TheosEleos

|
Posted:
Thu Nov 25, 2004 11:19 pm |
|
I'm not getting anything in my error log. |
|
|
|
 |
Raven

|
Posted:
Fri Nov 26, 2004 1:59 pm |
|
If this is an easy addon, send it to me and I'll take a look. |
|
|
|
 |
aacws

|
Posted:
Fri Nov 26, 2004 3:45 pm |
|
It is a fairly simple but large addon, I've uploaded the zip file and you can get Only registered users can see links on this board! Get registered or login!.
Thanks |
|
|
|
 |
TheosEleos

|
Posted:
Fri Nov 26, 2004 5:56 pm |
|
|
|
 |
aacws

|
Posted:
Fri Nov 26, 2004 7:12 pm |
|
Thanks for the files, however they didn't solve the problem. Once uploaded to the correct folders all they did was give me an extra link to the module in the Administration Menu (already got one in the Modules Administration panel) and returned the following error at the top of the page.
Quote: | Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /*****/******/public_html/club/includes/sql_layer.php on line 288
Access Denied |
Side blocks which are meant to show gamesever info still show(ed) "Leave this site now!". |
|
|
|
 |
TheosEleos

|
Posted:
Fri Nov 26, 2004 10:22 pm |
|
Those files I uploaded were for Raven to use when installing on his test site.
Each of those files belongs in its correct location.
gameservers.php belongs in admin/modules
link.gameservers.php belongs in admin/links
case.gameservers.php belongs in admin/case |
|
|
|
 |
TheosEleos

|
Posted:
Fri Nov 26, 2004 10:28 pm |
|
Those files will not correct your problem. |
|
|
|
 |
Raven

|
Posted:
Fri Nov 26, 2004 10:43 pm |
|
I have them all and I will [hopefully] be looking into it this weekend. |
|
|
|
 |
aacws

|
Posted:
Sat Nov 27, 2004 8:52 am |
|
|
|
 |
aacws

|
Posted:
Sun Dec 05, 2004 8:26 pm |
|
any joy with solving this problem? |
|
|
|
 |
Raven

|
Posted:
Sun Dec 05, 2004 9:16 pm |
|
You know, I just haven't had time to even look at this. I have been swamped with work and some health issues. I am sorry. |
|
|
|
 |
aacws

|
Posted:
Mon Dec 06, 2004 10:25 am |
|
|
|
 |
|