Author |
Message |
Tadzio_G
New Member


Joined: Jun 25, 2005
Posts: 5
|
Posted:
Fri Jun 24, 2005 10:21 pm |
|
I have been using the Sentinel version 2.13 (If I am not wrong). Was preparing to install the latest version today or tomorrow.
My webpage (www.xingyiquan.org) was working fine but today, when I tried to open it, I got the following message:
_____________________________________________________________
Warning: main(config.php): failed to open stream: No such file or directory in /home/tg22xy/public_html/includes/sentinel.php on line 46
Fatal error: main(): Failed opening required 'config.php' (include_path='/usr/local/lib/php:/usr/lib/php') in /home/tg22xy/public_html/includes/sentinel.php on line 46
_____________________________________________________________
Can anyone please tell me what is going on? I have no idea how to solve this.
Tnk you so much.
T. |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Fri Jun 24, 2005 10:24 pm |
|
It's saying that NukeSentinel is unable to locate/open your config.php file. Verify that you haven't moved your config.php file. |
|
|
|
 |
Tadzio_G

|
Posted:
Fri Jun 24, 2005 10:35 pm |
|
Raven, the file is there, in the www main folder. Anyother guess?
Tnx man. |
|
|
|
 |
Raven

|
Posted:
Fri Jun 24, 2005 10:41 pm |
|
Comment out the NukeSentinel code in mainfile.php and see if your site works. |
|
|
|
 |
Tadzio_G

|
Posted:
Fri Jun 24, 2005 10:47 pm |
|
What do u mean b y "comment out"? Delete? I am sorry man, for all the trouble.
Is this the code you are talking about? Shou I delet it or what? If this is not the code, where is it?
____________________________________________________________________
if ($forum_admin == 1) {
include("../../../includes/sentinel.php");
} elseif ($inside_mod == 1) {
include("../../includes/sentinel.php");
} else {
include("includes/sentinel.php");
}
____________________________________________________________________ |
|
|
|
 |
Tadzio_G

|
Posted:
Fri Jun 24, 2005 11:02 pm |
|
I have no idea of what's happening. Now the error message I am getting changed to:
____________________________________________________________________
Warning: main(language/sentinel/lang-english.php): failed to open stream: No such file or directory in /home/tg22xy/public_html/includes/sentinel.php on line 58
Fatal error: main(): Failed opening required 'language/sentinel/lang-english.php' (include_path='/usr/local/lib/php:/usr/lib/php') in /home/tg22xy/public_html/includes/sentinel.php on line 58
____________________________________________________________________
T. |
|
|
|
 |
Raven

|
Posted:
Fri Jun 24, 2005 11:12 pm |
|
Comment means to comment ... Delete means to delete.
Change thisCode:if ($forum_admin == 1) {
include("../../../includes/sentinel.php");
} elseif ($inside_mod == 1) {
include("../../includes/sentinel.php");
} else {
include("includes/sentinel.php");
}
| toCode:/***if ($forum_admin == 1) {
include("../../../includes/sentinel.php");
} elseif ($inside_mod == 1) {
include("../../includes/sentinel.php");
} else {
include("includes/sentinel.php");
}**/
|
|
|
|
|
 |
Tadzio_G

|
Posted:
Fri Jun 24, 2005 11:26 pm |
|
Raven, the support team of my server solved the problem. I have no idea how, but just when I was ready to kake the changes you suggested, I got an email from them saying that the problem was solved, and it seems thw website is running ok now.
I asked them how did they do it and should be receieving a asnwer soon. I'll let you know.
Tnx a lot. Your help was really important.
T. |
|
|
|
 |
Raven

|
Posted:
Fri Jun 24, 2005 11:38 pm |
|
My guess is that they may have implemented open_basedir and forgot to include your home directory. |
|
|
|
 |
|