PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
Themis
Worker
Worker


Joined: Nov 17, 2003
Posts: 131

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

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.
View user's profile Send private message Visit poster's website AIM Address
persona_non_grata



Joined:
Posts: 0

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

yes a few thousand i think....
but ravens forum search works realy great....
perhaps this will solve it...
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
Themis
Worker
Worker


Joined: Nov 17, 2003
Posts: 131

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

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
View user's profile Send private message Visit poster's website AIM Address
persona_non_grata



Joined:
Posts: 0

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

well its a common error...
just give it a try...
View user's profile Send private message
Themis
Worker
Worker


Joined: Nov 17, 2003
Posts: 131

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

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.
View user's profile Send private message Visit poster's website AIM Address
persona_non_grata



Joined:
Posts: 0

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

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);
View user's profile Send private message
Themis
Worker
Worker


Joined: Nov 17, 2003
Posts: 131

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

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 persona_non_grata and I like your site by the way. YOu know me as Shonierose there Wink
View user's profile Send private message Visit poster's website AIM Address
persona_non_grata



Joined:
Posts: 0

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

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


Joined: Nov 17, 2003
Posts: 131

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

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.
View user's profile Send private message Visit poster's website AIM Address
persona_non_grata



Joined:
Posts: 0

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

well thats weird....
the only error i ever read about was what we just posted here...
View user's profile Send private message
Themis
Worker
Worker


Joined: Nov 17, 2003
Posts: 131

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

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
View user's profile Send private message Visit poster's website AIM Address
persona_non_grata



Joined:
Posts: 0

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

well maybe you should address this now to raven....
we covered the few things know that can cause it....
View user's profile Send private message
Themis
Worker
Worker


Joined: Nov 17, 2003
Posts: 131

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

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

Anyone else have any ideas?
View user's profile Send private message Visit poster's website AIM Address
persona_non_grata



Joined:
Posts: 0

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

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 ?
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2363

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

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



Joined:
Posts: 0

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

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)
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14916
Location: Kansas

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

Themis wrote:
Darn Sad Well thanks for your help anyways, persona_non_grata. 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 Visit poster's website AIM Address Yahoo Messenger
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2363

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

Themis any progress?
View user's profile Send private message
Themis
Worker
Worker


Joined: Nov 17, 2003
Posts: 131

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

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


Joined: Nov 17, 2003
Posts: 131

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

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
View user's profile Send private message Visit poster's website AIM Address
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14916
Location: Kansas

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

And you were so excited you had to post twice ROTFL

Congrats!!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Themis
Worker
Worker


Joined: Nov 17, 2003
Posts: 131

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

ugg yep Edited it............maybe you will catch the new question?
View user's profile Send private message Visit poster's website AIM Address
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14916
Location: Kansas

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

It should be the same as what is in your nuke config.php. The username and password would be the same too.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
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.

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