 |
|

01-19-2002, 07:19 PM
|
|
Registered User
|
|
Join Date: Dec 2001
Posts: 26
|
|
|
Installing phpBB (connection issue)
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. . .
|

01-20-2002, 09:47 AM
|
|
Registered User
|
|
Join Date: Jan 2002
Posts: 1
|
|
|
$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
|

01-20-2002, 11:52 AM
|
|
Tropical Storm
|
|
Join Date: Feb 2001
Posts: 484
|
|
|
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
|

01-20-2002, 09:07 PM
|
|
Registered User
|
|
Join Date: Dec 2001
Posts: 26
|
|
|
that is exactly what I have
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.
|

01-21-2002, 05:18 PM
|
|
Registered User
|
|
Join Date: Nov 2001
Posts: 17
|
|
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
Official phpBB2 Forums
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 not because hr can't help, but because the people there are familiar with it...its usually best to go directly to the source...
|

03-02-2002, 01:34 PM
|
|
Registered User
|
|
Join Date: Aug 2001
Posts: 3
|
|
|
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.
|

03-03-2002, 05:29 AM
|
|
Registered User
|
|
Join Date: Feb 2002
Location: Australia
Posts: 32
|
|
|
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
|

03-03-2002, 03:45 PM
|
|
Registered User
|
|
Join Date: Dec 2001
Posts: 26
|
|
phpbb2 rc2 works for me now. I installed it with only a few problems considering it is pre-beta. consult the PHPBB2 Forum 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 
|

03-04-2002, 01:06 AM
|
|
Tropical Storm
|
|
Join Date: Feb 2001
Posts: 484
|
|
|
RC3 was just released a little bit ago and should solve any problems if you still have some.
|

03-04-2002, 10:06 AM
|
|
Registered User
|
|
Join Date: Feb 2002
Location: Australia
Posts: 32
|
|
|
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?
|

03-04-2002, 10:09 AM
|
|
Tropical Storm
|
|
Join Date: Feb 2001
Posts: 484
|
|
|
You only have PHP 3.01 running?? Why don't you upgrade? This isn't running on an HR server, is it?
Last edited by El_Nino; 03-04-2002 at 10:11 AM.
|

03-04-2002, 10:22 AM
|
|
Registered User
|
|
Join Date: Feb 2002
Location: Australia
Posts: 32
|
|
This is a hostrocket forum aint it?
How do i upgrade?
|

03-04-2002, 10:25 AM
|
|
Registered User
|
|
Join Date: Feb 2002
Location: Australia
Posts: 32
|
|
Oops,
I dont think that came out right...
El Nino, yep, im on hostrocket. 
|

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
|

03-04-2002, 11:09 AM
|
|
Asendtechnologies
|
|
Join Date: Oct 2001
Location: Brantford, ON
Posts: 25
|
|
they just did upgrade their PHP to lastest on all servers i believe
|

03-04-2002, 04:38 PM
|
|
Tropical Storm
|
|
Join Date: Feb 2001
Posts: 484
|
|
|
Make a php file with phpinfo() inside it to see what version you're running.
|

03-04-2002, 05:29 PM
|
|
Asendtechnologies
|
|
Join Date: Oct 2001
Location: Brantford, ON
Posts: 25
|
|
<? phpinfo();
?>
|

03-04-2002, 05:40 PM
|
|
Tropical Storm
|
|
Join Date: Feb 2001
Posts: 484
|
|
|
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
|

03-04-2002, 10:13 PM
|
|
Registered User
|
|
Join Date: Feb 2002
Location: Australia
Posts: 32
|
|
|
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?
|

03-04-2002, 10:19 PM
|
|
Registered User
|
|
Join Date: Feb 2002
Location: Australia
Posts: 32
|
|
|
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
|
| Thread Tools |
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|