Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2014-11-05 16:16:41

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,724
Website

NEW 2.0-dev installation instructions

The current and up-to-date instructions for installing the development version of FluxBB 2.0 (currently in alpha) can be found in the repository:

https://github.com/fluxbb/fluxbb/tree/2.0#installation

During the alpha phase (and as a developer wanting to contribute), you will need to install dependencies yourself using Composer. The final version downloads will contain all the dependencies.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#2 2014-11-05 16:17:39

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,724
Website

Re: NEW 2.0-dev installation instructions

I'm fairly positive that this should be working (on the command line).

If you're interested in contributing and helping out, please test it out and be sure to post any feedback in this thread. smile


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#3 2014-11-05 21:16:25

tlalok
Member
From: France
Registered: 2014-11-05
Posts: 7
Website

Re: NEW 2.0-dev installation instructions

hi,

When i run this command "php fluxbb install" i get this error message.

PHP Fatal error:  Class 'Illuminate\Foundation\Application' not found in /**/**/web/fluxbb/bootstrap/start.php on line 16

Fatal error: Class 'Illuminate\Foundation\Application' not found in /**/**/web/fluxbb/bootstrap/start.php on line 16

Last edited by tlalok (2014-11-06 01:04:23)

Offline

#4 2014-11-06 12:51:38

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,724
Website

Re: NEW 2.0-dev installation instructions

That is very strange, did you run Composer?


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#5 2014-11-06 18:04:29

tlalok
Member
From: France
Registered: 2014-11-05
Posts: 7
Website

Re: NEW 2.0-dev installation instructions

Franz wrote:

That is very strange, did you run Composer?

yes, i updated composer to the last version but i get the same error message when i run "php fluxbb install"

The vendor folder and autoload.php are created.

$ls
bootstrap	composer.lock	fluxbb		readme.md	storage
composer.json	config		index.php	robots.txt	vendor

Offline

#6 2014-11-06 22:45:16

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,724
Website

Re: NEW 2.0-dev installation instructions

Ah, I just reinstalled and had the same error, and I realize why. "illuminate/foundation" is not a stand-alone component anymore, I'll have to refactor a bit... stay tuned.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#7 2014-11-07 02:32:15

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,724
Website

Re: NEW 2.0-dev installation instructions

Okay, try again. It may work now. smile


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#8 2014-11-09 16:51:02

tlalok
Member
From: France
Registered: 2014-11-05
Posts: 7
Website

Re: NEW 2.0-dev installation instructions

It works! but I get another error message...

$ php fluxbb install
Installing FluxBB...
Database host: 127.0.0.1        
Database name: v2fluxbb
Database user: root
Database password: 
Confirm database password: 
Table prefix:v2_
Admin username: tlalok
Admin password: 
Confirm admin password: 
Admin email address: tlalok@mail.com
PHP Fatal error:  Call to a member function connection() on null in
fluxbb/vendor/illuminate/database/Eloquent/Model.php on line 2948

Fatal error: Call to a member function connection() on null in
fluxbb/vendor/illuminate/database/Eloquent/Model.php on line 2948

Last edited by tlalok (2014-11-09 16:52:42)

Offline

#9 2014-11-10 22:29:44

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,724
Website

Re: NEW 2.0-dev installation instructions

Ah, sorry, we'll get there eventually. I'll post here when this should work. smile


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#10 2014-11-12 12:33:13

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,724
Website

Re: NEW 2.0-dev installation instructions

Okay, try now (either from the beginning, or execute "git pull" and then "composer update"), I cleaned up the console installer.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#11 2014-11-12 13:41:52

tlalok
Member
From: France
Registered: 2014-11-05
Posts: 7
Website

Re: NEW 2.0-dev installation instructions

"php fluxbb install" works now.

When I run http://localhost/fluxbb I get this error message

Fatal error: Cannot use Illuminate\Contracts\View\View as View because the name is already in use in /.../fluxbb/core/src/View/AlertsComposer.php on line 5

Last edited by tlalok (2014-11-12 13:45:22)

Offline

#12 2014-11-12 21:17:51

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,724
Website

Re: NEW 2.0-dev installation instructions

"composer update" and try again, please. smile

P.S.: I wonder why I never had this problem...


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#13 2014-11-13 01:23:10

tlalok
Member
From: France
Registered: 2014-11-05
Posts: 7
Website

Re: NEW 2.0-dev installation instructions

with "composer update" I get the same error message but it's not the same specific namespace ???

Fatal error: Cannot use Illuminate\Contracts\View\View as View because the name is already in use in /Users/tlalok/web/fluxbb/vendor/fluxbb/core/src/View/GlobalsComposer.php on line 8

Oh, I fixed another error,  I give write permission to the folder fluxbb/storage/.

