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
Tizwit
Involved
Involved



Joined: Aug 29, 2004
Posts: 324
Location: New Mexico

PostPosted: Thu Sep 08, 2005 12:44 am Reply with quote

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 [ Only registered users can see links on this board! Get registered or login! ]
Helping the Children in the NM Children's Hospital 
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Thu Sep 08, 2005 5:21 am Reply with quote

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







PostPosted: Thu Sep 08, 2005 11:54 am Reply with quote

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







PostPosted: Thu Sep 08, 2005 12:54 pm Reply with quote

well come on.... Smile

Where you think this error comes from ?
Code:


Selecting database...FAILED - err:
Executing test query...No Database Selected
 
Tizwit







PostPosted: Thu Sep 08, 2005 12:58 pm Reply with quote

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







PostPosted: Thu Sep 08, 2005 1:04 pm Reply with quote

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







PostPosted: Thu Sep 08, 2005 1:48 pm Reply with quote

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







PostPosted: Thu Sep 08, 2005 1:49 pm Reply with quote

good luck.. Smile
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Thu Sep 08, 2005 3:28 pm Reply with quote

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







PostPosted: Thu Sep 08, 2005 3:46 pm Reply with quote

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







PostPosted: Thu Sep 08, 2005 5:06 pm Reply with quote

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







PostPosted: Thu Sep 08, 2005 5:48 pm Reply with quote

cool thank you I will keep this in mind.

Could some one send me a small donation via [ Only registered users can see links on this board! Get registered or login! ] 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.
 
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 ©