You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 72 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - FIX php 7.x problems!!!Blocks and modules [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Meghwar
Sergeant
Sergeant


Joined: Dec 06, 2003
Posts: 122


PostPosted: Sun Feb 08, 2004 10:58 pm Reply with quoteBack to top

OK.

I can explain this in a dummy proof of a way....



go into to ur PHPMY ADMIN

go into the nuke_modules and click on borwse

this will popup on the top;

ok. I'm not the PHP king here I just stay at a Holiday Inn Express.....

when u see people talking about the

Quote:
sql_query("insert into ".$prefix."_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1')", $dbi);


the part [$i]', '0', '0', '1')", only covers 3 tables of the db. witch will cause a problem not letting new added mods to appear.

so if u see that u have 5 tables your code will have to be ajusted to [$i]', '0', '0', '1', '1', '0')", on both admin/module/module.php Line # 47 and blocks/block_module.php line # 96

refer to the phpmyadmin and count the active|view|inmenu|mod_group|mcid


so mine has 5 numbers but the string show

Quote:
$i]', '0', '0', '1')", $dbi);


3

so all u have to do is fix this string
in my case' my string to work right is this, notice 5 #'s in my module.php

Quote:
sql_query("insert into ".$prefix."_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1', '0', '0')", $dbi);


and now it works fine.

and for the blocks/block_module same change

Quote:
$db->sql_query("INSERT INTO ".$prefix."_modules VALUES (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1', '1', '0')");


should be on line #96 in the script.



summry....


goto phpmyadmin and see how many
active view inmenu mod_group mcid
0 1 1 0 0 = 5 tables some of u might have less tables U have to check it in phpmyadmin!!!

and make the chages. maybe some of you will have less or more.. Like I said I'm now a PHP pro but we need solution.

I hope this help. it worked for me 100% all new modsare added automaticly:)

thanx for NexusGroove

Meghwar
Find all posts by MeghwarView user's profileSend private messageVisit poster's website
Daniel-cmw
Site Admin
Site Admin


Joined: Mar 02, 2003
Posts: 1662

Location: The UK!

PostPosted: Mon Feb 09, 2004 2:09 am Reply with quoteBack to top

This has been posted before but thanks.

_________________
Read Me
Find all posts by Daniel-cmwView user's profileSend private message
Meghwar
Sergeant
Sergeant


Joined: Dec 06, 2003
Posts: 122


PostPosted: Mon Feb 09, 2004 7:57 am Reply with quoteBack to top

I know

that is why i say thanx for NEXUSGROOVE but the issue is we found solution that we been looking for almost 1 week no respond Smile

any how nice to answer on something you shouldn't answer Smile i thought you wanted to say THANK you Meghwar for trying to search and find solution for the PPL who needed and no answers for them Smile

nice reply bro

Meghwar
Find all posts by MeghwarView user's profileSend private messageVisit poster's website
Daniel-cmw
Site Admin
Site Admin


Joined: Mar 02, 2003
Posts: 1662

Location: The UK!

PostPosted: Mon Feb 09, 2004 8:44 am Reply with quoteBack to top

Read my post. I said thanks.

I just dont see the point in posting it over and over again. It was posted in multiple forums the first time round and now its duplicated again. You could have just bumped the first thread if you wanted people to find it.

_________________
Read Me
Find all posts by Daniel-cmwView user's profileSend private message
Jeruvy
Lieutenant
Lieutenant


Joined: Jul 09, 2003
Posts: 293


PostPosted: Sat Feb 28, 2004 9:11 am Reply with quoteBack to top

Daniel-cmw wrote:
Read my post. I said thanks.

I just dont see the point in posting it over and over again. It was posted in multiple forums the first time round and now its duplicated again. You could have just bumped the first thread if you wanted people to find it.


Which IMHO is a problem with the DESIGN AND IMPLEMENT of the forums. I have been running searches etc. etc. till the cows come home to no avail.....

I stumbled across this thread by ACCIDENT.

The SEARCH here needs SERIOUS improvement or better instructions.

J.
Find all posts by JeruvyView user's profileSend private messageICQ Number
Jeruvy
Lieutenant
Lieutenant


Joined: Jul 09, 2003
Posts: 293


