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 v7.0 Customized Distro
Author Message
Themis
Worker
Worker



Joined: Nov 17, 2003
Posts: 131

PostPosted: Wed Nov 10, 2004 12:24 am Reply with quote

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 
View user's profile Send private message Visit poster's website AIM Address
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Wed Nov 10, 2004 7:06 am Reply with quote

yes a few thousand i think....
but ravens forum search works realy great....
perhaps this will solve it...
http://www.ravenphpscripts.com/postt1308.html
 
View user's profile Send private message
Themis







PostPosted: Wed Nov 10, 2004 8:46 am Reply with quote

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







PostPosted: Wed Nov 10, 2004 9:05 am Reply with quote

well its a common error...
just give it a try...
 
Themis







PostPosted: Wed Nov 10, 2004 9:10 am Reply with quote

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







PostPosted: Wed Nov 10, 2004 9:19 am Reply with quote

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







PostPosted: Wed Nov 10, 2004 9:37 am Reply with quote

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 Wink
 
hitwalker







PostPosted: Wed Nov 10, 2004 9:41 am Reply with quote

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







PostPosted: Wed Nov 10, 2004 10:02 am Reply with quote

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







PostPosted: Wed Nov 10, 2004 1:06 pm Reply with quote

well thats weird....
the only error i ever read about was what we just posted here...
 
Themis







PostPosted: Sun Nov 14, 2004 10:22 am Reply with quote

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







PostPosted: Sun Nov 14, 2004 10:29 am Reply with quote

well maybe you should address this now to raven....
we covered the few things know that can cause it....
 
Themis







PostPosted: Sun Nov 14, 2004 3:14 pm Reply with quote

Darn Sad Well thanks for your help anyways, Hitwalker. Afraid I can't afford Raven for a few more weeks. Bang Head Crying or Very sad

Anyone else have any ideas?
 
hitwalker







PostPosted: Sun Nov 14, 2004 3:24 pm Reply with quote

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

PostPosted: Sun Nov 14, 2004 3:51 pm Reply with quote

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







PostPosted: Sun Nov 14, 2004 3:56 pm Reply with quote

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

PostPosted: Sun Nov 14, 2004 8:47 pm Reply with quote

Themis wrote:
Darn Sad Well thanks for your help anyways, Hitwalker. Afraid I can't afford Raven for a few more weeks. Bang Head Crying or Very sad

Anyone else have any ideas?
I am hurt Sad I don't charge for answering questions; although that is an interesting idea ROTFL
 
View user's profile Send private message
sixonetonoffun







PostPosted: Tue Nov 16, 2004 7:02 am Reply with quote

Themis any progress?
 
Themis







PostPosted: Thu Nov 18, 2004 1:25 pm Reply with quote

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

Ta Dah!!!! Groovy Dance-Y

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 Cheers
Just goes to show that something is sinking in from all my searching and crawling around here worship
 
Themis







PostPosted: Thu Nov 18, 2004 1:25 pm Reply with quote

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







PostPosted: Thu Nov 18, 2004 1:29 pm Reply with quote

And you were so excited you had to post twice ROTFL

Congrats!!
 
Themis







PostPosted: Thu Nov 18, 2004 1:57 pm Reply with quote

ugg yep Edited it............maybe you will catch the new question?
 
Raven







PostPosted: Thu Nov 18, 2004 3:50 pm Reply with quote

It should be the same as what is in your nuke config.php. The username and password would be the same too.
 
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 v7.0 Customized 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 ©