Le fichier cache/release/1989/lo/look-whos-talking-1989-720p-bluray-h264-aac-rarbg.php existe bien mais ne peux pas être unserializé car sont contenu est s:5018:"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` = 'look-whos-talking-1989-720p-bluray-h264-aac-rarbg' AND `tbl_film`.`date` = 1989 AND `tbl_release`.`afficher` = 1 ORDER BY `tbl_release`.`group` ASC
l. 150
On cherche à faire la liste des 0 release du film «Allo maman ici bébé » qui a l'url «1989/10562-look-whos-talking.html » et qui est de l'année « 1989 » avec la fonction cacheRelease('look-whos-talking-1989-720p-bluray-h264-aac-rarbg', 1989);
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` = 'look-whos-talking' AND `tbl_film`.`date` = 1989
$release_id = 83666
release[id_release] = 83666
release[id_release] = 123982
release[id_release] = 83667
release[id_release] = 83668
release[id_release] = 83669
a:5:{i:83666;a:15:{s:10:"id_release";i:83666;s:4:"date";i:1580475405;s:7:"film_id";i:10562;s:5:"titre";s:48:"Look.Whos.Talking.1989.1080p.BluRay.x264.DTS-FGT";s:5:"group";s:3:"FGT";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:48:"look-whos-talking-1989-1080p-bluray-x264-dts-fgt";s:5:"annee";s:4:"1989";s:10:"titre_film";s:21:"Allo maman ici bébé";s:8:"url_film";s:17:"look-whos-talking";s:3:"url";s:17:"look-whos-talking";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:123982;a:15:{s:10:"id_release";i:123982;s:4:"date";i:1717121352;s:7:"film_id";i:10562;s:5:"titre";s:48:"Look.Whos.Talking.1989.MULTI.2160p.WEB.H265-LOST";s:5:"group";s:4:"LOST";s:7:"fichier";s:52:"look-whos-talking-1989-multi-2160p-web-h265-lost.nfo";s:9:"nfo_image";s:52:"look-whos-talking-1989-multi-2160p-web-h265-lost.png";s:11:"url_release";s:48:"look-whos-talking-1989-multi-2160p-web-h265-lost";s:5:"annee";s:4:"1989";s:10:"titre_film";s:21:"Allo maman ici bébé";s:8:"url_film";s:17:"look-whos-talking";s:3:"url";s:17:"look-whos-talking";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:83667;a:15:{s:10:"id_release";i:83667;s:4:"date";i:1580475405;s:7:"film_id";i:10562;s:5:"titre";s:49:"Look.Whos.Talking.1989.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:49:"look-whos-talking-1989-720p-bluray-h264-aac-rarbg";s:5:"annee";s:4:"1989";s:10:"titre_film";s:21:"Allo maman ici bébé";s:8:"url_film";s:17:"look-whos-talking";s:3:"url";s:17:"look-whos-talking";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:83668;a:15:{s:10:"id_release";i:83668;s:4:"date";i:1580475405;s:7:"film_id";i:10562;s:5:"titre";s:50:"Look.Whos.Talking.1989.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:50:"look-whos-talking-1989-1080p-bluray-h264-aac-rarbg";s:5:"annee";s:4:"1989";s:10:"titre_film";s:21:"Allo maman ici bébé";s:8:"url_film";s:17:"look-whos-talking";s:3:"url";s:17:"look-whos-talking";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:83669;a:15:{s:10:"id_release";i:83669;s:4:"date";i:1580475405;s:7:"film_id";i:10562;s:5:"titre";s:42:"Look.Whos.Talking.1989.BRRip.XviD.MP3-XVID";s:5:"group";s:4:"XVID";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:42:"look-whos-talking-1989-brrip-xvid-mp3-xvid";s:5:"annee";s:4:"1989";s:10:"titre_film";s:21:"Allo maman ici bébé";s:8:"url_film";s:17:"look-whos-talking";s:3:"url";s:17:"look-whos-talking";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}}
Le nombre de release est de 5 releases
Le tableau $releases contient donc 5 informations :
#83666 : Look.Whos.Talking.1989.1080p.BluRay.x264.DTS-FGT (0 fichier)
#123982 : Look.Whos.Talking.1989.MULTI.2160p.WEB.H265-LOST (0 fichier)
#83667 : Look.Whos.Talking.1989.720p.BluRay.H264.AAC-RARBG (1 fichier)
#83668 : Look.Whos.Talking.1989.1080p.BluRay.H264.AAC-RARBG (0 fichier)
#83669 : Look.Whos.Talking.1989.BRRip.XviD.MP3-XVID (0 fichier)
On a cree le fichier ../../cache/film/1989/lo/look-whos-talking-1989-720p-bluray-h264-aac-rarbg-release.php";
On cherchait les fichiers de la release look-whos-talking-1989-720p-bluray-h264-aac-rarbg.php (cache/release/1989/lo/look-whos-talking-1989-720p-bluray-h264-aac-rarbg.php) mais il n'existe pas donc du coup, on le recree avec cacheRelease(url, $annee, $path=NULL) donc cacheRelease('look-whos-talking-1989-720p-bluray-h264-aac-rarbg', 1989); :
Donc merci de recharger la page !
On lance la fonction cacheRelease('look-whos-talking-1989-720p-bluray-h264-aac-rarbg', 1989) !
Ces infos serializées des 2 releases ont été strockées dans le fichier look-whos-talking-1989-720p-bluray-h264-aac-rarbg.php (du dossier cache/release/1989/lo/)