mrmoh
Forum Replies Created
-
Forum: Plugins
In reply to: [WP w3all phpBB] Doesnt Work$w3all_dbhost = ‘127.0.0.1:3307’;
$w3all_dbport = ”; // maybe required
seems to work, i can find users in the phpbb now , rest should be working as intendend then.
Im not home right now but from the looks of it, the port isnt used so makes sense that the connection returns as null or failed since those info wont work on my running 3306 port, which it probably defaults to if nothing is set.to use the config.php file structure from phpbb one would need to concat the 2 strings,
$w3all_config[“dbhost”]
and $w3all_config[“dbport”]
into
sting$dbhost
wpdb::__construct( string $dbuser, string $dbpassword, string $dbname, string $dbhost )same for the usage of the root config file. I assume it doesnt came to attention because just using a db host without specifying :xxxx after it will default to 3306 making it as if the dbhost with dbport=3306 was indeed used.
Forum: Plugins
In reply to: [WP w3all phpBB] Doesnt WorkThe wordpress install is on the same db , meaning the same port.
It was installed using that Port so the config file already had
define( ‘DB_HOST’, ‘127.0.0.1:3307’ );
Not sure what my wp-config has to do with it when setting the port in another config file / its set and used by everything else.
I tested as I said before$dbhost = ‘127.0.0.1’;
$dbport = ‘3307’;with the original root phpbb config
same result with custom
$w3all_dbhost = ‘127.0.0.1’;
$w3all_dbport = ‘3307’; // maybe required—–
$w3all_dbhost = ‘127.0.0.1:3307’;
$w3all_dbport = ”; // maybe requiredthis works finally..
maybe implement the usage of the port or change the description from
$w3all_dbport = ”; // maybe required
to
$w3all_dbport = ”; // unused set via dbhostthanks for the help.
Forum: Plugins
In reply to: [WP w3all phpBB] Doesnt Worklast post widget or [w3allforumpost id=”3″] doesn’t work either. Showing there is no Post..
You should have at least made it so, that it checks if the connection is available before actually activating the plugin and possibly removing the option to log in for ID 1 when ID2 cant be found even tho it’s supposed to link it. Like I said before there is absolutely NO difference at all if I put a config.php in where all strings are empty. The only thing the plugin is actually checking on is the “Phpinstalled” stuff…
As I said, I’m using the original root config.php of my phpbb installation as a path, my Forum works just fine, no issues at all, WordPress still sees no users, no post/threads, nothing.
At this point, I’m wondering if I should actually spend more time trying to figure out what stops it from working, or if I should just write a new plugin for the same purpose .. Not really convinced so far that this implementation is properly done. The only idea like you mentioned already as well is that there is an issue with it having the same DB but different table prefixes
also saw
$w3all_dbms = ''; // maybe required $w3all_dbhost = 'required value here'; $w3all_dbport = ''; // maybe requiredin the unused custom config.php file, im using db port 3307, i hope the “maybe required” refers to it not being required to set if its == 3306
anyway, this is the config im using
// phpBB 3.2.x auto-generated configuration file // Do not change anything in this file! $dbms = 'phpbb\\db\\driver\\mysqli'; $dbhost = '127.0.0.1'; $dbport = '3307'; $dbname = 'cms'; $dbuser = 'root'; $dbpasswd = 'pw'; $table_prefix = 'forum_'; $phpbb_adm_relative_path = 'adm/'; $acm_type = 'phpbb\\cache\\driver\\file'; @define('PHPBB_INSTALLED', true); // @define('PHPBB_DISPLAY_LOAD_TIME', true); @define('PHPBB_ENVIRONMENT', 'production'); // @define('DEBUG_CONTAINER', true);Forum: Plugins
In reply to: [WP w3all phpBB] Doesnt WorkIm trying to just copy one user i created for testing this out.
it is to assume that the error is triggered from this user then since its the only one showing up as well
heres a screen from the phpbb _user table
here from the wp_users table
linking simply does not work for me even tho they are indeed 100% similiar, even took out the Admin -> admin uppercase difference.
to me it seems more like a general issue, there is no difference at all if i put wrong config.php values in or not , using the Phpbb root config file MUST be correct though, obviously when the forum itself works
- This reply was modified 6 years, 9 months ago by mrmoh.