Private Label and Cobranded VoIP Solutions
BrainCast internet & phone based message/memo recording & reminder organization system
Internet Phone Service and Broadband Phone Service by ViaTalk

Go Back   VoIP Forums, Internet Phone Service Forums, & Web Hosting Forums > CoderForums - Programming Discussion > General Programming Issues > Programming Languages & Technologies > PHP

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-19-2002, 07:19 PM
Quintopia Quintopia is offline
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. . .
Reply With Quote
  #2  
Old 01-20-2002, 09:47 AM
Lazerus Lazerus is offline
Registered User
 
Join Date: Jan 2002
Posts: 1
Send a message via ICQ to Lazerus
$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
Reply With Quote
  #3  
Old 01-20-2002, 11:52 AM
El_Nino El_Nino is offline
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
Reply With Quote
  #4  
Old 01-20-2002, 09:07 PM
Quintopia Quintopia is offline
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.
Attached Files
File Type: txt config.php.txt (4.7 KB, 113 views)
Reply With Quote
  #5  
Old 01-21-2002, 05:18 PM
SugarChick SugarChick is offline
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...
__________________

DFChicks.com
Reply With Quote
  #6  
Old 03-02-2002, 01:34 PM
ericreed ericreed is offline
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.
Reply With Quote
  #7  
Old 03-03-2002, 05:29 AM
deej deej is offline
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
Reply With Quote
  #8  
Old 03-03-2002, 03:45 PM
Quintopia Quintopia is offline
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
Reply With Quote
  #9  
Old 03-04-2002, 01:06 AM
El_Nino El_Nino is offline
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.
Reply With Quote
  #10  
Old 03-04-2002, 10:06 AM
deej deej is offline
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?
Reply With Quote
  #11  
Old 03-04-2002, 10:09 AM
El_Nino El_Nino is offline
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.
Reply With Quote
  #12  
Old 03-04-2002, 10:22 AM
deej deej is offline
Registered User
 
Join Date: Feb 2002
Location: Australia
Posts: 32
This is a hostrocket forum aint it?


How do i upgrade?
Reply With Quote
  #13  
Old 03-04-2002, 10:25 AM
deej deej is offline
Registered User
 
Join Date: Feb 2002
Location: Australia
Posts: 32
Oops,
I dont think that came out right...
El Nino, yep, im on hostrocket.
Reply With Quote
  #14  
Old 03-04-2002, 10:30 AM
Damian
Guest
 
Posts: n/a
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
Reply With Quote
  #15  
Old 03-04-2002, 11:09 AM
Asendin Asendin is offline
Asendtechnologies
 
Join Date: Oct 2001
Location: Brantford, ON
Posts: 25
Thumbs Up

they just did upgrade their PHP to lastest on all servers i believe
Reply With Quote
  #16  
Old 03-04-2002, 04:38 PM
El_Nino El_Nino is offline
Tropical Storm
 
Join Date: Feb 2001
Posts: 484
Make a php file with phpinfo() inside it to see what version you're running.
Reply With Quote
  #17  
Old 03-04-2002, 05:29 PM
Asendin Asendin is offline
Asendtechnologies
 
Join Date: Oct 2001
Location: Brantford, ON
Posts: 25
Thumbs Up

<? phpinfo();
?>
Reply With Quote
  #18  
Old 03-04-2002, 05:40 PM
El_Nino El_Nino is offline
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
Reply With Quote
  #19  
Old 03-04-2002, 10:13 PM
deej deej is offline
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?
Reply With Quote
  #20  
Old 03-04-2002, 10:19 PM
deej deej is offline
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
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump