Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Installation Help
Author Message
tercius
New Member
New Member



Joined: Aug 24, 2005
Posts: 9

PostPosted: Wed Aug 24, 2005 2:04 pm Reply with quote

I get this error and was wondering what i do to fix it.... Im going mad here


Code:
Treasury Configuration Error


If you see this screen then an SQL error was encountered
You shoud see a message in RED below indicating what the error is

 
 
swing_day => 6
UPDATE `config` SET `value`='6' WHERE `name`='swing_day' AND `subtype`=''

dm_title => HELP KEEP OUR SERVERS ONLINE!
UPDATE `config` SET `value`='HELP KEEP OUR SERVERS ONLINE!' WHERE `name`='dm_title' AND `subtype`=''

dm_num_don => 10
UPDATE `config` SET `value`='10' WHERE `name`='dm_num_don' AND `subtype`=''

dm_show_date => 1
UPDATE `config` SET `value`='1' WHERE `name`='dm_show_date' AND `subtype`=''

dm_show_amt => 1
UPDATE `config` SET `value`='1' WHERE `name`='dm_show_amt' AND `subtype`=''

dm_button => https://www.paypal.com/en_US/i/btn/x-click-but21.gif
UPDATE `config` SET `value`='https://www.paypal.com/en_US/i/btn/x-click-but21.gif' WHERE `name`='dm_button' AND `subtype`=''

dm_img_width =>
UPDATE `config` SET `value`='' WHERE `name`='dm_img_width' AND `subtype`=''

dm_img_height =>
UPDATE `config` SET `value`='' WHERE `name`='dm_img_height' AND `subtype`=''


subtype = Jan
goal Jan => 160
UPDATE `config` SET `value`='160' WHERE `name`='goal' AND `subtype`='Jan'


subtype = Feb
goal Feb => 110
UPDATE `config` SET `value`='110' WHERE `name`='goal' AND `subtype`='Feb'


subtype = Mar
goal Mar => 100
UPDATE `config` SET `value`='100' WHERE `name`='goal' AND `subtype`='Mar'


subtype = Apr
goal Apr => 100
UPDATE `config` SET `value`='100' WHERE `name`='goal' AND `subtype`='Apr'


subtype = May
goal May => 100
UPDATE `config` SET `value`='100' WHERE `name`='goal' AND `subtype`='May'


subtype = Jun
goal Jun => 100
UPDATE `config` SET `value`='100' WHERE `name`='goal' AND `subtype`='Jun'


subtype = Jul
goal Jul => 100
UPDATE `config` SET `value`='100' WHERE `name`='goal' AND `subtype`='Jul'


subtype = Aug
goal Aug => 100
UPDATE `config` SET `value`='100' WHERE `name`='goal' AND `subtype`='Aug'


subtype = Sep
goal Sep => 100
UPDATE `config` SET `value`='100' WHERE `name`='goal' AND `subtype`='Sep'


subtype = Oct
goal Oct => 100
UPDATE `config` SET `value`='100' WHERE `name`='goal' AND `subtype`='Oct'


subtype = Nov
goal Nov => 100
UPDATE `config` SET `value`='100' WHERE `name`='goal' AND `subtype`='Nov'


subtype = Dec
goal Dec => 100
UPDATE `config` SET `value`='100' WHERE `name`='goal' AND `subtype`='Dec'

don_button_top => https://www.paypal.com/en_US/i/btn/x-click-but21.gif
UPDATE `config` SET `value`='https://www.paypal.com/en_US/i/btn/x-click-but21.gif' WHERE `name`='don_button_top' AND `subtype`=''

don_top_img_width =>
UPDATE `config` SET `value`='' WHERE `name`='don_top_img_width' AND `subtype`=''

don_top_img_height =>
UPDATE `config` SET `value`='' WHERE `name`='don_top_img_height' AND `subtype`=''

don_button_submit => https://www.paypal.com/en_US/i/btn/x-click-but04.gif
UPDATE `config` SET `value`='https://www.paypal.com/en_US/i/btn/x-click-but04.gif' WHERE `name`='don_button_submit' AND `subtype`=''

