Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
akky
Regular
Regular



Joined: Feb 18, 2006
Posts: 87

PostPosted: Sun Feb 19, 2006 9:11 am Reply with quote

edited
Hi,

I've just installed NukeProject. The icon appears in the admin console fine.

However, after clicking it it gives me a blank page.

After doing some searching I have found that Sentinal sometimes causing problems with added modules.

I'm using the raven version as below

- phpNuke v7.6
- Forums upgraded to 2.0.19
- PatchLevel 3.1 (as of 11/22/2005)
- NukeSentinel(tm) v2.4.2pl2


Any clues on the blank page, I'm sure it is something I've missed, but ive reinstalled and still the same

I'm running on a devbox so i'm unable to post url


TIA

Akky
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Thu Feb 23, 2006 12:56 am Reply with quote

How have you proven that NukeSentinel(tm) is causing problems? I add modules all the time and have yet to experience the issues that you describe. If your modules are not up to the patch level 2.9 or higher, then your module may well be the problem.
 
View user's profile Send private message
akky







PostPosted: Thu Feb 23, 2006 12:00 pm Reply with quote

thx for the reply Raven,

I've not proven that it is NukeSentinel(tm) causing the problem, it was just having read various threads around blank pages and whether or not sentinel was anywhere causing the issue.

The requirements for NukeProject in the readme are

'It requires PHP-Nuke 7.0 thru 7.9 plus Patched 3.1'

I'm still stumped as what to try, I'll do some more digging

thx

Akky
 
Raven







PostPosted: Thu Feb 23, 2006 12:38 pm Reply with quote

Comment out the inlcudes/nukesentinel.php line in mainfile.php and see if that clears it up. If so, then it's either a NS and/or a patch3.1 issue. If commenting it out doesn't help, then it's probably a patch 3.1 issue and/or an issue with a non-conforming addon.
 
akky







PostPosted: Thu Feb 23, 2006 1:51 pm Reply with quote

Nope, didn't work. Looks like the non-conforming addon.

Looks like I'll have to wait for the next version/fix

thanks anywayz

Akky
 
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Thu Feb 23, 2006 7:24 pm Reply with quote

Did you have to make modifications to install NukeProject? Does the module display correctly? Is the admin the only problem thus far?

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
fidjetguy
New Member
New Member



Joined: Feb 18, 2006
Posts: 6

PostPosted: Thu Feb 23, 2006 9:24 pm Reply with quote

I'm having the exact same problem with 'NukeProject_200_70-79'.. The install was easy according to the 'README' and just had to add some code in the 'mainfile.php' then run the install script. Everything seemed okay but I get a blank page after clicking on the '_PJ_TITLE' icon in the administration menu.

I'm using the latest RavenNuke also and this is the only module I've had trouble with thus far. I think it could be a problem with the module but I'm not certain. The only part of the readme I'm not quite sure on is that it says this:

"You will need to create your Project Statuses and Task Statuses thru the admin
section of the script before you can assign statuses to projects or tasks. "


What script is it referring to? I should be able to do that through the administration menu right?

thx
 
View user's profile Send private message
fidjetguy







PostPosted: Thu Feb 23, 2006 9:35 pm Reply with quote

DOH!

I'm a bonehead. I edited the 'mainfile.php' but FTP'd the backup copy (un-modified one) to my webhost. I made sure the following was added to the end of my 'mainfile.php' :

if(defined('FORUM_ADMIN')) {
include_once("../../../includes/nsnpj_func.php");
} elseif(defined('INSIDE_MOD')) {
include_once("../../includes/nsnpj_func.php");
} else {
include_once("includes/nsnpj_func.php");
}


....it works fine now. Hope this helps. Embarassed
 
kguske







PostPosted: Thu Feb 23, 2006 10:23 pm Reply with quote

Thanks for following up! And, I'm happy you resolved it...
 
akky







PostPosted: Fri Feb 24, 2006 1:20 pm Reply with quote

Raven, yes the module does display properley, albeit with nothing in there, that bits fine. However, because I can't do any admin, no projects or anything appear.

I've turned on debug and got the below

Warning: include(modules/admin/admin/PJMain.php) [function.include]: failed to open stream: No such file or directory in D:\xampp\htdocs\testsite\modules\Projects\admin\index.php on line 35

Warning: include() [function.include]: Failed opening 'modules/admin/admin/PJMain.php' for inclusion (include_path='.;D:\xampp\php\pear\') in D:\xampp\htdocs\testsite\modules\Projects\admin\index.php on line 35

It looks like the script is looking for a admin directory under modules, this part should really say projects. Line 35 does say

case "PJMain":include("modules/$modname/admin/PJMain.php");break;


wierd.......
 
Raven







PostPosted: Fri Feb 24, 2006 1:28 pm Reply with quote

modules/admin/admin/PJMain.php

has 2 admin folders in its path. that's the problem, imo. Find out where the coding error is and your problem will probably go away.
 
akky







PostPosted: Fri Feb 24, 2006 1:39 pm Reply with quote

I noticed the two admin folders, quick easy fix would be to create the folder, but its strange. The line I persume is using

("modules/$modname/admin/PJMain.php");

with $modname being the variable. Somewhere along the line this is being passed 'admin'

There is this line further up in the code, which defines $modname

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

Basically it seems to be reading this value as 'admin' from somewhere.

I suppose what I'm trying hard to figure is that it aint working for me but seems to for others

I could bodge the code, but feel that it would be better if it worked properely without amendments.

The other thought, is that once 'live' and with only absolute addresses the problem might go away.


"edit"

I changed the variable to
$modname = "projects";

and it works. It would still be good to find out why it didn't, if anyone has any clues it would be great
akky
 
fidjetguy







PostPosted: Fri Feb 24, 2006 7:55 pm Reply with quote

akky wrote:

and it works. It would still be good to find out why it didn't, if anyone has any clues it would be great
akky


Well akky, in the NukeProject I downloaded I actually had these two directories:

html (the one I am using) path: html/modules/Projects/admin/PJ###.php etc
and
html_70-74 (this one contains another 'admin' directory) path: html_70-74/admin/modules/nukeproject.php (I didn't use this at all)

Perhaps it was when you uploaded the module you might have placed another 'admin' directory under admin in root. Your archive or zip file of the module should of probably had the two directories seperate like mine did above.

Hope that might answer your question. Wink
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

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 ©