Le fichier cache/release/2014/bi/birdman-2014-720p-bluray-x264-yify.php existe bien mais ne peux pas être unserializé car sont contenu est s:7734:"La requete des releases est SELECT `tbl_release`.`id_release`, `tbl_release`.`date`, `tbl_release`.`film_id`, `tbl_release`.`titre`, `tbl_release`.`nuked`, `tbl_release`.`group`, `tbl_release`.`fichier`, `tbl_release`.`nfo_image`, `tbl_release`.`url` as `url_release`, `tbl_film`.`date` as `annee`, `tbl_film`.`titre` as `titre_film`, `tbl_film`.`url` as `url_film` FROM `tbl_release` LEFT JOIN `tbl_film` ON `tbl_release`.`film_id` = `tbl_film`.`id_film` WHERE `tbl_release`.`url` = 'birdman-2014-720p-bluray-x264-yify' AND `tbl_film`.`date` = 2014 AND `tbl_release`.`afficher` = 1 ORDER BY `tbl_release`.`group` ASC
l. 150
On cherche à faire la liste des 0 release du film «Birdman » qui a l'url «2014/10382-birdman.html » et qui est de l'année « 2014 » avec la fonction cacheRelease('birdman-2014-720p-bluray-x264-yify', 2014);
La requete des fichier est SELECT COUNT(*) AS `nb`, `tbl_fichier`.`release_id`, `tbl_fichier`.`date`, `tbl_fichier`.`officiel` FROM `tbl_fichier` LEFT JOIN `tbl_film` ON `tbl_fichier`.`film_id` = `tbl_film`.`id_film` WHERE `tbl_fichier`.`release_id` > 0 AND `tbl_film`.`url` = 'birdman' AND `tbl_film`.`date` = 2014
$release_id = 33613
release[id_release] = 33604
release[id_release] = 33601
release[id_release] = 33700
release[id_release] = 58092
release[id_release] = 33613
release[id_release] = 33616
release[id_release] = 33625
release[id_release] = 47885
release[id_release] = 47897
release[id_release] = 33628
a:10:{i:33604;a:15:{s:10:"id_release";i:33604;s:4:"date";i:1422958426;s:7:"film_id";i:10382;s:5:"titre";s:37:"Birdman.2014.720p.WEB-DL.x264.AC3-EVO";s:5:"group";s:3:"EVO";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:37:"birdman-2014-720p-web-dl-x264-ac3-evo";s:5:"annee";s:4:"2014";s:10:"titre_film";s:7:"Birdman";s:8:"url_film";s:7:"birdman";s:3:"url";s:7:"birdman";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:33601;a:15:{s:10:"id_release";i:33601;s:4:"date";i:1422955021;s:7:"film_id";i:10382;s:5:"titre";s:42:"Birdman.2014.1080p.WEB-DL.DD5.1.H264-RARBG";s:5:"group";s:5:"RARBG";s:7:"fichier";s:46:"birdman-2014-1080p-web-dl-dd5-1-h264-rarbg.nfo";s:9:"nfo_image";s:46:"birdman-2014-1080p-web-dl-dd5-1-h264-rarbg.png";s:11:"url_release";s:42:"birdman-2014-1080p-web-dl-dd5-1-h264-rarbg";s:5:"annee";s:4:"2014";s:10:"titre_film";s:7:"Birdman";s:8:"url_film";s:7:"birdman";s:3:"url";s:7:"birdman";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:33700;a:15:{s:10:"id_release";i:33700;s:4:"date";i:1423405768;s:7:"film_id";i:10382;s:5:"titre";s:39:"Birdman.2014.720p.WEB-DL.XviD.AC3-RARBG";s:5:"group";s:5:"RARBG";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:39:"birdman-2014-720p-web-dl-xvid-ac3-rarbg";s:5:"annee";s:4:"2014";s:10:"titre_film";s:7:"Birdman";s:8:"url_film";s:7:"birdman";s:3:"url";s:7:"birdman";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:58092;a:15:{s:10:"id_release";i:58092;s:4:"date";i:1451058445;s:7:"film_id";i:10382;s:5:"titre";s:42:"Birdman.2014.MULTi.1080p.BluRay.x264-ROUGH";s:5:"group";s:5:"ROUGH";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:42:"birdman-2014-multi-1080p-bluray-x264-rough";s:5:"annee";s:4:"2014";s:10:"titre_film";s:7:"Birdman";s:8:"url_film";s:7:"birdman";s:3:"url";s:7:"birdman";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:33613;a:15:{s:10:"id_release";i:33613;s:4:"date";i:1423000481;s:7:"film_id";i:10382;s:5:"titre";s:36:"Birdman.2014.720p.BluRay.x264-SPARKS";s:5:"group";s:6:"SPARKS";s:7:"fichier";s:40:"birdman-2014-720p-bluray-x264-sparks.nfo";s:9:"nfo_image";s:40:"birdman-2014-720p-bluray-x264-sparks.png";s:11:"url_release";s:36:"birdman-2014-720p-bluray-x264-sparks";s:5:"annee";s:4:"2014";s:10:"titre_film";s:7:"Birdman";s:8:"url_film";s:7:"birdman";s:3:"url";s:7:"birdman";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:33616;a:15:{s:10:"id_release";i:33616;s:4:"date";i:1423003138;s:7:"film_id";i:10382;s:5:"titre";s:30:"Birdman.2014.BDRip.x264-SPARKS";s:5:"group";s:6:"SPARKS";s:7:"fichier";s:34:"birdman-2014-bdrip-x264-sparks.nfo";s:9:"nfo_image";s:34:"birdman-2014-bdrip-x264-sparks.png";s:11:"url_release";s:30:"birdman-2014-bdrip-x264-sparks";s:5:"annee";s:4:"2014";s:10:"titre_film";s:7:"Birdman";s:8:"url_film";s:7:"birdman";s:3:"url";s:7:"birdman";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:33625;a:15:{s:10:"id_release";i:33625;s:4:"date";i:1423035126;s:7:"film_id";i:10382;s:5:"titre";s:37:"Birdman.2014.1080p.BluRay.x264-SPARKS";s:5:"group";s:6:"SPARKS";s:7:"fichier";s:41:"birdman-2014-1080p-bluray-x264-sparks.nfo";s:9:"nfo_image";s:41:"birdman-2014-1080p-bluray-x264-sparks.png";s:11:"url_release";s:37:"birdman-2014-1080p-bluray-x264-sparks";s:5:"annee";s:4:"2014";s:10:"titre_film";s:7:"Birdman";s:8:"url_film";s:7:"birdman";s:3:"url";s:7:"birdman";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:47885;a:15:{s:10:"id_release";i:47885;s:4:"date";i:1433738768;s:7:"film_id";i:10382;s:5:"titre";s:38:"Birdman.2014.720p.BluRay.x264.DTS-WiKi";s:5:"group";s:4:"WiKi";s:7:"fichier";s:42:"birdman-2014-720p-bluray-x264-dts-wiki.nfo";s:9:"nfo_image";s:42:"birdman-2014-720p-bluray-x264-dts-wiki.png";s:11:"url_release";s:38:"birdman-2014-720p-bluray-x264-dts-wiki";s:5:"annee";s:4:"2014";s:10:"titre_film";s:7:"Birdman";s:8:"url_film";s:7:"birdman";s:3:"url";s:7:"birdman";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:47897;a:15:{s:10:"id_release";i:47897;s:4:"date";i:1433757058;s:7:"film_id";i:10382;s:5:"titre";s:39:"Birdman.2014.1080p.BluRay.x264.DTS-WiKi";s:5:"group";s:4:"WiKi";s:7:"fichier";s:43:"birdman-2014-1080p-bluray-x264-dts-wiki.nfo";s:9:"nfo_image";s:43:"birdman-2014-1080p-bluray-x264-dts-wiki.png";s:11:"url_release";s:39:"birdman-2014-1080p-bluray-x264-dts-wiki";s:5:"annee";s:4:"2014";s:10:"titre_film";s:7:"Birdman";s:8:"url_film";s:7:"birdman";s:3:"url";s:7:"birdman";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:33628;a:15:{s:10:"id_release";i:33628;s:4:"date";i:1423045341;s:7:"film_id";i:10382;s:5:"titre";s:34:"Birdman.2014.720p.BluRay.x264-YIFY";s:5:"group";s:4:"YIFY";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:34:"birdman-2014-720p-bluray-x264-yify";s:5:"annee";s:4:"2014";s:10:"titre_film";s:7:"Birdman";s:8:"url_film";s:7:"birdman";s:3:"url";s:7:"birdman";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}}
Le nombre de release est de 10 releases
Le tableau $releases contient donc 10 informations :
#33604 : Birdman.2014.720p.WEB-DL.x264.AC3-EVO (0 fichier)
#33601 : Birdman.2014.1080p.WEB-DL.DD5.1.H264-RARBG (0 fichier)
#33700 : Birdman.2014.720p.WEB-DL.XviD.AC3-RARBG (0 fichier)
#58092 : Birdman.2014.MULTi.1080p.BluRay.x264-ROUGH (0 fichier)
#33613 : Birdman.2014.720p.BluRay.x264-SPARKS (0 fichier)
#33616 : Birdman.2014.BDRip.x264-SPARKS (0 fichier)
#33625 : Birdman.2014.1080p.BluRay.x264-SPARKS (0 fichier)
#47885 : Birdman.2014.720p.BluRay.x264.DTS-WiKi (0 fichier)
#47897 : Birdman.2014.1080p.BluRay.x264.DTS-WiKi (0 fichier)
#33628 : Birdman.2014.720p.BluRay.x264-YIFY (1 fichier)
On a cree le fichier ../../cache/film/2014/bi/birdman-2014-720p-bluray-x264-yify-release.php";
On cherchait les fichiers de la release birdman-2014-720p-bluray-x264-yify.php (cache/release/2014/bi/birdman-2014-720p-bluray-x264-yify.php) mais il n'existe pas donc du coup, on le recree avec cacheRelease(url, $annee, $path=NULL) donc cacheRelease('birdman-2014-720p-bluray-x264-yify', 2014); :
Donc merci de recharger la page !
On lance la fonction cacheRelease('birdman-2014-720p-bluray-x264-yify', 2014) !
Ces infos serializées des 2 releases ont été strockées dans le fichier birdman-2014-720p-bluray-x264-yify.php (du dossier cache/release/2014/bi/)