Le fichier cache/release/2016/he/hell-or-high-water-2016-1080p-bluray-x264-replica.php existe bien mais ne peux pas être unserializé car sont contenu est s:9516:"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` = 'hell-or-high-water-2016-1080p-bluray-x264-replica' AND `tbl_film`.`date` = 2016 AND `tbl_release`.`afficher` = 1 ORDER BY `tbl_release`.`group` ASC
l. 150
On cherche à faire la liste des 0 release du film «Comancheria » qui a l'url «2016/12748-hell-or-high-water.html » et qui est de l'année « 2016 » avec la fonction cacheRelease('hell-or-high-water-2016-1080p-bluray-x264-replica', 2016);
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` = 'hell-or-high-water' AND `tbl_film`.`date` = 2016
$release_id = 63494
release[id_release] = 63172
release[id_release] = 63186
release[id_release] = 63118
release[id_release] = 63138
release[id_release] = 63125
release[id_release] = 63494
release[id_release] = 63137
release[id_release] = 63170
release[id_release] = 63171
release[id_release] = 102801
release[id_release] = 64925
release[id_release] = 64926
a:12:{i:63172;a:15:{s:10:"id_release";i:63172;s:4:"date";i:1478952887;s:7:"film_id";i:12748;s:5:"titre";s:42:"Hell.Or.High.Water.2016.BDRip.x264-DiAMOND";s:5:"group";s:7:"DiAMOND";s:7:"fichier";s:46:"hell-or-high-water-2016-bdrip-x264-diamond.nfo";s:9:"nfo_image";s:46:"hell-or-high-water-2016-bdrip-x264-diamond.png";s:11:"url_release";s:42:"hell-or-high-water-2016-bdrip-x264-diamond";s:5:"annee";s:4:"2016";s:10:"titre_film";s:11:"Comancheria";s:8:"url_film";s:18:"hell-or-high-water";s:3:"url";s:18:"hell-or-high-water";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:63186;a:15:{s:10:"id_release";i:63186;s:4:"date";i:1479028448;s:7:"film_id";i:12748;s:5:"titre";s:48:"Hell.Or.High.Water.2016.720p.BRRip.x264.AAC-ETRG";s:5:"group";s:4:"ETRG";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:48:"hell-or-high-water-2016-720p-brrip-x264-aac-etrg";s:5:"annee";s:4:"2016";s:10:"titre_film";s:11:"Comancheria";s:8:"url_film";s:18:"hell-or-high-water";s:3:"url";s:18:"hell-or-high-water";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:63118;a:15:{s:10:"id_release";i:63118;s:4:"date";i:1478619550;s:7:"film_id";i:12748;s:5:"titre";s:42:"Hell.Or.High.Water.2016.HDRip.XviD.AC3-EVO";s:5:"group";s:3:"EVO";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:42:"hell-or-high-water-2016-hdrip-xvid-ac3-evo";s:5:"annee";s:4:"2016";s:10:"titre_film";s:11:"Comancheria";s:8:"url_film";s:18:"hell-or-high-water";s:3:"url";s:18:"hell-or-high-water";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:63138;a:15:{s:10:"id_release";i:63138;s:4:"date";i:1478815683;s:7:"film_id";i:12748;s:5:"titre";s:42:"Hell.Or.High.Water.2016.BRRip.XviD.AC3-EVO";s:5:"group";s:3:"EVO";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:42:"hell-or-high-water-2016-brrip-xvid-ac3-evo";s:5:"annee";s:4:"2016";s:10:"titre_film";s:11:"Comancheria";s:8:"url_film";s:18:"hell-or-high-water";s:3:"url";s:18:"hell-or-high-water";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:63125;a:15:{s:10:"id_release";i:63125;s:4:"date";i:1478729409;s:7:"film_id";i:12748;s:5:"titre";s:51:"Hell.Or.High.Water.2016.1080p.WEB-DL.DD5.1.H264-FGT";s:5:"group";s:3:"FGT";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:51:"hell-or-high-water-2016-1080p-web-dl-dd5-1-h264-fgt";s:5:"annee";s:4:"2016";s:10:"titre_film";s:11:"Comancheria";s:8:"url_film";s:18:"hell-or-high-water";s:3:"url";s:18:"hell-or-high-water";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:63494;a:15:{s:10:"id_release";i:63494;s:4:"date";i:1480895869;s:7:"film_id";i:12748;s:5:"titre";s:59:"Hell.Or.High.Water.2016.1080p.BluRay.x264.DTS-HD.MA.5.1-FGT";s:5:"group";s:3:"FGT";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:59:"hell-or-high-water-2016-1080p-bluray-x264-dts-hd-ma-5-1-fgt";s:5:"annee";s:4:"2016";s:10:"titre_film";s:11:"Comancheria";s:8:"url_film";s:18:"hell-or-high-water";s:3:"url";s:18:"hell-or-high-water";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:63137;a:15:{s:10:"id_release";i:63137;s:4:"date";i:1478815683;s:7:"film_id";i:12748;s:5:"titre";s:48:"Hell.Or.High.Water.2016.720p.BluRay.x264.DTS-HDC";s:5:"group";s:3:"HDC";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:48:"hell-or-high-water-2016-720p-bluray-x264-dts-hdc";s:5:"annee";s:4:"2016";s:10:"titre_film";s:11:"Comancheria";s:8:"url_film";s:18:"hell-or-high-water";s:3:"url";s:18:"hell-or-high-water";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:63170;a:15:{s:10:"id_release";i:63170;s:4:"date";i:1478952887;s:7:"film_id";i:12748;s:5:"titre";s:49:"Hell.Or.High.Water.2016.1080p.BluRay.x264-Replica";s:5:"group";s:7:"Replica";s:7:"fichier";s:53:"hell-or-high-water-2016-1080p-bluray-x264-replica.nfo";s:9:"nfo_image";s:53:"hell-or-high-water-2016-1080p-bluray-x264-replica.png";s:11:"url_release";s:49:"hell-or-high-water-2016-1080p-bluray-x264-replica";s:5:"annee";s:4:"2016";s:10:"titre_film";s:11:"Comancheria";s:8:"url_film";s:18:"hell-or-high-water";s:3:"url";s:18:"hell-or-high-water";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:63171;a:15:{s:10:"id_release";i:63171;s:4:"date";i:1478952887;s:7:"film_id";i:12748;s:5:"titre";s:48:"Hell.Or.High.Water.2016.720p.BluRay.x264-Replica";s:5:"group";s:7:"Replica";s:7:"fichier";s:52:"hell-or-high-water-2016-720p-bluray-x264-replica.nfo";s:9:"nfo_image";s:52:"hell-or-high-water-2016-720p-bluray-x264-replica.png";s:11:"url_release";s:48:"hell-or-high-water-2016-720p-bluray-x264-replica";s:5:"annee";s:4:"2016";s:10:"titre_film";s:11:"Comancheria";s:8:"url_film";s:18:"hell-or-high-water";s:3:"url";s:18:"hell-or-high-water";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:102801;a:15:{s:10:"id_release";i:102801;s:4:"date";i:1684715440;s:7:"film_id";i:12748;s:5:"titre";s:80:"Hell.Or.High.Water.2016.2160p.UHD.BluRay.x265.10bit.HDR.DTS-HD.MA.5.1-WhiteRhino";s:5:"group";s:10:"WhiteRhino";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:80:"hell-or-high-water-2016-2160p-uhd-bluray-x265-10bit-hdr-dts-hd-ma-5-1-whiterhino";s:5:"annee";s:4:"2016";s:10:"titre_film";s:11:"Comancheria";s:8:"url_film";s:18:"hell-or-high-water";s:3:"url";s:18:"hell-or-high-water";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:64925;a:15:{s:10:"id_release";i:64925;s:4:"date";i:1486306132;s:7:"film_id";i:12748;s:5:"titre";s:44:"Hell.Or.High.Water.2016.720p.BluRay.x264-YTS";s:5:"group";s:3:"YTS";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:44:"hell-or-high-water-2016-720p-bluray-x264-yts";s:5:"annee";s:4:"2016";s:10:"titre_film";s:11:"Comancheria";s:8:"url_film";s:18:"hell-or-high-water";s:3:"url";s:18:"hell-or-high-water";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:64926;a:15:{s:10:"id_release";i:64926;s:4:"date";i:1486306170;s:7:"film_id";i:12748;s:5:"titre";s:45:"Hell.Or.High.Water.2016.1080p.BluRay.x264-YTS";s:5:"group";s:3:"YTS";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:45:"hell-or-high-water-2016-1080p-bluray-x264-yts";s:5:"annee";s:4:"2016";s:10:"titre_film";s:11:"Comancheria";s:8:"url_film";s:18:"hell-or-high-water";s:3:"url";s:18:"hell-or-high-water";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}}
Le nombre de release est de 12 releases
Le tableau $releases contient donc 12 informations :
#63172 : Hell.Or.High.Water.2016.BDRip.x264-DiAMOND (0 fichier)
#63186 : Hell.Or.High.Water.2016.720p.BRRip.x264.AAC-ETRG (0 fichier)
#63118 : Hell.Or.High.Water.2016.HDRip.XviD.AC3-EVO (0 fichier)
#63138 : Hell.Or.High.Water.2016.BRRip.XviD.AC3-EVO (0 fichier)
#63125 : Hell.Or.High.Water.2016.1080p.WEB-DL.DD5.1.H264-FGT (0 fichier)
#63494 : Hell.Or.High.Water.2016.1080p.BluRay.x264.DTS-HD.MA.5.1-FGT (0 fichier)
#63137 : Hell.Or.High.Water.2016.720p.BluRay.x264.DTS-HDC (0 fichier)
#63170 : Hell.Or.High.Water.2016.1080p.BluRay.x264-Replica (2 fichiers)
#63171 : Hell.Or.High.Water.2016.720p.BluRay.x264-Replica (0 fichier)
#102801 : Hell.Or.High.Water.2016.2160p.UHD.BluRay.x265.10bit.HDR.DTS-HD.MA.5.1-WhiteRhino (0 fichier)
#64925 : Hell.Or.High.Water.2016.720p.BluRay.x264-YTS (0 fichier)
#64926 : Hell.Or.High.Water.2016.1080p.BluRay.x264-YTS (0 fichier)
On a cree le fichier ../../cache/film/2016/he/hell-or-high-water-2016-1080p-bluray-x264-replica-release.php";
On cherchait les fichiers de la release hell-or-high-water-2016-1080p-bluray-x264-replica.php (cache/release/2016/he/hell-or-high-water-2016-1080p-bluray-x264-replica.php) mais il n'existe pas donc du coup, on le recree avec cacheRelease(url, $annee, $path=NULL) donc cacheRelease('hell-or-high-water-2016-1080p-bluray-x264-replica', 2016); :
Donc merci de recharger la page !
On lance la fonction cacheRelease('hell-or-high-water-2016-1080p-bluray-x264-replica', 2016) !
Ces infos serializées des 2 releases ont été strockées dans le fichier hell-or-high-water-2016-1080p-bluray-x264-replica.php (du dossier cache/release/2016/he/)