PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
ditmar
New Member
New Member


Joined: Feb 01, 2005
Posts: 4

PostPosted: Tue Feb 01, 2005 6:20 pm Reply with quote Back to top

Whenever I try to enter my forum admin I get this error :


Fatal error: main(): Failed opening required 'config.php' (include_path='.:/usr/local/php4/lib/php') in /www/a/domaincom/htdocs/includes/sentinel.php on line 46

What could that be ? The rest of the system seems to work perfect!
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15210
Location: Kansas

PostPosted: Tue Feb 01, 2005 8:13 pm Reply with quote Back to top

Have you moved your config.php?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
ditmar
New Member
New Member


Joined: Feb 01, 2005
Posts: 4

PostPosted: Wed Feb 02, 2005 4:51 am Reply with quote Back to top

Raven wrote:
Have you moved your config.php?


The config file is in the normal directory together with admin.php, banners.php etc. It's weird because everything else in the admin works perfectly fine.
View user's profile Send private message
chatserv
The Mouse Is Extension Of Arm


Joined: May 02, 2003
Posts: 1393

PostPosted: Wed Feb 02, 2005 8:57 am Reply with quote Back to top

If you have applied the recent $forum_admin fix remember two additional changes are required if using NukeSentinel:
On includes/sentinel.php find:
Code:
if ($forum_admin == 1) {

Change to:
Code:
if (defined('FORUM_ADMIN')) {

and on mainfile.php find:
Code:
   if ($forum_admin == 1) {
       include_once("../../../includes/sentinel.php");
   } elseif ($inside_mod == 1) {
       include_once("../../includes/sentinel.php");
   } else {
       include_once("includes/sentinel.php");
   }

Change to:
Code:
if (defined('FORUM_ADMIN')) {
   include("../../../includes/sentinel.php");
} elseif ($inside_mod == 1) {
   include("../../includes/sentinel.php");
} else {
   include("includes/sentinel.php");
}
View user's profile Send private message Visit poster's website
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2363

PostPosted: Wed Feb 02, 2005 10:47 am Reply with quote Back to top

The same applies to CNB YA. Being the lazy sort I just put em in the same place.
View user's profile Send private message
ditmar
New Member
New Member


Joined: Feb 01, 2005
Posts: 4

PostPosted: Wed Feb 02, 2005 12:10 pm Reply with quote Back to top

Thanks a lot ! Works great !
View user's profile Send private message
ditmar
New Member
New Member


Joined: Feb 01, 2005
Posts: 4

PostPosted: Wed Feb 02, 2005 12:10 pm Reply with quote Back to top

sixonetonoffun wrote:
The same applies to CNB YA. Being the lazy sort I just put em in the same place.


CNB YA ?
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15210
Location: Kansas

PostPosted: Wed Feb 02, 2005 1:24 pm Reply with quote Back to top

Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
uraz
New Member
New Member


Joined: Feb 12, 2005
Posts: 2

PostPosted: Sat Feb 12, 2005 11:07 am Reply with quote Back to top

your solution is not worked for me Sad

I solved the similar problem with some copy-paste works
copy the root/config.php file and root/db folders into includes directory
then create a language folder put sentinel language folder in it
copy the folder into includes directory Idea

everythings works fine Wave
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15210
Location: Kansas

PostPosted: Sat Feb 12, 2005 1:40 pm Reply with quote Back to top

As long as it works, but, if that's what you had to do, you have something really wrong.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2363

PostPosted: Sat Feb 12, 2005 2:09 pm Reply with quote Back to top

I've been on some hosts that wouldn't allow includes from anywhere but the webroot/includes directory. But I didn't stay on with them long.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum