PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Recumbent
New Member
New Member


Joined: Nov 29, 2006
Posts: 4

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

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


Joined: Nov 29, 2006
Posts: 4

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

bump
View user's profile Send private message
stevedapimp
New Member
New Member


Joined: Jul 14, 2006
Posts: 2

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

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


Joined: Nov 29, 2006
Posts: 4

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

The new v1.1.1 version of treasury solved the problem. I'm still not clear on what was causing it.
View user's profile Send private message
montego
Site Admin


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

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

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:
View user's profile Send private message Visit poster's website
Recumbent
New Member
New Member


Joined: Nov 29, 2006
Posts: 4

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

It's in the downloads for this site.

Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
wolfear
Hangin' Around


Joined: Apr 19, 2006
Posts: 37
Location: San Antonio,Texas

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

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.
View user's profile Send private message Visit poster's website Yahoo Messenger
montego
Site Admin


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

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

Recumbent wrote:
It's in the downloads for this site.

Only registered users can see links on this board!
Get registered or login to the forums!


too funny.... Embarassed Thanks!
View user's profile Send private message Visit poster's website
maxsplatter
New Member
New Member


Joined: Aug 28, 2008
Posts: 4

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

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: 5830

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

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 Visit poster's website
maxsplatter
New Member
New Member


Joined: Aug 28, 2008
Posts: 4

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

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-".
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2010 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum