Le fichier cache/release/2016/al/allied-2016-web-dl-x264-fgt.php n'existe pas alors on lance : cacheRelease('allied-2016-web-dl-x264-fgt', 2016);
Le fichier cache/release/2016/al/allied-2016-web-dl-x264-fgt.php n'exitant pas dans le dossier cache/release/2016/al/
On en a crée un vide avec file_put_contents()
On lance la fonction cacheRelease('allied-2016-web-dl-x264-fgt', 2016) !
Ces infos serializées des 2 releases ont été strockées dans le fichier allied-2016-web-dl-x264-fgt.php (du dossier cache/release/2016/al/)
On lance la fonction cacheRelease('allied-2016-web-dl-x264-fgt', 2016) !
Ces infos serializées des 2 releases ont été strockées dans le fichier allied-2016-web-dl-x264-fgt.php (du dossier cache/release/2016/al/)
Le fichier cache/release/2016/al/allied-2016-web-dl-x264-fgt.php existe bien mais ne peux pas être unserializé car sont contenu est s:7395:"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` = 'allied-2016-web-dl-x264-fgt' 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 «Alliés » qui a l'url «2016/13079-allied.html » et qui est de l'année « 2016 » avec la fonction cacheRelease('allied-2016-web-dl-x264-fgt', 2016);
l. 182
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` = 'allied' AND `tbl_film`.`date` = 2016
$release_id = 65090
release[id_release] = 65089
release[id_release] = 65140
release[id_release] = 65090
release[id_release] = 65100
release[id_release] = 71485
release[id_release] = 65107
release[id_release] = 65108
release[id_release] = 65109
release[id_release] = 88776
release[id_release] = 65159
a:10:{i:65089;a:15:{s:10:"id_release";i:65089;s:4:"date";i:1487094272;s:7:"film_id";i:13079;s:5:"titre";s:36:"Allied.2016.720p.WEB-DL.H264.AC3-EVO";s:5:"group";s:3:"EVO";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:36:"allied-2016-720p-web-dl-h264-ac3-evo";s:5:"annee";s:4:"2016";s:10:"titre_film";s:7:"Alliés";s:8:"url_film";s:6:"allied";s:3:"url";s:6:"allied";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:65140;a:15:{s:10:"id_release";i:65140;s:4:"date";i:1487229741;s:7:"film_id";i:13079;s:5:"titre";s:30:"Allied.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:30:"allied-2016-brrip-xvid-ac3-evo";s:5:"annee";s:4:"2016";s:10:"titre_film";s:7:"Alliés";s:8:"url_film";s:6:"allied";s:3:"url";s:6:"allied";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:65090;a:15:{s:10:"id_release";i:65090;s:4:"date";i:1487094277;s:7:"film_id";i:13079;s:5:"titre";s:39:"Allied.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:39:"allied-2016-1080p-web-dl-dd5-1-h264-fgt";s:5:"annee";s:4:"2016";s:10:"titre_film";s:7:"Alliés";s:8:"url_film";s:6:"allied";s:3:"url";s:6:"allied";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:65100;a:15:{s:10:"id_release";i:65100;s:4:"date";i:1487094486;s:7:"film_id";i:13079;s:5:"titre";s:27:"Allied.2016.WEB-DL.x264-FGT";s:5:"group";s:3:"FGT";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:27:"allied-2016-web-dl-x264-fgt";s:5:"annee";s:4:"2016";s:10:"titre_film";s:7:"Alliés";s:8:"url_film";s:6:"allied";s:3:"url";s:6:"allied";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:71485;a:15:{s:10:"id_release";i:71485;s:4:"date";i:1515250845;s:7:"film_id";i:13079;s:5:"titre";s:39:"Allied.2016.1080p.BluRay.H264.AAC-RARBG";s:5:"group";s:5:"RARBG";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:39:"allied-2016-1080p-bluray-h264-aac-rarbg";s:5:"annee";s:4:"2016";s:10:"titre_film";s:7:"Alliés";s:8:"url_film";s:6:"allied";s:3:"url";s:6:"allied";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:65107;a:15:{s:10:"id_release";i:65107;s:4:"date";i:1487152704;s:7:"film_id";i:13079;s:5:"titre";s:36:"Allied.2016.1080p.BluRay.x264-SPARKS";s:5:"group";s:6:"SPARKS";s:7:"fichier";s:40:"allied.2016.1080p.bluray.x264-sparks.nfo";s:9:"nfo_image";s:40:"allied.2016.1080p.bluray.x264-sparks.png";s:11:"url_release";s:36:"allied-2016-1080p-bluray-x264-sparks";s:5:"annee";s:4:"2016";s:10:"titre_film";s:7:"Alliés";s:8:"url_film";s:6:"allied";s:3:"url";s:6:"allied";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:65108;a:15:{s:10:"id_release";i:65108;s:4:"date";i:1487152711;s:7:"film_id";i:13079;s:5:"titre";s:35:"Allied.2016.720p.BluRay.x264-SPARKS";s:5:"group";s:6:"SPARKS";s:7:"fichier";s:39:"allied.2016.720p.bluray.x264-sparks.nfo";s:9:"nfo_image";s:39:"allied.2016.720p.bluray.x264-sparks.png";s:11:"url_release";s:35:"allied-2016-720p-bluray-x264-sparks";s:5:"annee";s:4:"2016";s:10:"titre_film";s:7:"Alliés";s:8:"url_film";s:6:"allied";s:3:"url";s:6:"allied";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:65109;a:15:{s:10:"id_release";i:65109;s:4:"date";i:1487152718;s:7:"film_id";i:13079;s:5:"titre";s:29:"Allied.2016.BDRip.x264-SPARKS";s:5:"group";s:6:"SPARKS";s:7:"fichier";s:33:"allied.2016.bdrip.x264-sparks.nfo";s:9:"nfo_image";s:33:"allied.2016.bdrip.x264-sparks.png";s:11:"url_release";s:29:"allied-2016-bdrip-x264-sparks";s:5:"annee";s:4:"2016";s:10:"titre_film";s:7:"Alliés";s:8:"url_film";s:6:"allied";s:3:"url";s:6:"allied";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:88776;a:15:{s:10:"id_release";i:88776;s:4:"date";i:1625103361;s:7:"film_id";i:13079;s:5:"titre";s:65:"Allied.2016.2160p.UHD.BluRay.x265.10bit.HDR.DTS-HD.MA.5.1-SWTYBLZ";s:5:"group";s:7:"SWTYBLZ";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:65:"allied-2016-2160p-uhd-bluray-x265-10bit-hdr-dts-hd-ma-5-1-swtyblz";s:5:"annee";s:4:"2016";s:10:"titre_film";s:7:"Alliés";s:8:"url_film";s:6:"allied";s:3:"url";s:6:"allied";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:65159;a:15:{s:10:"id_release";i:65159;s:4:"date";i:1487320576;s:7:"film_id";i:13079;s:5:"titre";s:32:"Allied.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:32:"allied-2016-720p-bluray-x264-yts";s:5:"annee";s:4:"2016";s:10:"titre_film";s:7:"Alliés";s:8:"url_film";s:6:"allied";s:3:"url";s:6:"allied";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 :
#65089 : Allied.2016.720p.WEB-DL.H264.AC3-EVO (0 fichier)
#65140 : Allied.2016.BRRip.XviD.AC3-EVO (0 fichier)
#65090 : Allied.2016.1080p.WEB-DL.DD5.1.H264-FGT (0 fichier)
#65100 : Allied.2016.WEB-DL.x264-FGT (1 fichier)
#71485 : Allied.2016.1080p.BluRay.H264.AAC-RARBG (0 fichier)
#65107 : Allied.2016.1080p.BluRay.x264-SPARKS (0 fichier)
#65108 : Allied.2016.720p.BluRay.x264-SPARKS (0 fichier)
#65109 : Allied.2016.BDRip.x264-SPARKS (0 fichier)
#88776 : Allied.2016.2160p.UHD.BluRay.x265.10bit.HDR.DTS-HD.MA.5.1-SWTYBLZ (0 fichier)
#65159 : Allied.2016.720p.BluRay.x264-YTS (0 fichier)
On a cree le fichier ../../cache/film/2016/al/allied-2016-web-dl-x264-fgt-release.php";
On cherchait les fichiers de la release allied-2016-web-dl-x264-fgt.php (cache/release/2016/al/allied-2016-web-dl-x264-fgt.php) mais il n'existe pas donc du coup, on le recree avec cacheRelease(url, $annee, $path=NULL) donc cacheRelease('allied-2016-web-dl-x264-fgt', 2016); :
Donc merci de recharger la page !On lance la fonction cacheRelease('allied-2016-web-dl-x264-fgt', 2016) !
Ces infos serializées des 2 releases ont été strockées dans le fichier allied-2016-web-dl-x264-fgt.php (du dossier cache/release/2016/al/)