Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Nuke Treasury
Author Message
zythrix
New Member
New Member



Joined: Jul 08, 2006
Posts: 7
Location: Portland, OR, USA

PostPosted: Sat Jul 08, 2006 8:25 pm Reply with quote

Nuke Treasury v1.1 doesn't display Donate-O-Meter. I believe I've done everything right through the install but it just isn't displaying the block. I have PHP-Nuke 7.8 installed.
 
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Sat Jul 08, 2006 8:31 pm Reply with quote

Welcome. What is displayed where you expect the block to be?

_________________
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
zythrix







PostPosted: Sat Jul 08, 2006 10:31 pm Reply with quote

The block just isn't there. I uploaded all the files to their proper places. In the Blocks section of the admin panel it just isn't listed and isn't displayed on the main page.
 
gregexp
The Mouse Is Extension Of Arm



Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Sat Jul 08, 2006 10:58 pm Reply with quote

whats the name of the file you uploaded to muke_dir/blocks?

And have you refreshed your browser?

_________________
For those who stand shall NEVER fall and those who fall shall RISE once more!! 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
zythrix







PostPosted: Sun Jul 09, 2006 3:10 am Reply with quote

I uploaded every file in the NukeTreasury2006\NukeTreasuryV1.1.1\US\html folder to it's appropriate place. I don't want to go type out each file name, but I can guarantee I did everything right during install. Yes, I've refreshed the browser.
 
kguske







PostPosted: Sun Jul 09, 2006 6:53 am Reply with quote

darklord is asking because it's very unusual that the block file isn't listed in blocks administration. That indicates a problem with blocks administration not recognizing the file - unless it hasn't been uploaded.

The block files have a special naming format, and there should only be a few files in the html/blocks directory for the NukeTreasury download. Can you verify that these are loaded in the blocks directory on your Nuke site? If so, you should be able to see those in the block file drop down in blocks administration.
 
montego
Site Admin



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

PostPosted: Sun Jul 09, 2006 8:15 am Reply with quote

There is one other possibility. Is this a RavenNuke76 2.02.00 distro or have you installed NSN Groups to your nuke site? The RavenNuke76 2.02.02 patch has a fix for this issue if you are running RN that is... If you are not running RN and you have installed NSN Groups, you may have missed something in the install.

If none of the above applies, then just ignore this post. Wink

_________________
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
kguske







PostPosted: Sun Jul 09, 2006 8:39 am Reply with quote

Thanks, montego. Hadn't thought about that. But if something was missed in the install, it would have to be that the blocks files were uploaded to the blocks directory, no?
 
montego







PostPosted: Sun Jul 09, 2006 8:56 am Reply with quote

Could be, but there is also a bug in what was done with NSN Groups in RN initially. I know that I posted the fix here awhile back, but have to run...

