You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 65 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Menu Category Mod [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Stevek
Nuke Soldier
Nuke Soldier


Joined: Jul 04, 2003
Posts: 12


PostPosted: Sun Aug 24, 2003 11:27 am Reply with quoteBack to top

I have installed and used this mod on 6.5 with no problems but it appears to have a prob with 6.8 for some reason. The Author says he has no idea or maybe he just isnt interested I dont know but I really would like to use this, CAN SOMEONE HELP PLEASE ???

Once installed it will not allow you to see the currently installed modules from admin so you can add them to the categorys you set. I also get this error message.

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /www/www.mysite.com/htdocs/includes/sql_layer.php on line 286 .

It can be dloaded here http://www.nukecops.com/downloads-file-16.html

Many Thanks Peeps.
Find all posts by StevekView user's profileSend private message
Hadron
Corporal
Corporal


Joined: Aug 20, 2003
Posts: 61


PostPosted: Sun Aug 24, 2003 2:07 pm Reply with quoteBack to top

99% of the time when you get a argument isn't valid the problem is the query that is being plugged into the argument. Around nuke 6.5 a new sql abstraction layer was implemented with the prior version (that your mod uses) being deprecated (ending support).

I don't have nuke 6.8 installed, but most likely your problem is:

A.) The sql_query("SELECT..."); line is referring to bad sql tables or field names

B.) You don't have the "old" sql_layer in your 6.8 install.

--Hadron
Find all posts by HadronView user's profileSend private message
Stevek
Nuke Soldier
Nuke Soldier


Joined: Jul 04, 2003
Posts: 12


PostPosted: Mon Aug 25, 2003 4:15 am Reply with quoteBack to top

The Author has it running on 6.8 but he reckons he has made no changes. I have a fresh install of 6.8 and i cant get it to work. Stuffs me how it works on my 6.5 and not 6.8 but does on his, I reckon he is pullin my chain.
Find all posts by StevekView user's profileSend private message
Hadron
Corporal
Corporal


Joined: Aug 20, 2003
Posts: 61


PostPosted: Mon Aug 25, 2003 8:18 am Reply with quoteBack to top

Tou could always turn on debugging in the sql abstraction layer, but it could make your page pretty ugly for other users if they hit errors while you are doing the debugging. Wink Just make $sql_debug = 1; in the sql_query function in sql_layer.php, which is in your includes folder.

For a less annoying method for your users, my suggestion would be to insert an echo statement just above any '$result = sql_query("SELECT...' type statements (preferably one at a time so you can find the offender easily). For example:

Code:

echo "select mid from ".$prefix."_modules where title='$modlist[$i]'<br>";
$result = sql_query("select mid from ".$prefix."_modules where title='$modlist[$i]'", $dbi);


Then try and load the page. Youll see the echo statement and then you can copy/paste it into an SQL query box in phpMyAdmin and see what error results. Sometimes you don't even need to do that as you can see the error from the echo.

--Hadron
Find all posts by HadronView user's profileSend private message
Stevek
Nuke Soldier
Nuke Soldier


Joined: Jul 04, 2003
Posts: 12


PostPosted: Mon Aug 25, 2003 8:50 pm Reply with quoteBack to top

Mmmm Since I am No Whiz at this stuff I wont play with that last suggestion but thanks for your reply.
If the Author would only assist it would probably be fixed in a few secs, he would be the only one that I have found not willing to assist someone who doesnt know alot about php programming. The rest of you guys ROCK !!
Find all posts by StevekView user's profileSend private message
Stevek
Nuke Soldier
Nuke Soldier


Joined: Jul 04, 2003
Posts: 12


PostPosted: Thu Aug 28, 2003 4:20 pm Reply with quoteBack to top

Ok guys here is the solutiuon to our problems.

This little suqer will do what we want and you can order the options as you wish, also you can throw offsite entries into the menu. This one rocks !!!!

Get it from here

http://www.serendipity-inc.co.uk/community/modules.php?name=siDownload&action=download&lid=322

Have fun
Steve

P.S. Would be a nice feature for Nuke7 would it not ?
Find all posts by StevekView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.166 Seconds - 176 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::