PostPosted: Sat Feb 28, 2004 9:13 am Reply with quoteBack to top

More importantly when did this break?

J.

_________________
J.
j e r u v y a t y a h o o d o t c o m
Find all posts by JeruvyView user's profileSend private messageICQ Number
Jeruvy
Lieutenant
Lieutenant


Joined: Jul 09, 2003
Posts: 293


PostPosted: Sat Feb 28, 2004 9:16 am Reply with quoteBack to top

Hmm, I'm trying to follow these instructions but I can't understand them well enough. Line 47 isn't what it mentions. Could someone PLEASE post a STICKY with the actual solution?

That would be great!!

J.

_________________
J.
j e r u v y a t y a h o o d o t c o m
Find all posts by JeruvyView user's profileSend private messageICQ Number
Daniel-cmw
Site Admin
Site Admin


Joined: Mar 02, 2003
Posts: 1662

Location: The UK!

PostPosted: Sat Feb 28, 2004 4:49 pm Reply with quoteBack to top

There is a sticky in this very forum.. Look up..

_________________
Read Me
Find all posts by Daniel-cmwView user's profileSend private message
biohazard2k
Nuke Soldier
Nuke Soldier


Joined: Jan 16, 2004
Posts: 26


PostPosted: Wed Mar 03, 2004 4:02 pm Reply with quoteBack to top

Well I' must be a complete idiot!!!

Where is PHPMY ADMIN at? How do I access it, what program do I use?
That isn't the admin menu is it? (www.site.com/admin.php)
Do I access it via FTP?

It's extremely important that I fix this block issue!
If I can't I'll have to re-create the entire site.


BioHaz

Meghwar wrote:
OK.

I can explain this in a dummy proof of a way....



go into to ur PHPMY ADMIN

go into the nuke_modules and click on borwse

this will popup on the top;

ok. I'm not the PHP king here I just stay at a Holiday Inn Express.....

when u see people talking about the

Quote:
sql_query("insert into ".$prefix."_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1')", $dbi);


the part [$i]', '0', '0', '1')", only covers 3 tables of the db. witch will cause a problem not letting new added mods to appear.

so if u see that u have 5 tables your code will have to be ajusted to [$i]', '0', '0', '1', '1', '0')", on both admin/module/module.php Line # 47 and blocks/block_module.php line # 96

refer to the phpmyadmin and count the active|view|inmenu|mod_group|mcid


so mine has 5 numbers but the string show

Quote:
$i]', '0', '0', '1')", $dbi);


3

so all u have to do is fix this string
in my case' my string to work right is this, notice 5 #'s in my module.php

Quote:
sql_query("insert into ".$prefix."_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1', '0', '0')", $dbi);


and now it works fine.

and for the blocks/block_module same change

Quote:
$db->sql_query("INSERT INTO ".$prefix."_modules VALUES (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1', '1', '0')");


should be on line #96 in the script.



summry....


goto phpmyadmin and see how many
active view inmenu mod_group mcid
0 1 1 0 0 = 5 tables some of u might have less tables U have to check it in phpmyadmin!!!

and make the chages. maybe some of you will have less or more.. Like I said I'm now a PHP pro but we need solution.

I hope this help. it worked for me 100% all new modsare added automaticly:)

thanx for NexusGroove

Meghwar
Find all posts by biohazard2kView user's profileSend private message
Daniel-cmw
Site Admin
Site Admin


Joined: Mar 02, 2003
Posts: 1662

Location: The UK!

PostPosted: Fri Mar 05, 2004 12:57 pm Reply with quoteBack to top

You dont actually need to go into phpmyadmin, thats just an explanation as to why it does it.

Read the part that tells you to change the files and follow that.

_________________
Read Me
Find all posts by Daniel-cmwView user's profileSend private message
biohazard2k
Nuke Soldier
Nuke Soldier


Joined: Jan 16, 2004
Posts: 26


PostPosted: Fri Mar 05, 2004 1:14 pm Reply with quoteBack to top

Doh! Surprised

I fixed the block problem with the new patch that is out for phpnuke.

Thx anyways,
BioHaz
Find all posts by biohazard2kView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.251 Seconds - 319 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::