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



Joined: Nov 29, 2006
Posts: 4

PostPosted: Tue Dec 05, 2006 9:09 pm Reply with quote

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

Code:
$ERR == 1


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







PostPosted: Wed Dec 13, 2006 6:24 pm Reply with quote

bump
 
stevedapimp
New Member
New Member



Joined: Jul 14, 2006
Posts: 2

PostPosted: Fri Dec 15, 2006 8:52 pm Reply with quote

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







PostPosted: Sun Jan 07, 2007 3:33 am Reply with quote

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

PostPosted: Sun Jan 07, 2007 10:42 pm Reply with quote

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!

:clap:

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







PostPosted: Mon Jan 08, 2007 5:22 pm Reply with quote

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

PostPosted: Mon Jan 08, 2007 9:02 pm Reply with quote

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\">&nbsp;$nukeurl/modules/Donations/ipn/ipnppd.php&nbsp;&nbsp;<a href=\"$nukeurl/modules/Donations/ipn/ipnppd.php?dbg=1\" target=\"_blank\">


to:
Code:
<td title =\"$desc\" align=\"left\">&nbsp;$nukeurl/modules/Donations/ipn/ipnppd.php&nbsp;&nbsp;<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 
View user's profile Send private message Visit poster's website Yahoo Messenger
montego







PostPosted: Mon Jan 08, 2007 9:59 pm Reply with quote

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.... Embarassed Thanks!
 
maxsplatter
New Member
New Member



Joined: Aug 28, 2008
Posts: 4

PostPosted: Tue Oct 21, 2008 1:01 am Reply with quote

I have the same problem as listed in the original post here. I have update to ver 1.1.1.
 
View user's profile Send private message
Guardian2003
Site Admin



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

PostPosted: Tue Oct 21, 2008 2:04 am Reply with quote

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 Smile
 
View user's profile Send private message Send e-mail
maxsplatter







PostPosted: Tue Oct 21, 2008 8:24 am Reply with quote

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-".
 
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 ©