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



Joined: Mar 02, 2009
Posts: 8

PostPosted: Tue Mar 24, 2009 7:23 am Reply with quote

Downloaded treasury 1.1 from this site like always
have the latest version of ravennuke running
an i cant get treasury to function :S

Block: works
Donate meter: works
Admin treasury page is blank for some reason
tried to uncomment the dbi in mainfile but then the whole site goos blank
it workt perfectly at my previous host now i moved to a other one ant cant get it to work

Some have a answer please ?
 
View user's profile Send private message
Doulos
Life Cycles Becoming CPU Cycles



Joined: Jun 06, 2005
Posts: 732

PostPosted: Tue Mar 24, 2009 9:55 am Reply with quote

Are you getting any php error messages? Error reporting on?


Last edited by Doulos on Tue Mar 24, 2009 4:59 pm; edited 1 time in total 
View user's profile Send private message
inten







PostPosted: Tue Mar 24, 2009 11:57 am Reply with quote

Fatal error: Call to undefined function sql_query() in /home/clubcoyote/club-coyote.eu/admin/modules/treasury.php on line 25

Fixed that one by changing the php on line 25 to
Code:
$result = $db->sql_query("select radminsuper from ".$prefix."_authors where aid='$aid'");

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


Next problem

Warning: include() [function.include]: Unable to access ../config.php in /home/clubcoyote/club-coyote.eu/modules/Donations/ipn/ipnppd.php on line 25

Warning: include(../config.php) [function.include]: failed to open stream: No such file or directory in /home/clubcoyote/club-coyote.eu/modules/Donations/ipn/ipnppd.php on line 25

Warning: include() [function.include]: Failed opening '../config.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/clubcoyote/club-coyote.eu/modules/Donations/ipn/ipnppd.php on line 25
Debug mode activated

PHP-Nuke Treasury mod

PayPal Instant Payment Notification script

See below for status:
----------------------------------------------------------------

Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'clubcoyote'@'localhost' (using password: NO) in /home/clubcoyote/club-coyote.eu/modules/Donations/ipn/ipnppd.php on line 45
Access denied for user 'clubcoyote'@'localhost' (using password: NO)
 
Doulos







PostPosted: Tue Mar 24, 2009 6:32 pm Reply with quote

Works for me.


Last edited by Doulos on Sat Mar 28, 2009 12:01 pm; edited 2 times in total 
inten







PostPosted: Wed Mar 25, 2009 5:57 am Reply with quote

first of Thank you Smile

wel.. i drop al old files, folders and tables in the database and uploaded yours
this is what i have now.
Code:
Warning: include(modules/Donations/config.php) [function.include]: failed to open stream: No such file or directory in /home/clubcoyote/club-coyote.eu/admin/modules/treasury.php on line 471


Warning: include() [function.include]: Failed opening 'modules/Donations/config.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/clubcoyote/club-coyote.eu/admin/modules/treasury.php on line 471


and on the place where the config should ve in de admin section it says:

Code:
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/clubcoyote/club-coyote.eu/admin/modules/treasury.php on line 600


Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/clubcoyote/club-coyote.eu/admin/modules/treasury.php on line 424

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/clubcoyote/club-coyote.eu/admin/modules/treasury.php on line 424

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/clubcoyote/club-coyote.eu/admin/modules/treasury.php on line 424

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/clubcoyote/club-coyote.eu/admin/modules/treasury.php on line 396

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/clubcoyote/club-coyote.eu/admin/modules/treasury.php on line 396

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/clubcoyote/club-coyote.eu/admin/modules/treasury.php on line 424

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/clubcoyote/club-coyote.eu/admin/modules/treasury.php on line 441


Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/clubcoyote/club-coyote.eu/admin/modules/treasury.php on line 615


and now what should i do ?
 
Doulos







PostPosted: Wed Mar 25, 2009 12:00 pm Reply with quote

One solution would be to make the following changes:

in admin/modules/treasury.php on line 471, change modules/Donations/config.php to modules/Donations/config.inc.php

in blocks/block-donat-o-meter.php line 29 change ("../config.php"); to config.inc.php

in modules/Donations/ipn/ipnppd.php line 25 change ("../config.php"); to ("../config.inc.php");

I updated the files in the dl.

As far as the mysql errors, someone with more experience than me will have to answer. Nothing I did to my database caused either of those errors.

I guess I am going to have to learn to leave this up to the experts. Embarassed
 
inten







PostPosted: Wed Mar 25, 2009 1:01 pm Reply with quote

i used your files.. Confused
 
Doulos







PostPosted: Wed Mar 25, 2009 6:19 pm Reply with quote

Doulos wrote:

I updated the files in the dl.



I did not notice that I also had a copy of config.php in my directory which allowed the files work even though they were not completely corrected.
 
inten







PostPosted: Thu Mar 26, 2009 1:40 am Reply with quote

tnx Smile i will try it again when i come home tonight (Dutch Time)
 
Doulos







PostPosted: Thu Mar 26, 2009 11:18 am Reply with quote

Don't listen to me, I am just a fellow noob who can't seem to mind his own business.
 
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Thu Mar 26, 2009 2:59 pm Reply with quote

Just in case anyone needs the Treasury module for U.S. currency, I have done some updating on it and it can be downloaded on my site, Trickedoutnews.com

Updates include:
XHTML 1.0 transitional compliant.
$dbi replaced with $db.
RavenNuke(tm) 2.30.xx ready
Admin files moved into module.
New admin icon.
Some code cleanup (code was in good shape from 1.1.1 updates by codewiz.com and code-authors.com)

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
inten







PostPosted: Fri Mar 27, 2009 7:04 am Reply with quote

Tnx nukem.. works like a charm Dance-Y worship
 
nuken







PostPosted: Fri Mar 27, 2009 9:11 am Reply with quote

Cool... If you have any issues, let me know. I tried to test all functions of it and all appeared to work properly.
 
hamster
Hangin' Around



Joined: Mar 19, 2009
Posts: 42

PostPosted: Tue Apr 21, 2009 12:12 pm Reply with quote

NUKEM, that download link is broken.
 
View user's profile Send private message
nuken







PostPosted: Tue Apr 21, 2009 3:09 pm Reply with quote

I took the download down because it was not showing the transactions correctly and because code-authors.com has a RN ready one for download.
 
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 ©