|
|
How to Install phpBB
1. Go to the phpBB download website.
2. Download the phpBB 2.0.20 [ Full Package ] (See screenshot below, the screenshot shows 2.0.18, but still, it's 2.0.20 )
3. After downloading, unzip/untar the package
4. In the package, there should be a folder called "phpBB2"
5. Login to your FTP
6. Upload the phpBB Files, I assume you have uploaded to a folder called "forums", you can upload to another directory if you wish.
7. While you are uploading phpBB, we shall create a mySQL Database.
If you use cPanel, please go to step 8a.
If you use Directadmin, please go to step 9a
CPANEL USERS
8a. Login to cPanel.
8b. Go to MySQL Databases.
8c. Go to a field named "Db:" (See screenshot below).
We will call the database "phpbb", you can change it if you wish to.
Then hit "Add Db". You have successfully made your SQL Database .
8d. Go to the fields named "UserName:" and "Password:" (See screenshot below).
We will call the username "forum" and password "password", you can change them if you wish to.
Then hit "Add User". You have successfully made your SQL User .
8e. Go to the two dropdown lists named "User:" and "Db:" (See screenshot below).
Under user, select the user you made, in this case, we will select "forum".
Under db, select the database you made, in this case, we will select "phpbb".
Make sure under "Privileges:", the checkbox beside "ALL" is checked.
Then hit "Add user to DB". You have successfully made a working SQL Database .
DIRECTADMIN USERS
9a. Login to Directadmin.
9b. Go to mySQL Databases.
9c. Select "Create New Database"
9d. You will see the following fields "Database Name", "Database Username", "Username Password", "Confirm Password".
Under Database Name, type in "phpbb", you can change it if you wish to.
Under Database Username, type in "forum", you can change it if you wish to.
Under Username Password and Confirm Password, type in "password", , you can change it if you wish to.
Hit create.
9e. A page showing the Database and user you have just created will show up.
10. Now, I assume you have finished uploading phpBB.
11. CHMOD/Set the permissions of) config.php to 777 and images/avatars/ to 777 using your FTP Client.
12. Go to http://domain/forums/install/install.php
A phpBB Installation page will show up (See screenshot below)
Fill in the details accordingly, each field is explained by a text beside in the image.
Hit "Install".
13. CHMOD config.php to 644 and delete the "install" and "contrib" folders.
YOU HAVE SUCCESSFULLY INSTALLED PHPBB!
Click here to return to the Frihost Index
Are you sure you can leave the "database type" option alone because I always choose Mysql 4.x when I install phpbb?
| Aki wrote: | | Are you sure you can leave the "database type" option alone because I always choose Mysql 4.x when I install phpbb? |
You can . There's no need to choose actually unless you are a nit-picker .
thnx for this tutorial... its very help full... 
phpBB : Critical Error
Could not connect to the database
I'm getting this whenever I try to Install I am redirected to a blank page where it says that above. I filled everything in correctly, and set all the Permissions right. If someone could help me I'd appreciate it.
Your mySQL Database stuff aren't just "phpbb" and "forum" alone (if you did that).
They will be
<username>_phpbb
<username>_forum
Also, make sure everything is correct (your mySQL Database info)
It's still doing the same thing. I did everything your post instructed to do and filled in the appropriate spaces with the appropriate object that goes in it. I am going to recheck everything and go back through the steps to double-check. Once again thanks for your help and time.
No, I meant that you have to put
the 2 sql database names. I was tellign you that the 2 sql databases aren't "phpbb" and "forum" itself but it's your <da user>_phpbb and <da user>_forum.
Or you can just re-create your sql database. The password might be wrong 
Heh I figured it out now. I forgot what I put down. Yeah thanks for the help though I got it working though. It was the Usernames. Now I'm starting to configure it though. Fairly simple and user friendly.
Always wanted to ask: can I use hosting in one place for a forum with database from another place? If "yes" - how can I connect them?
Thank you ver much.I was looking for this tutorial every where.
Message to dxhunter-sorry for troubling you.i requested you fot the tutorial instead of looking here
| Alie wrote: | | Always wanted to ask: can I use hosting in one place for a forum with database from another place? If "yes" - how can I connect them? |
Yes, you can.
Where it says 'Database Host Name', instead of entering 'localhost', you enter in the MySQL provider's IP address. You'll need to create the database on their server. If they use cPanel, you'll need to add the frihost IP address as an allowed host (that means that the FriHost server is allowed to connect to their database server).
Nice post but if you want it in video u should look at this
http://www.demodemo.com/tutorials_phpbb.html
WHAT?!!!!!
I had to enter every single database entry by hand for at least 2 hours! Yet mine is much more different than pHpBB...
How do I change the number of config.php? If I right press it, there doesn't come a option CHMOD. Help me please.
| Yjaxygames wrote: | | How do I change the number of config.php? If I right press it, there doesn't come a option CHMOD. Help me please. |
It depends on the FTP Program you are using...read the Help menu of your FTP Program on how to CHMOD stuff 
| Quote: | | message_die() was called multiple times. This isn't supposed to happen. Was message_die() used in page_tail.php? |
i am getting the above error please help
I solved the problem. Thanks for the tutorial. It's very helpfull.
Does anyone know how to install any of the stuff in the 'contrib/' folder? I tried my hand at installing it and it didn't really turn out correctly. Looks like some documentation was missing.
Stuff in the contrib folder can be ignored..it's more for advanced users, anyway..what did you need it for?
The template caching script looked like it could be useful. I can't see them placing scripts in a folder without instructions on how to install them - seems sort of illogical.
n0obie,
I found that if you use the DirectAdmin panel, it allows users to change permissions right from the file manager screen. Just checkmark (on far right) the file or folder you wish to change, scroll down to bottom of list and look to the right of the Change Permissions* button for a text box with 3 digits in it. Change that number to your desired permission level then click the Change Permissions buttton.
It worked for me while I was setting up my phpBB.
Yes, I know that. But it should be easier through FTP, although it's for the user to decide .
Can anyone tell me how to CHMOD? I had a lot of trouble with it last time I did. I looked up tutorials, but in all the tutorials they just had an option to right click and CHMOD.
I haven't tried Frihost yet, because my password hasn't been e-mailed and I'm waiting. I am just wondering if there's anything you can say.
I should upload the phpbb2 file to public_html/forums right? If I want my domain to be http://www.mydomain.frih.net/forums
It sort of got me confused when I tried it on my other hosts.
Still nothing. I used "set permissions" in DirectAdmin to 777 just like it said and I used FTP and changed permissions using the properties options. It won't let me go to http://runestore.frih.net/forums
The phpbb2 is in:
public_html/forums/phpbb2
Okay, so I have successfully CHMOD my files config.php
How, when I go to http://www.mydomain(which I put in).com/forums/install/install.php nothing happens. It can't find the address.
Where did you upload your forum to?
If you uploaded it to "/", then just type http://domain.com/install/install.php
thanks... this tutorial is perfect.
I can install PHPBB now
thanx, this is very helpful
| Soulfire wrote: | Can anyone tell me how to CHMOD? I had a lot of trouble with it last time I did. I looked up tutorials, but in all the tutorials they just had an option to right click and CHMOD.
I haven't tried Frihost yet, because my password hasn't been e-mailed and I'm waiting. I am just wondering if there's anything you can say.
I should upload the phpbb2 file to public_html/forums right? If I want my domain to be http://www.mydomain.frih.net/forums
It sort of got me confused when I tried it on my other hosts. |
for the CHMOD use this FTP program-
http://www.cuteftp.com/downloads/index.asp enter your email.
then on the config file in cute FTP right click properties set it to the required number.
Just wanted to say Thank You for the tutorial, it was indeed very helpful!
Yeah, that's a great tutorial. Although I do prefer ones made with Captivate, like the one on phpBB. At least I assume it's Captivate...
Regardless of that, wonderful tutorial. Thanks a ton.
i dont know what is wrong but i do everything that is mentioned but i cant get to the screen where u put in ur database information it gives me some kind of error. like im fine up to the putting in the page i have to go to i try any possible combo of domains/subdomains i have with the /forums/install/install.php and i get nothing
Same here, I do everything, then when i try to go to www.mydomain.com/forum/phpbb/install/install.php I get a 404 file not found error from IE. I go to file manager and everything is there. There must be something else we have to do.
No there isn't.
It depends on where you uploaded your forum. IF you uploaded into a folder called "forums", then it will be
http://www.yourdomain.com/forums/install/install.php
It totally depends on where you uploaded your forum 
ok....i put the phpbb2 folder in my forums folder in my public_html folder. therefore the page i should type in would be www.week32.frih.net/forums/install/install.php correct? because thats what i typed in and it gives me the 404 Not Found error in firefox. any suggestions?
Ouch, I feel stupid, when i uploaded i didn't put the Forum in the public_html folder, thats why I wasn't seeing it. I offer the forum my life to repay the debt of my ignorance...
tutorial is fabulous, it probably saved me hours on end and favors from my "smart" friends that i didn't have to use up, so i can save them for later when i ask them to do impossible designs ha! =) thanks again!
Thank you very much no0bie for this tutorial
I really found this helpful to install my forum
I didn't. I got lost in it. I uploaded it and all but didn't know what to do from there. 
Was it so tough..
The first time I attempted it I could do it, although I am a no0bie in this..
Where exactly did you get the hitch?
This is the main reason I switched over to Frihost, because my last host did not support SQL, but they supported PHP, making phpbb inpossible to install. Thanks for everything. 
good tutorial but i want to use it on helm, will it work
I followed all the steps as mentioned in the tutorial up to step 11. I am confused about instruction 12 ``Go to http:// ....
My domain name is abundance.frih.net
How do I go about it.I am getting error message or some strange code.
whne i install i get this error
An error has occurred during installation
An error occurred trying to update the database
Table 'phpbb_auth_access' already exists
this is sceond try first time i forgot to do step 11 
"11. CHMOD/Set the permissions of) config.php to 777 and images/avatars/ to 777 using your FTP Client.
12. Go to http://domain/forums/install/install.php "
I don't get what you mean by the above command. can you please help me?
| xzoz92 wrote: | whne i install i get this error
An error has occurred during installation
An error occurred trying to update the database
Table 'phpbb_auth_access' already exists
this is sceond try first time i forgot to do step 11  |
That means that the database is already set up. To fix this, delete the database, and then make a new, blank one. Then repeat that step
| Quote: | | I don't get what you mean by the above command. can you please help me? |
CHMOD means to change the permissions of the file. In most FTP clients, this is called 'File Permissions' or similar (sometimes, it's in the 'Properties' box).
Go to http ://domain/forums/install/install.php means to go to the /forums/install/install.php file. For example, if your site is daniel15.frihost.net, then you'd go to http ://daniel15.frihost.net/forums/install/install.php.
uh, i think my install.php has gone haywire. I don't c the page as it is in the screenshot u provided. Can u help me?
You need to access the file directly, not through DirectAdmin. So, go to http://mcb-englishclub.frih.net/forums/install/install.php
EDIT: OK, it looks like you already solved it?
Alrighty, so I uploaded the entire phpBB2 folder to my root directory (http://forhisglory.frih.net/). Therefore, when I'm attempting to access the installation page, I'm entering http://forhisglory.frih.net/phpBB2/install/install.php However, the page isn't showing up for me. Any suggestions?
They needed to be in public_html. I moved them for you 
| mathiaus wrote: | They needed to be in public_html. I moved them for you  |
Thank you so much! 
I just created a new database, but I can't figure out what the URL is in order to access the installation page. The phpBB2 folder is in my root directory, under public_html (http://forhisglory.frih.net/public_html).
I've tried accessing the following page:
http://forhisglory.frih.net/phpBB2/install/install.php
... but I receive the following error:
| Quote: | Forbidden
You don't have permission to access /forums/phpBB2/install/install.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. |
How should I proceed?
i feel really dumb for asking this but where do i do this Login to my FTP?
do i do that under directadmin?
| jds10912 wrote: | i feel really dumb for asking this but where do i do this Login to my FTP?
do i do that under directadmin? |
No, to log in to your FTP, you need an FTP client.
If you don't have one, then I'd suggest FileZilla. You may download FileZilla at http://filezilla.sourceforge.net/
thanks, i got it now
but now i am recieving a new error when i try to install
it says: "phpBB : Critical Error
Could not connect to the database"
what am i doing wrong now?
i am gettin the following error!!!!! ne idea where the problem is
Warning: main(./../db/mysql4.php) [function.main]: failed to open stream: No such file or directory in /home/ssthanap/domains/ame-world.frih.net/public_html/forum/includes/db.php on line 35
Warning: main(./../db/mysql4.php) [function.main]: failed to open stream: No such file or directory in /home/ssthanap/domains/ame-world.frih.net/public_html/forum/includes/db.php on line 35
Warning: main() [function.include]: Failed opening './../db/mysql4.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/ssthanap/domains/ame-world.frih.net/public_html/forum/includes/db.php on line 35
Fatal error: Cannot instantiate non-existent class: sql_db in /home/ssthanap/domains/ame-world.frih.net/public_html/forum/includes/db.php on line 60
I can't seem to get things going.
I downloaded phpbb2, unzipped it, uploaded it to my site to a dir I named phpbb2
I have created the DB , and changed the properties of the config and install files.
When I try t execut the install file, I get the following:
You don't have permission to access /phpbb2/install.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Help 
When ever I try to access a page I made it shows up as:
true, '_GET' => true, '_POST' => true, '_COOKIE' => true, '_REQUEST' => true, '_SERVER' => true, '_SESSION' => tru...
Is this because I have phpbb3? Also, no images are showing up on this tut.
Edit~~~~~~~~~
If fixed the abover that, but I am having issues with the server settings. 
|