PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
phoenix-cms
Worker
Worker


Joined: Aug 05, 2005
Posts: 139

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

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
View user's profile Send private message Send e-mail
montego
Site Admin


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

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

Since this is a NSN script, I have moved your thread to its rightful place.
View user's profile Send private message Visit poster's website
phoenix-cms
Worker
Worker


Joined: Aug 05, 2005
Posts: 139

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

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
View user's profile Send private message Send e-mail
pcnuke
Hangin' Around


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

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

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
View user's profile Send private message Visit poster's website
phoenix-cms
Worker
Worker


Joined: Aug 05, 2005
Posts: 139

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

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
View user's profile Send private message Send e-mail
jakec
Moderator


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

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

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
Moderator


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

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

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
View user's profile Send private message
jakec
Moderator


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

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

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
View user's profile Send private message
pcnuke
Hangin' Around


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

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

jakec

You can incorp an earlier version of workboard which doesnt effect other modules within nuke, read this:
Only registered users can see links on this board!
Get registered or login to the forums!


pcn
View user's profile Send private message Visit poster's website
jakec
Moderator


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

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

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.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4887

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

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.
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


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

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

Or even better, change it to this:

Code:

list( , $admins) = $db->sql_fetchrow($query);
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum