Le fichier cache/release/2019/to/toy-story-4-2019-multi-complete-bluray-codeflix.php n'existe pas alors on lance : cacheRelease('toy-story-4-2019-multi-complete-bluray-codeflix', 2019);

Le fichier cache/release/2019/to/toy-story-4-2019-multi-complete-bluray-codeflix.php n'exitant pas dans le dossier cache/release/2019/to/
On en a crée un vide avec file_put_contents()
On lance la fonction cacheRelease('toy-story-4-2019-multi-complete-bluray-codeflix', 2019) !
Ces infos serializées des 2 releases ont été strockées dans le fichier toy-story-4-2019-multi-complete-bluray-codeflix.php (du dossier cache/release/2019/to/)
 

On lance la fonction cacheRelease('toy-story-4-2019-multi-complete-bluray-codeflix', 2019) !
Ces infos serializées des 2 releases ont été strockées dans le fichier toy-story-4-2019-multi-complete-bluray-codeflix.php (du dossier cache/release/2019/to/)
 

Le fichier cache/release/2019/to/toy-story-4-2019-multi-complete-bluray-codeflix.php existe bien mais ne peux pas être unserializé car sont contenu est s:7520:"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` = 'toy-story-4-2019-multi-complete-bluray-codeflix' AND `tbl_film`.`date` = 2019 AND `tbl_release`.`afficher` = 1 ORDER BY `tbl_release`.`group` ASC
 
l. 150
On cherche à faire la liste des 0 release du film «Toy Story 4 » qui a l'url «2019/17824-toy-story-4.html » et qui est de l'année « 2019 » avec la fonction cacheRelease('toy-story-4-2019-multi-complete-bluray-codeflix', 2019); 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` = 'toy-story-4' AND `tbl_film`.`date` = 2019
 
$release_id = 82241
release[id_release] = 124071
release[id_release] = 82402
release[id_release] = 82242
release[id_release] = 82241
release[id_release] = 83003
release[id_release] = 82176
release[id_release] = 82238
release[id_release] = 82239
release[id_release] = 82240
a:9:{i:124071;a:15:{s:10:"id_release";i:124071;s:4:"date";i:1717241434;s:7:"film_id";i:17824;s:5:"titre";s:47:"Toy.Story.4.2019.MULTi.COMPLETE.BLURAY-CODEFLiX";s:5:"group";s:8:"CODEFLiX";s:7:"fichier";s:51:"toy-story-4-2019-multi-complete-bluray-codeflix.nfo";s:9:"nfo_image";s:51:"toy-story-4-2019-multi-complete-bluray-codeflix.png";s:11:"url_release";s:47:"toy-story-4-2019-multi-complete-bluray-codeflix";s:5:"annee";s:4:"2019";s:10:"titre_film";s:11:"Toy Story 4";s:8:"url_film";s:11:"toy-story-4";s:3:"url";s:11:"toy-story-4";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:82402;a:15:{s:10:"id_release";i:82402;s:4:"date";i:1570890480;s:7:"film_id";i:17824;s:5:"titre";s:37:"Toy.Story.4.2019.1080p.HDRip.x264-EVO";s:5:"group";s:3:"EVO";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:37:"toy-story-4-2019-1080p-hdrip-x264-evo";s:5:"annee";s:4:"2019";s:10:"titre_film";s:11:"Toy Story 4";s:8:"url_film";s:11:"toy-story-4";s:3:"url";s:11:"toy-story-4";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:82242;a:15:{s:10:"id_release";i:82242;s:4:"date";i:1569537401;s:7:"film_id";i:17824;s:5:"titre";s:54:"Toy.Story.4.2019.BluRay.1080p.DTS-HD.MA.7.1.x264-MTeam";s:5:"group";s:5:"MTeam";s:7:"fichier";s:58:"toy-story-4-2019-bluray-1080p-dts-hd-ma-7-1-x264-mteam.nfo";s:9:"nfo_image";s:58:"toy-story-4-2019-bluray-1080p-dts-hd-ma-7-1-x264-mteam.png";s:11:"url_release";s:54:"toy-story-4-2019-bluray-1080p-dts-hd-ma-7-1-x264-mteam";s:5:"annee";s:4:"2019";s:10:"titre_film";s:11:"Toy Story 4";s:8:"url_film";s:11:"toy-story-4";s:3:"url";s:11:"toy-story-4";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:82241;a:15:{s:10:"id_release";i:82241;s:4:"date";i:1569517452;s:7:"film_id";i:17824;s:5:"titre";s:44:"Toy.Story.4.2019.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:44:"toy-story-4-2019-1080p-bluray-h264-aac-rarbg";s:5:"annee";s:4:"2019";s:10:"titre_film";s:11:"Toy Story 4";s:8:"url_film";s:11:"toy-story-4";s:3:"url";s:11:"toy-story-4";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:83003;a:15:{s:10:"id_release";i:83003;s:4:"date";i:1573820650;s:7:"film_id";i:17824;s:5:"titre";s:43:"Toy.Story.4.2019.720p.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:43:"toy-story-4-2019-720p-bluray-h264-aac-rarbg";s:5:"annee";s:4:"2019";s:10:"titre_film";s:11:"Toy Story 4";s:8:"url_film";s:11:"toy-story-4";s:3:"url";s:11:"toy-story-4";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:82176;a:15:{s:10:"id_release";i:82176;s:4:"date";i:1569001896;s:7:"film_id";i:17824;s:5:"titre";s:49:"Toy.Story.4.2019.1080p.WEBRip.x264.AAC2.0-SHITBOX";s:5:"group";s:7:"SHITBOX";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:49:"toy-story-4-2019-1080p-webrip-x264-aac2-0-shitbox";s:5:"annee";s:4:"2019";s:10:"titre_film";s:11:"Toy Story 4";s:8:"url_film";s:11:"toy-story-4";s:3:"url";s:11:"toy-story-4";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:82238;a:15:{s:10:"id_release";i:82238;s:4:"date";i:1569517452;s:7:"film_id";i:17824;s:5:"titre";s:41:"Toy.Story.4.2019.1080p.BluRay.x264-SPARKS";s:5:"group";s:6:"SPARKS";s:7:"fichier";s:45:"toy-story-4-2019-1080p-bluray-x264-sparks.nfo";s:9:"nfo_image";s:45:"toy-story-4-2019-1080p-bluray-x264-sparks.png";s:11:"url_release";s:41:"toy-story-4-2019-1080p-bluray-x264-sparks";s:5:"annee";s:4:"2019";s:10:"titre_film";s:11:"Toy Story 4";s:8:"url_film";s:11:"toy-story-4";s:3:"url";s:11:"toy-story-4";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:82239;a:15:{s:10:"id_release";i:82239;s:4:"date";i:1569517452;s:7:"film_id";i:17824;s:5:"titre";s:40:"Toy.Story.4.2019.720p.BluRay.x264-SPARKS";s:5:"group";s:6:"SPARKS";s:7:"fichier";s:44:"toy-story-4-2019-720p-bluray-x264-sparks.nfo";s:9:"nfo_image";s:44:"toy-story-4-2019-720p-bluray-x264-sparks.png";s:11:"url_release";s:40:"toy-story-4-2019-720p-bluray-x264-sparks";s:5:"annee";s:4:"2019";s:10:"titre_film";s:11:"Toy Story 4";s:8:"url_film";s:11:"toy-story-4";s:3:"url";s:11:"toy-story-4";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:82240;a:15:{s:10:"id_release";i:82240;s:4:"date";i:1569517452;s:7:"film_id";i:17824;s:5:"titre";s:34:"Toy.Story.4.2019.BDRip.x264-SPARKS";s:5:"group";s:6:"SPARKS";s:7:"fichier";s:38:"toy-story-4-2019-bdrip-x264-sparks.nfo";s:9:"nfo_image";s:38:"toy-story-4-2019-bdrip-x264-sparks.png";s:11:"url_release";s:34:"toy-story-4-2019-bdrip-x264-sparks";s:5:"annee";s:4:"2019";s:10:"titre_film";s:11:"Toy Story 4";s:8:"url_film";s:11:"toy-story-4";s:3:"url";s:11:"toy-story-4";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}}
Le nombre de release est de 9 releases
Le tableau $releases contient donc 9 informations :
#124071 : Toy.Story.4.2019.MULTi.COMPLETE.BLURAY-CODEFLiX (0 fichier)
#82402 : Toy.Story.4.2019.1080p.HDRip.x264-EVO (0 fichier)
#82242 : Toy.Story.4.2019.BluRay.1080p.DTS-HD.MA.7.1.x264-MTeam (0 fichier)
#82241 : Toy.Story.4.2019.1080p.BluRay.H264.AAC-RARBG (0 fichier)
#83003 : Toy.Story.4.2019.720p.BluRay.H264.AAC-RARBG (0 fichier)
#82176 : Toy.Story.4.2019.1080p.WEBRip.x264.AAC2.0-SHITBOX (0 fichier)
#82238 : Toy.Story.4.2019.1080p.BluRay.x264-SPARKS (0 fichier)
#82239 : Toy.Story.4.2019.720p.BluRay.x264-SPARKS (0 fichier)
#82240 : Toy.Story.4.2019.BDRip.x264-SPARKS (0 fichier)
On a cree le fichier ../../cache/film/2019/to/toy-story-4-2019-multi-complete-bluray-codeflix-release.php";

On cherchait les fichiers de la release toy-story-4-2019-multi-complete-bluray-codeflix.php (cache/release/2019/to/toy-story-4-2019-multi-complete-bluray-codeflix.php) mais il n'existe pas donc du coup, on le recree avec cacheRelease(url, $annee, $path=NULL) donc cacheRelease('toy-story-4-2019-multi-complete-bluray-codeflix', 2019); :
Donc merci de recharger la page !

On lance la fonction cacheRelease('toy-story-4-2019-multi-complete-bluray-codeflix', 2019) !
Ces infos serializées des 2 releases ont été strockées dans le fichier toy-story-4-2019-multi-complete-bluray-codeflix.php (du dossier cache/release/2019/to/)