-
Notifications
You must be signed in to change notification settings - Fork 788
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
Blank Page on Initial Load #636
Comments
I would simply go exactly with the install tutorial and everything would work fine, or use the auto-installer! It's so easy, and it works out of the box every time. If you really want to go on with your setup, then please add some more infos, like your apache version, php version, etc., how you installed it etc. |
I followed the directions exactly, twice (I deleted and started again, same result). The only difference was that I didn't install it in the web root, but in a subfolder in the web root. My 000-default.conf file looks like this:
Everything else is exactly the same as the instructions indicated. The "huge" database populated correctly, my login info for mysql checks out, my login info for SMTP checks out, htaccess is redirecting properly... literally all I did differently than instructions was installed the application into a subfolder. Has anyone ever successfully done that? |
Hey, I the auto-installer installs in subdirectoy (have a look!) and it works perfectly, every time. Maybeyou can take the commands from the autoinstaller-sh-file and work with that. |
I will try the auto-installer after deleting my subfolder and everything in it. If that doesn't work, I'll uninstall mysql entirely and re-do it. |
As you guys would not be surprised, this worked. What might actually surprise you is that according to the official apache docs, "www" is to be included for subdomain virtual hosts. This is my 000-default.conf file in sites-available:
I also added an A record to my DNS service to redirect mysubfolder.myserver.com requests directly to my public IP. So, when I go to myserver.com, it automatically loads the index.html file in my web root, and if I go to mysubfolder.myserver.com, it loads the "huge" application :) |
When I navigate to my server, I am successfully routed to the public folder of the application, and index.php is called (the Application.php file is also called, but the IndexController.php is not called). I am met with nothing but a blank screen in my browser.
My config.development.php file is as follows:
ADDITIONAL NOTE: My application folder is in a subfolder within my web root: '/var/www/html/mysubfolder' Maybe this makes a difference?
Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered: