• 0

phpbb2 setup help


Question

Please put as much detail into your answers as you can because im very new to this.

Before you install phpBB 2.0 you need to create a Data Source Name. The exact way to do this will depend on your hosting provider, if you are unsure you should check with them before proceeding

What is a data source name?

In general though you should create a System DSN which points to the location where you have stored an unzipped copy of the ms_access_primer.mdb file ( ms_access_primer.zip can be found in db/schemas/).

I understand where the file is but I dont understand what they mean by point the dsn to the location of that file.. www.domain.com/phpbb2/ms_access_primer.mdb?

Now about the uploading of the phpbb2 files. Should I place them in a folder located at, www.domain.com/phpbb2? or where would be best..

The first step of the MySQL database creation wizard allows you to create a database. In the Name of database field enter the name of the database you are creating. This name will be used later when you connect to the database from any database clients or tools

so if I name it, phpbb2, to connect to it, it will use the url www.domain.com/phpbb2? :ermm:

Thanks. :)

Link to comment
https://www.neowin.net/forum/topic/11497-phpbb2-setup-help/
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Alright.....

This whole part of your first post

{

Please put as much detail into your answers as you can because im very new to this.

Before you install phpBB 2.0 you need to create a Data Source Name. The exact way to do this will depend on your hosting provider, if you are unsure you should check with them before proceeding

What is a data source name?

In general though you should create a System DSN which points to the location where you have stored an unzipped copy of the ms_access_primer.mdb file ( ms_access_primer.zip can be found in db/schemas/).

I understand where the file is but I dont understand what they mean by point the dsn to the location of that file.. www.domain.com/phpbb2/ms_access_primer.mdb?

}

Ignore all that....

Step 1...upload all the files to a folder on your server wherever it may be.....if you're hosted at www.mysite.com I'd put it at www.mysite.com/phpbb2

Basically it's quite simple....after you've copied the files up you have to make sure you have a database created for phpbb2...

connect to your mysql server and create a database...once you have the databae created run the install script that comes with phpbb2...

it woudl be www.mysite.com/phpbb2/install.php

if will ask for some basic information...such as the username and password to your mysql server and where its located (presumably put localhost as phpbb will be running from the serving computer)...just supply the install script with that information....

then it will try to download a config file...if it can't it will prompt you to download it...do so and place it in the root dir of phpbb2 (www.mysite.com/phpbb2)

after you have the config file there you should be able to access your board.

Link to comment
https://www.neowin.net/forum/topic/11497-phpbb2-setup-help/#findComment-91623
Share on other sites

  • 0

sure thing...

you know where you uploaded the files...

www.yoursite.com/installdirofphpbb2

well now you run www.yoursite.com/installdirofphpbb2/install.php

BTW, is this release candidate 2 because if it is there was an error in the original install.php file.

open install.php with any editor you want and change line 758....

Change it from

$db->sql_query($sql))

To

$db->sql_query($sql);

Save it.

Now open a web browser and go to www.yoursite.com/phpbb2/install.php

You should see a screen asking for a bunch of configuration options. Leave the first 3 options alone (i.e. English, MySQL 3.x, Install). For the next four options, you will need the information your host has given you. The first of the four asks for the location of the database server. You will probably enter "localhost" (no quotes) unless you know for sure that your database is hosted on another server. Your database must have been created in advance by your web host, and you will enter the name in the second line. The username and password should have been given to you by your host, but I'll bet they probably will be the same as your web FTP username and password. For simplicity, leave the "Prefix for tables in database" as phpbb_

On the next three options, you must create an administrator account. This is the person who has total control over the board, and is needed to do the initial set up.

Next you'll get the part about the config file....

Most likely it will tell you that it can't write the config file. Select the option to "send the file to me." download this file somewhere on your computer where you can find it.........upload that file into the directory where you installed phpbb2.....

www.mysite.com/phpbb2/

