PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
dirtwizard
New Member
New Member


Joined: Jan 10, 2006
Posts: 5
Location: Ohio

PostPosted: Mon Jan 09, 2006 11:19 pm Reply with quote Back to top

The supporters icon is not showing up in my admin panel. I activated a block for it and the Be A Supporter link and page work as well as the Supporters link and page, but the Supporter Admin link sends me to a blank page.
I followed the readme on it 3 times and all looks like it should work..

Anyone have an idea or a link so I can see if I done something wrong. Bang Head
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Tue Jan 10, 2006 1:28 am Reply with quote Back to top

What did you downloaded/install ?
and on what version are you...
View user's profile Send private message
montego
Site Admin


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

PostPosted: Tue Jan 10, 2006 6:45 am Reply with quote Back to top

hitwalker wrote:
What did you downloaded/install ?
and on what version are you...


dirtwizard, please include nuke patch level as well. thx.
View user's profile Send private message Visit poster's website
dirtwizard
New Member
New Member


Joined: Jan 10, 2006
Posts: 5
Location: Ohio

PostPosted: Tue Jan 10, 2006 7:23 pm Reply with quote Back to top

I am running nuke 7.6 Patched version: 3.0.
I D/Led NSN scolling supporters 75-77 module and as per the readme file I placed : root = the root directory of the site.
Blocks in root/blocks
Image in root/images/admin
includes in root/includes
Edited the root/language/lang-english.php
Modules in root/modules/Supporters
nsnsp_installer folder in root/nsnsp_installer
and nsnsp.php in the root directory
I ran the nsnsp.php file and updated the DB and went into my admin panel and the supporters icon is not there, but the blocks show up when activated and the pages for you to submit (
Only registered users can see links on this board!
Get registered or login to the forums!
) and show the supportes (
Only registered users can see links on this board!
Get registered or login to the forums!
) is there, just not the admin icon or page
Only registered users can see links on this board!
Get registered or login to the forums!
which shows blank.
Also not showing up in the Modules to activate either.
montego I hope I included the nuke patch level you asked for I am a rookie so you may have to smack me around alil bit to get the right answer..lol thx
View user's profile Send private message Visit poster's website
montego
Site Admin


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

PostPosted: Tue Jan 10, 2006 8:33 pm Reply with quote Back to top

dirtwizard, can you post the contents of the following file: root/modules/Supporters/admin/links.php.

Thx.
View user's profile Send private message Visit poster's website
dirtwizard
New Member
New Member


Joined: Jan 10, 2006
Posts: 5
Location: Ohio

PostPosted: Tue Jan 10, 2006 9:27 pm Reply with quote Back to top

Code:
<?php

/********************************************************/
/* NSN Supporters                                       */
/* By: NukeScripts Network (webmaster@nukescripts.net)  */
/* http://www.nukescripts.net                           */
/* Copyright © 2000-2005 by NukeScripts Network         */
/********************************************************/

global $admin_file;
if(!isset($admin_file)) { $admin_file = "admin"; }
if(!defined('ADMIN_FILE')) {
    Header("Location: ../../".$admin_file.".php");
    die();
}
$modname = "Supporters";
get_lang($modname);
if($radminsuper==1) {
    adminmenu($admin_file.".php?op=SPMain", _SP_SUPPORTERS, "supporters.png");
}

?>
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Wed Jan 11, 2006 2:39 am Reply with quote Back to top

well i installed it ..
it runs perfectly and also the admin part is okay.
the problem on your side is that your module doesnt show up ...
so you cannot even activate it..
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Wed Jan 11, 2006 5:53 am Reply with quote Back to top

I just installed this Supporters module as well on my test RN7.6-202 and I'm having the same problem.
Will try and look into it more as soon as I can but my initial impression is it may be related to the different defines used between patch level 2.9 and 3.1 as it is working on another site.
View user's profile Send private message Send e-mail Visit poster's website
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Wed Jan 11, 2006 5:59 am Reply with quote Back to top

well guardian...different defines or not,that shouldnt be a problem for the mod...it should show itself in the admin to be activated..
but he even doesnt see it..
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Wed Jan 11, 2006 6:19 am Reply with quote Back to top

No, it isnt displaying on my test site either and clicking the Admin link on the Supporters block brings up a blank page - very strange!

Hmm, it isnt showing in the nuke_modules table either so I think I'll have to work on this a bit.
View user's profile Send private message Send e-mail Visit poster's website
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Wed Jan 11, 2006 6:27 am Reply with quote Back to top

Yes the reason the image doesn't appear in the admin menu is because the module list is not getting updated - I think this gets updated via admin/modules.php
View user's profile Send private message Send e-mail Visit poster's website
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Wed Jan 11, 2006 6:58 am Reply with quote Back to top

dirtwizard - are you using NSN Groups or GT Next Gen at all?
If not, they you have some other mod which has altered the core nuke_modules table.

