Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro
Author Message
Troll
Regular
Regular



Joined: Jan 31, 2006
Posts: 53

PostPosted: Fri Mar 10, 2006 9:29 pm Reply with quote

I install a few modules and it dosnt show up in Modules Administration I thought it was an addon I was useing called "Tweak" but I uninstaled it and they are still not showing up.
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6433

PostPosted: Fri Mar 10, 2006 9:52 pm Reply with quote

Did you also install a URL rewriter like GT-NexGen or GoogleTap?

_________________
I search, therefore I exist...
nukeSEO - nukeFEED - nukePIE - nukeSPAM - nukeWYSIWYG
 
View user's profile Send private message
Troll







PostPosted: Fri Mar 10, 2006 9:55 pm Reply with quote

nope
 
kguske







PostPosted: Fri Mar 10, 2006 10:17 pm Reply with quote

Check your error logs, and have a peek at your modules table. It might be corrupt and / or need repair.
 
Troll







PostPosted: Fri Mar 10, 2006 10:22 pm Reply with quote

No errors are coming up.

I have cheked the tables agains another site just like it thats not having this problem. And nothing looks amiss
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Fri Mar 10, 2006 11:19 pm Reply with quote

What version are you using? Any addons? Please use phpMyAdmin and post the structure of your modules table

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
Troll







PostPosted: Fri Mar 10, 2006 11:36 pm Reply with quote

mid title custom_title active view groups inmenu mod_group admins mcid
1 AvantGo AvantGo 1 0 1 0 1
2 Content Content 1 1 1 0 4
3 Downloads Library 1 1 1 0 4
4 Encyclopedia Encyclopedia 1 0 1 0 4
5 FAQ FAQ 1 0 1 0 4
6 Feedback Feedback 1 1 1 0 4
7 Forums Forums 1 0 1 0 2
8 Groups Groups 1 0 1 0 1
9 Journal Journal 1 1 1 0 4
10 Members_List Members List 1 1 1 0 1
11 News News 1 0 1 0 1
12 NukeSentinel NukeSentinel 1 2 0 0 1
13 Private_Messages Private Messages 1 0 1 0 2
14 Recommend_Us Recommend Us 1 0 1 0 1
15 Reviews Reviews 1 1 1 0 3
16 rwsMetAuthors Articles & Authors 1 1 1 0 4
17 Search Search 1 0 1 0 4
18 Statistics Statistics 1 2 0 0 1
19 Stories_Archive Stories Archive 1 1 1 0 4
20 Submit_News Submit News 1 1 1 0 4
21 Surveys Surveys 1 0 1 0 1
22 Top Top 10 1 1 1 0 4
23 Topics Topics 1 1 1 0 4
24 Web_Links Web Links 1 1 1 0 4
25 Your_Account Your Account 1 0 1 0 1
31 Amazon Amazon 1 0 1 0 1
37 Fungames Fungames 1 0 1 0 3
42 Shout_Box Shout_Box 1 0 1 0 2
47 Internet_Radio3 Radio 1 0 1 0 3
52 Funvideos Funvideos 1 0 1 0 3

IM assuming this is the version info you want

PHP version 5.0.5
MySQL version 4.0.25-standard
 
evaders99







PostPosted: Sat Mar 11, 2006 12:54 am Reply with quote

Well no, I meant your phpNuke version. But since you posted in the RavenNuke 2.x area, I'm guessing you're using that.

mcid is not used in standard phpNuke. I'm not sure what its for, its not in the original RavenNuke sql
 
Troll







PostPosted: Sat Mar 11, 2006 7:59 am Reply with quote

rwsRavenNuke76_v2.02.00_FULL is the version im useing

I still think its Tweak that giving me the troubles

Tweaked by ArtificialIntel Tweak Copyright (c) 2003 by ArtificialIntel [ Only registered users can see links on this board! Get registered or login! ]
affiliated with [ Only registered users can see links on this board! Get registered or login! ]

It is designed to put everything in the menu mod bloack in to catagories. When I went to go chage it out. I replaced the block-module (in blocks), case.modules, modules (in admin) with the original files and removed the nuke_modules_categories from the tables.
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Sat Mar 11, 2006 10:14 am Reply with quote

Wait a moment.........
You *replaced* the modules.php file in the admin folder?
If so, that is the problem.

