Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NSN Other
Author Message
phoenix-cms
Worker
Worker



Joined: Aug 05, 2005
Posts: 139

PostPosted: Thu Aug 17, 2006 3:38 pm Reply with quote

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 Wink

_________________
Evo 3.0 Developer & nukecops.com Admin
Image
coming soon www.www.cmsrevolution.com Smile 
View user's profile Send private message Send e-mail
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Fri Aug 18, 2006 6:52 am Reply with quote

Since this is a NSN script, I have moved your thread to its rightful place.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
phoenix-cms







PostPosted: Sat Aug 19, 2006 10:39 pm Reply with quote

think i have it all solved, once i fully tested this will post up code changes then bob or raven can do patch release Smile

Steve
 
pcnuke
Hangin' Around



Joined: Feb 21, 2005
Posts: 39
Location: Cybertoria

PostPosted: Sun Aug 27, 2006 4:31 am Reply with quote

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

_________________
www.pcnuke.com - currently in LIMBO 
View user's profile Send private message
phoenix-cms







PostPosted: Sat Sep 16, 2006 10:19 am Reply with quote

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
Wink
 
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Mon Nov 20, 2006 3:21 am Reply with quote

Did you ever manage to resolve this problem?

I've just installed NSN Project and I am experiencing the same problems. Sad
 
View user's profile Send private message
jakec







PostPosted: Mon Nov 20, 2006 7:54 am Reply with quote

I thought I would a have look myself for this missing 'global', but I'm not particulary PHP literate. Embarassed 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? Confused
 
jakec







PostPosted: Mon Nov 20, 2006 3:36 pm Reply with quote

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. Very Happy
 
pcnuke







PostPosted: Wed Dec 13, 2006 1:28 pm Reply with quote

jakec

You can incorp an earlier version of workboard which doesnt effect other modules within nuke, read this:

http://www.max.pcnuke.com/modules.php?name=Forums&file=viewtopic&t=1866

pcn
 
jakec







PostPosted: Thu Dec 14, 2006 7:25 am Reply with quote

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. Confused

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: 6437

PostPosted: Thu Feb 28, 2008 3:39 pm Reply with quote

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.

_________________
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
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Thu Feb 28, 2008 3:49 pm Reply with quote

Or even better, change it to this:

Code:


list( , $admins) = $db->sql_fetchrow($query);

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NSN Other

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 ©