don_sub_img_width =>
UPDATE `config` SET `value`='' WHERE `name`='don_sub_img_width' AND `subtype`=''

don_sub_img_height =>
UPDATE `config` SET `value`='' WHERE `name`='don_sub_img_height' AND `subtype`=''

don_name_prompt => Do you want your username revealed with your donation?
UPDATE `config` SET `value`='Do you want your username revealed with your donation?' WHERE `name`='don_name_prompt' AND `subtype`=''

don_name_yes => Yes! - Tell the world I gave my hard-earned cash!
UPDATE `config` SET `value`='Yes! - Tell the world I gave my hard-earned cash!' WHERE `name`='don_name_yes' AND `subtype`=''

don_name_no => No - List my donation as Anonymous
UPDATE `config` SET `value`='No - List my donation as Anonymous' WHERE `name`='don_name_no' AND `subtype`=''

don_show_date => 1
UPDATE `config` SET `value`='1' WHERE `name`='don_show_date' AND `subtype`=''

don_show_amt => 1
UPDATE `config` SET `value`='1' WHERE `name`='don_show_amt' AND `subtype`=''


subtype = rawtext-txt
don_text rawtext text=> We are a non-profit organization completely supported by you, the members. Many organizations have web sites, servers and Internet bandwidth donated by it''s members. We pride ourselves on being run and owned as a community, and not by a few power-hungry members. This means that we need you to be a part of that community. We encourage every member to contribute to the community in any way that they can. Since we do not have our servers or bandwidth donated, we have pay our bills every month to keep things going. For those of you who can, we ask that you make a monetary contribution in whatever denomination you''d like. Every little bit counts.<br>
UPDATE `config` SET `value`='0', `text`='We are a non-profit organization completely supported by you, the members. Many organizations have web sites, servers and Internet bandwidth donated by it''s members. We pride ourselves on being run and owned as a community, and not by a few power-hungry members. This means that we need you to be a part of that community. We encourage every member to contribute to the community in any way that they can. Since we do not have our servers or bandwidth donated, we have pay our bills every month to keep things going. For those of you who can, we ask that you make a monetary contribution in whatever denomination you''d like. Every little bit counts.
' WHERE `name`='don_text' AND `subtype`='rawtext'

don_amt_checked => 1
UPDATE `config` SET `value`='1' WHERE `name`='don_amt_checked' AND `subtype`=''


subtype = 1
don_amount 1 => 10
UPDATE `config` SET `value`='10' WHERE `name`='don_amount' AND `subtype`='1'


subtype = 2
don_amount 2 => 15
UPDATE `config` SET `value`='15' WHERE `name`='don_amount' AND `subtype`='2'


subtype = 3
don_amount 3 => 20
UPDATE `config` SET `value`='20' WHERE `name`='don_amount' AND `subtype`='3'


subtype = 4
don_amount 4 => 30
UPDATE `config` SET `value`='30' WHERE `name`='don_amount' AND `subtype`='4'


subtype = 5
don_amount 5 =>
UPDATE `config` SET `value`='' WHERE `name`='don_amount' AND `subtype`='5'


subtype = 6
don_amount 6 => 0
UPDATE `config` SET `value`='0' WHERE `name`='don_amount' AND `subtype`='6'


subtype = 8
don_amount 8 => 0
UPDATE `config` SET `value`='0' WHERE `name`='don_amount' AND `subtype`='8'

receiver_email => [ Only registered users can see links on this board! Get registered or login! ]
UPDATE `config` SET `value`='mers@hefefil.com' WHERE `name`='receiver_email' AND `subtype`=''

ty_url =>
UPDATE `config` SET `value`='' WHERE `name`='ty_url' AND `subtype`=''

pp_cancel_url =>
UPDATE `config` SET `value`='' WHERE `name`='pp_cancel_url' AND `subtype`=''

pp_itemname => Donation
UPDATE `config` SET `value`='Donation' WHERE `name`='pp_itemname' AND `subtype`=''

