Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
ghostgeek
Regular
Regular



Joined: Jan 14, 2005
Posts: 93

PostPosted: Fri Jan 14, 2005 11:12 am Reply with quote

I just upgraded my site from Nuke 7.4 to 7.5 hoping this problem would fix itself. It has not.

Since nuke 7.4, I have not been able to add new modules. By this I mean that when I upload any new (or old) modules intoto my modules directory, the newly added ones do not show up in admin.php?op=modules page.

I was able to add them manually thru myPHPadmin, but this is a pain.

Any help would be greatly appreicated.

Thank you.
 
View user's profile Send private message
TheosEleos
Life Cycles Becoming CPU Cycles



Joined: Sep 18, 2003
Posts: 960
Location: Missouri

PostPosted: Fri Jan 14, 2005 4:12 pm Reply with quote

Most common is that you installed GoogleTap from gt-nextgen.com and ran the query that adds a line to your modules table. When you go to modules admin nuke is unable to put in the info because things don't match up.

Have you installed anything that adds a field to the modules table?

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website AIM Address ICQ Number
ghostgeek







PostPosted: Fri Jan 14, 2005 4:45 pm Reply with quote

Yes - in fact I DID install the gt-nextgen googletap!

How might I fix this - what is the line that the query added?

Thank you!
 
TheosEleos







PostPosted: Fri Jan 14, 2005 5:06 pm Reply with quote

Open admin/modules/modules.php and find around line 50

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


Show me what you have.
 
ghostgeek







PostPosted: Fri Jan 14, 2005 5:59 pm Reply with quote

Here is what you requested...

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







PostPosted: Fri Jan 14, 2005 7:20 pm Reply with quote

backup your current admin/modules/modules.php and use the line from mine.

Good luck!
 
ghostgeek







PostPosted: Sat Jan 15, 2005 1:11 pm Reply with quote

Tried replacing the line and it didn't work - new modules still don't show up.
 
TheosEleos







PostPosted: Sat Jan 15, 2005 6:50 pm Reply with quote

Can you get me a screenshot of your modules table?

One like this? I need to be able to see the field titles.

Image
 
ghostgeek







PostPosted: Tue Jan 18, 2005 9:16 am Reply with quote

Here it is...

Image
 
chatserv
Member Emeritus



Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Tue Jan 18, 2005 11:34 am Reply with quote

Change the line in admin/modules/modules.php to:
Code:
$db->sql_query("insert into " . $prefix . "_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1', '0', NULL, '')");

also look for an insert line on blocks/block-Modules.php and change it to:
Code:
$db->sql_query("INSERT INTO ".$prefix."_modules VALUES (NULL, '$modlist[$i]', '$mod_uname', '0', '0', '1', '0', NULL, '')");
 
View user's profile Send private message Visit poster's website
TheosEleos







PostPosted: Tue Jan 18, 2005 1:31 pm Reply with quote

Thanks, chat!
 
ghostgeek







PostPosted: Thu Jan 20, 2005 2:08 am Reply with quote

That did it!! THANK YOU THANK YOU THANK YOU!!!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

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 ©