Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue on installing Beta 8 and 8.1 on localhost #1689

Closed
PeopleInside opened this issue Dec 8, 2018 · 13 comments
Closed

Issue on installing Beta 8 and 8.1 on localhost #1689

PeopleInside opened this issue Dec 8, 2018 · 13 comments

Comments

@PeopleInside
Copy link

Hi, we are different users that are facing issue on installing the new Beta 8 and Beta 8.1 on localhost.
You can see this flarum post with a video demonstration. The issue is the same on Beta 8.1

  • Will be nice to have a documentation who explain how to point to the public folder. There is no way on localhost to point to the htdocs/forum/public folder? I don't find how to do that.
  • Installation give errors on localhost see the flarum discuss post above and the demonstration video. The issue persist also if all public content is moved outside of the public folder.
@ziymed
Copy link

ziymed commented Dec 8, 2018 via email

@PeopleInside
Copy link
Author

Thank you @ziymed , if i follow your suggestion to do php flarum install when i load http://localhost/forum where i set the domain name to be http://localhost/forum/ i get page not found.

I need insert as domain name http://localhost/forum/public than work but still be the issue on local host are unable to understand how to remove public from the address.

@gurjyot
Copy link

gurjyot commented Dec 8, 2018

@PeopleInside visit the link in to the documentation you mentioned in your reply. Then visit URL Rewriting / Customising path, there everything is written which you wanna know.

@PeopleInside
Copy link
Author

@gurjyot for me is not so clear. Solution on Apache for redirect to public is:

 <Directory "/path/to/flarum/public">
        AllowOverride All
    </Directory>

I am not able to make this work on localhost

@gurjyot
Copy link

gurjyot commented Dec 8, 2018

@PeopleInside I specifically said to read URL Rewriting / Customising Path. Don't read the Apache and Nginx, go to the next.

@PeopleInside
Copy link
Author

@gurjyot sorry still not understand how point to public :)
00

@gurjyot
Copy link

gurjyot commented Dec 8, 2018

@PeopleInside bro you want to remove public from URL, then everything is written at the place I pointed you.

@PeopleInside
Copy link
Author

bro you want to remove public from URL, then everything is written at the place I pointed you.

@gurjyot this is not helping me :) Anyway this is an open issue for localhost installation error, if you want discuss or help maybe is better the flarum discussion here.

Thanks anyway for the try.

I don't want move all files outside of the public folder. I am discussing about is not clear to me how keep all necessary files under that folder (security) and point the address of the community without public on the URL. I made this on my VPS because control panel let me chooser where a domain should point but i am unable to do this on localhost.

@MichaelBelgium
Copy link

If you dont know how to point your local domain to the public folder add this to the apache config:

<VirtualHost *:80>
    DocumentRoot /path/to/flarum/public
    ServerName flarum.devel
</VirtualHost>

And add flarum.devel to your hosts file (C:\Windows\System32\drivers\etc\hosts) which then points to your localhost/127.0.0.1

@ziymed
Copy link

ziymed commented Dec 9, 2018

@PeopleInside if you want a good experiences with flarum you can use one of whose environment 👍
docker : https://github.com/mondediefr/docker-flarum
Homestead laravel with vagrant : https://laravel.com/docs/5.7/homestead
valet laravel :

i use valet windows and its easy to have good localhost with domain like flarum.test and you will not have to touch any apach config or hosts file.

all the best.

@PeopleInside
Copy link
Author

PeopleInside commented Dec 9, 2018

@MichaelBelgium thank you, tested and i am not able to do this working. Maybe it's me, too complicated in localhost :)

@franzliedke
Copy link
Contributor

As far as I can tell, there is no clear bug being identified in Flarum, so I am closing this issue.

  • For help with installation (especially on shared hosts), please keep this in the forums.
  • If there are clear improvements that can be made to our installation docs, please open an issue on the flarum/docs repository.

@PeopleInside
Copy link
Author

ok @franzliedke but install Flarum on XAMPP and doing setup pointing the browser and compiling data give errors. This topic was for report this. ( Look at Discuss Flarum)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants