PHP Bulletin Board Home
News About Home
Features of phpBB Test drive phpBB Downloads Support for phpBB The phpBB Community Styles for customising phpBB 3rd party modifications to phpBB

Support Home | Knowledge Base Home | Submit Article | Search Articles | Browse Articles
 Installing phpBB2 at lycos.co.uk 
Description: Instructions on how to install phpBB 2 at the free host tripod/lycos.
Author: aparsons
Date: Tue Oct 29, 2002 4:19 pm
Type: Tutorial
Keywords: instructions, setup, set-up, set up, install, procedures, tripod, lycos, free, host, server
Category: Installing/upgrading/converting
Installing phpBB2 at lycos.co.uk

Go to phpbb.com and click on the "Downloads" button. Save the file on your computer.

Unzip the files on your computer. In the "docs" directory (folder) there are files named "install" and "readme". You should read these.

Be sure you have activated PHP and MySQL for your account.

Upload all the files, including the directory structure as it was when you unzipped it. It takes 10 min or so with a cable modem and an ftp program. An ftp program (like WS_FTP LE or SmartFTP ) is much easier to do this with than WebFTP. You can upload using WebFTP but you must create all the directories, select the files one at a time, and upload them in groups of up to 8 files. You won't enjoy it.

In "Session Properties/Advanced" be sure WS_FTP LE is in passive mode. Use the "auto" checkbox on the main screen so it will upload images in binary and text in ASCII. In "Session Properties/General" on WS_FTP LE use:

    Host Name/Address: ftp.members.lycos.co.uk
    Host Type: UNIX (standard)
    User ID: your lycos username
    Password: your lycos ftp password
    Account: leave this blank

Click "ok" to connect with lycos.

With WS_FTP LE, you locate the directory where you unzipped phpBB in the left window, then select the folder "phpBB2". Do not select the folder "phpBB-2.01". Click on it and you will see it contains the folder "phpBB2".

Next locate the directory you want to place the new phpBB2 directory into (at lycos.uk) in the right window. This is most likely going to be your "username" directory. So your files will go into "/username/phpBB2". Click on the right-pointing arrow to upload the files and folders. Answer "yes" when it asks if you want to upload the directories and their contents.

Be sure everything is in the directory "phpBB2" on the server.

Make sure config.php uploaded. WS_FTP LE will upload this file but WebFTP will not. If it is not there, use WebFTP and create it with the "New File" button. This is a file of size "0".

Using a web browser, go to "http://members.lycos.co.uk/username/phpBB2/install/install.php"

Replace "username" in the above URL with your username. If you named the directory (where you installed your files) "phpBB2" you will go to the install page, otherwise change the URL to the directory you put your files into.

Some of the fields on the install page are already filled in. Fill in the needed information.

Database Configuration

    server: localhost
    database name: username_uk_db
    database username: username
    database password: leave this field blank
    Prefix for tables in database: phpbb_

Admin Configuration

    Admin Email: enter an email address
    Domain Name: members.lycos.co.uk
    Server Port: 80
    Script Path: /username/phpBB2/
    Administrator Username: this will be the administrators name on the message board once it is running.
    Adimistrator Password: enter a password for access to administrator areas
    Admistrator Password (confirm): re-enter the password

As always, replace "username" and "username/phpbb2" with your Lycos username and the directory you are installing into. Then click on the "Start Install" button.

I have posted an example at:
http://members.lycos.co.uk/scubausa/phpbbinstall.html

After it is installed, access your new message board at:

"http://members.lycos.co.uk/username/phpBB2"


If all is working then:
Quote:

"Once you have succssfully installed phpBB 2.0.1 you MUST ensure you remove install.php, upgrade.php and update_to_201.php files. Leaving these in place is a very serious potential security issue. Additionally you may delete the db/schemas, docs/ and contrib/ directories if you wish."
(from docs/install.html-you really should read those "install" and "readme" files)

Some things don't work exactly right at lycos because of the way the server is configured, security issues or ads I guess. I had some warnings that would appear when new users registered. The fix is posted at the phpbb site. To correct this, edit the file:

/phpBB2/includes/page_header.php

At the end of this file you will find:

Code:

header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
header ('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT');
header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');

$template->pparse('overall_header');


?>


The edit is the addition of '@' symbols in the code above, to give:

Code:

@header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
@header ('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT');
@header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');

$template->pparse('overall_header');


?>


This is from the phpbb forums. See the threads below.

http://www.phpbb.com/phpBB/viewtopic.php?t=16312
http://www.phpbb.com/phpBB/viewtopic.php?t=14152

Quote:

"Also make sure that config.php has exactly 19 lines, no blank spaces at the end of the lines and no additonal code ."

http://www.phpbb.com/phpBB/viewtopic.php?t=19243

Good Luck!

Username: Password:
News | Features | Demo | Downloads | Support | Community | Styles | Mods | Links | Merchandise | About | Home
 © Copyright 2002 The phpBB Group.