It seems from your posts that the modules are not updating because there is a discrepancy between the fields in the nuke_modules table and the update sql post which is stored in the admin/modules/modules.php file

RavenNuke uses a version of NSN Groups so the sql statement in that file had to be altered to incorporate the field the script added in nuke_modules table.
By replacing that file, you lost that field so the two are now out of synch.
If you look at the sql statement in that file it should look like
Code:
$db->sql_query("insert into " . $prefix . "_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '', '1', '0', '')");

You will need to compare this sql statement with the one you know have or post the one you are using so we can post a correction for it.
 
View user's profile Send private message Send e-mail
Troll







PostPosted: Sat Mar 11, 2006 10:32 am Reply with quote

Looking in the file as you asked and this is what I find

Code:
$db->sql_query("insert into " . $prefix . "_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '', '1', '0', '')");


As I have stated. I had removed the Tweak version and replaced it with the original.
 
montego
Site Admin



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

PostPosted: Sat Mar 11, 2006 1:52 pm Reply with quote

Troll, If you compare the number of fields in your table (I counted Cool above and the number of fields in this query -- 9 -- you indeed have a mismatch. Did this "Tweak" mod you referenced above alter or replace your nuke_modules table? Sure looks like it may have. Please post the structure (not data) this time of that table here so we can tell you how to fix it.

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
Troll







PostPosted: Sat Mar 11, 2006 2:20 pm Reply with quote

Field Type Attributes Null Default Extra Action
mid int(10) No auto_increment
title varchar(255) No
custom_title varchar(255) No
active int(1) No 0
view int(1) No 0
groups text No
inmenu tinyint(1) No 1
mod_group int(10) Yes 0
admins varchar(255) No
mcid int(11) No 1
Check All / Uncheck All With selected:



--------------------------------------------------------------------------------
Print view Propose table structure

Add field(s) At End of Table At Beginning of Table After mid title custom_title active view groups inmenu mod_group admins mcid

--------------------------------------------------------------------------------
Indexes:
Keyname Type Cardinality Action Field
PRIMARY PRIMARY 31 mid
title INDEX 31 title
custom_title INDEX 31 custom_title
Create an index on columns
Space usage:
Type Usage
Data 1,324 Bytes
Index 6,144 Bytes
Total 7,468 Bytes
Row Statistics:
Statements Value
Format dynamic
Rows 31
Row length ø 42
Row size ø 241 Bytes
Next Autoindex 61
Creation Feb 24, 2006 at 10:58 AM
Last update Mar 10, 2006 at 09:13 PM
Last check Mar 10, 2006 at 09:13 PM
 
montego







PostPosted: Sat Mar 11, 2006 7:03 pm Reply with quote

Ok, now this structure has 10 fields in it! Cool... we have everything from 8 - 10 fields! If you want to get back to the standard RavenNuke76 distro, remove the *mcid* field that is at the end of your nuke_modules table. That was definitely added by your "hack".

If you are wanting to try the hack again, you will need to modify that hack to be aware of the extra "groups" field that is in the RN76 distro.

Otherwise, stick with RN76!
 
Troll







PostPosted: Sat Mar 11, 2006 7:06 pm Reply with quote

mcid comes from Membership Application...The one you all are advertising on the front page.

BTW that worked

Thank you
 
montego







PostPosted: Sat Mar 11, 2006 7:26 pm Reply with quote

Quote:

The one you all are advertising on the front page


What Raven advertises has nothing to do with me or the other admins. Sorry, was not aware of that. You started this thread out pointing us to a "tweak"... <sigh>

The problem is still the same. You had a mismatch between the INSERT statement and the database structure. If you want all this to work together, you have to potentially fix some code. With this added membership application is going to require you to rationalize the differences.

As I look at the posts again, it just looks to me like the *mcid* field is missing at the end of the INSERT statement in admin/modules/modules.php. I am thinking that you missed an update as a part of that Membership application.
 
Troll







PostPosted: Sat Mar 11, 2006 7:39 pm Reply with quote

The only reason I thought it was Tweak, because i was following the logic that, It effects the module admin as well as that block module. I never could get membership application to work but it was version 2 and i had been searching for 3 that had came out last month.

Im sorry if you took my "you all" as fingure pointing.

I do love this prduct I use this and platunim..but platinum has its limitations. With Raven I know that the site is on a good firm foundation. I just add a few thing to make my clients happy
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro

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 ©