title: Laravel 4 App Show White Screen/Page
body: <p><strong>Description</strong> </p>
  
  <p>I've not been working on Laravel 4 environment for about 2 years now. Now, I'm trying to help a friend out, and make some modification to the site. While trying to get the site up and running, I faced some errors. </p>
  
  <hr>
  
  <p><strong>Steps</strong> </p>
  
  <ul>
  <li>Clone the project from repository</li>
  <li>Run <code>composer update</code> </li>
  <li>Run <code>chmod  -R 777 public/vendor/ bootstrap/ app/storage</code></li>
  <li>Restart MAMP server on my Mac OS.</li>
  <li>Run <code>sudo composer update</code></li>
  </ul>
  
  <blockquote>
    <p>php artisan clear-compiled
    PHP Warning:  require(/Applications/MAMP/htdocs/code/biossantibodies/bootstrap/environment.php): failed to open stream: No such file or directory in /Applications/MAMP/htdocs/code/biossantibodies/bootstrap/start.php on line 31
    PHP Fatal error:  require(): Failed opening required '/Applications/MAMP/htdocs/code/biossantibodies/bootstrap/environment.php' (include_path='/Applications/MAMP/htdocs/code/biossantibodies/vendor/phpseclib/phpseclib/phpseclib:/Applications/MAMP/htdocs/code/biossantibodies/vendor/phpunit/phpunit-mock-objects:/Applications/MAMP/htdocs/code/biossantibodies/vendor/phpunit/php-file-iterator:/Applications/MAMP/htdocs/code/biossantibodies/vendor/phpunit/phpunit:/Applications/MAMP/htdocs/code/biossantibodies/vendor/symfony/yaml:.:/usr/local/Cellar/php54/5.4.41/lib/php') in /Applications/MAMP/htdocs/code/biossantibodies/bootstrap/start.php on line 31</p>
  </blockquote>
  
  <p>Why do I get this permission issues ? 
  I thought <strong>chmod -R 777</strong> will take care of this .... </p>
  
  <p><strong>Result</strong> </p>
  
  <ul>
  <li>Still, my site displaying just white page </li>
  </ul>
  
  <p><a href="https://i.stack.imgur.com/fL25i.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fL25i.png" alt="enter image description here"></a></p>
  
  <hr>
  
  <h1>Logs</h1>
  
  <p>apache_error.log</p>
  
  <pre><code>Wed Oct 26 19:13:33 2016] [notice] Apache/2.2.29 (Unix) mod_wsgi/3.5 Python/2.7.10 PHP/5.6.10 mod_ssl/2.2.29 OpenSSL/0.9.8zh DAV/2 mod_fastcgi/2.4.6 mod_perl/2.0.9 Perl/v5.22.0 configured -- resuming normal operations
  [Wed Oct 26 19:18:42 2016] [error] [client ::1] File does not exist: /Applications/MAMP/htdocs/code/biossantibodies/public/docs-assets, referer: http://localhost:8888/MAMP/?language=English
  [Thu Oct 27 07:54:53 2016] [notice] caught SIGTERM, shutting down
  [Thu Oct 27 07:56:16 2016] [notice] Digest: generating secret for digest authentication ...
  [Thu Oct 27 07:56:16 2016] [notice] Digest: done
  [Thu Oct 27 07:56:16 2016] [notice] FastCGI: process manager initialized (pid 69323)
  [Thu Oct 27 07:56:16 2016] [notice] Apache/2.2.29 (Unix) mod_wsgi/3.5 Python/2.7.10 PHP/5.6.10 mod_ssl/2.2.29 OpenSSL/0.9.8zh DAV/2 mod_fastcgi/2.4.6 mod_perl/2.0.9 Perl/v5.22.0 configured -- resuming normal operations
  </code></pre>
  
  <p>php_error.log</p>
  
  <pre><code>[27-Oct-2016 14:16:28 Europe/Berlin] PHP Warning:  require(/Applications/MAMP/htdocs/code/biossantibodies/bootstrap/environment.php): failed to open stream: No such file or directory in /Applications/MAMP/htdocs/code/biossantibodies/bootstrap/start.php on line 31
  [27-Oct-2016 14:16:28 Europe/Berlin] PHP Fatal error:  require(): Failed opening required '/Applications/MAMP/htdocs/code/biossantibodies/bootstrap/environment.php' (include_path='/Applications/MAMP/htdocs/code/biossantibodies/vendor/phpseclib/phpseclib/phpseclib:/Applications/MAMP/htdocs/code/biossantibodies/vendor/phpunit/phpunit-mock-objects:/Applications/MAMP/htdocs/code/biossantibodies/vendor/phpunit/php-file-iterator:/Applications/MAMP/htdocs/code/biossantibodies/vendor/phpunit/phpunit:/Applications/MAMP/htdocs/code/biossantibodies/vendor/symfony/yaml:.:/Applications/MAMP/bin/php/php5.6.10/lib/php') in /Applications/MAMP/htdocs/code/biossantibodies/bootstrap/start.php on line 31
  </code></pre>