Setting up a forum

Q&A, advice, reviews, and news about the computers, phones, TVs, stereos, and pretty much anything else that can't be easily whittled out of a stick or chipped out of stone.
User avatar
TheTallest
Redshirt
Posts: 349
Joined: Tue Nov 02, 2004 8:53 am
Location: UK

Setting up a forum

Post by TheTallest » Mon Mar 07, 2005 10:03 am

I'm trying to setup a forum and I'm having soo many troubes with it.
Has anyone ever used PHPBB? Is it any good and if not what's better?

If there are any forum setup masters out there that'd like to help me message me on MSN or sommin.

cheers
I resurve the right to be inconsistant (and bad at spelling)
Deacon wrote: RISC processors are rubbish, and anyone that wants to know about them is rubbish.

I just find RISC processors very dull (unless you made it yourself, then that's impressive, it's like buying an expensive car, well done you can spend money.

I still have bigger penis than you.

User avatar
edge
Redshirt
Posts: 3376
Joined: Mon Jun 02, 2003 9:43 pm
Gender: Male
Location: Pittsburgh, PA
Contact:

Post by edge » Mon Mar 07, 2005 2:57 pm

PHPBB is fantastic, IMO. I havn't setup a recent version, but the last time I set it up it was pretty straight forward, and actually walked you through the setup through a web interface. I'm a moderator on a forum that is using PHPBB, and it's super easy to work with. If you get stuck or have any questions, I may be able to walk you through it a bit, although there are probably people here that have a lot more experience in setting it up than I do.

User avatar
TheTallest
Redshirt
Posts: 349
Joined: Tue Nov 02, 2004 8:53 am
Location: UK

Post by TheTallest » Mon Mar 07, 2005 3:31 pm

ok, I've unzipped the phpbb2 zip into a forum directory.
I've installed MySQL 4 and I think I've created a DB, think because I'm not 100% sure.
I've set the config.php to be writeable.
I've installed the PHP bit on my iis server.
I browse to HTTP://localhost/forum/install/install.php and nothing, just sits there.
then gives the error
"CGI Timeout
The specified CGI application exceeded the allowed time for processing. The server has deleted the process."

I can get to HTTP://localhost/forum/install/index.htm though

anyone got any ideas?

Posted Mon Mar 07, 2005 3:39 pm:

DAMN IT IT'S WORKIN NOW.

I mean..... er..... I like ... TOTALLY fixed it and the explination of how is long and rambling.
I resurve the right to be inconsistant (and bad at spelling)
Deacon wrote: RISC processors are rubbish, and anyone that wants to know about them is rubbish.

I just find RISC processors very dull (unless you made it yourself, then that's impressive, it's like buying an expensive car, well done you can spend money.

I still have bigger penis than you.

User avatar
TopCat
Redshirt
Posts: 3783
Joined: Wed May 21, 2003 1:34 am
Gender: Male
Contact:

Post by TopCat » Mon Mar 07, 2005 4:06 pm

[quote="TheTallest";p="462370"]on my iis server.[/quote]

Danger Will Robinson
hahaha i don't come to these forums anymore :x

User avatar
TheTallest
Redshirt
Posts: 349
Joined: Tue Nov 02, 2004 8:53 am
Location: UK

Post by TheTallest » Mon Mar 07, 2005 4:27 pm

learning one new thing at a time :)
apache's on my list
right after setting up a linux server.
I resurve the right to be inconsistant (and bad at spelling)
Deacon wrote: RISC processors are rubbish, and anyone that wants to know about them is rubbish.

I just find RISC processors very dull (unless you made it yourself, then that's impressive, it's like buying an expensive car, well done you can spend money.

I still have bigger penis than you.

User avatar
T8y8
Redshirt
Posts: 961
Joined: Fri Aug 15, 2003 5:42 am
Location: Vancouver, WA
Contact:

Post by T8y8 » Mon Mar 07, 2005 6:04 pm

It's a PHP error.

Something, somewhere is wrong with your PHP.

I've had similar problems, but each was fixed differently.

Open notepad and type

<php ?
{
echo('Hello world');
}
>

/save as test.php. Stick it on the server, and navagate to it.

If it opens, then...I'm not sure what to tell ya.
Image

User avatar
Deacon
Shining Adonis
Posts: 44234
Joined: Wed Jul 30, 2003 3:00 pm
Gender: Male
Location: Lakehills, TX

Post by Deacon » Mon Mar 07, 2005 6:08 pm

[quote="T8y8";p="462410"]Open notepad and type

<php ?
{
echo('Hello world');
}
>[/quote]
Is that valid PHP??

Just use this:

Code: Select all

<? phpinfo(); ?>
The follies which a man regrets the most in his life are those which he didn't commit when he had the opportunity. - Helen Rowland, A Guide to Men, 1922

User avatar
T8y8
Redshirt
Posts: 961
Joined: Fri Aug 15, 2003 5:42 am
Location: Vancouver, WA
Contact:

Post by T8y8 » Mon Mar 07, 2005 11:24 pm

No, Deac it isn't.

I just suck because I'm a PHP Newb.
Image

User avatar
Deacon
Shining Adonis
Posts: 44234
Joined: Wed Jul 30, 2003 3:00 pm
Gender: Male
Location: Lakehills, TX

Post by Deacon » Mon Mar 07, 2005 11:57 pm

Your code loosely translated (still ugly, with unnecessary characters, and not the way I prefer to visualize it, but still syntactically tolerated):

Code: Select all

<?php
{
echo "Hello world";
}
?>
The way I would do it (usually with a trailing semicolon, though it's not strictly necessary):

Code: Select all

<? echo "Hello world!" ?>
Or you could just do

Code: Select all

<?="Hello World!"?>
See http://www.php.net/manual/en/function.echo.php for more info.
The follies which a man regrets the most in his life are those which he didn't commit when he had the opportunity. - Helen Rowland, A Guide to Men, 1922

User avatar
T8y8
Redshirt
Posts: 961
Joined: Fri Aug 15, 2003 5:42 am
Location: Vancouver, WA
Contact:

Post by T8y8 » Tue Mar 08, 2005 12:21 am

Well, my book is PHP 4.

So I suck.

You may commence the beating.
Image

User avatar
Deacon
Shining Adonis
Posts: 44234
Joined: Wed Jul 30, 2003 3:00 pm
Gender: Male
Location: Lakehills, TX

Post by Deacon » Tue Mar 08, 2005 12:36 am

That is PHP 4...
The follies which a man regrets the most in his life are those which he didn't commit when he had the opportunity. - Helen Rowland, A Guide to Men, 1922

User avatar
T8y8
Redshirt
Posts: 961
Joined: Fri Aug 15, 2003 5:42 am
Location: Vancouver, WA
Contact:

Post by T8y8 » Tue Mar 08, 2005 12:53 am

<?="Hello World!"?>

My book, Always puts the PHP in there. The point I'm trying to make it I messed up.

Just accept it already.
Image

User avatar
Deacon
Shining Adonis
Posts: 44234
Joined: Wed Jul 30, 2003 3:00 pm
Gender: Male
Location: Lakehills, TX

Post by Deacon » Tue Mar 08, 2005 1:00 am

<?php ?> syntax will always work correctly. <? ?> is more usually works shorthand, though it depends on the options set up in your php.ini file. The <?php ?> format is a better idea if you're also wanting to specify other formats as well, such as <?xml ?> and such.
The follies which a man regrets the most in his life are those which he didn't commit when he had the opportunity. - Helen Rowland, A Guide to Men, 1922

User avatar
BtEO
Redshirt
Posts: 4803
Joined: Tue Feb 18, 2003 2:28 pm
Location: England
Contact:

Post by BtEO » Tue Mar 08, 2005 1:05 am

Expansion (which should be obvious now anyway): As a general rule if you're doing anything seriously always use <?php ?> since the code becomes portable a lot easier. Best to just get in the habit from day one anyway.

User avatar
Martin Blank
Knower of Things
Knower of Things
Posts: 12709
Joined: Fri Feb 07, 2003 4:11 am
Real Name: Jarrod Frates
Gender: Male
Location: Dallas, TX
Contact:

Post by Martin Blank » Tue Mar 08, 2005 4:09 am

<? ?>?

BAD DEACON! BAD! NO MORE CODING FOR YOU TONIGHT! GO TO BED, MISTER, AND THINK ABOUT WHAT YOU'VE DONE!
If I show up at your door, chances are you did something to bring me there.

Locked

Who is online

Users browsing this forum: No registered users and 1 guest