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



Joined: Sep 16, 2005
Posts: 12

PostPosted: Tue Oct 18, 2005 6:58 am Reply with quote

I have installed this module on my site. It shows up just fine, but when people donate on the site it's not showing that they donated, even if they selected that they wanted the info to be seen.

Any help please.
Thx,
GT
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Tue Oct 18, 2005 7:51 am Reply with quote

mmm,i never heard that one before...
check the nuke treasury table and see if the person is in there..
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6432

PostPosted: Wed Oct 19, 2005 6:17 am Reply with quote

It might also be your PayPal IPN settings. Check that in your PayPal profile at PayPal.com.

_________________
I search, therefore I exist...
nukeSEO - nukeFEED - nukePIE - nukeSPAM - nukeWYSIWYG
 
View user's profile Send private message
gtnasty







PostPosted: Fri Oct 21, 2005 1:04 pm Reply with quote

It's my ipn settings.

I get this when I test it:

Connection to db - OK!
Opening connection and validating request with PayPal...
OK!
Selecting database...FAILED - err:
Executing test query...No Database Selected

I checked my config for it and all the db settings are fine. Not sure whats up.
 
hitwalker







PostPosted: Fri Oct 21, 2005 1:11 pm Reply with quote

well that probably means there arent any tables (so its not installed) or the info in your config is wrong.
 
kguske







PostPosted: Fri Oct 21, 2005 1:12 pm Reply with quote

That error message doesn't verify your IPN settings in your paypal account. But it also suggests that there is a problem accessing the tables in the Nuke Treasury database (which can be separate from the Nuke database).
 
gtnasty







PostPosted: Fri Oct 21, 2005 1:14 pm Reply with quote

huh, I think I figured it out. hopefully....

Saw that in the ipnppd.php file it was looking for a config.php to include. But when I installed the module it created a config.inc.php. So I just copied and and renamed it to config.php. After which I don't get the failed message.

Hopefully that resolves that issue.

Thx for the help
 
kguske







PostPosted: Fri Oct 21, 2005 1:18 pm Reply with quote

Great! Thank you for posting the solution - someone else is likely to have the same problem and will appreciate being able to find an answer...
 
hitwalker







PostPosted: Fri Oct 21, 2005 1:19 pm Reply with quote

yeah old weird bug.
 
gtnasty







PostPosted: Thu Nov 03, 2005 2:25 pm Reply with quote

ok, had another person donate and still not showing up. So I guess that wasn't the only problem. I do get one thing in my Test IPN:

Debug mode activated

PHP-Nuke Treasury mod

PayPal Instant Payment Notification script

See below for status:
----------------------------------------------------------------
Connection to db - OK!
Opening connection and validating request with PayPal...
OK!
Selecting database...OK!
Executing test query...PASSED!
PayPal Receiver Email: [ Only registered users can see links on this board! Get registered or login! ] events


Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in /home/saw4ever/public_html/modules/Donations/ipn/ipnppd.php on line 225

----------------------------------------------------------------
If you don't see any error messages, you should be good to go!

When I look in the file I see that line set to:

. strftime('%Y-%m-%d %H:%M:%S',strtotime($_POST['payment_date'])) . "','" . addslashes($log) . "')";

Not sure what to do with it and don't know if thats causing my issue. My guys want to show that they have donated to the cause.

Any help is appreciated.
 
gtnasty







PostPosted: Tue Nov 08, 2005 3:24 pm Reply with quote

Anyone have thoughts on why I'm getting this error.
 
hitwalker







PostPosted: Tue Nov 08, 2005 3:36 pm Reply with quote

BUT AS I UNDERSTAND THAT VERSION ISNT ORIGINAL..
 
gtnasty







PostPosted: Tue Nov 08, 2005 3:38 pm Reply with quote

ok found that if I don't have log everything selected it does not give me the error. So I have selected log only errors. Seems to be ok now.
 
hitwalker







PostPosted: Tue Nov 08, 2005 3:44 pm Reply with quote

Ok
 
blith
Client



Joined: Jul 18, 2003
Posts: 977

PostPosted: Tue Nov 15, 2005 12:05 pm Reply with quote

Do I need to create a seperated db for this?
 
View user's profile Send private message Visit poster's website
hitwalker







PostPosted: Tue Nov 15, 2005 12:15 pm Reply with quote

no...but is doesnt use the nuke prefix
 
kguske







PostPosted: Tue Nov 15, 2005 2:13 pm Reply with quote

The author recommends creating a separate DB for security (it has its config file where you specify the database), but it's debatable as to whether it's really necessary.
 
hitwalker







PostPosted: Tue Nov 15, 2005 2:16 pm Reply with quote

well i havent tried ,but i another nice alternative is maybe the one of telli.
 
metalstorm
New Member
New Member



Joined: Dec 07, 2006
Posts: 1

PostPosted: Fri Dec 08, 2006 12:33 pm Reply with quote

gtnasty wrote:
huh, I think I figured it out. hopefully....

Saw that in the ipnppd.php file it was looking for a config.php to include. But when I installed the module it created a config.inc.php. So I just copied and and renamed it to config.php. After which I don't get the failed message.

Hopefully that resolves that issue.

Thx for the help


I thought I would add to this even though this was posted along time ago.
When it created config.inc.php that was what it was suppose to do.
This is the error I got when I tested the IPN:

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

Warning: include() [function.include]: Failed opening '../config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/******/public_html/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 '******'@'localhost' (using password: NO) in /home/*****/public_html/modules/Donations/ipn/ipnppd.php on line 45
Access denied for user '*****'@'localhost' (using password: NO)

(**** is where my user name was)

The problem is in the ipnppd.php file
Open the ipnppd.php file up and do a search for config.php
Here is what should come up:

/* NOTE: This file is accessed by PayPal directly, and not through PHP-Nuke */

include("../config.php");
$ERR = 0;
$log = "";
$loglvl = $tr_config[ipn_dbg_lvl];
define(_ERR, 1);
define(_INF, 2);

if( isset($_GET[dbg]) )

Make this change so it looks like this:

/* NOTE: This file is accessed by PayPal directly, and not through PHP-Nuke */

include("../config.inc.php");
$ERR = 0;
$log = "";
$loglvl = $tr_config[ipn_dbg_lvl];
define(_ERR, 1);
define(_INF, 2);

if( isset($_GET[dbg]) )

You can make this change while the file is on your server or make the change on your hard drive then upload back to its proper place on the server. After making this change the test passed.
Hope this helps anyone still having this problem.

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