-
-
Notifications
You must be signed in to change notification settings - Fork 834
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
Post installation problems. "Cannot GET http://dev.hostname.com" #359
Comments
Try adding the following line above the first
|
@tobscure Like so?
Still the same output. A white page with "Cannot GET http://dev.hostname.com" |
Hmm, can you check your nginx logs and see if you can find an error message with more info? |
@tobscure Sadly nothing interesting in my nginx logs that's why I'm escalating this to you guys. hehe |
I don't think this is an issue with Flarum so I'm closing this. I'm afraid without more information, I don't know what else to try. @franzliedke any ideas? Maybe try increasing the verbosity of the nginx logs? |
@tobscure I'm also experiencing the same issue. I added a die() statement in the top of the index.php file, just to see if it hits the file or not, and sure enough it did. If I further edit the index.php to emit some headers, I see the following error: Fatal error: Uncaught exception 'RuntimeException' with message 'Unable to emit response; headers already sent' in /testing/flarum/vendor/zendframework/zend-diactoros/src/Response/SapiEmitter.php:31 Stack trace: #0 /testing/flarum/vendor/zendframework/zend-diactoros/src/Server.php(170): Zend\Diactoros\Response\SapiEmitter->emit(Object(Zend\Stratigility\Http\Response), 2) #1 /testing/flarum/vendor/flarum/core/src/Http/AbstractServer.php(33): Zend\Diactoros\Server->listen() #2 /testing/flarum/index.php(16): Flarum\Http\AbstractServer->listen() #3 {main} thrown in /testing/flarum/vendor/zendframework/zend-diactoros/src/Response/SapiEmitter.php on line 31 |
@tobscure Accessing directly /index.php instead of just the root /, seems to give some output. However, the assets do not load when accessing thru /index.php, gives a 404 for: |
@MrNicodemuz Can you show your nginx config, so I can try to replicate. :) |
Hi @jhnferraris, Sure, see my nginx config below:
|
Hi @jhnferraris, were you able to replicate the problem? |
@jhnferraris make sure that the |
I installed Flarum in my local machine using the CLI as instructed here. http://flarum.org/docs/installation/
I have my nginx config here:
I have also set my
/etc/hosts
I have successfully run
flarum/flarum install
But when I ran dev.hostname.com in my web browser. It returned "Cannot GET http://dev.hostname.com"
Currently, I've tried chmod on the project folder with 777 (this includes
flarum/storage
) but no progress so far.What am I missing here?
The text was updated successfully, but these errors were encountered: