Le fichier cache/release/2011/th/the-hunters-2011-dvdrip-xvid-iguana.php n'existe pas alors on lance : cacheRelease('the-hunters-2011-dvdrip-xvid-iguana', 2011);
Le fichier cache/release/2011/th/the-hunters-2011-dvdrip-xvid-iguana.php n'exitant pas dans le dossier cache/release/2011/th/
On en a crée un vide avec file_put_contents()
On lance la fonction cacheRelease('the-hunters-2011-dvdrip-xvid-iguana', 2011) !
Ces infos serializées des 2 releases ont été strockées dans le fichier the-hunters-2011-dvdrip-xvid-iguana.php (du dossier cache/release/2011/th/)
On lance la fonction cacheRelease('the-hunters-2011-dvdrip-xvid-iguana', 2011) !
Ces infos serializées des 2 releases ont été strockées dans le fichier the-hunters-2011-dvdrip-xvid-iguana.php (du dossier cache/release/2011/th/)
Le fichier cache/release/2011/th/the-hunters-2011-dvdrip-xvid-iguana.php existe bien mais ne peux pas être unserializé car sont contenu est s:6423:"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-hunters-2011-dvdrip-xvid-iguana' AND `tbl_film`.`date` = 2011 AND `tbl_release`.`afficher` = 1 ORDER BY `tbl_release`.`group` ASC
l. 150
On cherche à faire la liste des 0 release du film «The Hunters » qui a l'url «2011/5020-the-hunters.html » et qui est de l'année « 2011 » avec la fonction cacheRelease('the-hunters-2011-dvdrip-xvid-iguana', 2011);
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-hunters' AND `tbl_film`.`date` = 2011
$release_id = 15909
release[id_release] = 13632
release[id_release] = 13633
release[id_release] = 17869
release[id_release] = 17872
release[id_release] = 17873
release[id_release] = 17875
release[id_release] = 13624
release[id_release] = 15909
a:8:{i:13632;a:15:{s:10:"id_release";i:13632;s:4:"date";i:1329871087;s:7:"film_id";i:5020;s:5:"titre";s:44:"The.Hunters.2011.DVDRip.XVID.AC3.HQ.Hive-CM8";s:5:"group";s:3:"CM8";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:44:"the-hunters-2011-dvdrip-xvid-ac3-hq-hive-cm8";s:5:"annee";s:4:"2011";s:10:"titre_film";s:11:"The Hunters";s:8:"url_film";s:11:"the-hunters";s:3:"url";s:11:"the-hunters";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:13633;a:15:{s:10:"id_release";i:13633;s:4:"date";i:1329871102;s:7:"film_id";i:5020;s:5:"titre";s:35:"The.Hunters.2011.DVDRip.XviD-IGUANA";s:5:"group";s:6:"IGUANA";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:35:"the-hunters-2011-dvdrip-xvid-iguana";s:5:"annee";s:4:"2011";s:10:"titre_film";s:11:"The Hunters";s:8:"url_film";s:11:"the-hunters";s:3:"url";s:11:"the-hunters";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:17869;a:15:{s:10:"id_release";i:17869;s:4:"date";i:1353239350;s:7:"film_id";i:5020;s:5:"titre";s:49:"The.Hunters.2011.720p.RERiP.BluRay.x264-NOSCREENS";s:5:"group";s:9:"NOSCREENS";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:49:"the-hunters-2011-720p-rerip-bluray-x264-noscreens";s:5:"annee";s:4:"2011";s:10:"titre_film";s:11:"The Hunters";s:8:"url_film";s:11:"the-hunters";s:3:"url";s:11:"the-hunters";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:17872;a:15:{s:10:"id_release";i:17872;s:4:"date";i:1353239357;s:7:"film_id";i:5020;s:5:"titre";s:43:"The.Hunters.2011.720p.BluRay.x264-NOSCREENS";s:5:"group";s:9:"NOSCREENS";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:43:"the-hunters-2011-720p-bluray-x264-noscreens";s:5:"annee";s:4:"2011";s:10:"titre_film";s:11:"The Hunters";s:8:"url_film";s:11:"the-hunters";s:3:"url";s:11:"the-hunters";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:17873;a:15:{s:10:"id_release";i:17873;s:4:"date";i:1353239361;s:7:"film_id";i:5020;s:5:"titre";s:50:"The.Hunters.2011.1080p.RERiP.BluRay.x264-NOSCREENS";s:5:"group";s:9:"NOSCREENS";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:50:"the-hunters-2011-1080p-rerip-bluray-x264-noscreens";s:5:"annee";s:4:"2011";s:10:"titre_film";s:11:"The Hunters";s:8:"url_film";s:11:"the-hunters";s:3:"url";s:11:"the-hunters";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:17875;a:15:{s:10:"id_release";i:17875;s:4:"date";i:1353239367;s:7:"film_id";i:5020;s:5:"titre";s:44:"The.Hunters.2011.1080p.BluRay.x264-NOSCREENS";s:5:"group";s:9:"NOSCREENS";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:44:"the-hunters-2011-1080p-bluray-x264-noscreens";s:5:"annee";s:4:"2011";s:10:"titre_film";s:11:"The Hunters";s:8:"url_film";s:11:"the-hunters";s:3:"url";s:11:"the-hunters";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:13624;a:15:{s:10:"id_release";i:13624;s:4:"date";i:1329869497;s:7:"film_id";i:5020;s:5:"titre";s:39:"The.Hunters.2011.DVDRiP.XviD.AC3-REFiLL";s:5:"group";s:6:"REFiLL";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:39:"the-hunters-2011-dvdrip-xvid-ac3-refill";s:5:"annee";s:4:"2011";s:10:"titre_film";s:11:"The Hunters";s:8:"url_film";s:11:"the-hunters";s:3:"url";s:11:"the-hunters";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:15909;a:15:{s:10:"id_release";i:15909;s:4:"date";i:1342219658;s:7:"film_id";i:5020;s:5:"titre";s:43:"The.Hunters.2011.STV.PAL.MULTi.DVDR-SHARiNG";s:5:"group";s:7:"SHARiNG";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:43:"the-hunters-2011-stv-pal-multi-dvdr-sharing";s:5:"annee";s:4:"2011";s:10:"titre_film";s:11:"The Hunters";s:8:"url_film";s:11:"the-hunters";s:3:"url";s:11:"the-hunters";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}}
Le nombre de release est de 8 releases
Le tableau $releases contient donc 8 informations :
#13632 : The.Hunters.2011.DVDRip.XVID.AC3.HQ.Hive-CM8 (0 fichier)
#13633 : The.Hunters.2011.DVDRip.XviD-IGUANA (0 fichier)
#17869 : The.Hunters.2011.720p.RERiP.BluRay.x264-NOSCREENS (0 fichier)
#17872 : The.Hunters.2011.720p.BluRay.x264-NOSCREENS (0 fichier)
#17873 : The.Hunters.2011.1080p.RERiP.BluRay.x264-NOSCREENS (0 fichier)
#17875 : The.Hunters.2011.1080p.BluRay.x264-NOSCREENS (0 fichier)
#13624 : The.Hunters.2011.DVDRiP.XviD.AC3-REFiLL (0 fichier)
#15909 : The.Hunters.2011.STV.PAL.MULTi.DVDR-SHARiNG (0 fichier)
On a cree le fichier ../../cache/film/2011/th/the-hunters-2011-dvdrip-xvid-iguana-release.php";
On cherchait les fichiers de la release the-hunters-2011-dvdrip-xvid-iguana.php (cache/release/2011/th/the-hunters-2011-dvdrip-xvid-iguana.php) mais il n'existe pas donc du coup, on le recree avec cacheRelease(url, $annee, $path=NULL) donc cacheRelease('the-hunters-2011-dvdrip-xvid-iguana', 2011); :
Donc merci de recharger la page !On lance la fonction cacheRelease('the-hunters-2011-dvdrip-xvid-iguana', 2011) !
Ces infos serializées des 2 releases ont été strockées dans le fichier the-hunters-2011-dvdrip-xvid-iguana.php (du dossier cache/release/2011/th/)