Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
jackel
Worker
Worker



Joined: Jan 15, 2009
Posts: 145
Location: Iowa, USA

PostPosted: Thu Feb 26, 2009 5:32 pm Reply with quote

When editing the core file like it ask mainfile.php thats in the root dir right?

I added the tags like it request and it crash's the site ?

It says the module is not config correctly and i went through the installer also and just says everything was done correctly but it doesn't work

any idea's

Thanks
Chris
 
View user's profile Send private message
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Thu Feb 26, 2009 11:37 pm Reply with quote

You need to be a little more descriptive then "it didn't work". What do you mean that it crashes the site when you do the edits? Maybe a screen shot.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
jackel







PostPosted: Fri Feb 27, 2009 9:31 am Reply with quote

jackel wrote:


It says the module is not config correctly and i went through the installer also and just says everything was done correctly but it doesn't work

Also when editing the mainfile.php < after doing this it crashes


#
#-----[ OPEN ]------------------------------------------
#
mainfile.php

#
#-----[ FIND ]------------------------------------------
#
?>

#
#-----[ BEFORE, ADD ]------------------------------------------
#

include_once(INCLUDE_PATH."includes/nsnpj_func.php");
 
Palbin







PostPosted: Fri Feb 27, 2009 9:40 am Reply with quote

So this is all you are putting in mainfile.php and it crashes?

Code:


include_once(INCLUDE_PATH."includes/nsnpj_func.php");


If this is what you are doing and it still crashes try reuploading nsnpj_func.php
 
Palbin







PostPosted: Fri Feb 27, 2009 9:43 am Reply with quote

Also turn error reporting on in rnconfig.php and see if you get any errors.
 
jackel







PostPosted: Fri Feb 27, 2009 9:46 am Reply with quote

I have reuploaded everything and yes just like the instructions say put
Code:
include_once(INCLUDE_PATH."includes/nsnpj_func.php");
before
Code:
?>



if im doing it right that tag is the very last line right? and to make sure it's talking about the mainfile.php in the root folder right ?
 
Palbin







PostPosted: Fri Feb 27, 2009 11:10 am Reply with quote

Yes. When you do the edit do you just get a white page or what?
 
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Fri Feb 27, 2009 2:24 pm Reply with quote

Put it a line before.
The original version worked for me in a previous RN version without such issues. I just don´t have this site anymore.
 
View user's profile Send private message
duck
Involved
Involved



Joined: Jul 03, 2006
Posts: 273

PostPosted: Fri Feb 27, 2009 4:16 pm Reply with quote

I would try removing INCLUDE_PATH. from the line.
 
View user's profile Send private message
eldorado
Involved
Involved



Joined: Sep 10, 2008
Posts: 424
Location: France,Translator

PostPosted: Fri Feb 27, 2009 5:07 pm Reply with quote

or remove includes/ instead.
 
View user's profile Send private message Visit poster's website MSN Messenger
testy1
Involved
Involved



Joined: Apr 06, 2008
Posts: 484

PostPosted: Fri Feb 27, 2009 6:48 pm Reply with quote

which version of nuke/ravennuke do you have?

try this

Code:


include_once(NUKE_INCLUDE_DIR."/nsnpj_func.php");


also try the following

File: modules/Projects/admin/index.php

Find:
Code:


$modname = basename(str_replace("admin", "", dirname(__FILE__)));



Replace With:
Code:


$modname = 'Projects';
 
View user's profile Send private message
Palbin







PostPosted: Fri Feb 27, 2009 7:00 pm Reply with quote

testy1 wrote:
which version of nuke/ravennuke do you have?


Good question. I didn't even realize this wasn't in 2.3 forums Embarassed
 
jackel







PostPosted: Sun Mar 01, 2009 1:23 pm Reply with quote

Palbin wrote:
Yes. When you do the edit do you just get a white page or what?


yes just a white page
 
jackel







PostPosted: Sun Mar 01, 2009 1:24 pm Reply with quote

[quote="testy1"]which version of nuke/ravennuke do you have? [/qoute]

2.3
 
Palbin







PostPosted: Sun Mar 01, 2009 2:29 pm Reply with quote

I'm doing a fresh install today and I will try this.
 
jackel







PostPosted: Mon Mar 02, 2009 9:40 am Reply with quote

ok
thanks again for everyones help
 
jackel







PostPosted: Mon Mar 02, 2009 11:30 am Reply with quote

testy1 wrote:
which version of nuke/ravennuke do you have?

try this


Code:


include_once(NUKE_INCLUDE_DIR."/nsnpj_func.php");



This code Fixed it thanks
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

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 ©