Le fichier cache/release/2013/sh/short-term-12-2013-limited-720p-bluray-x264-geckos.php existe bien mais ne peux pas être unserializé car sont contenu est s:8804:"l. 150
On cherche à faire la liste des 11 releases du film «States of Grace » qui a l'url «2013/9096-short-term-12.html » et qui est de l'année « 2013 » avec la fonction cacheRelease('short-term-12', 2013);
On lance la fonction cacheRelease('short-term-12', 2013) !
Ces infos serializées des 2 releases ont été strockées dans le fichier short-term-12.php (du dossier cache/release/2013/sh/)
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` = 'short-term-12' AND `tbl_film`.`date` = 2013
$release_id = 25797
release[id_release] = 25797
release[id_release] = 25980
release[id_release] = 25981
release[id_release] = 32479
release[id_release] = 25823
release[id_release] = 25822
release[id_release] = 25845
release[id_release] = 25846
release[id_release] = 25851
release[id_release] = 60199
release[id_release] = 60200
a:11:{i:25797;a:15:{s:10:"id_release";i:25797;s:4:"date";i:1388968671;s:7:"film_id";i:9096;s:5:"titre";s:46:"Short.Term.12.2013.LIMITED.DVDRip.X264-AMIABLE";s:5:"group";s:7:"AMIABLE";s:7:"fichier";s:50:"short-term-12-2013-limited-dvdrip-x264-amiable.nfo";s:9:"nfo_image";s:50:"short-term-12-2013-limited-dvdrip-x264-amiable.png";s:11:"url_release";s:46:"short-term-12-2013-limited-dvdrip-x264-amiable";s:5:"annee";s:4:"2013";s:10:"titre_film";s:15:"States of Grace";s:8:"url_film";s:13:"short-term-12";s:3:"url";s:13:"short-term-12";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:25980;a:15:{s:10:"id_release";i:25980;s:4:"date";i:1389635658;s:7:"film_id";i:9096;s:5:"titre";s:44:"Short.Term.12.2013.BluRay.1080p.DTS.x264-CHD";s:5:"group";s:3:"CHD";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:44:"short-term-12-2013-bluray-1080p-dts-x264-chd";s:5:"annee";s:4:"2013";s:10:"titre_film";s:15:"States of Grace";s:8:"url_film";s:13:"short-term-12";s:3:"url";s:13:"short-term-12";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:25981;a:15:{s:10:"id_release";i:25981;s:4:"date";i:1389635660;s:7:"film_id";i:9096;s:5:"titre";s:43:"Short.Term.12.2013.BluRay.720p.DTS.x264-CHD";s:5:"group";s:3:"CHD";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:43:"short-term-12-2013-bluray-720p-dts-x264-chd";s:5:"annee";s:4:"2013";s:10:"titre_film";s:15:"States of Grace";s:8:"url_film";s:13:"short-term-12";s:3:"url";s:13:"short-term-12";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:32479;a:15:{s:10:"id_release";i:32479;s:4:"date";i:1418572418;s:7:"film_id";i:9096;s:5:"titre";s:47:"Short.Term.12.2013.MULTi.1080p.BluRay.x264-DEAL";s:5:"group";s:4:"DEAL";s:7:"fichier";s:51:"short-term-12-2013-multi-1080p-bluray-x264-deal.nfo";s:9:"nfo_image";s:51:"short-term-12-2013-multi-1080p-bluray-x264-deal.png";s:11:"url_release";s:47:"short-term-12-2013-multi-1080p-bluray-x264-deal";s:5:"annee";s:4:"2013";s:10:"titre_film";s:15:"States of Grace";s:8:"url_film";s:13:"short-term-12";s:3:"url";s:13:"short-term-12";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:25823;a:15:{s:10:"id_release";i:25823;s:4:"date";i:1389081223;s:7:"film_id";i:9096;s:5:"titre";s:50:"Short.Term.12.2013.LIMITED.720p.BluRay.x264-GECKOS";s:5:"group";s:6:"GECKOS";s:7:"fichier";s:54:"short-term-12-2013-limited-720p-bluray-x264-geckos.nfo";s:9:"nfo_image";s:54:"short-term-12-2013-limited-720p-bluray-x264-geckos.png";s:11:"url_release";s:50:"short-term-12-2013-limited-720p-bluray-x264-geckos";s:5:"annee";s:4:"2013";s:10:"titre_film";s:15:"States of Grace";s:8:"url_film";s:13:"short-term-12";s:3:"url";s:13:"short-term-12";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:25822;a:15:{s:10:"id_release";i:25822;s:4:"date";i:1389081223;s:7:"film_id";i:9096;s:5:"titre";s:51:"Short.Term.12.2013.LIMITED.1080p.BluRay.x264-GECKOS";s:5:"group";s:6:"GECKOS";s:7:"fichier";s:55:"short-term-12-2013-limited-1080p-bluray-x264-geckos.nfo";s:9:"nfo_image";s:55:"short-term-12-2013-limited-1080p-bluray-x264-geckos.png";s:11:"url_release";s:51:"short-term-12-2013-limited-1080p-bluray-x264-geckos";s:5:"annee";s:4:"2013";s:10:"titre_film";s:15:"States of Grace";s:8:"url_film";s:13:"short-term-12";s:3:"url";s:13:"short-term-12";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:25845;a:15:{s:10:"id_release";i:25845;s:4:"date";i:1389198369;s:7:"film_id";i:9096;s:5:"titre";s:59:"Short.Term.12.2013.1080p.BluRay.DTS-HD.MA.5.1.x264-PublicHD";s:5:"group";s:8:"PublicHD";s:7:"fichier";s:63:"short-term-12-2013-1080p-bluray-dts-hd-ma-5-1-x264-publichd.nfo";s:9:"nfo_image";s:63:"short-term-12-2013-1080p-bluray-dts-hd-ma-5-1-x264-publichd.png";s:11:"url_release";s:59:"short-term-12-2013-1080p-bluray-dts-hd-ma-5-1-x264-publichd";s:5:"annee";s:4:"2013";s:10:"titre_film";s:15:"States of Grace";s:8:"url_film";s:13:"short-term-12";s:3:"url";s:13:"short-term-12";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:25846;a:15:{s:10:"id_release";i:25846;s:4:"date";i:1389198398;s:7:"film_id";i:9096;s:5:"titre";s:48:"Short.Term.12.2013.720p.BluRay.DTS.x264-PublicHD";s:5:"group";s:8:"PublicHD";s:7:"fichier";s:52:"short-term-12-2013-720p-bluray-dts-x264-publichd.nfo";s:9:"nfo_image";s:52:"short-term-12-2013-720p-bluray-dts-x264-publichd.png";s:11:"url_release";s:48:"short-term-12-2013-720p-bluray-dts-x264-publichd";s:5:"annee";s:4:"2013";s:10:"titre_film";s:15:"States of Grace";s:8:"url_film";s:13:"short-term-12";s:3:"url";s:13:"short-term-12";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:25851;a:15:{s:10:"id_release";i:25851;s:4:"date";i:1389213099;s:7:"film_id";i:9096;s:5:"titre";s:48:"Short.Term.12.2013.DVDRip.x264.AC3-Worldwide7477";s:5:"group";s:13:"Worldwide7477";s:7:"fichier";s:52:"short-term-12-2013-dvdrip-x264-ac3-worldwide7477.nfo";s:9:"nfo_image";s:52:"short-term-12-2013-dvdrip-x264-ac3-worldwide7477.png";s:11:"url_release";s:48:"short-term-12-2013-dvdrip-x264-ac3-worldwide7477";s:5:"annee";s:4:"2013";s:10:"titre_film";s:15:"States of Grace";s:8:"url_film";s:13:"short-term-12";s:3:"url";s:13:"short-term-12";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:60199;a:15:{s:10:"id_release";i:60199;s:4:"date";i:1461167277;s:7:"film_id";i:9096;s:5:"titre";s:40:"Short.Term.12.2013.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:40:"short-term-12-2013-720p-bluray-x264-yify";s:5:"annee";s:4:"2013";s:10:"titre_film";s:15:"States of Grace";s:8:"url_film";s:13:"short-term-12";s:3:"url";s:13:"short-term-12";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:60200;a:15:{s:10:"id_release";i:60200;s:4:"date";i:1461167313;s:7:"film_id";i:9096;s:5:"titre";s:41:"Short.Term.12.2013.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:41:"short-term-12-2013-1080p-bluray-x264-yify";s:5:"annee";s:4:"2013";s:10:"titre_film";s:15:"States of Grace";s:8:"url_film";s:13:"short-term-12";s:3:"url";s:13:"short-term-12";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}}
Le nombre de release est de 11 releases
Le tableau $releases contient donc 11 informations :
#25797 : Short.Term.12.2013.LIMITED.DVDRip.X264-AMIABLE (0 fichier)
#25980 : Short.Term.12.2013.BluRay.1080p.DTS.x264-CHD (0 fichier)
#25981 : Short.Term.12.2013.BluRay.720p.DTS.x264-CHD (0 fichier)
#32479 : Short.Term.12.2013.MULTi.1080p.BluRay.x264-DEAL (0 fichier)
#25823 : Short.Term.12.2013.LIMITED.720p.BluRay.x264-GECKOS (1 fichier)
#25822 : Short.Term.12.2013.LIMITED.1080p.BluRay.x264-GECKOS (0 fichier)
#25845 : Short.Term.12.2013.1080p.BluRay.DTS-HD.MA.5.1.x264-PublicHD (0 fichier)
#25846 : Short.Term.12.2013.720p.BluRay.DTS.x264-PublicHD (0 fichier)
#25851 : Short.Term.12.2013.DVDRip.x264.AC3-Worldwide7477 (0 fichier)
#60199 : Short.Term.12.2013.720p.BluRay.x264-YIFY (0 fichier)
#60200 : Short.Term.12.2013.1080p.BluRay.x264-YIFY (0 fichier)
On a cree le fichier ../../cache/film/2013/sh/short-term-12-2013-limited-720p-bluray-x264-geckos-release.php";
On cherchait les fichiers de la release short-term-12-2013-limited-720p-bluray-x264-geckos.php (cache/release/2013/sh/short-term-12-2013-limited-720p-bluray-x264-geckos.php) mais il n'existe pas donc du coup, on le recree avec cacheRelease(url, $annee, $path=NULL) donc cacheRelease('short-term-12-2013-limited-720p-bluray-x264-geckos', 2013); :
Donc merci de recharger la page !On lance la fonction cacheRelease('short-term-12-2013-limited-720p-bluray-x264-geckos', 2013) !
Ces infos serializées des 2 releases ont été strockées dans le fichier short-term-12-2013-limited-720p-bluray-x264-geckos.php (du dossier cache/release/2013/sh/)