![]() |
Quote:
Was a weird problem, the database-connect was working fine with "localhost" while "localhost:3306" responded "connection refused". No idea why. Fixed by removing the port (setting it to empty). I will include a setting for this in upcoming v2.7.6+ so that anybody having connection problems can easily switch the behaviour of the database-driver... :) @snakes1100: Enjoy ibProArcade :cool: :up: @hirlas: Please also try this: open /arcade.php search for Code:
require $sql_driver; Code:
// fix for mysqli-connection-problems (by MrZeropage) |
admincp/arcade.php
Add on line 46: // local fix for mysqli-connection-problems (by MrZeropage) $config['MasterServer']['port'] = ""; $port = ""; Thanks for the fix MrZ! |
I dont know how i missed is previously when i compared servers, but the server in question had the following in my.cnf:
skip-networking If i recall thats a default setting from mysql 5.x.x, so now it accepts remote tcp/ip connections as it should, this server is pretty old & has since been upgraded many times & now users mariadb. I removed the fixes & tested, all working fine now, but id agree with your email MrZ, id leave the fix in there for 2.7.6 |
Quote:
Hope you find the problem in your server-settings so I learn about such problem and to help other users in the future :) |
I agree, im just letting you know what i found, with skip-networking disabled, your coding for a db connection works, with it enabled, your db connection attempts fail.
I verified this issue on 2 other servers that dont run whm/cpanel, same issue, the arcade breaks with skip-networking enabled. |
Which mySQL-versions are you using that cause the problem?
|
mariadb 10.2, on all 3 servers i tested with.
Tested another whm/cpanel server with the original test forum for 3.8 that we did before you released 2.7.5, same issue on it with the way you're calling the db connection, also running maraidb 10.2 |
Received email about update, for a second I was very happy thinking that we will have this great mod for VB5 but....
|
Quote:
|
As far as I know, vB5 is not providing such deep integrated Plugin/Hook-System, to be more secure and less adaptable. Right now I don't have vB5, so maybe anyone could tell me details about that (PN please).
|
All times are GMT. The time now is 06:09 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|