Raised This Month: $ Target: $400
 0% 

Release Legacy SourceBans 1.4.11 (Updated 2014/02/17)


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Chaos Llama
Senior Member
Join Date: Jul 2006
Old 04-07-2008 , 20:44   Re: SourceBans (1.0.0 RC1d)
#431

Here's what i have in my databases.cfg file (modified to remove database username, password and name):

Quote:
"Databases"
{
"driver_default" "mysql"

"sourcebans"
{
"driver" "mysql"
"host" "69.57.183.122"
"database" "xxxx"
"user" "xxxx"
"pass" "xxxxxxxxxxxxxxxxx"
//"timeout" "0"
"port" "3306"
}
}
I get an error message before too and it complains about sqlite not being installed (because i deleted the ext so that only mysql is loaded).

I noticed in my scripting directory, i have admin-sql-threaded and admin-sql-prefetch. Should either of these be installed in plugins and if so which one causes the least amount of connections to the database server?

Last edited by Chaos Llama; 04-07-2008 at 20:55.
Chaos Llama is offline
0815*Sir Tom
Junior Member
Join Date: Nov 2004
Old 04-08-2008 , 08:00   Re: SourceBans (1.0.0 RC1d)
#432

Quote:
Originally Posted by Davethegreat View Post
make sure your php.ini is configured correctly.
erm... My php.ini runs fine, for over one year now. As I said, RC1 ran w/o a problem days ago, before I upgraded to the latest build, which doesn't.

On the other hand, what should I do with my php.ini then?

(webserver works great, WBB3, AMXBans, etc.pp. all running well and smooth)
__________________
0815*Sir Tom is offline
Davethegreat
Senior Member
Join Date: Nov 2007
Old 04-08-2008 , 09:17   Re: SourceBans (1.0.0 RC1d)
#433

sorry wrong file in your
.htaccess the following line should be there.
AddHandler application/x-httpd-php .php .php5
Davethegreat is offline
Send a message via AIM to Davethegreat
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 04-08-2008 , 09:46   Re: SourceBans (1.0.0 RC1d)
#434

@Chaos Llama: an ext only gets loaded if a plugin actually uses it, so there's no use in deleting the file. And no, you don't need any of the admin-sql plugins, only admin-flatfile.

@Sir Tom: http://www.php.net/date_create clearly says that date_create is a PHP >= 5.1.0 function, so if your installation says it doesn't recognize that function there's definitely something wrong with your PHP settings.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
Davethegreat
Senior Member
Join Date: Nov 2007
Old 04-08-2008 , 09:55   Re: SourceBans (1.0.0 RC1d)
#435

That command in your .htaccess i gave you should fix it^^
Davethegreat is offline
Send a message via AIM to Davethegreat
zerak
Senior Member
Join Date: Feb 2008
Old 04-08-2008 , 13:06   Re: SourceBans (1.0.0 RC1d)
#436

Chaos Llama used debug and tell us the error you are getting with this database.cfg (should not be the same error as previously) and tell us if you run the server behind NAT/PAT (ex of the most common: 192.168.0.XXX)
zerak is offline
Davethegreat
Senior Member
Join Date: Nov 2007
Old 04-08-2008 , 13:24   Re: SourceBans (1.0.0 RC1d)
#437

Or 10.*.*.* in professional hosting
Davethegreat is offline
Send a message via AIM to Davethegreat
zerak
Senior Member
Join Date: Feb 2008
Old 04-08-2008 , 14:03   Re: SourceBans (1.0.0 RC1d)
#438

Cool never thought I was professional

One common problem (at least for us, and I keep forgetting it) is that the query use hostip which is the ip inside your local net that is behind NAT/PAT and hence i made the patch a couple of pages back where you can set it to use the ip specified (an if case that removes the overwritting with hostip).
zerak is offline
Davethegreat
Senior Member
Join Date: Nov 2007
Old 04-08-2008 , 14:15   Re: SourceBans (1.0.0 RC1d)
#439

xD, yeah 10, is usually used in companys and 192 in homes. But I myself have done the same zerak
Davethegreat is offline
Send a message via AIM to Davethegreat
Chaos Llama
Senior Member
Join Date: Jul 2006
Old 04-08-2008 , 14:42   Re: SourceBans (1.0.0 RC1d)
#440

I finally got it to work. I'm not exactly sure what fixed it as i tried a whole bunch of things. I enabled auto connect and fixed the table prefix in sourcebans.cfg
Chaos Llama is offline
Closed Thread



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 04:31.


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