Author |
Message |
LaMpiR
Regular


Joined: Oct 31, 2004
Posts: 50
|
Posted:
Sun Aug 27, 2006 4:09 am |
|
I am suing phpnuke 7.9 and latest patch from nukescripts.net and i have problem with new modules. When i upload module to /modules/ and go to administration to active, module simple isn't there just old modules which i use, no new ones. I creating new module just to test it and again it didn't appear in module administration. |
|
|
|
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Sun Aug 27, 2006 6:22 am |
|
Are you also using NSN Groups? |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
 |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Mon Aug 28, 2006 11:28 am |
|
Post the structure of your nuke_modules table |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Tue Aug 29, 2006 12:34 am |
|
Guys, I am unable to access our code repository from work, but I fixed this in 2.10.00 around MAy 9th timeframe. The only problem is that dufus me did not place into our bug tracker exactly which file(s) were modified. It was issue 0000028.
Would someone from the team check the repository and see if you can find and post the fix? Thx. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
LaMpiR

|
Posted:
Tue Aug 29, 2006 3:28 am |
|
@kguske, no i don't.
@evaders99, here you go
Only registered users can see links on this board! Get registered or login! |
|
|
|
 |
montego

|
Posted:
Tue Aug 29, 2006 9:49 am |
|
Ok, here is the fix that was applied to 2.10.00 upon the 2.02.02 version of code:
=== OPEN FILE ===
admin.php
=== FIND CODE ===
$db->sql_query("insert into " . $prefix . "_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1', '0', '')");
=== REPLACE WITH ===
$db->sql_query("insert into " . $prefix . "_modules values (NULL, '$modlist[$i]', '".str_replace('_', ' ', $modlist[$i])."', '0', '0', '', '1', '0', '')");
=== DONE WITH EDITS ===
This was an issue with the NSN Groups edits. This should fix you right up. |
|
|
|
 |
montego

|
Posted:
Tue Aug 29, 2006 9:52 am |
|
Quote: |
@kguske, no i don't.
|
I'm a goof! Sorry, missed your post. I may end up deleting my post unless, somehow, it still leads you to a final solution. I missed that this wasn't RavenNuke... I need sleep... |
|
|
|
 |
LaMpiR

|
Posted:
Tue Aug 29, 2006 10:09 am |
|
Well, it works
Thank you very much montego  |
|
|
|
 |
montego

|
Posted:
Tue Aug 29, 2006 10:55 am |
|
I would be careful with using that code directly! The fields are NOT the same between what I posted and 7.9 that you are using. I don't want you having problems down the road. It would be best to adjust that insert statement to be appropriate for the structure that you posted.
Would hate for it to work just by "luck". |
|
|
|
 |
LaMpiR

|
Posted:
Tue Aug 29, 2006 11:24 am |
|
Well i am using i think with latest patch from chatserv i guess and i can't imagine why it didn't work before with latest patches... |
|
|
|
 |
montego

|
Posted:
Tue Aug 29, 2006 11:46 am |
|
no-one is perfect... things can still get missed. Again, please check to make sure that code change is working perfectly. Test each option in the blocks edit or validate the structure to the insert statement SQL. |
|
|
|
 |
|