What I was referring to about the "install" was the install of NSN Groups, not Nuke Treasury. NSN Groups messes with the nuke_blocks table and if the edits to admin/blocks.php (I think that's the file?) were not done right, it causes this issue too. It was just another thing to consider.
 
gregexp







PostPosted: Sun Jul 09, 2006 10:59 am Reply with quote

Like kguske said, I asked because I wanted to verify that what was uploaded to the blocks folder was a block indeed, this is very unussual and has not been a problem I personally have encountered before and wanted to get the basics out of the way.

So what file(s) were uploaded to the blocks folder?
 
zythrix







PostPosted: Sun Jul 09, 2006 11:31 am Reply with quote

I haven't installed RavenNuke or NSN Groups. The block file is 'block-Donat_o_Meter.php' and I have just verified that, yes, it is uploaded and in it's proper directory. I haven't installed much of anything on my Nuke 7.8 install, the only thing I've really done is add a couple little blocks and changed the name of the admin file.
 
gregexp







PostPosted: Sun Jul 09, 2006 11:50 am Reply with quote

try changing the name of the admin file back to admin.php

other then that I cant see why this is happening and you may need to let someone into your site to look at somethings.
 
zythrix







PostPosted: Sun Jul 09, 2006 11:57 am Reply with quote

The block file doesn't call to admin.php at all and I changed the call to admin.php in all the other files already.That wouldn't affect it.
 
gregexp







PostPosted: Sun Jul 09, 2006 12:48 pm Reply with quote

Under a normal installation with what your talking about, this problem should not be occuring, upload any backup that you have.
 
zythrix







PostPosted: Sun Jul 09, 2006 9:00 pm Reply with quote

Well, I have no backups as I just started adding modules. All I've done up to this point is the design and a little bit of content. I added a couple other random things but had no issues with them, which should narrow it down to the specific Nuke Treasury module. But, if I have to reinstall I just won't bother with Nuke Treasury. It's not that important to me, I'll just look for another donation module.
 
gregexp







PostPosted: Sun Jul 09, 2006 10:29 pm Reply with quote

ok, Lets review.

You've added blocks before with your current setup.

That tells me that the blocks function is working correctly.

now your going to add nuke treasury to the mix.

Heres my problem with all that,
When the blocks-admin finds blocks, it searches for a file name that holds a certain criteria, it does not search the contents of the file. so unless something was done to the admin/modules/blocks.php file, this is making absolutley no sense.

One other thing comes to mind that possibly causing your problem, in the left blocks, Is there anything new since you made your last block or have you made any file edits. I'm grasping for somethin that yells out conflict.

One more thing, turning errors on in config.php might help.
 
kguske







PostPosted: Sun Jul 09, 2006 10:55 pm Reply with quote

Not to add fuel to the fire, but why are you using 7.8? If it's a new site with little content, I'd suggest installing RN 7.6 (because it's relatively powerful, easy and secure) or any other 7.6 distribution. RN installation is very straightforward and includes some of the trickier modifications (e.g. NukeSentinel, NSN Groups, etc.) preinstalled.

7.8 has few added benefits over 7.6, but several significant disadvantages (primarily being weaker security).
 
zythrix







PostPosted: Sun Jul 09, 2006 11:02 pm Reply with quote

darklord: Here's a list of everything I have installed:

2 custom blocks - a 'vote for the site' block and a 'links' site to display small image links. Both are on the right side.

4 new modules - NukeSentinel, NukeTreasury, PJIRC chat module and a server status module for an Ultima Online server.

Some content pages.

admin/modules/blocks.php is unmodified. I checked for any calls to admin.php (incase it needed the filename changed) but there wasn't any in it.

I'll turn errors on and see what I can find out.

kguske: I read something about a tool to downgrade the site to 7.6 but I don't want to take the chance that I have to re-do everything. I could, I suppose, if I had to. I've read about the issues with 7.8 but as I said, I've just not wanted to downgrade.
 
shotokan
Worker
Worker



Joined: Aug 27, 2006
Posts: 172

PostPosted: Mon Oct 02, 2006 1:52 pm Reply with quote

I've just installed the Nuke Treasury v1.1 on my php-nuke 7.8 patched 3.2b.

Everything looks fine. The block is OK and all the config panel has been done. The only think I couldn't do is to activate the module into the modules in control panel. The new treasury module just don;t appear for me to activate.

The "Donations" direcory was created under /modules but still i can't see it trhough the admin control panel.

What is causing this?
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Mon Oct 02, 2006 5:15 pm Reply with quote

It should be added when you go through Modules in your admin panel. If not, please use phpMyAdmin and post the structure of your modules table here

_________________
- 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
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Mon Oct 02, 2006 10:14 pm Reply with quote

If your site is 'patched' you might also want to try changing the block file code, change
Code:
if (eregi("block-Donat_o_Meter.php",$_SERVER['PHP_SELF'])) {

    Header("Location: index.php");
    die();
}
to
Code:
if ( !defined('BLOCK_FILE') ) {

    Header("Location: ../index.php");
    die();
}
 
View user's profile Send private message Send e-mail
shotokan







PostPosted: Tue Oct 03, 2006 6:53 am Reply with quote

evaders99 wrote:
It should be added when you go through Modules in your admin panel. If not, please use phpMyAdmin and post the structure of your modules table here


Evaders, here is the nuke_modules for my DB
Code:


nuke_modules
Field Type Null Default
mid   int(10) No     
title   varchar(255) No     
custom_title   varchar(255) No     
active   int(1) No  0   
view   int(1) No  0   
inmenu   tinyint(1) No  1   
mod_group   int(10) Yes  0   
admins   varchar(255) No     
wysig_status   tinyint(1) No  0   


 Indexes: Keyname Type Cardinality Field
PRIMARY  PRIMARY 23   mid 
mid  INDEX None   mid 
title  INDEX None   title 
custom_title  INDEX None   custom_title 


 Space usage: Type Usage
Data 840 Bytes
Index 7,168 Bytes
Total 8,008 Bytes
    Row Statistics: Statements Value
Format dynamic 
Rows 23 
Row length ø 36 
Row size  ø 348 Bytes 
Next Autoindex 24 
Creation Sep 19, 2006 at 10:40 AM 
Last update Sep 29, 2006 at 05:28 PM 



Guardian2003 wrote:
If your site is 'patched' you might also want to try changing the block file code, change
Code:
if (eregi("block-Donat_o_Meter.php",$_SERVER['PHP_SELF'])) {

    Header("Location: index.php");
    die();
}
to
Code:
if ( !defined('BLOCK_FILE') ) {

    Header("Location: ../index.php");
    die();
}


Guardiam,
Yes my site is "patched" and what this change you proposing will do for the block?

EDIT: I just realized one more thing after Evaders asked to post the mofuels table structure. The "Donations" module is also not into the modules DB. I actually don;t know what makes php-nuke to add the new created directory into the modules DB but the fact is it's not there.

Also i just made a test now creating two more directories under my MODULES and again nothing appears on the modules list and nothing get updated in the modules table, so i must be something missing on my installation that when I added a new module it does not get loaded.

The only modules i had are the ones that came with php-nuke. No new module is being picked-up by my installation
 
evaders99







PostPosted: Tue Oct 03, 2006 9:12 pm Reply with quote

You have a column 'wysig_status' that is not used in 7.8, looks like it was from the WYSIWYG tweak. Delete it and see if it solves your problem
 
shotokan







PostPosted: Wed Oct 04, 2006 7:19 am Reply with quote

evaders99 wrote:
You have a column 'wysig_status' that is not used in 7.8, looks like it was from the WYSIWYG tweak. Delete it and see if it solves your problem


My GURU

It indeed worked but you have any idea why I had that field there?

By the way what is the WYSIWYG you mentioned?

Thanks, a lot.
 
evaders99







PostPosted: Wed Oct 04, 2006 1:09 pm Reply with quote

The WYSIWYG (what you see is what you get) editor is included in 7.7 and higher. A tweak was made to turn it off for specific modules, but that requires the table change to the modules table as you had it. My guess is that tweak is no longer installed, so you should be okay with your current setup.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Nuke Treasury

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 ©