Le fichier cache/release/2014/th/the-drop-2014-1080p-bluray-x264-barc0de.php n'existe pas alors on lance : cacheRelease('the-drop-2014-1080p-bluray-x264-barc0de', 2014);

Le fichier cache/release/2014/th/the-drop-2014-1080p-bluray-x264-barc0de.php n'exitant pas dans le dossier cache/release/2014/th/
On en a crée un vide avec file_put_contents()
On lance la fonction cacheRelease('the-drop-2014-1080p-bluray-x264-barc0de', 2014) !
Ces infos serializées des 2 releases ont été strockées dans le fichier the-drop-2014-1080p-bluray-x264-barc0de.php (du dossier cache/release/2014/th/)
 

On lance la fonction cacheRelease('the-drop-2014-1080p-bluray-x264-barc0de', 2014) !
Ces infos serializées des 2 releases ont été strockées dans le fichier the-drop-2014-1080p-bluray-x264-barc0de.php (du dossier cache/release/2014/th/)
 

Le fichier cache/release/2014/th/the-drop-2014-1080p-bluray-x264-barc0de.php existe bien mais ne peux pas être unserializé car sont contenu est s:9099:"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` = 'the-drop-2014-1080p-bluray-x264-barc0de' 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 «Quand vient la nuit » qui a l'url «2014/10301-the-drop.html » et qui est de l'année « 2014 » avec la fonction cacheRelease('the-drop-2014-1080p-bluray-x264-barc0de', 2014); 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` = 'the-drop' AND `tbl_film`.`date` = 2014
 
