Author |
Message |
bigbadjames
New Member


Joined: Jun 22, 2008
Posts: 24
Location: USA
|
Posted:
Sat Feb 06, 2010 6:54 am |
|
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? |
|
|
|
 |
Susann
Moderator

Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Sat Feb 06, 2010 7:22 am |
|
|
|
 |
bigbadjames

|
Posted:
Sat Feb 06, 2010 9:51 am |
|
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

|
Posted:
Sat Feb 06, 2010 10:21 am |
|
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

|
Posted:
Sat Feb 06, 2010 11:10 am |
|
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

|
Posted:
Sat Feb 06, 2010 4:48 pm |
|
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
|
Posted:
Sat Feb 06, 2010 5:16 pm |
|
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
http://www.ravenphpscripts.com/postt16627.html
The post is not about the donations module - but it is about your problem.... |
|
|
|
 |
bigbadjames

|
Posted:
Mon Feb 08, 2010 8:21 am |
|
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
|
Posted:
Mon Feb 08, 2010 9:28 am |
|
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.... Wish you luck correcting your issues. |
|
|
 |
 |
spasticdonkey

|
Posted:
Mon Feb 08, 2010 9:55 am |
|
Quote: | Any ideas how to fix? |
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

|
Posted:
Mon Feb 08, 2010 1:44 pm |
|
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.  |
|
|
|
 |
dad7732
RavenNuke(tm) Development Team

Joined: Mar 18, 2007
Posts: 1242
|
Posted:
Mon Feb 08, 2010 5:06 pm |
|
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.  |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Mon Feb 08, 2010 11:58 pm |
|
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 |
|
|
|
 |
|