Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)
Author Message
hozay
New Member
New Member



Joined: Dec 05, 2004
Posts: 19

PostPosted: Thu Dec 09, 2004 10:27 pm Reply with quote

hey.. Umm sentinel actually started to work... i placed a fresh copy of PHPNUKE 7.5 and sentinel... and now it stopped working :S

Well at least i get this error...

Code:
Fatal error: Call to undefined function:   include() in /home/multymu/public_html/php1/mainfile.php on line 7


Now I am not sure why and for what reason Razz

Here is my Mainfile.php

lines 1-10

Code:
<?php

if ($forum_admin == 1) {
  include("../../../includes/sentinel.php");
} elseif ($inside_mod == 1) {
  include("../../includes/sentinel.php");
} else {
  include("includes/sentinel.php");
}

# $Author: chatserv $


... Hope I can fix this problem and be back on my way :S
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Fri Dec 10, 2004 6:50 am Reply with quote

That's really strange because that's a PHP call and should be available to any and all scripts. Try commenting out that block of code and see if mainfile.php works.
 
View user's profile Send private message
Mesum
Useless



Joined: Aug 23, 2002
Posts: 213
Location: Chicago

PostPosted: Fri Dec 10, 2004 11:29 am Reply with quote

Maybe he has site installed in a sub directory? would that make a difference?

_________________
Only FREE Dating Site for Desis

Last edited by Mesum on Tue Dec 14, 2004 3:01 pm; edited 1 time in total 
View user's profile Send private message Visit poster's website
Raven







PostPosted: Fri Dec 10, 2004 11:44 am Reply with quote

No because it is saying the function include() which means it's a PHP miscue someway.
 
hozay







PostPosted: Fri Dec 10, 2004 1:33 pm Reply with quote

Ya Hey... Im sorry for the late reply... my internet was down :S

Well I did remove the code and mainfile.php worked... but now that I placed it back it wont work again... Razz Not sure exactly wats wrong... Sad

I decided to install a fresh copy also... and that one seems ok... but i cant seem to log in as god. I dont know why... i scanned for admins, it located one... .htaccess and .staccess are in the root folder... admin_auth is on but when it asks for username and pass it wont accept my god admin...

I dont know whats going on :S
 
Raven







PostPosted: Fri Dec 10, 2004 3:47 pm Reply with quote

I am totally perplexed with this one! Comment it out again and only use this line. Hand key it in, don't copy and paste.
include("includes/sentinel.php");
 
hozay







PostPosted: Fri Dec 10, 2004 6:39 pm Reply with quote

Ok All I did to fix it ...

is to press space bar and create a single space between the left hand side and the sentence for all the lines that were not else ... Razz
Code:


<?php
if ($forum_admin == 1) {
 include("../../../includes/sentinel.php");
} elseif ($inside_mod == 1) {
 include("../../includes/sentinel.php");
} else {
 include("includes/sentinel.php");
}


lol and it worked Very Happy Thnx for ur help :S
 
Raven







PostPosted: Fri Dec 10, 2004 7:23 pm Reply with quote

Makes absolutely no sense at all. So goes programming! I am thinking there was some kind of a funcky, invisible character somewhere.
 
hozay







PostPosted: Fri Dec 10, 2004 10:27 pm Reply with quote

lol maybe... not really sure :S Glad it works...

In a few posts I had read you had very strong feelings about PhPnuke lol and i gotta admit... its nice program... but it has been pissing me off so much... i miss the eazy good old html days lol but php is more secure...

everytime i fix one error.. there seems to be another somewhere else :S

Hey do you know how to fix this error i have?

The security code for NSNGD download module is missing... big red X not sure how to fix dat... :S Any ideas? or referals?
 
Raven







PostPosted: Fri Dec 10, 2004 10:39 pm Reply with quote

[ Only registered users can see links on this board! Get registered or login! ]
 
hozay







PostPosted: Sat Dec 11, 2004 12:25 am Reply with quote

Hey... ya thnx for the help.. but no... i cant figure the answer to this problem Sad

Security code missing for NSNGD downloads... i tink its seperate from nuke.. because nuke one is ok :S
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©