Author |
Message |
inten
New Member


Joined: Mar 02, 2009
Posts: 8
|
Posted:
Tue Mar 24, 2009 7:23 am |
|
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 ? |
|
|
|
 |
Doulos
Life Cycles Becoming CPU Cycles

Joined: Jun 06, 2005
Posts: 732
|
Posted:
Tue Mar 24, 2009 9:55 am |
|
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 |
|
|
 |
inten

|
Posted:
Tue Mar 24, 2009 11:57 am |
|
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

|
Posted:
Tue Mar 24, 2009 6:32 pm |
|
Works for me. |
Last edited by Doulos on Sat Mar 28, 2009 12:01 pm; edited 2 times in total |
|
|
 |
inten

|
Posted:
Wed Mar 25, 2009 5:57 am |
|
first of Thank you
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

|
Posted:
Wed Mar 25, 2009 12:00 pm |
|
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.  |
|
|
|
 |
inten

|
Posted:
Wed Mar 25, 2009 1:01 pm |
|
i used your files..  |
|
|
|
 |
Doulos

|
Posted:
Wed Mar 25, 2009 6:19 pm |
|
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

|
Posted:
Thu Mar 26, 2009 1:40 am |
|
tnx i will try it again when i come home tonight (Dutch Time) |
|
|
|
 |
Doulos

|
Posted:
Thu Mar 26, 2009 11:18 am |
|
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
|
Posted:
Thu Mar 26, 2009 2:59 pm |
|
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! |
|
|
 |
inten

|
Posted:
Fri Mar 27, 2009 7:04 am |
|
Tnx nukem.. works like a charm  |
|
|
|
 |
nuken

|
Posted:
Fri Mar 27, 2009 9:11 am |
|
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
|
Posted:
Tue Apr 21, 2009 12:12 pm |
|
NUKEM, that download link is broken. |
|
|
|
 |
nuken

|
Posted:
Tue Apr 21, 2009 3:09 pm |
|
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. |
|
|
|
 |
|