VX Donations issues

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
Garrett1
New to forums
New to forums
Posts: 6
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Wed Aug 10, 2016 9:23 pm

VX Donations issues

Post by Garrett1 »

VXDonation Installer
This page will try its best to properly install VXDonation for you. If you need to manually edit anything after this installation, that can be done in config.php

Checking file permissions..

install.php is writeable.

cache.json is writeable.

.manolis is writeable.

config.php is writeable.

ipn_errors.log is writeable.

page.php is readable.

tos.html is readable.

index.php is readable.

.htaccess is readable.

footer.html is readable.

api/ is readable.

lib/ is readable.

pages/ is readable.

css/ is readable.

img/ is readable.

js/ is readable.

ipn.php is readable.

ipnlistener.php is readable.

All file permissions seem to be set correctly. This script does not check inside the directories. Please read this and make sure everything is correct.

Attempting to create database tables..

Fatal error: Call to a member function prepare() on null in /usr/www/gar/public/donate/lib/katniss/mod.DB.php on line 95

"$st = DB::$db->prepare( $str );" line 95
User avatar
hiimcody1
Former staff
Former staff
Posts: 1616
Joined: Wed Dec 28, 2011 4:59 pm

Re: VX Donations issues

Post by hiimcody1 »

I'm not familiar with that script, does it require any initial configuration? It seems like the database code for it is not setup correctly as that is where it's erroring out.
Garrett1
New to forums
New to forums
Posts: 6
Joined: Wed Aug 10, 2016 9:23 pm

Re: VX Donations issues

Post by Garrett1 »

hiimcody1 wrote:I'm not familiar with that script, does it require any initial configuration? It seems like the database code for it is not setup correctly as that is where it's erroring out.
https://vxdonation.com/readme https://scriptfodder.com/scripts/view/3 ... ion-system

The first one is how to install it and the second is the script link to scriptfodder
User avatar
hiimcody1
Former staff
Former staff
Posts: 1616
Joined: Wed Dec 28, 2011 4:59 pm

Re: VX Donations issues

Post by hiimcody1 »

Based on that install instructions, it says you need to edit a config.php. Did you edit it properly? Can you paste it here with the passwords redacted?
User avatar
TacTicToe
This is my homepage
This is my homepage
Posts: 848
Joined: Fri Feb 18, 2011 1:08 pm
Location: USA
Contact:

Re: VX Donations issues

Post by TacTicToe »

Check you have bought the script. You will not be able to set this up if you have downloaded it illigally
*snicker*
It is very important that you actually read this document thoroughly. Not doing so can and will cause problems. Do not skip sections.
As hiimcody said, you may wish to run thru the steps again very carefully, 1 by 1, and make sure you did things right. Especially editing the config file. You may wish to print it out as a reference check list to go by.
Garrett1
New to forums
New to forums
Posts: 6
Joined: Wed Aug 10, 2016 9:23 pm

Re: VX Donations issues

Post by Garrett1 »

hiimcody1 wrote:Based on that install instructions, it says you need to edit a config.php. Did you edit it properly? Can you paste it here with the passwords redacted?
i love you. uh where do i make a mysql database and how do i install it on my server/website
Garrett1
New to forums
New to forums
Posts: 6
Joined: Wed Aug 10, 2016 9:23 pm

Re: VX Donations issues

Post by Garrett1 »

So, I have completely set up the donations and it is live. However, after buying a perk. It simply does not work. It shows that I bought it on the website, but the action does not occur.
Garrett1
New to forums
New to forums
Posts: 6
Joined: Wed Aug 10, 2016 9:23 pm

VX Donations Trouble

Post by Garrett1 »

I have completely set up VX Donations for my server. And I've ran over the config files multiple times, however, whenever I buy a perk for the server, it does not go through. The paypal is set up and the money can be received , however, the action that is associated with the specified perk does not take place.
User avatar
crashmultiz
New to forums
New to forums
Posts: 12
Joined: Tue Aug 16, 2016 9:50 pm
Location: United States, California

Re: VX Donations issues

Post by crashmultiz »

check if the addon in the server is configured correctly. could be the addon not being able to connect to the DB
Garrett1
New to forums
New to forums
Posts: 6
Joined: Wed Aug 10, 2016 9:23 pm

Re: VX Donations issues

Post by Garrett1 »

crashmultiz wrote:check if the addon in the server is configured correctly. could be the addon not being able to connect to the DB
Well we are using ulx and teh darkrp money command so what do i configure this is my website
http://gar.site.nfoservers.com/donate/#/
User avatar
crashmultiz
New to forums
New to forums
Posts: 12
Joined: Tue Aug 16, 2016 9:50 pm
Location: United States, California

Re: VX Donations issues

Post by crashmultiz »

im not familar with VX donation but ill try to help. there should be a config about mysql stuff.

for example Prometheus (which i use) has this in the config

Code: Select all

Prometheus.Mysql.Host = "hostname"
	Prometheus.Mysql.Port = 3306
	Prometheus.Mysql.Username = "username"
	Prometheus.Mysql.Password = "password"
	Prometheus.Mysql.DBName = "databasename"
Post Reply