Author |
Message |
Tizwit
Involved


Joined: Aug 29, 2004
Posts: 324
Location: New Mexico
|
Posted:
Thu Sep 08, 2005 12:44 am |
|
I am trying to do the "Click here to test IPN"
And I get this error in the debug:
Quote: | Warning: main(..edited out* ): failed to open stream: No such file or directory in *edited out* on line 25
Warning: main(..*edited out*): failed to open stream: No such file or directory in *edited out* on line 25
Warning: main(..*edited out*): failed to open stream: No such file or directory in /*edited out* on line 25
Warning: main(): Failed opening '..*edited out*" for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in *edited out* on line 25
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...FAILED - err:
Executing test query...No Database Selected |
Any suggestions |
_________________ Brian
www.4Support.org
Helping the Children in the NM Children's Hospital |
|
|
 |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Thu Sep 08, 2005 5:21 am |
|
oh that can be a few things..
like you didnt installed it....meaning the tables aren't there.
other reason could be as it looks that you haven't put in the proper database info into the treasury config file. |
|
|
|
 |
Tizwit

|
Posted:
Thu Sep 08, 2005 11:54 am |
|
Nope..
Everything is installed and tables are there.
*edited*_donate.config OK
*edited*_donate.financial OK
*edited*_donate.transactions OK
*edited*_donate.translog OK
Proper info is there .....
other ideas? |
|
|
|
 |
hitwalker

|
Posted:
Thu Sep 08, 2005 12:54 pm |
|
well come on....
Where you think this error comes from ?
Code:
Selecting database...FAILED - err:
Executing test query...No Database Selected
|
|
|
|
|
 |
Tizwit

|
Posted:
Thu Sep 08, 2005 12:58 pm |
|
Don't know thats why I am writing..
This is what threw me off:
Quote: |
Connection to db - OK!
Opening connection and validating request with PayPal...
OK!
|
Doesn't that mean the database is being connected to as well as PayPal?
Also I am not sure what all this means:
Quote: |
Warning: main(..edited out* ): failed to open stream: No such file or directory in *edited out* on line 25
Warning: main(..*edited out*): failed to open stream: No such file or directory in *edited out* on line 25
Warning: main(..*edited out*): failed to open stream: No such file or directory in /*edited out* on line 25
Warning: main(): Failed opening '..*edited out*" for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in *edited out* on line 25
Debug mode activated
|
|
|
|
|
 |
hitwalker

|
Posted:
Thu Sep 08, 2005 1:04 pm |
|
well i suggest you doublecheck if uploaded the files properly.
naturaly the mod in modules but dont forget the files that goes into your root !
it looks like you did that wrong...
you write...
Warning: failed to open stream: No such file or directory in *edited out* on line 25....bla..etc...
simply means its looking for something.
but hard to say what files cause you wanna show it anonymous here... |
|
|
|
 |
Tizwit

|
Posted:
Thu Sep 08, 2005 1:48 pm |
|
It appears that the error I was getting was a result of a error in the code of the ipnppd.php file on line 25 it was asking for a config.php file where there was no config.php file. the file that comes with the donations block is config.inc.php once this line of code was changed it looks like the block works. |
|
|
|
 |
hitwalker

|
Posted:
Thu Sep 08, 2005 1:49 pm |
|
good luck..  |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Thu Sep 08, 2005 3:28 pm |
|
Tizwit wrote: | It appears that the error I was getting was a result of a error in the code of the ipnppd.php file on line 25 it was asking for a config.php file where there was no config.php file. the file that comes with the donations block is config.inc.php once this line of code was changed it looks like the block works. |
You are supposed to copy config.inc.php to config.php and change the config.php for your setup. That way you have the original (as *.inc) and your personalized one. That should be in the instructions somewhere but evidently it isn't, as you found out  |
|
|
|
 |
Tizwit

|
Posted:
Thu Sep 08, 2005 3:46 pm |
|
hmm so I am suppose to copy the contents of config.inc.php to the config.php? should I do that or just keep it how I have it now? |
|
|
|
 |
Raven

|
Posted:
Thu Sep 08, 2005 5:06 pm |
|
If it's working then leave it alone. If you were starting over, you would copy it as stated and then apply your updates to the config.php file. |
|
|
|
 |
Tizwit

|
Posted:
Thu Sep 08, 2005 5:48 pm |
|
cool thank you I will keep this in mind.
Could some one send me a small donation via www.4Support.org so I can make sure everything is working..
I can refund it in the morning when I get off of work. Just let me know if you want it refunded or not. |
|
|
|
 |
|