12. Illuminate\Database\Eloquent\ModelNotFoundException
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Eloquent/­Model.php498
11. Illuminate\Database\Eloquent\Model findOrFail
…/­app/­controllers/­front/­FrontController.php74
10. FrontController detail_musique
<#unknown>0
9. call_user_func_array
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Controllers/­Controller.php138
8. Illuminate\Routing\Controllers\Controller callMethod
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Controllers/­Controller.php115
7. Illuminate\Routing\Controllers\Controller callAction
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php985
6. Illuminate\Routing\Router Illuminate\Routing\{closure}
<#unknown>0
5. call_user_func_array
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Route.php80
4. Illuminate\Routing\Route callCallable
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Route.php47
3. Illuminate\Routing\Route run
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1016
2. Illuminate\Routing\Router dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php576
1. Illuminate\Foundation\Application dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php552
0. Illuminate\Foundation\Application run
…/­public/­index.php49

Illuminate \ Database \ Eloquent \ ModelNotFoundException

	 * @param  array  $columns
	 * @return \Illuminate\Database\Eloquent\Model|Collection|static
	 */
	public static function findOrFail($id, $columns = array('*'))
	{
		if ( ! is_null($model = static::find($id, $columns))) return $model;
 
		throw new ModelNotFoundException;
	}
 
        // Appel de la vue
        View::share($data);
        $this->layout->content = View::make('front.musique');
    }
 
    public function detail_musique($id) {
        // Getting data
        $details = Musique::findOrFail($id);
 
        // Préparation des données
<#unknown>
	 *
	 * @param  string  $method
	 * @param  array   $parameters
	 * @return mixed
	 */
	protected function callMethod($method, $parameters)
	{
		return call_user_func_array(array($this, $method), $parameters);
	}
 
		// after filters on the controller to wrap up any last minute processing.
		$response = $this->callBeforeFilters($router, $method);
 
		$this->setupLayout();
 
		if (is_null($response))
		{
			$response = $this->callMethod($method, $parameters);
		}
 
			// We will extract the passed in parameters off of the route object so we will
			// pass them off to the controller method as arguments. We will not get the
			// defaults so that the controllers will be able to use its own defaults.
			$args = array_values($route->getParametersWithoutDefaults());
 
			$instance = $ioc->make($controller);
 
			return $instance->callAction($ioc, $me, $method, $args);
		};
	}
