Author |
Message |
ghostgeek
Regular


Joined: Jan 14, 2005
Posts: 93
|
Posted:
Fri Jan 14, 2005 11:12 am |
|
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. |
|
|
|
 |
TheosEleos
Life Cycles Becoming CPU Cycles

Joined: Sep 18, 2003
Posts: 960
Location: Missouri
|
Posted:
Fri Jan 14, 2005 4:12 pm |
|
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! |
|
 |
 |
ghostgeek

|
Posted:
Fri Jan 14, 2005 4:45 pm |
|
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

|
Posted:
Fri Jan 14, 2005 5:06 pm |
|
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

|
Posted:
Fri Jan 14, 2005 5:59 pm |
|
Here is what you requested...
$db->sql_query("insert into " . $prefix . "_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1', '0', '')"); |
|
|
|
 |
TheosEleos

|
Posted:
Fri Jan 14, 2005 7:20 pm |
|
backup your current admin/modules/modules.php and use the line from mine.
Good luck! |
|
|
|
 |
ghostgeek

|
Posted:
Sat Jan 15, 2005 1:11 pm |
|
Tried replacing the line and it didn't work - new modules still don't show up. |
|
|
|
 |
TheosEleos

|
Posted:
Sat Jan 15, 2005 6:50 pm |
|
Can you get me a screenshot of your modules table?
One like this? I need to be able to see the field titles.
 |
|
|
|
 |
ghostgeek

|
Posted:
Tue Jan 18, 2005 9:16 am |
|
Here it is...
 |
|
|
|
 |
chatserv
Member Emeritus

Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico
|
Posted:
Tue Jan 18, 2005 11:34 am |
|
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, '')");
|
|
|
|
|
 |
TheosEleos

|
Posted:
Tue Jan 18, 2005 1:31 pm |
|
|
|
 |
ghostgeek

|
Posted:
Thu Jan 20, 2005 2:08 am |
|
That did it!! THANK YOU THANK YOU THANK YOU!!! |
|
|
|
 |
|