Author |
Message |
Recumbent
New Member


Joined: Nov 29, 2006
Posts: 4
|
Posted:
Tue Dec 05, 2006 9:09 pm |
|
There are two postings from 2004/5 that had the same error that I'm experiencing but not follow up with a solution.
After install of Treasury (all versions) and creation of the database, I go into the configuration module and make the appropriate changes to the sections (it does not matter which ones). When I hit the submit button, I get the following error:
Code:If you see this screen then an SQL error was encountered
You shoud see a message in RED below indicating what the error is
|
The screen then echos the table update statements from the UpdateConfig function in the admin/modules/treasury.php file. The page then stops rendering. No RED error message is displayed and if I look in the database, the rows have been updated correctly.
I have debugged the code and determined that the condition that needs to be met to display the error above
is not met. So the code that executes at line 829
Code: // If there were no errors
if( $ERR == 0 )
Header("Location: admin.php?op=Treasury#AdminTop");
}
|
should result in the page refreshing.
Any assistance would be appreciated. |
|
|
|
 |
Recumbent

|
Posted:
Wed Dec 13, 2006 6:24 pm |
|
|
|
 |
stevedapimp
New Member


Joined: Jul 14, 2006
Posts: 2
|
Posted:
Fri Dec 15, 2006 8:52 pm |
|
I dont know if this will help or not but i know there is more than one version going around....I had a similar problem once and what it was is when someone remade it..they forgot to change one line of code
Example
one version has config.php and another uses config.inc.php The only problem is they left the line of code in i beleive the index.php trying to get it to read off of the config instead of config.inc.php like the rest of the module. So i changed the line to read off of config.inc.php and all was well.Like i said i dont know if this will solve your problem but i hope it does.I cant remember what line it was on as this was quite a long time ago that i had the issue. |
|
|
|
 |
Recumbent

|
Posted:
Sun Jan 07, 2007 3:33 am |
|
The new v1.1.1 version of treasury solved the problem. I'm still not clear on what was causing it. |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sun Jan 07, 2007 10:42 pm |
|
Recumbent, would you mind posting the link to where you downloaded it? It does seem that we get these types of questions alot. I'd like to be able to point folks to the latest download that appears to work well.
Thanks!
 |
_________________ 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! |
|
|
 |
Recumbent

|
Posted:
Mon Jan 08, 2007 5:22 pm |
|
It's in the downloads for this site.
Only registered users can see links on this board! Get registered or login! |
|
|
|
 |
wolfear
Hangin' Around

Joined: Apr 19, 2006
Posts: 37
Location: San Antonio,Texas
|
Posted:
Mon Jan 08, 2007 9:02 pm |
|
Just an FYI- I accidently downloaded the 1.0.
I hade to make 2 changes:
First was in admin/modules/treasury.php, approximately line 736
I had to change this:
Code:<td title =\"$desc\" align=\"left\"> $nukeurl/modules/Donations/ipn/ipnppd.php <a href=\"$nukeurl/modules/Donations/ipn/ipnppd.php?dbg=1\" target=\"_blank\">
|
to:
Code:<td title =\"$desc\" align=\"left\"> $nukeurl/modules/Donations/ipn/ipnppd.php <a href=\"/modules/Donations/ipn/ipnppd.php?dbg=1\" target=\"_blank\">
|
The second was in modules/Donations/ipn/ipnppd.php
changed :
Code:include("../config.php");
|
to:
Code:include("../config.inc.php");
|
I think the second one is what is giving most people the problem.
Hope that helps a bit. |
_________________ Good judgement comes from experience, most of which comes from bad judgement.
chown /usr/beer
unmount /dev/brain |
|
|
 |
montego

|
Posted:
Mon Jan 08, 2007 9:59 pm |
|
Recumbent wrote: | It's in the downloads for this site.
Only registered users can see links on this board! Get registered or login! |
too funny.... Thanks! |
|
|
|
 |
maxsplatter
New Member


Joined: Aug 28, 2008
Posts: 4
|
Posted:
Tue Oct 21, 2008 1:01 am |
|
I have the same problem as listed in the original post here. I have update to ver 1.1.1. |
|
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Tue Oct 21, 2008 2:04 am |
|
V 1.1.1 is peculiar to a US/UK package I did a couple of years ago based on Telli's V1.1.
The file path errors were corrected in that version (1.1.1) so I'm glad it is still working  |
|
|
|
 |
maxsplatter

|
Posted:
Tue Oct 21, 2008 8:24 am |
|
Actually I still have the error with 1.1.1 installed.
I took the sql file and imported it into my Nuke db.
I had 1.1, I was getting that error, came here and saw the recommendation in this topic, installed 1.1.1 and still got the error.
Deleted files and started over and still get the error.
Is there something I missed?
I also posted in another topic that the Donation Block does not show in the Admin Section. The file is in the Blocks folder. The file starts with "block-". |
|
|
|
 |
|