| Author |
Message |
phoenix-cms Worker


Joined: Aug 05, 2005 Posts: 139
|
Posted:
Thu Aug 17, 2006 3:38 pm |
|
hi raven and bob.
not sure if you come accross this yet so i thought i post.
nsn project module has a major glitch which effects nuke itself.
when nsn project is installed you just cant add weblinks or categories becuase it gets replaced with the name Projects
for example i tried to create a category Php-Nuke Developers
and then it says Projects already i exist i like yea and what the heck.
after searching over the weblinks module could not see anything or much in nsnpj_func.php
except a few things like the use of $config is this a reseved word for nuke and somehow it pulling the variables like title over into weblinks
many thanks
Steve  |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 7487 Location: Arizona
|
Posted:
Fri Aug 18, 2006 6:52 am |
|
Since this is a NSN script, I have moved your thread to its rightful place. |
|
|
|
 |
phoenix-cms Worker


Joined: Aug 05, 2005 Posts: 139
|
Posted:
Sat Aug 19, 2006 10:39 pm |
|
think i have it all solved, once i fully tested this will post up code changes then bob or raven can do patch release
Steve |
|
|
|
 |
pcnuke Hangin' Around

Joined: Feb 21, 2005 Posts: 36 Location: Cybertoria
|
Posted:
Sun Aug 27, 2006 4:31 am |
|
it doesnt only effect wblinks... it effects a number of areas and modules within nuke..
perhaps there are similar or exact names $whatever_name_applies - in the database tables
this is effecting
weblinks
reviews
and a few more addons
pcn |
|
|
|
 |
phoenix-cms Worker


Joined: Aug 05, 2005 Posts: 139
|
Posted:
Sat Sep 16, 2006 10:19 am |
|
there actually a missing global in the case.
i think bob has not or forgot to add the global
i update you when i can as i dont remeber off my head and not at home right now but working
Steve
 |
|
|
|
 |
jakec Moderator

Joined: Feb 06, 2006 Posts: 1853 Location: United Kingdom
|
Posted:
Mon Nov 20, 2006 3:21 am |
|
Did you ever manage to resolve this problem?
I've just installed NSN Project and I am experiencing the same problems.  |
|
|
|
 |
jakec Moderator

Joined: Feb 06, 2006 Posts: 1853 Location: United Kingdom
|
Posted:
Mon Nov 20, 2006 7:54 am |
|
I thought I would a have look myself for this missing 'global', but I'm not particulary PHP literate. Can anybody point me in the right direction?
I'm assuming it is likely to be in the includes/nsnpj_func.php file, but am I barking up the wrong tree?  |
|
|
|
 |
jakec Moderator

Joined: Feb 06, 2006 Posts: 1853 Location: United Kingdom
|
Posted:
Mon Nov 20, 2006 3:36 pm |
|
Well I dropped the NP tables and removed all the files associated with NP, which fixed the problem with the web_links, but I would like to install NP at some point.
If anybody works out how to fix this please let me know, otherwise once I know enough about PHP I'll give it another go.  |
|
|
|
 |
pcnuke Hangin' Around

Joined: Feb 21, 2005 Posts: 36 Location: Cybertoria
|
Posted:
Wed Dec 13, 2006 1:28 pm |
|
jakec
You can incorp an earlier version of workboard which doesnt effect other modules within nuke, read this:
pcn |
|
|
|
 |
jakec Moderator

Joined: Feb 06, 2006 Posts: 1853 Location: United Kingdom
|
Posted:
Thu Dec 14, 2006 7:25 am |
|
Thanks for that I'll take a look.
I'm surprised there isn't a fix for it. I see a number of the 'experts' are using this module.
I tried to figure it out myself, but I just don't know enough at the moment. |
|
|
|
 |
kguske Site Admin

Joined: Jun 04, 2004 Posts: 4887
|
Posted:
Thu Feb 28, 2008 3:39 pm |
|
Pretty simple resolution for this: in modules/Projects/admin/links.php, change this line:
| Code: | | list($title, $admins) = $db->sql_fetchrow($query); |
to this:
| Code: | | list($xtitle, $admins) = $db->sql_fetchrow($query); |
The $title variable isn't used in this script. You could also remove it from the SQL that precedes this line and remove it from the list function, too. But simply renaming it should resolve the problem. |
|
|
|
 |
Gremmie Former Moderator in Good Standing

Joined: Apr 06, 2006 Posts: 2401 Location: Iowa, USA
|
Posted:
Thu Feb 28, 2008 3:49 pm |
|
Or even better, change it to this:
| Code: |
list( , $admins) = $db->sql_fetchrow($query);
|
|
|
|
|
 |
|
|
|
|