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
bigbadjames
New Member
New Member



Joined: Jun 22, 2008
Posts: 24
Location: USA

PostPosted: Sat Feb 06, 2010 6:54 am Reply with quote

I installed 2.4 recently, and i noticed when i went into the admin section to make some changes to my donations module that it wasnt working. I click on the treasury icon and i get a 500 error. I double checked to make sure all files were intact and they were, its just it no longer seems to work under 2.4. Any ideas how to fix?
 
View user's profile Send private message Visit poster's website
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Sat Feb 06, 2010 7:22 am Reply with quote

Check this:

http://www.ravenphpscripts.com/postt18318.html
 
View user's profile Send private message
bigbadjames







PostPosted: Sat Feb 06, 2010 9:51 am Reply with quote

great another update that i never found when looking, i get tired of trying to find block/module updates cuz someone differerent always doing it and it ends up in a place different from where you downloaded it in the first place. open source CMS may be free, but the file management and upgrade paths for addons suck. too many people messing with the stuff. ive even seen the "same" version of stuff more than once but coded by different people and they are NOT the same. the whole open source thing is getting too out of hand.
 
Susann







PostPosted: Sat Feb 06, 2010 10:21 am Reply with quote

Well, if you had searched here deeper you would have found out what you need to change manually within the files to get Treasurey working with RN 2.4 and why $dbi don´t work anymore.
I have done this without going to downoad it from somewhere else and it works great also I don´t see a problem to download it from an other trusted site.
 
bigbadjames







PostPosted: Sat Feb 06, 2010 11:10 am Reply with quote

Susann wrote:
Well, if you had searched here deeper you would have found out what you need to change manually within the files to get Treasurey working with RN 2.4 and why $dbi don´t work anymore.
I have done this without going to downoad it from somewhere else and it works great also I don´t see a problem to download it from an other trusted site.


except i didnt even find it here in the first place, my original download was somewhere else, my search for the problem i had lead me here, and you sent me to clan themes which still isnt where i got it from originally.
oh, and i downloaded the 1.1.2 version, of course all the documentation with it calls it the 1.1.1 version, so of course you can see how people can get easily confused.
 
Susann







PostPosted: Sat Feb 06, 2010 4:48 pm Reply with quote

I have not send you directly to clanthemes or code-authors. Its your choice to do a search and modify the code or download it somewhere. However, I fully understand if people are confused about the cofiguration and setup of Treasury.My version is a modified 1.1.1. and I have no reason to use an other version currently.
There is a own forum for this module:

http://www.ravenphpscripts.com/forum181.html
 
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Sat Feb 06, 2010 5:16 pm Reply with quote

if you want to fix the block/module yourself, it's not too hard. This post by Palbin lays it out pretty clearly.
DBI layer Conversion
Image http://www.ravenphpscripts.com/postt16627.html
The post is not about the donations module - but it is about your problem....
 
View user's profile Send private message Visit poster's website
bigbadjames







PostPosted: Mon Feb 08, 2010 8:21 am Reply with quote

Quote:

The post is not about the donations module - but it is about your problem....
********** Deleted by Raven James, Your comment is/was totally uncalled for. It actually is grounds for banning as per the Terms of Use. I will refrain from doing that - This time only.

None of you get it, i found the donations module at one point on another site, like a year or so ago. It worked great up until 2.4 RN. therefore, since the problem seemed to be changes in RN that caused it to fail, i came here for help. Not everyone who has a website knows how to code html or php you know. Yet, all i've gotten is smart ass comments from all of you. It was a simple question with nothing but rude responses. So much for your support. Another reason why open source sucks.
 
FireATST
RavenNuke(tm) Development Team



Joined: Jun 12, 2004
Posts: 654
Location: Ohio

PostPosted: Mon Feb 08, 2010 9:28 am Reply with quote

Humm, I haven't seen anyone be rude here. What spasticdonkey was saying in his response about your problem was that the post he linked you to dealt with the issue you were having with the donations module. Changing the coding from $dbi to the now supported $db. Was not meant that you yourself have a personal problem I think. They have given you several options of how to possibly correct the issue you were having, but I think you have misread the posts and took offense. None was meant by these fine folks here at Ravens I am sure.

Yes, it is frustrating sometimes to locate good quality workable modules and blocks. When I need something I check here first for the item, then post here to know if anyone has such item or knows where I could find it. If I have issues with the said item, I then post the problem here and within a short period of time, someone is trying to help me solve the problem. Sometimes it takes a little while to correct, most of the time it is because of the lack of information I presented to these fine folks that slows it down....Smile Wish you luck correcting your issues.
 
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number
spasticdonkey







PostPosted: Mon Feb 08, 2010 9:55 am Reply with quote

Quote:
Any ideas how to fix?

Shocked lol, ok, I simply posted a link on how you could fix the problem yourself, I don't see why that should anger you. The link I gave is not about the donations module, but it is what you need to do to fix your problem, which from my best recollection only affects the admin/modules/treasury.php

You never mentioned you didn't have html/php skills, but the edits really are not anything that difficult.
find
Code:
$result = sql_query("select radminsuper from ".$prefix."_authors where aid='$aid'", $dbi);

list($radminsuper) = sql_fetch_row($result, $dbi);


change to
Code:
$result = $db->sql_query("select radminsuper from ".$prefix."_authors where aid='$aid'");

list($radminsuper) = $db->sql_fetchrow($result);


The fact the module is "broken" is a red flag that it is old, and using the old database layer. To the best of my knowledge nobody is actively developing the donations module you are using, that's why you might have trouble finding updated files. If you can't fix the module yourself, or find files, there are paid (and supported) donations modules available, like the Only registered users can see links on this board! Get registered or login! for as little as $5. Guardian did warn you the module was old a year and a half ago when we helped you Only registered users can see links on this board! Get registered or login!.

If none of these options work for you, post the code for admin/modules/treasury.php and we will try to walk you thru it.
 
bigbadjames







PostPosted: Mon Feb 08, 2010 1:44 pm Reply with quote

Thank you. I will try.
As a side note....uploading/downloading files is easy, its just like using windows explorer. Are not CMS systems designed primarily in mind for those who do not know how to code websites? I think when responding to posts, unless the poster says otherwise, it should be assumed they DON'T know how to code, not the other way around. Confused
 
dad7732
RavenNuke(tm) Development Team



Joined: Mar 18, 2007
Posts: 1242

PostPosted: Mon Feb 08, 2010 5:06 pm Reply with quote

You don't have to know how to "code" as that is something that you do on your own with original source authoring. When you have a problem here, you're given a "Find This" and "Replace With This". Cookbook style directions, etc. copy/paste. Smile
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Mon Feb 08, 2010 11:58 pm Reply with quote

James, Your comments are totally uncalled for. It actually is grounds for banning as per the Terms of Use. I will refrain from doing that - This time only. No one gave you smart-ass comments nor rude responses. Use RN or not; use Open Source or not.

This is a support site. We can't read minds. When we supply the solution as we did with this one right from the beginning, we most certainly do expect that the poster can follow our instructions. If they can't then all they have to do is ask for clarifications.

Raven
 
View user's profile Send private message
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 ©