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
bones
Hangin' Around


Joined: Sep 18, 2003
Posts: 36

PostPosted: Sun Jan 18, 2004 6:12 am Reply with quote

I found a problem with the admin for adding modules gaylen. It won't
let me add anymore modules. when I try and add modules they don't show up at all. Is there anyway to find the problem?
thanks bob
 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Sun Jan 18, 2004 8:50 am Reply with quote

I can add w/o any problem. Did you add any at all? If so, you may have added a module that altered a core table. Let me know.

Here is a fix that helps some people who have added certain mods. In admin/modules/modules.php find this code
Code:
$db->sql_query("insert into ".$prefix."_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1')");
and modify it to
Code:


$db->sql_query("insert into ".$prefix."_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1','0')");
If that didn't help then restore that line of code.
 
View user's profile Send private message
bones
PostPosted: Sun Jan 18, 2004 9:04 am Reply with quote

all I did was just add a module and did not mess with nothing. I know nothing about programming so there is no way I would do it. I tried
different modules that would work with 6.5 with no problem but 7.0 would not pick them up at all, no matter what module I put in.
thanks
 
bones
PostPosted: Sun Jan 18, 2004 9:30 am Reply with quote

that piece of code you gave me worked just fine, now i can see all the
modules, thanks gaylen
bob
 
Nelson
Hangin' Around


Joined: Sep 25, 2003
Posts: 30

PostPosted: Sun Jan 18, 2004 12:58 pm Reply with quote

bones wrote:
that piece of code you gave me worked just fine, now i can see all the
modules, thanks gaylen
bob


I had this same prob as well, but thought it was probably something I did.. the above fix worked like a charm... Very Happy
 
View user's profile Send private message Send e-mail Visit poster's website
bones
PostPosted: Sun Jan 18, 2004 1:09 pm Reply with quote

Don't worry I thought it was something I did too, since I am dump working with this stuff. But thanks to my friend gaylen I am slowly learning.
 
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 ©