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
LaMpiR
Regular
Regular



Joined: Oct 31, 2004
Posts: 50

PostPosted: Sun Aug 27, 2006 4:09 am Reply with quote

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



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Sun Aug 27, 2006 6:22 am Reply with quote

Are you also using NSN Groups?

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Mon Aug 28, 2006 11:28 am Reply with quote

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! 
View user's profile Send private message Visit poster's website
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Tue Aug 29, 2006 12:34 am Reply with quote

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! 
View user's profile Send private message Visit poster's website
LaMpiR







PostPosted: Tue Aug 29, 2006 3:28 am Reply with quote

@kguske, no i don't.
@evaders99, here you go
Only registered users can see links on this board! Get registered or login!
 
montego







PostPosted: Tue Aug 29, 2006 9:49 am Reply with quote

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







PostPosted: Tue Aug 29, 2006 9:52 am Reply with quote

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







PostPosted: Tue Aug 29, 2006 10:09 am Reply with quote

Well, it works Smile
Thank you very much montego Smile
 
montego







PostPosted: Tue Aug 29, 2006 10:55 am Reply with quote

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







PostPosted: Tue Aug 29, 2006 11:24 am Reply with quote

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







PostPosted: Tue Aug 29, 2006 11:46 am Reply with quote

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.
 
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 ©