PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
porcupinepc
Involved
Involved


Joined: Sep 20, 2003
Posts: 261
Location: Schumacher, Ontario CANADA

PostPosted: Tue Dec 16, 2003 7:57 pm Reply with quote Back to top

I just did a upgrade from 6.9-7 and it seems that when i install a module and save it, it doesnt see to save and appear on the main screen. is there a known bug?

Joe
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Tue Dec 16, 2003 9:14 pm Reply with quote Back to top

Try this. Open your admin/modules/modules.php
Find
Code:
sql_query("insert into ".$prefix."_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1')", $dbi);
Change it to
Code:
sql_query("insert into ".$prefix."_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1', '0')", $dbi);
Did that help?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
porcupinepc
Involved
Involved


Joined: Sep 20, 2003
Posts: 261
Location: Schumacher, Ontario CANADA

PostPosted: Tue Dec 16, 2003 9:40 pm Reply with quote Back to top

oops sorry raven, i mean the block does not show up. Ive tried several blocks and they wont activate

I got block/module mixed up but its blocks thats giving me problems
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Tue Dec 16, 2003 9:49 pm Reply with quote Back to top

Okay, how about this one? Open modules.php in a text editor (a1, a2, & b1) and find the following line
Code:
if ($view == 1 AND is_user($user) AND is_group($user, $name) OR is_admin($admin)) {
Change it to
Code:
if ($view == 1 AND (is_user($user) || is_group($user, $name) || is_admin($admin))) {
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
porcupinepc
Involved
Involved


Joined: Sep 20, 2003
Posts: 261
Location: Schumacher, Ontario CANADA

PostPosted: Tue Dec 16, 2003 10:04 pm Reply with quote Back to top

what is a1,a2 & b1?

I checked admin/modules.php as well as the modules.php in the root. i dont see that code.

Joe
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
fury
Worker
Worker


Joined: Sep 09, 2003
Posts: 165

PostPosted: Tue Dec 16, 2003 10:09 pm Reply with quote Back to top

did you run the upgrade script, for if you did not this is why your blocks are not showing up. The file must be in your Nuke Root directory then just type the url in your browser and it does it all. The script name path if you got your versions from here is upgrades\6.x\upgrade69_70.php move the upgrade69_70.php to your Nuke Root directory then run it. Let me know
Thanks
Fury
View user's profile Send private message
porcupinepc
Involved
Involved


Joined: Sep 20, 2003
Posts: 261
Location: Schumacher, Ontario CANADA

PostPosted: Tue Dec 16, 2003 10:10 pm Reply with quote Back to top

My PHP- Nuke site is
Only registered users can see links on this board!
Get registered or login to the forums!
forums being where nuke is. I had the upgrade file in the forums directory

Joe
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Tue Dec 16, 2003 11:06 pm Reply with quote Back to top

porcupinepc wrote:
what is a1,a2 & b1?

I checked admin/modules.php as well as the modules.php in the root. i dont see that code.

Joe
Forget that part. Just find that line of code. It's on line 48 in modules.php, not admin/modules.php.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
CodyG
Life Cycles Becoming CPU Cycles


Joined: Jan 02, 2003
Posts: 668
Location: Vancouver Island

PostPosted: Wed Dec 17, 2003 5:52 pm Reply with quote Back to top

I've had that admin/modules/modules.php error before, in a 6.8 nuke and it's in my fresh 7.0 site too... or it was until 10 minutes ago. Very Happy

Raven ... you are brilliant, thank you again for sharing a fix which allows me to cross another bug off my bug list. I wish there was an error log for when an error is caused by sql mismatch. Is there?
View user's profile Send private message
twelves
Regular
Regular


Joined: Aug 22, 2003
Posts: 84

PostPosted: Thu Jan 01, 2004 6:43 pm Reply with quote Back to top

Akk.. Not me.

I did the fix for modules not showing in admin.

Fresh install of 7.0 on a spanking new webpage.

Im going to look in nukecops CVS.

I dunno. Rats.
Fix did not work for me. Mad
View user's profile Send private message Visit poster's website
twelves
Regular
Regular


Joined: Aug 22, 2003
Posts: 84

PostPosted: Thu Jan 01, 2004 6:52 pm Reply with quote Back to top

O yes. thats it!
I opened the same file twice.

OOPS>

My bad.

Thanks raven!
Fixed again!

Wink
View user's profile Send private message Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

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

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum