here(localhost) Whoops! There was an error.
16. ErrorException
…/­app/­routes.php28
15. Illuminate\Exception\Handler handleError
<#unknown>0
14. header
…/­app/­routes.php28
13. Redirect
…/­app/­routes.php14
12. require
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­start.php269
11. {closure}
<#unknown>0
10. call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php792
9. Illuminate\Foundation\Application fireAppCallbacks
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php569
8. Illuminate\Foundation\Application bootApplication
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php552
7. Illuminate\Foundation\Application boot
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php706
6. Illuminate\Foundation\Application handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Http/­FrameGuard.php38
5. Illuminate\Http\FrameGuard handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Session/­Middleware.php72
4. Illuminate\Session\Middleware handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Cookie/­Queue.php47
3. Illuminate\Cookie\Queue handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Cookie/­Guard.php51
2. Illuminate\Cookie\Guard handle
…/­vendor/­stack/­builder/­src/­Stack/­StackedHttpKernel.php23
1. Stack\StackedHttpKernel handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php606
0. Illuminate\Foundation\Application run
…/­public/­index.php49

ErrorException

Cannot modify header information - headers already sent by (output started at /home2/netpedia/public_html/wardrobe/app/routes.php:8)

Route::get('post/{slug}', array('uses' => 'Controllers\PostController@show', 'as' => 'wardrobe.posts.show'));
Route::get('post/preview/{id}', array('uses' => 'Controllers\PostController@preview', 'as' => 'wardrobe.posts.preview'));
Route::get('/toc', ['uses' => 'Controllers\HomeController@index', 'as' => 'wardrobe.home.index']);
 
 
function Redirect($url, $permanent = false)
{
    header('Location: ' . $url, true, $permanent ? 301 : 302);
 
    exit();
<#unknown>
Route::get('post/{slug}', array('uses' => 'Controllers\PostController@show', 'as' => 'wardrobe.posts.show'));
Route::get('post/preview/{id}', array('uses' => 'Controllers\PostController@preview', 'as' => 'wardrobe.posts.preview'));
Route::get('/toc', ['uses' => 'Controllers\HomeController@index', 'as' => 'wardrobe.home.index']);
 
 
function Redirect($url, $permanent = false)
{
    header('Location: ' . $url, true, $permanent ? 301 : 302);
 
    exit();
if (strpos(site_title(),'davesdocs') !== false) {
	echo 'here' ;
    $url = \Config::get('app.url');
	echo '(localhost)';
    if (strpos($url, 'localhost') === false) {
 
        echo '<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">';
        Redirect('http://roe.ink', true);
    }
}
| just to keep the file a little cleaner. We'll go ahead and load in
| all of the routes now and return the application to the callers.
|
*/
 
$routes = $app['path'].'/routes.php';
 
if (file_exists($routes)) require $routes;
 
});
<#unknown>
	 *
	 * @return void
	 */
	protected function fireAppCallbacks(array $callbacks)
	{
		foreach ($callbacks as $callback)
		{
			call_user_func($callback, $this);
		}
	}
		// Once the application has booted we will also fire some "booted" callbacks
		// for any listeners that need to do work after this initial booting gets
		// finished. This is useful when ordering the boot-up processes we run.
		$this->fireAppCallbacks($this->bootingCallbacks);
 
		$this->booted = true;
 
		$this->fireAppCallbacks($this->bootedCallbacks);
	}
 
	 */
	public function boot()
	{
		if ($this->booted) return;
 
		array_walk($this->serviceProviders, function($p) { $p->boot(); });
 
		$this->bootApplication();
	}
 
	 */
	public function handle(SymfonyRequest $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
	{
		try
		{
			$this->refreshRequest($request = Request::createFromBase($request));
 
			$this->boot();
 
			return $this->dispatch($request);
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @param  int   $type
	 * @param  bool  $catch
	 * @return \Symfony\Component\HttpFoundation\Response
	 */
	public function handle(SymfonyRequest $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
	{
		$response = $this->app->handle($request, $type, $catch);
 
		$response->headers->set('X-Frame-Options', 'SAMEORIGIN', false);
		if ($this->sessionConfigured())
		{
			$session = $this->startSession($request);
 
			$request->setSession($session);
		}
 
		$response = $this->app->handle($request, $type, $catch);
 
		// Again, if the session has been configured we will need to close out the session
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @param  int   $type
	 * @param  bool  $catch
	 * @return \Symfony\Component\HttpFoundation\Response
	 */
	public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
	{
		$response = $this->app->handle($request, $type, $catch);
 
		foreach ($this->cookies->getQueuedCookies() as $cookie)
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @param  int   $type
	 * @param  bool  $catch
	 * @return \Symfony\Component\HttpFoundation\Response
	 */
	public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
	{
		return $this->encrypt($this->app->handle($this->decrypt($request), $type, $catch));
	}
 
    {
        $this->app = $app;
        $this->middlewares = $middlewares;
    }
 
    public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        return $this->app->handle($request, $type, $catch);
    }
 
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @return void
	 */
	public function run(SymfonyRequest $request = null)
	{
		$request = $request ?: $this['request'];
 
		$response = with($stack = $this->getStackedClient())->handle($request);
 
		$response->send();
| Once we have the application, we can simply call the run method,
| which will execute the request and send the response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have whipped up for them.
|
*/
 
$app->run();
 
Key Value
DOCUMENT_ROOT /home2/netpedia/public_html
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING x-gzip, gzip, deflate
HTTP_ACCEPT_LANGUAGE en-us,en-gb,en;q=0.7,*;q=0.3
HTTP_CONNECTION close
HTTP_HOST davesdocs.com
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_X_HTTP_PROTO HTTP/1.0
HTTP_X_REAL_IP 54.167.0.4
MAGICK_THREAD_LIMIT 1
PATH /bin:/usr/bin
QUERY_STRING
REDIRECT_MAGICK_THREAD_LIMIT 1
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID V@dLBkKT8KsAABLmy6gAAABS
REDIRECT_URL /
REMOTE_ADDR 54.167.0.4
REMOTE_PORT 37418
REQUEST_METHOD GET
REQUEST_URI /
SCRIPT_FILENAME /home2/netpedia/public_html/wardrobe/public/index.php
SCRIPT_NAME /wardrobe/public/index.php
SERVER_ADDR 66.147.240.171
SERVER_ADMIN webmaster@davesdocs.com
SERVER_NAME davesdocs.com
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE <address>Apache Server at davesdocs.com Port 80</address>
SERVER_SOFTWARE Apache
UNIQUE_ID V@dLBkKT8KsAABLmy6gAAABS
PHPRC /home2/netpedia/public_html/:/usr/php/56/etc/
PHP_SELF /wardrobe/public/index.php
REQUEST_TIME_FLOAT 1474775814.6356
REQUEST_TIME 1474775814
argv Array ( )
argc 0
empty
empty
empty
empty
empty
Key Value
DOCUMENT_ROOT /home2/netpedia/public_html
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING x-gzip, gzip, deflate
HTTP_ACCEPT_LANGUAGE en-us,en-gb,en;q=0.7,*;q=0.3
HTTP_CONNECTION close
HTTP_HOST davesdocs.com
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_X_HTTP_PROTO HTTP/1.0
HTTP_X_REAL_IP 54.167.0.4
MAGICK_THREAD_LIMIT 1
PATH /bin:/usr/bin
QUERY_STRING
REDIRECT_MAGICK_THREAD_LIMIT 1
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID V@dLBkKT8KsAABLmy6gAAABS
REDIRECT_URL /
REMOTE_ADDR 54.167.0.4
REMOTE_PORT 37418
REQUEST_METHOD GET
REQUEST_URI /
SCRIPT_FILENAME /home2/netpedia/public_html/wardrobe/public/index.php
SCRIPT_NAME /wardrobe/public/index.php
SERVER_ADDR 66.147.240.171
SERVER_ADMIN webmaster@davesdocs.com
SERVER_NAME davesdocs.com
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE <address>Apache Server at davesdocs.com Port 80</address>
SERVER_SOFTWARE Apache
UNIQUE_ID V@dLBkKT8KsAABLmy6gAAABS
PHPRC /home2/netpedia/public_html/:/usr/php/56/etc/
0. Whoops\Handler\PrettyPageHandler