• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Going crazy and desperate for answers on phpBB.

Hie, it's been days and I've been struggling to start the installation.

I'm on a Windows XP Professional system with MY SQL 4.02 and PHP version 5. I've downloaded phpBB 5.0 and extracted everything in place. The my.ini and php.ini files are arlaedy modded as told. I could log on to install.php an key in everything but when I click in stall. It gives me a warning saying this:

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in h:\Inetpub\wwwroot\phpBB2\db\mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in h:\Inetpub\wwwroot\phpBB2\db\mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database

I'm very puzzled on why is this happening and what must I do to make it work? I'm on my ends trying to get this thing to work. MYSQL service is running.

A few questions that I was pondering, can the phpBB run on a winXP platform or it must be on a Win2k Server machine. I'm testing it on my WInXP machine before porting it over to the server. So am I doing it wrong? I've ran out of ideas as to what I must do to make it run. Please advice.
 
I have never ever used phpBB. But that error looks like phpBB is not finding something it needs. Are all the directories typed correctly? Do you have the correct version of MySQL installed? Do you have all the necessary components? Open up mysql4.php, and look at line 330 and 331: what are the function calls? That should give you some idea of what's happening.

dfi
 
I've done all those. Opened the code up to check and it's pointing to something about the database. Not sure what it's about but I'm sure it's something about the database. Do I have to manually create the database or phpBB will do it for me?

ANy body else?
 
Well it has to do with the database.

Are all the tables created?
Do you have the right username/password/database name in the config?
 
Originally posted by: GtPrOjEcTX
have you tried asking on phpbb's forums?

Yeah I did. But I get answers here faster. 😀

I did not do anything on My sql after installing it. I just went straight to install.php after I install the sql program. I need to go create a user on it?? The php script will create the tables. That's what the install.php is for.
 
you need to create a folder or DB using sql then assign a username a pass to it, phpbb will need this info also so make sure its right.

then yes phpbb will create the tables

the db needs to be there before you start

open up phpmyadmin and create the db or grab mysqlfront and do it thst way

Regards

Allanv
 
Back
Top