When and admin goes in to the modules menu via admin it should refresh/update the modules listed in the database. This is acheived via the file admin/modules/modules.php so it would seem to indicate the number of fields in the table and the data being inserted by the file is out of synch.
For example, if you look in that file from a virgin files set you will see this line
Code:
$db->sql_query("insert into " . $prefix . "_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1', '0', '')");

If you are using NSN Groups that line gets modified because it creates an extra filed in the table - so the line now reads
Code:
$db->sql_query("insert into " . $prefix . "_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '', '1', '0', '')");
View user's profile Send private message Send e-mail Visit poster's website
montego
Site Admin


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

PostPosted: Wed Jan 11, 2006 7:10 am Reply with quote Back to top

Guardian2003, I believe you have hit the nail on the head! I wanted to rule out the easy stuff first with my request for his links.php. That looked good. I appreciate the help everyone has given! It most definitely has to be the module is not getting inserted...

dirtwizard, please use phpMyAdmin to look at your nuke_modules table and compare the number of position of each of the fields to the insert statement that Guardian has listed. You need to make sure they match. The insert is failing but you are not seeing the error message.

In the future, you can also try changing the $sql_debug variable to 1 in includes/sql_layer.php and you would probably would see the insert failure message. Just don't forget to set it back.
View user's profile Send private message Visit poster's website
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Wed Jan 11, 2006 7:27 am Reply with quote Back to top

montegoYes, I was thinking the same thing as you, it wasn't until I installed it myself I realised why the module was not getting updated.
View user's profile Send private message Send e-mail Visit poster's website
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Wed Jan 11, 2006 7:50 am Reply with quote Back to top

That thing again?
lol...that was an idea cause he didnt saw his module..
Couldnt believe its this again...amazing..
View user's profile Send private message
dirtwizard
New Member
New Member


Joined: Jan 10, 2006
Posts: 5
Location: Ohio

PostPosted: Wed Jan 11, 2006 9:01 pm Reply with quote Back to top

admin/modules/modules.phplooks like yours
Code:
$db->sql_query("insert into " . $prefix . "_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '', '1', '0', '')");


I ran the $sql_debug variable to 1 no errors showed
I checked my tables in phpMyAdmin and supporters is not listed just this::

INSERT INTO `nuke_modules` VALUES (1, 'AvantGo', 'AvantGo', 1, 0, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (2, 'Content', 'Content', 1, 0, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (3, 'Downloads', 'Downloads', 1, 0, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (4, 'Encyclopedia', 'Encyclopedia', 1, 0, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (5, 'FAQ', 'FAQ', 1, 0, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (6, 'Feedback', 'Feedback', 1, 0, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (7, 'Forums', 'Forums', 1, 1, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (8, 'Journal', 'Journal', 1, 0, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (9, 'Members_List', 'Members List', 1, 1, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (10, 'News', 'News', 1, 0, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (11, 'Private_Messages', 'Private Messages', 1, 1, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (12, 'Recommend_Us', 'Recommend Us', 1, 0, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (13, 'Reviews', 'Reviews', 1, 0, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (14, 'Search', 'Search', 1, 0, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (15, 'Statistics', 'Statistics', 1, 0, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (16, 'Stories_Archive', 'Stories Archive', 1, 0, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (17, 'Submit_News', 'Submit News', 1, 0, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (18, 'Surveys', 'Surveys', 1, 0, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (19, 'Top', 'Top 10', 1, 0, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (20, 'Topics', 'Topics', 1, 0, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (21, 'Web_Links', 'Web Links', 1, 0, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (22, 'Your_Account', 'Your Account', 1, 0, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (23, 'NukeSentinel', 'NukeSentinel', 1, 2, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (24, 'Donations', 'Donations', 1, 0, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (25, 'UserInfoAddons', 'UserInfoAddons', 1, 2, '', 1, 0, '');
INSERT INTO `nuke_modules` VALUES (26, 'Groups', 'Groups', 1, 2, '', 0, 0, '0');
View user's profile Send private message Visit poster's website
montego
Site Admin


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

PostPosted: Wed Jan 11, 2006 9:10 pm Reply with quote Back to top

dirtwizard wrote:
looks like yours


Ok, just "looks like yours" (which is really just nuke76 w/3.1 patches and NSN Groups installed) or "is it the exact same as RavenNuke76"?

The only two things that I have seen to cause this I have already mentioned. The first, with the links.php file, causing the link to not show in the admin screen, and the second, with the module not being inserted because of a mis-match in the structure vs. data being inserted.

This all looks fine to me. I am out of ideas.
View user's profile Send private message Visit poster's website
dirtwizard
New Member
New Member


Joined: Jan 10, 2006
Posts: 5
Location: Ohio

PostPosted: Wed Jan 11, 2006 9:20 pm Reply with quote Back to top

Never mind..lol it is working now i was in myphpadmin and messing with the nuke_modules hit insert and looked at the setting on that screen then went back and hit browes and supporters showed up I then went back to my admin panel and it is there.

Thx for the help everyone you all have been great.
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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