Author |
Message |
gtnasty
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Sep 16, 2005
Posts: 12
|
Posted:
Tue Oct 18, 2005 6:58 am |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
Sells PC To Pay For Divorce
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined:
Posts: 5661
|
Posted:
Tue Oct 18, 2005 7:51 am |
|
mmm,i never heard that one before...
check the nuke treasury table and see if the person is in there.. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
Site Admin
![](modules/Forums/images/avatars/41f0b40a419280935f3a0.gif)
Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Wed Oct 19, 2005 6:17 am |
|
It might also be your PayPal IPN settings. Check that in your PayPal profile at PayPal.com. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
gtnasty
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Oct 21, 2005 1:04 pm |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Oct 21, 2005 1:11 pm |
|
well that probably means there arent any tables (so its not installed) or the info in your config is wrong. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Oct 21, 2005 1:12 pm |
|
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). |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
gtnasty
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Oct 21, 2005 1:14 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Oct 21, 2005 1:18 pm |
|
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... |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Oct 21, 2005 1:19 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
gtnasty
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Nov 03, 2005 2:25 pm |
|
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: myemail@myemail.comLogging 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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
gtnasty
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Nov 08, 2005 3:24 pm |
|
Anyone have thoughts on why I'm getting this error. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Nov 08, 2005 3:36 pm |
|
BUT AS I UNDERSTAND THAT VERSION ISNT ORIGINAL.. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
gtnasty
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Nov 08, 2005 3:38 pm |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Nov 08, 2005 3:44 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
blith
Client
![](modules/Forums/images/avatars/102.gif)
Joined: Jul 18, 2003
Posts: 977
|
Posted:
Tue Nov 15, 2005 12:05 pm |
|
Do I need to create a seperated db for this? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Nov 15, 2005 12:15 pm |
|
no...but is doesnt use the nuke prefix |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Nov 15, 2005 2:13 pm |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Nov 15, 2005 2:16 pm |
|
well i havent tried ,but i another nice alternative is maybe the one of telli. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
metalstorm
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Dec 07, 2006
Posts: 1
|
Posted:
Fri Dec 08, 2006 12:33 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|