Author |
Message |
Themis
Worker


Joined: Nov 17, 2003
Posts: 131
|
Posted:
Wed Nov 10, 2004 12:24 am |
|
I've tried to put in some new modules and no matter how simple they are, they are not being detected when I go to turn them on in admin. Is there a fix for this?
Thanks in advance. |
_________________ Shonierose
Shonie's Retreat
www.shonie.com |
|
|
 |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Wed Nov 10, 2004 7:06 am |
|
|
|
 |
Themis

|
Posted:
Wed Nov 10, 2004 8:46 am |
|
Aye and have been using it for about a year now. ;p Does if you know exactly what to search for I guess. I have been searching for more than a couple weeks now. Oh April, maybe I just didn't go far enough back. Thanks and I'll give it a try. ohh in 6.9 haven't looked there for awhile. ;p |
|
|
|
 |
hitwalker

|
Posted:
Wed Nov 10, 2004 9:05 am |
|
well its a common error...
just give it a try... |
|
|
|
 |
Themis

|
Posted:
Wed Nov 10, 2004 9:10 am |
|
Did and it isn't showing them yet. :/ But it was as stated in that post.
Somthing had changed my Tables for Nuke.
sql_query("insert into ".$prefix."_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1',)"
had to be changed to
sql_query("insert into ".$prefix."_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1', '0')", $dbi);
in admin/modules/modules.php
First time I took off the , $dbi); and got a parse error. So I went and added that part back on. Now I can see the module section in admin again but the new are not showing up. |
|
|
|
 |
hitwalker

|
Posted:
Wed Nov 10, 2004 9:19 am |
|
well as i understand it your having the same problem a lot had..
change it with this one...
Code:
$db->sql_query("insert into ".$prefix."_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1', '0')", $dbi);
|
|
|
|
|
 |
Themis

|
Posted:
Wed Nov 10, 2004 9:37 am |
|
title='$modlist[$i]'", $dbi);
list ($mid) = sql_fetch_row($result, $dbi);
$mid = intval($mid);
if ($mid == "") {
$db->sql_query("insert into ".$prefix."_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1', ,'0')", $dbi);
}
Done and still can't see them :/ *sigh* Time for work, I'll check at lunch. Thanks for your help hitwalker and I like your site by the way. YOu know me as Shonierose there  |
|
|
|
 |
hitwalker

|
Posted:
Wed Nov 10, 2004 9:41 am |
|
ahh hi there,....ha....ha....
well thats bad news cause we just covered the problem that usualy is responsible for not showing newly added modules...
but perhaps you can give more info at lunch ...like nuke version ?...whats the name of mod that doesnt show..... |
|
|
|
 |
Themis

|
Posted:
Wed Nov 10, 2004 10:02 am |
|
I have Raven's distro 7.0 And none of the ones I've tried to add have shown up at all.
I've tried several, some that I want and a couple that were just the simplest upload to test. Nothing is showing. |
|
|
|
 |
hitwalker

|
Posted:
Wed Nov 10, 2004 1:06 pm |
|
well thats weird....
the only error i ever read about was what we just posted here... |
|
|
|
 |
Themis

|
Posted:
Sun Nov 14, 2004 10:22 am |
|
Sorry work's been keeping me busy. But last night I replaced every file I could find that has to do with modules with a fresh one of Raven's distro 7.0. While I managed to finally get rid of the CZM module thing, I still am not getting new modules detected.
Is there something in mysql I should change as well?? Really trying to fix this myself. ;p |
|
|
|
 |
hitwalker

|
Posted:
Sun Nov 14, 2004 10:29 am |
|
well maybe you should address this now to raven....
we covered the few things know that can cause it.... |
|
|
|
 |
Themis

|
Posted:
Sun Nov 14, 2004 3:14 pm |
|
Darn Well thanks for your help anyways, Hitwalker. Afraid I can't afford Raven for a few more weeks.
Anyone else have any ideas? |
|
|
|
 |
hitwalker

|
Posted:
Sun Nov 14, 2004 3:24 pm |
|
well i think if you ask nice ...just send a pm for some assistance on this...
but are you sure all is ok in your db ? |
|
|
|
 |
sixonetonoffun
Spouse Contemplates Divorce

Joined: Jan 02, 2003
Posts: 2496
|
Posted:
Sun Nov 14, 2004 3:51 pm |
|
Edit: wrong version dump.
But anyway try using the info in the sql file you downloaded to drop and recreate the table nuke_modules. Be sure to back it up first. |
_________________ [b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 |
|
|
 |
hitwalker

|
Posted:
Sun Nov 14, 2004 3:56 pm |
|
what i would like you to do is to take out a module and then put it back again...
(try that with a mod you dont use) |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sun Nov 14, 2004 8:47 pm |
|
Themis wrote: | Darn Well thanks for your help anyways, Hitwalker. Afraid I can't afford Raven for a few more weeks.
Anyone else have any ideas? | I am hurt I don't charge for answering questions; although that is an interesting idea  |
|
|
|
 |
sixonetonoffun

|
Posted:
Tue Nov 16, 2004 7:02 am |
|
|
|
 |
Themis

|
Posted:
Thu Nov 18, 2004 1:25 pm |
|
OMG OMG!! I fixed it!!! And sorry work has been hectic again. I didn't see these new posts. Mostly because everytime I've been here, I've been searching, searching, searching ;p
Anyways, this morning I pulled up Raven's Sql file and put them side by side. Turns out there was an extra line under :
CREATE TABLE nuke_modules (
mid int(10) NOT NULL auto_increment,
title varchar(255) NOT NULL default '',
custom_title varchar(255) NOT NULL default '',
active int(1) NOT NULL default '0',
view int(1) NOT NULL default '0',
inmenu tinyint(1) NOT NULL default '1',
mod_group int(10) default '0',
PRIMARY KEY (mid),
KEY mid (mid),
KEY title (title),
KEY custom_title (custom_title)
) TYPE=MyISAM;
Afer the mod_group section there was another called mcid........something to that effect. Had a default of 1. At the time I was looking at the defaults to see a difference. I noticed that the mcid line wasn't in Raven's so I held my breath and shut my eyes and dropped it.
Ta Dah!!!!
I can see the modules I have added now!
And lol Raven!! I was afraid you really were going to get the house this time
Just goes to show that something is sinking in from all my searching and crawling around here  |
|
|
|
 |
Themis

|
Posted:
Thu Nov 18, 2004 1:25 pm |
|
oops double posted some how.
Here is one more question, though maybe it belongs somewhere else.
I finally feel brave enough to active Ravens, mysql utility. Howerver I can't figure out the right way to put in the local host part. I have tried leoht@localhost, local@localhost and a variety of other things.
I've gone from apache errors to now it saying : I was unable to connect to MySQL. My SQL said:
This is my current try:
$link = @mysql_connect("$leoht@localhost", leaving off the password and id part. |
Last edited by Themis on Thu Nov 18, 2004 1:55 pm; edited 1 time in total |
|
|
 |
Raven

|
Posted:
Thu Nov 18, 2004 1:29 pm |
|
And you were so excited you had to post twice
Congrats!! |
|
|
|
 |
Themis

|
Posted:
Thu Nov 18, 2004 1:57 pm |
|
ugg yep Edited it............maybe you will catch the new question? |
|
|
|
 |
Raven

|
Posted:
Thu Nov 18, 2004 3:50 pm |
|
It should be the same as what is in your nuke config.php. The username and password would be the same too. |
|
|
|
 |
|