Last edited by tlalok (2014-11-13 01:24:11)

Offline

#14 2014-11-13 12:18:04

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,724
Website

Re: NEW 2.0-dev installation instructions

I should have thought of that. wink

Try again - "composer update"...


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#15 2014-11-14 23:08:27

fungku
Member
Registered: 2013-03-19
Posts: 47
Website

Re: NEW 2.0-dev installation instructions

I am going to try this when I get home today. Exciting stuff...

Last edited by fungku (2014-11-14 23:08:46)


Canadian Lumberjack

Offline

#16 2014-11-15 12:20:07

joel
Member
Registered: 2014-07-04
Posts: 440

Re: NEW 2.0-dev installation instructions

ummm. 2.0 is getting finish. Is that what you mean. I would have love to test this installation but got confuse with the composer. What the hell is composer?

let me know when it easy to install with the install.php only.

Thanks.


Warning! be informed and be forewarned. <p>
<?php
I'm not a native English Man. So my comments might contain some grammatical explosive (ELD), missapropreation of words (dinamyt), The use of wrong words (missiles), & mis spelling of words (war drones). Any of the occurrence can cause havoc. So be warned
?>

Offline

#17 2014-11-15 13:42:02

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,724
Website

Re: NEW 2.0-dev installation instructions

2.0-alpha2 is around the corner. That will be installable without any command-line magic.

But it's also not finished. Not even beta yet.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#18 2014-11-15 13:48:42

chris98
Member
From: England, United Kingdom
Registered: 2013-05-31
Posts: 1,292
Website

Re: NEW 2.0-dev installation instructions

Is any one part of it finished yet, for example authentication, admin_groups.etc?

Offline

#19 2014-11-15 14:17:26

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,724
Website

Re: NEW 2.0-dev installation instructions


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#20 2014-11-15 14:22:50

chris98
Member
From: England, United Kingdom
Registered: 2013-05-31
Posts: 1,292
Website

Re: NEW 2.0-dev installation instructions

That's looking pretty good! I like the AJAX idea of admin_options

Offline

#21 2014-11-15 16:29:02

joel
Member
Registered: 2014-07-04
Posts: 440

Re: NEW 2.0-dev installation instructions

is not number of topic views be inside viewtipic as well?


Warning! be informed and be forewarned. <p>
<?php
I'm not a native English Man. So my comments might contain some grammatical explosive (ELD), missapropreation of words (dinamyt), The use of wrong words (missiles), & mis spelling of words (war drones). Any of the occurrence can cause havoc. So be warned
?>

Offline

#22 2014-11-15 20:25:23

tlalok
Member
From: France
Registered: 2014-11-05
Posts: 7
Website

Re: NEW 2.0-dev installation instructions

hi,

@franz I installed successfully fluxbb2 big_smile
capturtgt.png

My feedback:
I can't create forum?

Installation:
I can't run fluxbb2 in URI, fluxbb2 need a vhost.

I resume:
upgrade composer

composer selfupdate
git clone -b 2.0 git://github.com/fluxbb/fluxbb.git
cd fluxbb
composer install
php fluxbb install
chmod -R 777 storage/ cache/

In apache (2.4.*) conf, create a vhost

<VirtualHost *:80>
    ServerName fluxbb-v2
    DocumentRoot "/add/the/correct/path/to/fluxbb"

    <Directory "/add/the/correct/path/to/fluxbb">
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>

For the ServerName, you need to add this in file /etc/hosts

127.0.0.1    fluxbb-v2

Last edited by tlalok (2015-01-12 14:40:31)

Offline

#23 2014-11-15 20:28:51

cyberman
Member
From: Germany
Registered: 2010-01-11
Posts: 297
Website

Re: NEW 2.0-dev installation instructions

Franz wrote:

During the alpha phase (and as a developer wanting to contribute), you will need to install dependencies yourself using Composer. The final version downloads will contain all the dependencies.

OK, so I will wait to beta phase wink ...

Offline

#24 2014-11-15 21:23:16

adaur
Developer
From: France
Registered: 2010-01-07
Posts: 843
Website

Re: NEW 2.0-dev installation instructions

Wow! I will definitely try this as soon as I have some time. Good job Franz smile


FeatherBB - A simple and lightweight new generation forum system
Based on FluxBB, written in PHP, using Slim Framework for a proper OOP-MVC architecture.

Offline

#25 2014-11-16 22:00:01

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,724
Website

Re: NEW 2.0-dev installation instructions

@tlalok: I am currently working on category creation. Check back soon. smile

@cyberman: Once we reach alpha2, you can also download the "official" download package, that will contain the dependencies. You'll only have to do it yourself for the nightly builds.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

Board footer

Powered by FluxBB