pp_item_num => 110
UPDATE `config` SET `value`='110' WHERE `name`='pp_item_num' AND `subtype`=''

pp_image_url =>
UPDATE `config` SET `value`='' WHERE `name`='pp_image_url' AND `subtype`=''

pp_get_addr => 0
UPDATE `config` SET `value`='0' WHERE `name`='pp_get_addr' AND `subtype`=''

ipn_dbg_lvl => 2
UPDATE `config` SET `value`='2' WHERE `name`='ipn_dbg_lvl' AND `subtype`=''

ipn_log_entries => 20
UPDATE `config` SET `value`='20' WHERE `name`='ipn_log_entries' AND `subtype`=''

 
 
 
 


In the Admin bit i stick in the email in the configure part PayPal Configuration, and it returns this, how do i sort this out???

Im under pressure to get this done and i am at my wits end
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Wed Aug 24, 2005 2:57 pm Reply with quote

Maybe stupid question but is it installed?
 
View user's profile Send private message
tercius







PostPosted: Wed Aug 24, 2005 4:28 pm Reply with quote

Yes, the database is all installed and its all in the right parts, so i should think, hitwalker i added u on msn , so if u can give me help i would appreciate it
 
hitwalker







PostPosted: Wed Aug 24, 2005 4:42 pm Reply with quote

well i cant continue to add everybody on msn..
as the error shows its definately wrong..
you can mail me a temp admin login...
 
137nexxus
New Member
New Member



Joined: Dec 21, 2005
Posts: 1

PostPosted: Wed Dec 21, 2005 5:30 pm Reply with quote

ok i get this problem...any one HELP!!!!!!!!

Warning: main(lmy server/config.php): failed to open stream: No such file or directory in /home/my name/www/modules/Donations/ipn/ipnppd.php on line 25

Warning: main(): Failed opening 'myserver/config.php' for inclusion (include_path='.:/usr/local/share/pear:/usr/local/lib/php') in /home/my name/www/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(): Access denied for user: 'nobody@localhost' (Using password: NO) in /home/myname/www/modules/Donations/ipn/ipnppd.php on line 45
Access denied for user: 'nobody@localhost' (Using password: NO)

i took out the links to my site for security reasons

ive checked the config file and the ipnpd.php file and i guess i just dont know what i am doing on the config part what im guessing is tat its not looking up and getting my user name and password
 
View user's profile Send private message
{PST}BunsonHoneydew
New Member
New Member



Joined: Oct 31, 2005
Posts: 6
Location: Australia

PostPosted: Tue Jan 03, 2006 6:38 am Reply with quote

Funny, I am getting the same error. (as below) when I click on the IPN link for paypal in the treasury config.

Warning: main(../config.php): failed to open stream: No such file or directory in D:\hshome\rocky1\phoenixsniperteam.com\modules\Donations\ipn\ipnppd.php on line 25

Warning: main(../config.php): failed to open stream: No such file or directory in D:\hshome\rocky1\phoenixsniperteam.com\modules\Donations\ipn\ipnppd.php on line 25

Warning: main(): Failed opening '../config.php' for inclusion (include_path='.;c:\PHP\PEAR\pear') in D:\hshome\rocky1\phoenixsniperteam.com\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(): Can't connect to MySQL server on 'localhost' (10061) in D:\hshome\rocky1\phoenixsniperteam.com\modules\Donations\ipn\ipnppd.php on line 45
Can't connect to MySQL server on 'localhost' (10061)



The config in the treasury admin contol all works fine. Teh Donate-o-Meter block works but will not update when a donation is made.

I am new to PHP etc and have a rudementary understanding of it. I cannot understand what the error is telling me. Is it saying that it can not read the DB or can not find the config file??

Any help would be appreciated before my angry donators lynch me for not being transparent with their donations.

Thanks.
 
View user's profile Send private message Send e-mail Visit poster's website
hitwalker







PostPosted: Tue Jan 03, 2006 7:19 am Reply with quote

well this error..

