UseBB Community

The official board for UseBB help and discussion

UseBB Community » Help & Support » Question about installation

Question about installation

Moderators: Gaia.

Page: 1 2 >

Author Post
Member
Registered: Apr 2007
Posts: 14
Location: Wyoming, USA
Hello to everyone,
I am trying to install useBB. Let me say first off that this is my first attempt with installing a forum and I am a complete novice. I am following the automatic installation and have changed the config.php-dist to config.php, uploaded the file to my host. I change the config.php using 777 and it now shows rwxrwxrwx for attributes. My problem is that when I open the install/install.php all I get this script.

<?php

/*
Copyright (C) 2003-2007 UseBB Team
http://www.usebb.net

$Header: /cvsroot/usebb/UseBB/install/install.php,v 1.29 2007/01/01 11:58:43 pc_freak Exp $

This file is part of UseBB.

UseBB is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

UseBB is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with UseBB; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

header('Location: ./index.php');

?>

If anyone could help me out with what I am doing wrong I would be grateful.

hlq
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
install/install.php is the old installer script and was replaced with install/index.php. If you can see the PHP code then you simply don't seem to have any PHP support on your host.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Apr 2007
Posts: 14
Location: Wyoming, USA
Thanks for the reply Dietrich, my webhost is 1and1.com I have the home package on a linux server. It is suppose to have script support for Perl, Python, as well as PHP3, 4 and 5. It also has MYSQL database (5.0) I think with phpMyAdmin 2.6.4

I don't know If there is anything else you need to know.
Member
Registered: Apr 2007
Posts: 14
Location: Wyoming, USA
Hi Dietrich, I recieved this from 1and1 support saying that they don't meet the requirments. I don't see what requirments they are missing, can you tell?

http://links.1and1faqs.com/check_info.php

Thanks for all your help.
hlq
Member
Registered: May 2005
Posts: 294
Location: 98671
What happens when you add http://path/to/forum/install/index.php
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
PHP 4.4.4 should be sufficient. Though when all PHP files show the raw PHP code, I guess something must be wrong with the web server, of perhaps you need to set up your PHP support somewhere (and choose between 3, 4 and 5)?

I guess you should contact your host in this case.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Apr 2007
Posts: 14
Location: Wyoming, USA
Just to make sure I am giving you the correct information this is what I see when I copy the URL of the index.php from the window in my ftp program (WISE-FTP) and paste it into IE7.

edit: install/index.php code removed

hlq
« Last edit by Dietrich on Tue Apr 10, 2007 6:45 pm. »
Member
Registered: Apr 2007
Posts: 14
Location: Wyoming, USA
William wrote
What happens when you add http://path/to/forum/install/index.php


I tried what you suggested, it asked me for the ftp login in information and then gave be a error 404
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
Please contact your host to enable PHP for .php files.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Apr 2007
Posts: 14
Location: Wyoming, USA
I contacted them and this is the reply that I got.

*****
Thank you for contacting us.

Your account should be setup to execute .php files with PHP by default.
I see a usebb folder in your webspace, however currently you do not have
any domains pointing to a place where you'd be able to access the usebb
folder from. At the moment all of your domains are pointing to other
sub-folders, as such there is no real way to access your usebb folder.
You will likely want to point one of your domains to this folder so that
you may access it, or create a sub-domain for this purpose. Once done
you should be able to properly access these files.
*****
So now I have created a sub domain under the domain name of the site that I want to use the forum on where the destination folder is usebb-1.0.5. I thought that this is where Williams idea work.

I tried http://subdomain.domain/usebb-1.0.5/UseBB/install/index.php (where subdomain.domain is the actual name) but I get a 404 error. Am I not using the right path?

thanks
hlq
« Last edit by hlq on Tue Apr 10, 2007 9:39 pm. »
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
You should just use the directory name of your forum, by default this is "UseBB". Over here it is "community".
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Apr 2007
Posts: 14
Location: Wyoming, USA
Dietrich wrote
You should just use the directory name of your forum, by default this is "UseBB". Over here it is "community".
I'm a novice :( please explain.

I do have it running http://hdoforum.happydogobedience.com/UseBB/index.php but if there is a better way to do it I would like to do it now before I go any farther.

Thanks again for all the help in setting this up, I am amazed at how quickly you have answered and how helpful you have been.

hlq
Member
Registered: May 2005
Posts: 294
Location: 98671
You could try how I have it, example like the link in my signature below.
Member
Registered: Apr 2007
Posts: 14
Location: Wyoming, USA
William wrote
You could try how I have it, example like the link in my signature below.


So in your example you placed the usebb folder where?


thanks,
hlq
Member
Registered: May 2005
Posts: 294
Location: 98671
Root directory (public_html).

Simply move your current UseBB directory to public_html.

And it should run normally.
Member
Registered: Apr 2007
Posts: 14
Location: Wyoming, USA
OK thanks I'll give it a try. I'm wondering if I could rename the UseBB directory to something like forum?

thanks,
hlq
Member
Registered: May 2005
Posts: 294
Location: 98671
hlq wrote
I'm wondering if I could rename the UseBB directory to something like forum?

You can name it whatever you like.
Member
Registered: Apr 2007
Posts: 14
Location: Wyoming, USA
Thanks for the tip William, just to recap I can take just take the useBB folder (directory) and drop it into the public_html directory. I'm guessing I could do this using Wise-ftp?

thanks again for you help,
hlq
Member
Registered: May 2005
Posts: 294
Location: 98671
hlq wrote
...just to recap I can take just take the useBB folder (directory) and drop it into the public_html directory. I'm guessing I could do this using Wise-ftp?

Yes, haven't heard of wise-ftp before, but I am guessing most ftp programs have the capability of drag and drop to any location.
Member
Registered: Apr 2007
Posts: 14
Location: Wyoming, USA
In the main directory for the domain there was no public_html folder. I created one and then tried to move the useBB folder to it. I got and access violation message altough it did transfer it to the public_html directory. When I tried to open it in IE I got a 404 error page not found. So want did I do wrong?

thanks,

hlq
Member
Registered: May 2005
Posts: 294
Location: 98671
Your host has something different then.

What do you see when you first open wise-ftp?
Member
Registered: Apr 2007
Posts: 14
Location: Wyoming, USA
OK, I left the public_HTML directory on the server and went back to the sub domain settings and pointed it to the empty public_HTML folder and then moved the usebb folder to it and renamed it forum and everything worked.

http://hdoforum.happydogobedience.com/forum/

I could leave it like this but the public_HTML directory sits at the same level as the domains that I have (five in all) on the server and I would like to install another forum for at least one of the other domains at some point. I would also like to get rid of the hdoforum at the beginning of the URL. So am I thinking correctly that I should get rid of the sub domain and then move the public_HTML directory to the domain that has the form?

Thanks again for giving me a hand with this mess!
hlq
Member
Registered: May 2005
Posts: 294
Location: 98671
Looks like from this page that you have no public_html folder, I'd remove them.

If your file structure looks like...

/
/hdoforum/

Move /forum/ to /, then you can remove sub-domain.
Member
Registered: Apr 2007
Posts: 14
Location: Wyoming, USA
Thanks William it worked like a charm. I moved the forum directory to the domian directory as you suggested and them removed the subdomain. It comes up now just as you suggested. http://happydogobedience.com/forum/

I have deleted the public_html directory and all is good. I guess the next step is to delete the install.pnp?

Thanks again, to both you guys! :D I owe you!
hlq
Member
Registered: May 2005
Posts: 294
Location: 98671
You should remove the install directory (this will remove all contents of it).

If you setup forum with another domain, you should be able setup in same manner.

Hoping you have success on your forum and your welcome.
« Last edit by William on Wed Apr 11, 2007 6:06 am. »

Page: 1 2 >

UseBB Community » Help & Support » Question about installation

UseBB Community is powered by UseBB 1 Forum Software