$release_id = 32857
release[id_release] = 45760
release[id_release] = 45763
release[id_release] = 32694
release[id_release] = 32686
release[id_release] = 33017
release[id_release] = 71472
release[id_release] = 32843
release[id_release] = 32844
release[id_release] = 32845
release[id_release] = 32838
release[id_release] = 32857
release[id_release] = 32858
a:12:{i:45760;a:15:{s:10:"id_release";i:45760;s:4:"date";i:1430926413;s:7:"film_id";i:10301;s:5:"titre";s:39:"The.Drop.2014.1080p.BluRay.x264-BARC0DE";s:5:"group";s:7:"BARC0DE";s:7:"fichier";s:43:"the-drop-2014-1080p-bluray-x264-barc0de.nfo";s:9:"nfo_image";s:43:"the-drop-2014-1080p-bluray-x264-barc0de.png";s:11:"url_release";s:39:"the-drop-2014-1080p-bluray-x264-barc0de";s:5:"annee";s:4:"2014";s:10:"titre_film";s:19:"Quand vient la nuit";s:8:"url_film";s:8:"the-drop";s:3:"url";s:8:"the-drop";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:45763;a:15:{s:10:"id_release";i:45763;s:4:"date";i:1430929188;s:7:"film_id";i:10301;s:5:"titre";s:43:"The.Drop.2014.720p.BluRay.DTS.x264-HDAccess";s:5:"group";s:8:"HDAccess";s:7:"fichier";s:47:"the-drop-2014-720p-bluray-dts-x264-hdaccess.nfo";s:9:"nfo_image";s:47:"the-drop-2014-720p-bluray-dts-x264-hdaccess.png";s:11:"url_release";s:43:"the-drop-2014-720p-bluray-dts-x264-hdaccess";s:5:"annee";s:4:"2014";s:10:"titre_film";s:19:"Quand vient la nuit";s:8:"url_film";s:8:"the-drop";s:3:"url";s:8:"the-drop";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:32694;a:15:{s:10:"id_release";i:32694;s:4:"date";i:1419358839;s:7:"film_id";i:10301;s:5:"titre";s:45:"The.Drop.2014.720p.WEB-DL.DD5.1.H.264-PLAYNOW";s:5:"group";s:7:"PLAYNOW";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:45:"the-drop-2014-720p-web-dl-dd5-1-h-264-playnow";s:5:"annee";s:4:"2014";s:10:"titre_film";s:19:"Quand vient la nuit";s:8:"url_film";s:8:"the-drop";s:3:"url";s:8:"the-drop";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:32686;a:15:{s:10:"id_release";i:32686;s:4:"date";i:1419324270;s:7:"film_id";i:10301;s:5:"titre";s:43:"The.Drop.2014.1080p.WEB-DL.DD5.1.H264-RARBG";s:5:"group";s:5:"RARBG";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:43:"the-drop-2014-1080p-web-dl-dd5-1-h264-rarbg";s:5:"annee";s:4:"2014";s:10:"titre_film";s:19:"Quand vient la nuit";s:8:"url_film";s:8:"the-drop";s:3:"url";s:8:"the-drop";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:33017;a:15:{s:10:"id_release";i:33017;s:4:"date";i:1420560607;s:7:"film_id";i:10301;s:5:"titre";s:39:"The.Drop.2014.720p.BRRip.x264.AC3-RARBG";s:5:"group";s:5:"RARBG";s:7:"fichier";s:43:"the-drop-2014-720p-brrip-x264-ac3-rarbg.nfo";s:9:"nfo_image";s:43:"the-drop-2014-720p-brrip-x264-ac3-rarbg.png";s:11:"url_release";s:39:"the-drop-2014-720p-brrip-x264-ac3-rarbg";s:5:"annee";s:4:"2014";s:10:"titre_film";s:19:"Quand vient la nuit";s:8:"url_film";s:8:"the-drop";s:3:"url";s:8:"the-drop";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:71472;a:15:{s:10:"id_release";i:71472;s:4:"date";i:1515195378;s:7:"film_id";i:10301;s:5:"titre";s:41:"The.Drop.2014.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:41:"the-drop-2014-1080p-bluray-h264-aac-rarbg";s:5:"annee";s:4:"2014";s:10:"titre_film";s:19:"Quand vient la nuit";s:8:"url_film";s:8:"the-drop";s:3:"url";s:8:"the-drop";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:32843;a:15:{s:10:"id_release";i:32843;s:4:"date";i:1419895256;s:7:"film_id";i:10301;s:5:"titre";s:38:"The.Drop.2014.1080p.BluRay.x264-SPARKS";s:5:"group";s:6:"SPARKS";s:7:"fichier";s:42:"the-drop-2014-1080p-bluray-x264-sparks.nfo";s:9:"nfo_image";s:42:"the-drop-2014-1080p-bluray-x264-sparks.png";s:11:"url_release";s:38:"the-drop-2014-1080p-bluray-x264-sparks";s:5:"annee";s:4:"2014";s:10:"titre_film";s:19:"Quand vient la nuit";s:8:"url_film";s:8:"the-drop";s:3:"url";s:8:"the-drop";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:32844;a:15:{s:10:"id_release";i:32844;s:4:"date";i:1419895256;s:7:"film_id";i:10301;s:5:"titre";s:37:"The.Drop.2014.720p.BluRay.x264-SPARKS";s:5:"group";s:6:"SPARKS";s:7:"fichier";s:41:"the-drop-2014-720p-bluray-x264-sparks.nfo";s:9:"nfo_image";s:41:"the-drop-2014-720p-bluray-x264-sparks.png";s:11:"url_release";s:37:"the-drop-2014-720p-bluray-x264-sparks";s:5:"annee";s:4:"2014";s:10:"titre_film";s:19:"Quand vient la nuit";s:8:"url_film";s:8:"the-drop";s:3:"url";s:8:"the-drop";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:32845;a:15:{s:10:"id_release";i:32845;s:4:"date";i:1419895256;s:7:"film_id";i:10301;s:5:"titre";s:31:"The.Drop.2014.BDRip.x264-SPARKS";s:5:"group";s:6:"SPARKS";s:7:"fichier";s:35:"the-drop-2014-bdrip-x264-sparks.nfo";s:9:"nfo_image";s:35:"the-drop-2014-bdrip-x264-sparks.png";s:11:"url_release";s:31:"the-drop-2014-bdrip-x264-sparks";s:5:"annee";s:4:"2014";s:10:"titre_film";s:19:"Quand vient la nuit";s:8:"url_film";s:8:"the-drop";s:3:"url";s:8:"the-drop";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:32838;a:15:{s:10:"id_release";i:32838;s:4:"date";i:1419872403;s:7:"film_id";i:10301;s:5:"titre";s:35:"The.Drop.2014.720p.WEB-DL.XviD-VAiN";s:5:"group";s:4:"VAiN";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:35:"the-drop-2014-720p-web-dl-xvid-vain";s:5:"annee";s:4:"2014";s:10:"titre_film";s:19:"Quand vient la nuit";s:8:"url_film";s:8:"the-drop";s:3:"url";s:8:"the-drop";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:32857;a:15:{s:10:"id_release";i:32857;s:4:"date";i:1419937224;s:7:"film_id";i:10301;s:5:"titre";s:35:"The.Drop.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:35:"the-drop-2014-720p-bluray-x264-yify";s:5:"annee";s:4:"2014";s:10:"titre_film";s:19:"Quand vient la nuit";s:8:"url_film";s:8:"the-drop";s:3:"url";s:8:"the-drop";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:32858;a:15:{s:10:"id_release";i:32858;s:4:"date";i:1419937257;s:7:"film_id";i:10301;s:5:"titre";s:36:"The.Drop.2014.1080p.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:36:"the-drop-2014-1080p-bluray-x264-yify";s:5:"annee";s:4:"2014";s:10:"titre_film";s:19:"Quand vient la nuit";s:8:"url_film";s:8:"the-drop";s:3:"url";s:8:"the-drop";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 :
#45760 : The.Drop.2014.1080p.BluRay.x264-BARC0DE (0 fichier)
#45763 : The.Drop.2014.720p.BluRay.DTS.x264-HDAccess (0 fichier)
#32694 : The.Drop.2014.720p.WEB-DL.DD5.1.H.264-PLAYNOW (0 fichier)
#32686 : The.Drop.2014.1080p.WEB-DL.DD5.1.H264-RARBG (0 fichier)
#33017 : The.Drop.2014.720p.BRRip.x264.AC3-RARBG (0 fichier)
#71472 : The.Drop.2014.1080p.BluRay.H264.AAC-RARBG (0 fichier)
#32843 : The.Drop.2014.1080p.BluRay.x264-SPARKS (0 fichier)
#32844 : The.Drop.2014.720p.BluRay.x264-SPARKS (0 fichier)
#32845 : The.Drop.2014.BDRip.x264-SPARKS (0 fichier)
#32838 : The.Drop.2014.720p.WEB-DL.XviD-VAiN (0 fichier)
#32857 : The.Drop.2014.720p.BluRay.x264-YIFY (0 fichier)
#32858 : The.Drop.2014.1080p.BluRay.x264-YIFY (0 fichier)
On a cree le fichier ../../cache/film/2014/th/the-drop-2014-1080p-bluray-x264-barc0de-release.php";

On cherchait les fichiers de la release the-drop-2014-1080p-bluray-x264-barc0de.php (cache/release/2014/th/the-drop-2014-1080p-bluray-x264-barc0de.php) mais il n'existe pas donc du coup, on le recree avec cacheRelease(url, $annee, $path=NULL) donc cacheRelease('the-drop-2014-1080p-bluray-x264-barc0de', 2014); :
Donc merci de recharger la page !

On lance la fonction cacheRelease('the-drop-2014-1080p-bluray-x264-barc0de', 2014) !
Ces infos serializées des 2 releases ont été strockées dans le fichier the-drop-2014-1080p-bluray-x264-barc0de.php (du dossier cache/release/2014/th/)