Author |
Message |
akky
Regular


Joined: Feb 18, 2006
Posts: 87
|
Posted:
Sun Feb 19, 2006 9:11 am |
|
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 |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Thu Feb 23, 2006 12:56 am |
|
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. |
|
|
|
 |
akky

|
Posted:
Thu Feb 23, 2006 12:00 pm |
|
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

|
Posted:
Thu Feb 23, 2006 12:38 pm |
|
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

|
Posted:
Thu Feb 23, 2006 1:51 pm |
|
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
|
Posted:
Thu Feb 23, 2006 7:24 pm |
|
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! |
|
|
 |
fidjetguy
New Member


Joined: Feb 18, 2006
Posts: 6
|
Posted:
Thu Feb 23, 2006 9:24 pm |
|
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 |
|
|
|
 |
fidjetguy

|
Posted:
Thu Feb 23, 2006 9:35 pm |
|
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.  |
|
|
|
 |
kguske

|
Posted:
Thu Feb 23, 2006 10:23 pm |
|
Thanks for following up! And, I'm happy you resolved it... |
|
|
|
 |
akky

|
Posted:
Fri Feb 24, 2006 1:20 pm |
|
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

|
Posted:
Fri Feb 24, 2006 1:28 pm |
|
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

|
Posted:
Fri Feb 24, 2006 1:39 pm |
|
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

|
Posted:
Fri Feb 24, 2006 7:55 pm |
|
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.  |
|
|
|
 |
|