Warning: main(../config.php): failed to open stream: No such file or directory in D:\hshome\rocky1\phoenixsniperteam.com\modules\Donations\ipn\ipnppd.php on line 25

Warning: main(../config.php): failed to open stream: No such file or directory in D:\hshome\rocky1\phoenixsniperteam.com\modules\Donations\ipn\ipnppd.php on line 25

simply tells that it cannot find the config file...
try playing with the path a litle...
and check your database settings in the donations config file
 
{PST}BunsonHoneydew







PostPosted: Tue Jan 03, 2006 10:23 pm Reply with quote

Thanks for the reply. But this only raises more questions with me. (Like I said, this is all a little new to me) so thanks for your patience.

Which config file are we talking about?? Are we talking the Nuke config.php file in the main root directory?

How do I "play with the path"? I am not sure where the path is located.

Thanks again.
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Wed Jan 04, 2006 4:13 am Reply with quote

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. Have you done that?
 
View user's profile Send private message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Wed Jan 04, 2006 4:33 am Reply with quote

I have looked at the files for this and it seems some files call for config.inc.php and other for config.php
Make the required edits in config.inc.php and upload to your server
Rename it on the server to config.php
Reupload config.inc.php
you should now hvae both files on your server.

Obviously that is just a quick and dirty fix, what is really needed is to change all references in the files so they are all calling for the same file.

If you can wait an hour or so I'll do that and ask Raven to place it in the downloads here.
 
View user's profile Send private message Send e-mail
{PST}BunsonHoneydew







PostPosted: Wed Jan 04, 2006 5:18 am Reply with quote

I followed the installation instructions and yes, there was no instruction about config.php

I have edited the config.inc.php to reflect the new database name, username password etc. I created for the treasury records.

Are you saying that there should be a second config.php that resides in the same place? If so, I can follow the kind advice from Guardian2003, but what are the ramifications of this? I would rather aim for a cleaner install if I can. (and if Raven would be so kind)

Thanks thus far!!
 
Guardian2003







PostPosted: Wed Jan 04, 2006 6:00 am Reply with quote

You should be able to download it from this site under Nuke/Modules when it has been approved by Raven or you can grab it here [ Only registered users can see links on this board! Get registered or login! ]
 
{PST}BunsonHoneydew







PostPosted: Wed Jan 04, 2006 8:47 am Reply with quote

Thanks Guardian2003...much appreciated. And thanks to Raven for the forum to solve these issues.

That's why I like the Nuke community.

I will let you know how it goes.
 
{PST}BunsonHoneydew







PostPosted: Thu Jan 05, 2006 8:32 am Reply with quote

Well, works like a charm.

Thanks for the help and the swift response. It is really appreciated.

Keep up the good work.

P.S. If either or both of you would like to visit my site and submit a link I would be happy to have it. We have only been goin about a month and a half but get very good traffic from other people with PHP Nuke platforms. Thanks again.
 
Raven







PostPosted: Thu Jan 05, 2006 8:35 am Reply with quote

Hmmmm. A link to your site would help Wink
 
{PST}BunsonHoneydew







PostPosted: Thu Jan 05, 2006 8:38 am Reply with quote

Oh sry. Not in my profile?? Ooops Shocked

www.phoenixsniperteam.com

My first attempt with a website and PhpNuke...so please promise me no snickering at my lame attempts. Rolling Eyes
 
icewolf
Hangin' Around



Joined: Jul 10, 2006
Posts: 32

PostPosted: Tue Oct 02, 2007 10:46 pm Reply with quote

I am sorry I am a noob for bumping this year old thread, but the link Guardian posted doesn't work anymore and I am experiencing the same problem.
Can someone re-upload it.?
 
View user's profile Send private message
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Wed Oct 03, 2007 11:04 am Reply with quote

NukeTreasury 1.1.1 is in the downloads section of this site:
[ Only registered users can see links on this board! Get registered or login! ]

_________________
GCalendar - An Event Calendar for PHP-Nuke
Member_Map - A Google Maps Nuke Module 
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 -> Installation Help

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 ©