<#unknown>
	 *
	 * @return mixed
	 */
	protected function callCallable()
	{
		$variables = array_values($this->getParametersWithoutDefaults());
 
		return call_user_func_array($this->getOption('_call'), $variables);
	}
 
		// We will only call the router callable if no "before" middlewares returned
		// a response. If they do, we will consider that the response to requests
		// so that the request "lifecycle" will be easily halted for filtering.
		$response = $this->callBeforeFilters($request);
 
		if ( ! isset($response))
		{
			$response = $this->callCallable();
		}
 
		// Once we have the route, we can just run it to get the responses, which will
		// always be instances of the Response class. Once we have the responses we
		// will execute the global "after" middlewares to finish off the request.
		else
		{
			$this->currentRoute = $route = $this->findRoute($request);
 
			$response = $route->run($request);
		}
 
		if ($this->isDownForMaintenance())
		{
			$response = $this['events']->until('illuminate.app.down');
 
			if ( ! is_null($response)) return $this->prepareResponse($response, $request);
		}
 
		return $this['router']->dispatch($this->prepareRequest($request));
	}
 
	/**
	 * Handles the given request and delivers the response.
	 *
	 * @return void
	 */
	public function run()
	{
		$response = $this->dispatch($this['request']);
 
		$this['router']->callCloseFilter($this['request'], $response);
| 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 applications we have created for them.
|
*/
 
$app->run();
 
/*
Key Value
USER salahelmbf
FCGI_ROLE RESPONDER
REDIRECT_STATUS 200
UNIQUE_ID ZgaU0Djt36@fTFx4cWO8iQAAAKU
GEOIP_COUNTRY_CODE US
GEOIP_COUNTRY_NAME United States
GEOIP_REGION VA
GEOIP_CITY Ashburn
GEOIP_DMA_CODE 511
GEOIP_AREA_CODE 703
GEOIP_LATITUDE 39.046902
GEOIP_LONGITUDE -77.490303
SCRIPT_URL /musique/608
SCRIPT_URI http://salahelmahdi.com/musique/608
CFG_CLUSTER cluster005
ENVIRONMENT production
HTTP_HOST salahelmahdi.com
HTTP_X_PREDICTOR 1
HTTP_X_FORWARDED_FOR 44.221.87.114
HTTP_X_FORWARDED_PROTO http
HTTP_X_OVHREQUEST_ID 31ac8b7155403016681d259668378a3f
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_X_FORWARDED_PORT 80
HTTP_X_REMOTE_PORT 39356
HTTP_X_REMOTE_IP 44.221.87.114
HTTP_X_REMOTE_PROTO http
HTTP_FORWARDED for=44.221.87.114; proto=http; host=salahelmahdi.com
HTTP_REMOTE_PORT 39356
HTTP_X_IPLB_UNIQUE_ID 2CDD5772:99BC_D5BA2110:0050_660694D0_6EBC:23E7
HTTP_REMOTE_IP 44.221.87.114
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME salahelmahdi.com
SERVER_ADDR 10.5.20.98
SERVER_PORT 80
REMOTE_ADDR 44.221.87.114
DOCUMENT_ROOT /home/salahelmbf/www/public
SERVER_ADMIN postmaster@salahelmahdi.com
SCRIPT_FILENAME /home/salahelmbf/www/public/index.php
REMOTE_PORT 38008
REDIRECT_URL /musique/608
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /musique/608
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711707344.0806
REQUEST_TIME 1711707344
argv Array ( )
argc 0
empty
empty
empty
empty
Key Value
_sf2_attributes Array ( [_token] => OtVxPP7EIsliFUY36aEIdGNNzHiIMpDIXzLea06m )
_sf2_flashes Array ( )
_sf2_meta Array ( [u] => 1711707344 [c] => 1711707344 [l] => 7200 )
Key Value
USER salahelmbf
FCGI_ROLE RESPONDER
REDIRECT_STATUS 200
UNIQUE_ID ZgaU0Djt36@fTFx4cWO8iQAAAKU
GEOIP_COUNTRY_CODE US
GEOIP_COUNTRY_NAME United States
GEOIP_REGION VA
GEOIP_CITY Ashburn
GEOIP_DMA_CODE 511
GEOIP_AREA_CODE 703
GEOIP_LATITUDE 39.046902
GEOIP_LONGITUDE -77.490303
SCRIPT_URL /musique/608
SCRIPT_URI http://salahelmahdi.com/musique/608
CFG_CLUSTER cluster005
ENVIRONMENT production
HTTP_HOST salahelmahdi.com
HTTP_X_PREDICTOR 1
HTTP_X_FORWARDED_FOR 44.221.87.114
HTTP_X_FORWARDED_PROTO http
HTTP_X_OVHREQUEST_ID 31ac8b7155403016681d259668378a3f
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_X_FORWARDED_PORT 80
HTTP_X_REMOTE_PORT 39356
HTTP_X_REMOTE_IP 44.221.87.114
HTTP_X_REMOTE_PROTO http
HTTP_FORWARDED for=44.221.87.114; proto=http; host=salahelmahdi.com
HTTP_REMOTE_PORT 39356
HTTP_X_IPLB_UNIQUE_ID 2CDD5772:99BC_D5BA2110:0050_660694D0_6EBC:23E7
HTTP_REMOTE_IP 44.221.87.114
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME salahelmahdi.com
SERVER_ADDR 10.5.20.98
SERVER_PORT 80
REMOTE_ADDR 44.221.87.114
DOCUMENT_ROOT /home/salahelmbf/www/public
SERVER_ADMIN postmaster@salahelmahdi.com
SCRIPT_FILENAME /home/salahelmbf/www/public/index.php
REMOTE_PORT 38008
REDIRECT_URL /musique/608
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /musique/608
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711707344.0806
REQUEST_TIME 1711707344
argv Array ( )
argc 0
0. Whoops\Handler\PrettyPageHandler