Hello,
I'm using the AAPDRDS Donation System, and have been trying to set it up, so far I have got the errors to go away except:
"Notice: Undefined variable: DESCRIPTIONS in C:\wamp\www\donate\index.php on line 45"
However that is no big deal, the problem is when someone makes a donation, nothing get's sent to them. The mailbox_insert_queue is still empty.
I read that it should be on your sites's MySQL Database, however I don't have a MySQL Database for my site, so I am using it on my ArcEmu Database. (That also seems more logical or else how would it contact the ArcEmu DB) I ran the Queries and it worked, created the databases/tables. Here are some example files:
CONFIG FILE
PHP Code:
<?php
//Mysql Information. This is the information for the site's database, NOT your ascent server's.
define("MYSQL_HOST","localhost"); // The mysql host for your webserver.
define("MYSQL_USER","root"); // Mysql username
define("MYSQL_PASS","PASSWORD"); // Mysql password
define("MYSQL_DATA","donate"); // Database the donation tables are in.
// Path information, EXTREMELY IMPORTANT that you do these right or this will not work.
define("SITE_URL","http://IPADDRESS"); // COMPLETE url to your web site, NO TRAILING SLASH!
define("SYS_PATH","/donate"); // Path to the directory this file is in, beginning with a slash.
// Currency information.
define("CURRENCY_CODE","USD"); // Currency code to be used by PayPal.
define("CURRENCY_CHAR","$"); // Symbol representing your currency code.
// PayPal information. Use 'www.paypal.com' if you wish to test with the sandbox.
define("PAYPAL_URL","www.paypal.com"); // Only change this for sandbox testing.
define("PAYPAL_EMAIL","MYPAYPALEMAIL"); // The account that donations will go to.
// Mail information.
define("MAIL_SUBJECT","Thank You"); // Subject of the reward mail.
define("MAIL_BODY","Thank you for supporting our server! <3 Here is your reward!"); // Mail message.
//Misc
define("ACP_USERNAME","Admin"); // Username to access the ACP
define("ACP_PASSWORD","PASSWORDHERE"); // Password to access the ACP
?>
donate.realms
Entry: 1
Name: NAME Funserver
SQLHost: localhost
SQLUser: root
SQLPass: PASSWORD
CharDB: logon
donate.rewards
Entry: 1
Name: Gold
Realm: 1
Gold: 10000
Price: 0.1