View Full Version : Installing phpBB (connection issue)
Quintopia
01-19-2002, 07:19 PM
I have installed it before elsewhere, so I copied the sql database over to a database I created at hr.
The database is called devnull_psforums
I created a user of the same name and added it to the database
in phpBB:
I changed the $dbhost value to "localhost"
I changed the $dbuser value to "devnull_psforums" (my hr user name is devnull)
I changed the $dbpasswd value to the password I registered the user with.
However, this line always returns false:
$db = @mysql_connect("$dbhost", "$dbuser", "$dbpasswd")
why? how can I fix it? plz reply soon. I don't want to have to send another ticket. . .
Lazerus
01-20-2002, 09:47 AM
$dbuser is wrong.. That should be your login to HR
there should be a $dbname or something like that. for that one use devnull_psforums
El_Nino
01-20-2002, 11:52 AM
With phpBB there should be
$dbhost = "localhost"
$dbname = "devnull_databasename"
$dbuser = "devnull_useryoucreated"
$dbpasswd = "passwordyouset"
Make sure the user you created has access to that database
Quintopia
01-20-2002, 09:07 PM
the name of the user is the same as the name of the database. I do have the $dbname value as "devnull_psforums" also.
the devnull_psforums has access to the devnull_psforums db. I made sure of that. no there is something wrong with db, not with the script. I am attaching the config.php file. I believe you will see that I have done it right.
SugarChick
01-21-2002, 05:18 PM
I would suggest just installing phpBB2 to start out with.
40 times more features and a hell of a lot easier to install.
Download files from SourceForge (https://sourceforge.net/project/showfiles.php?group_id=7885)
Official phpBB2 Forums (http://phpbb.sourceforge.net/phpBB2/)
But if you want to stick with what you have...your config file does look right. I would make the dbuser and dbname totally different names to avoid any confusion and then make sure that the user is assigned to that db.
If you still have probs, I highly doubt its a prob with the db's or anything on hr's end...you will get 100 times better and faster responses from phpBB Forums (http://phpbb.sourceforge.net/phpBB/) not because hr can't help, but because the people there are familiar with it...its usually best to go directly to the source...
ericreed
03-02-2002, 01:34 PM
I am having the same problem, and I have tried both phpBB and phpBB 2.0. Please let me know if you figured this out.
Thanks,
Eric.
I installed pbpBB v1.4.4 about a week ago. No probs.
However, I've been trying to get phpBB v2 RC2 to install and it wont... I keep getting syntax errors all over the place. The only problem I can see is that I have php v3 installed whereas phpBB2 RC2 requires php ver4.
Does anyone know how we can upgrade the PHP thats available to our accounts?
cheers,
deej
Quintopia
03-03-2002, 03:45 PM
phpbb2 rc2 works for me now. I installed it with only a few problems considering it is pre-beta. consult the PHPBB2 Forum (http://phpbb.sourceforge.net/phpbb2/) for all the serious bugs in phpbb2 rc2. Just search the forums, if you had it a problem, odds are someone else already posted about it :)
El_Nino
03-04-2002, 01:06 AM
RC3 was just released a little bit ago and should solve any problems if you still have some.
El Nino,
I just uploaded and tried RC3.
Its still 'no go'.
Its giving me the same parse errors as RC2.
I'm quite certain it's a PHP version issue.
The install docs mention that they are using PHP v4.2, whereas I have currently have PHP 3.0.1 installed....
Quintopia, what version of PHP are you running?
El_Nino
03-04-2002, 10:09 AM
You only have PHP 3.01 running?? Why don't you upgrade? This isn't running on an HR server, is it?
This is a hostrocket forum aint it?
;)
How do i upgrade?
Oops,
I dont think that came out right...
El Nino, yep, im on hostrocket. :)
Damian
03-04-2002, 10:30 AM
You can't upgrade -- but you can send in a trouble ticket asking for HR to either upgrade php on your server, or move you to one with a later version of php on it.
D
Asendin
03-04-2002, 11:09 AM
they just did upgrade their PHP to lastest on all servers i believe
El_Nino
03-04-2002, 04:38 PM
Make a php file with phpinfo() inside it to see what version you're running.
Asendin
03-04-2002, 05:29 PM
<? phpinfo();
?>
El_Nino
03-04-2002, 05:40 PM
It won't work on the forums but if you run it from your website it should tell you what version of PHP is running
El Nino,
Yeah, i've done that already, thats how i found out that I'm running PHP v3.0.1.
I guess I must be sitting on one of the older servers then...
Is moving to a newer server a free service?
Eeekkk...
My trouble-ticketing system is broken..
(i've never used it before)
-----begin-----
Not Found
The requested URL /troubletickets/tt2.html was not found on this server.
Apache/1.3.22 Server at rocketsupport.com Port 80
-----end-----
Is there someone here I can contact about this?
cheers,
deej
middleground
03-13-2002, 04:24 PM
In know of one cause of parse error on RC-2 (hopefully fixed on RC3)
phpBB2- Parse Error on Line 758 of Install.php
If you get this-
edit line 758 and remove second ")" on end and replace with a ";"
This happened on a second install- after edit- went fine.
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.