that's it...if you did everything properly you can go to www.yoursite.com/phpbb2 and the board will be there for you!

Good Luck

Link to comment
https://www.neowin.net/forum/topic/11497-phpbb2-setup-help/#findComment-91690
Share on other sites

  • 0

the editor found two lines with the same text. Which do I change?

$sql = "SELECT VERSION() AS mysql_version";

if($result = $db->sql_query($sql))

{

$row = $db->sql_fetchrow($result);

$version = $row['mysql_version'];

if( preg_match("/^(3.23)|(4.)/", $version) )

{

$sql = "ALTER TABLE " . $table_prefix . "sessions

TYPE=HEAP";

$db->sql_query($sql))

Ok yeah I see the error. I typed the address wrong is why it didnt go the first time :dead:

Check your pm box pinky

Link to comment
https://www.neowin.net/forum/topic/11497-phpbb2-setup-help/#findComment-91705
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • People yearn for the good old days of IRC and truly open Internet, yet are dismissive of modern solutions like ActivityPub (which Mastodon pioneered) and Matrix. Make it make sense.
    • AI judges learn new tricks to fact-check and code better by Paul Hill Image via Pixabay AI researchers and developers are increasingly turning to large language models (LLMs) to evaluate the responses of other LLMs in a process known as “LLM-as-a-judge”. Unfortunately, the quality of these evaluations degrades on complex tasks like long-form factual checking, advanced coding, and math problems. Now, a new research paper published by researchers from the University of Cambridge and Apple outlines a new system that augments AI judges with external validation tools to improve their judgment quality. This system aims to overcome limitations found in both human and AI annotation. Humans face challenges and biases due to time limits, fatigue, and being influenced by writing style over factual accuracy while AI struggles with the aforementioned complex tasks. The Evaluation Agent that the researchers created is agentic so it can assess the response to determine if external tools are needed and utilizes the correct tools. For each evaluation, three main steps are passed through: initial domain assessment, tool usage, and a final decision. The fact-checking tool uses web search to verify atomic facts within a response; code execution leverages OpenAI’s code interpreter to run and verify code correctness; and math checker is a specialized version of the code execution tool for validating mathematical and arithmetic operations. If none of the tools are found to be useful for making judgments, the baseline LLM annotator is used to avoid unnecessary processing and potential performance regression on simple tasks. The system delivered notable improvements in long-form factual checking, with significant increases in agreement with ground-truth annotations across various baselines. In coding tasks, the agent-based approach significantly improved performance across all baselines. For challenging math tasks, the agents improved performance over some baselines, but not all, and overall agreement remained relatively low at around 56%. Notably, the researchers found that in long-form factual responses, the agent’s agreement with ground-truth was higher than that of human annotators. This framework is extensible, so in the future, other tools could be integrated to further improve LLM evaluation systems. The code for the framework will be made open source on Apple’s GitHub, but it isn’t up yet.
    • https://www.neowin.net/news/tags/mastodon/ In short: Federated Twitter (X)
    • Keep in mind it was purchased by an advertising company. I use SearxNG.
    • I am using Waterfox Private Search now that I started using the Waterfox browser on my PC and Android. Both work great* search waterfox net with full stops in between. * I have an issue where making comments on articles on various websites is difficult with Waterfox on Android as it randomly adds spaces and doubles up on text.
  • Recent Achievements

    • Collaborator
      fernan99 earned a badge
      Collaborator
    • Collaborator
      MikeK13 earned a badge
      Collaborator
    • One Month Later
      Alexander 001 earned a badge
      One Month Later
    • One Month Later
      Antonio Barboza earned a badge
      One Month Later
    • Week One Done
      Antonio Barboza earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      588
    2. 2
      ATLien_0
      221
    3. 3
      Michael Scrip
      171
    4. 4
      Xenon
      137
    5. 5
      +FloatingFatMan
      126
  • Tell a friend

    Love Neowin? Tell a friend!