Raised This Month: $12 Target: $400
 3% 

Release Donation Control 3.1.0 [over 1000 donations served!]


Post New Thread Reply   
 
Thread Tools Display Modes
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 11-09-2013 , 20:15   Re: Donation Control 2.0.4 [updated 11-9-13]
Reply With Quote #121

https://github.com/nineteeneleven/Do...4c1ed8f5747288

https://github.com/nineteeneleven/Do...ebe37cb9447bfc

I did update those files. if im missing something please let me know.
__________________
nineteeneleven is offline
StayOx
SourceMod Donor
Join Date: Jun 2012
Location: Gliese 581g
Old 11-09-2013 , 20:37   Re: Donation Control 2.0.4 [updated 11-9-13]
Reply With Quote #122

Quote:
Originally Posted by nineteeneleven View Post
https://github.com/nineteeneleven/Do...4c1ed8f5747288

https://github.com/nineteeneleven/Do...ebe37cb9447bfc

I did update those files. if im missing something please let me know.
lol you reversed the Collation

e.g replace this:

PHP Code:
CREATE TABLE IF NOT EXISTS `player_tracker` (
  `
idint(11NOT NULL AUTO_INCREMENT,
  `
steamidvarchar(255CHARACTER SET latin1 NOT NULL,
  `
playernamevarchar(255CHARACTER SET latin1 NOT NULL,
  `
playeripvarchar(255CHARACTER SET latin1 NOT NULL,
  `
servertypevarchar(255CHARACTER SET latin1 NOT NULL,
  `
serveripvarchar(255CHARACTER SET latin1 NOT NULL,
  `
serverportvarchar(255CHARACTER SET latin1 NOT NULL,
  `
geoipcountryvarchar(255CHARACTER SET latin1 NOT NULL,
  `
statusvarchar(255CHARACTER SET latin1 NOT NULL,
  
PRIMARY KEY (`id`),
  
UNIQUE KEY `steamid` (`steamid`),
  
KEY `playername` (`playername`),
  
KEY `playerip` (`playerip`),
  
KEY `servertype` (`servertype`),
  
KEY `serverip` (`serverip`),
  
KEY `status` (`status`)
ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=

with this:

PHP Code:
CREATE TABLE IF NOT EXISTS `player_tracker` (
  `
idint(11NOT NULL AUTO_INCREMENT,
  `
steamidvarchar(255NOT NULL,
  `
playernamevarchar(255NOT NULL,
  `
playeripvarchar(255NOT NULL,
  `
servertypevarchar(255NOT NULL,
  `
serveripvarchar(255NOT NULL,
  `
serverportvarchar(255NOT NULL,
  `
geoipcountryvarchar(255NOT NULL,
  `
statusvarchar(255NOT NULL,
  
PRIMARY KEY (`id`),
  
UNIQUE KEY `steamid` (`steamid`),
  
KEY `playername` (`playername`),
  
KEY `playerip` (`playerip`),
  
KEY `servertype` (`servertype`),
  
KEY `serverip` (`serverip`),
  
KEY `status` (`status`)
ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=
and update in GitHub also ....

I forgot my login on GitHub
StayOx is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 11-09-2013 , 21:04   Re: Donation Control 2.0.4 [updated 11-9-13]
Reply With Quote #123

Oh I gotcha

Thanks man.

I'm looking into how to handle translations
__________________
nineteeneleven is offline
ozgaming
SourceMod Donor
Join Date: Aug 2011
Old 11-10-2013 , 02:38   Re: Donation Control 2.0.4 [updated 11-9-13]
Reply With Quote #124

What am I doing wrong if I get this one I run the upgrade database thing
Quote:
Fatal error: Class 'mysqli' not found in /home/*/public_html/*/admin/install/update_database.php on line 4

Last edited by ozgaming; 11-10-2013 at 03:17.
ozgaming is offline
Blacksilver
Member
Join Date: Aug 2011
Location: G E R M A N Y
Old 11-10-2013 , 05:38   Re: Donation Control 2.0.4 [updated 11-9-13]
Reply With Quote #125

How I can log-in into the Admin Panel?
I try my Sourcebans data but it did not work:

Wrong Username oder Password

Code:
Adding proper admin login system  (uses Sourcebans log-in info)
__________________
Come to the dark side, we have cookies *muhaha*
Visit us!

Blacksilver is offline
Walliski
Senior Member
Join Date: May 2013
Old 11-10-2013 , 06:41   Re: Donation Control 2.0.4 [updated 11-9-13]
Reply With Quote #126

Quote:
Originally Posted by ozgaming View Post
What am I doing wrong if I get this one I run the upgrade database thing
Missing libraries:
http://stackoverflow.com/questions/6...sqli-not-found
Walliski is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 11-10-2013 , 09:19   Re: Donation Control 2.0.4 [updated 11-9-13]
Reply With Quote #127

Quote:
Originally Posted by ozgaming View Post
What am I doing wrong if I get this one I run the upgrade database thing

Which version of PHP are you using. If you are renting a webserver, your host should be able to fix that for you.

http://us3.php.net/phpinfo

Quote:
Originally Posted by Blacksilver View Post
How I can log-in into the Admin Panel?
I try my Sourcebans data but it did not work:

Wrong Username oder Password

Code:
Adding proper admin login system  (uses Sourcebans log-in info)
This has already been answered in this thread, and its in the documentation.

Quote:
SB_ADMINS: This is the name of the server group inside Sourcebans that will be allowed to access the admin section of Donations Control. Generally you only want to make this available to people who are in charge of finances in your community. If you dont set this you wont be able to log into the admin panel.
__________________

Last edited by nineteeneleven; 11-10-2013 at 09:23.
nineteeneleven is offline
Dr_Knuckles
AlliedModders Donor
Join Date: Mar 2005
Location: SW Florida
Old 11-10-2013 , 12:03   Re: Donation Control 2.0.4 [updated 11-9-13]
Reply With Quote #128

So suddenly this:

Warning: date() expects parameter 2 to be long, string given in /usr/www/***/admin/pages/list.php on line 72

is showing up on the admin page all over the place.
__________________
Dr_Knuckles is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 11-10-2013 , 12:16   Re: Donation Control 2.0.4 [updated 11-9-13]
Reply With Quote #129

Make sure u don't have any empty fields for expiration date renewal date or sign up date in your database.

You probably ran update_database.php twice and borked your database.

I should really add a check for that.
__________________

Last edited by nineteeneleven; 11-10-2013 at 12:18.
nineteeneleven is offline
Blacksilver
Member
Join Date: Aug 2011
Location: G E R M A N Y
Old 11-10-2013 , 13:40   Re: Donation Control 2.0.4 [updated 11-9-13]
Reply With Quote #130

My mistake -.-'
Using the Web Admin Group
__________________
Come to the dark side, we have cookies *muhaha*
Visit us!

Blacksilver is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode