Le fichier cache/release/2001/sp/spy-game-2001-1080p-bluray-x265-freethefish.php n'existe pas alors on lance : cacheRelease('spy-game-2001-1080p-bluray-x265-freethefish', 2001);
Le fichier cache/release/2001/sp/spy-game-2001-1080p-bluray-x265-freethefish.php n'exitant pas dans le dossier cache/release/2001/sp/
On en a crée un vide avec file_put_contents()
On lance la fonction cacheRelease('spy-game-2001-1080p-bluray-x265-freethefish', 2001) !
Ces infos serializées des 2 releases ont été strockées dans le fichier spy-game-2001-1080p-bluray-x265-freethefish.php (du dossier cache/release/2001/sp/)
On lance la fonction cacheRelease('spy-game-2001-1080p-bluray-x265-freethefish', 2001) !
Ces infos serializées des 2 releases ont été strockées dans le fichier spy-game-2001-1080p-bluray-x265-freethefish.php (du dossier cache/release/2001/sp/)
Le fichier cache/release/2001/sp/spy-game-2001-1080p-bluray-x265-freethefish.php existe bien mais ne peux pas être unserializé car sont contenu est s:5291:"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` = 'spy-game-2001-1080p-bluray-x265-freethefish' AND `tbl_film`.`date` = 2001 AND `tbl_release`.`afficher` = 1 ORDER BY `tbl_release`.`group` ASC
l. 150
On cherche à faire la liste des 0 release du film «Spy Game : Jeu d'espions » qui a l'url «2001/347-spy-game.html » et qui est de l'année « 2001 » avec la fonction cacheRelease('spy-game-2001-1080p-bluray-x265-freethefish', 2001);
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` = 'spy-game' AND `tbl_film`.`date` = 2001
$release_id = 426
release[id_release] = 12284
release[id_release] = 74101
release[id_release] = 105905
release[id_release] = 426
release[id_release] = 12283
release[id_release] = 12254
a:6:{i:12284;a:15:{s:10:"id_release";i:12284;s:4:"date";i:1325620649;s:7:"film_id";i:347;s:5:"titre";s:44:"Spy.Game.2001.CE.WS.DVDRip.XviD.AC3-C00LdUdE";s:5:"group";s:8:"C00LdUdE";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:44:"spy-game-2001-ce-ws-dvdrip-xvid-ac3-c00ldude";s:5:"annee";s:4:"2001";s:10:"titre_film";s:24:"Spy Game : Jeu d'espions";s:8:"url_film";s:8:"spy-game";s:3:"url";s:8:"spy-game";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:74101;a:15:{s:10:"id_release";i:74101;s:4:"date";i:1528308928;s:7:"film_id";i:347;s:5:"titre";s:39:"Spy.Game.2001.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:39:"spy-game-2001-1080p-bluray-x264-dts-fgt";s:5:"annee";s:4:"2001";s:10:"titre_film";s:24:"Spy Game : Jeu d'espions";s:8:"url_film";s:8:"spy-game";s:3:"url";s:8:"spy-game";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:105905;a:15:{s:10:"id_release";i:105905;s:4:"date";i:1690963726;s:7:"film_id";i:347;s:5:"titre";s:43:"Spy.Game.2001.1080p.BluRay.x265-FreetheFish";s:5:"group";s:11:"FreetheFish";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:43:"spy-game-2001-1080p-bluray-x265-freethefish";s:5:"annee";s:4:"2001";s:10:"titre_film";s:24:"Spy Game : Jeu d'espions";s:8:"url_film";s:8:"spy-game";s:3:"url";s:8:"spy-game";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:426;a:15:{s:10:"id_release";i:426;s:4:"date";i:1251064800;s:7:"film_id";i:347;s:5:"titre";s:43:"Spy.Game.2001.1080p.BluRay.DTS.x264-REPTiLE";s:5:"group";s:7:"REPTiLE";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:43:"spy-game-2001-1080p-bluray-dts-x264-reptile";s:5:"annee";s:4:"2001";s:10:"titre_film";s:24:"Spy Game : Jeu d'espions";s:8:"url_film";s:8:"spy-game";s:3:"url";s:8:"spy-game";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:12283;a:15:{s:10:"id_release";i:12283;s:4:"date";i:1325620229;s:7:"film_id";i:347;s:5:"titre";s:33:"Spy.Game.2001.720P.BDRip.X264-TLF";s:5:"group";s:3:"TLF";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:33:"spy-game-2001-720p-bdrip-x264-tlf";s:5:"annee";s:4:"2001";s:10:"titre_film";s:24:"Spy Game : Jeu d'espions";s:8:"url_film";s:8:"spy-game";s:3:"url";s:8:"spy-game";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:12254;a:15:{s:10:"id_release";i:12254;s:4:"date";i:1325598149;s:7:"film_id";i:347;s:5:"titre";s:32:"Spy.Game.PROPER.DVDRip.DivX-ViTE";s:5:"group";s:4:"ViTE";s:7:"fichier";s:36:"spy-game-proper-dvdrip-divx-vite.nfo";s:9:"nfo_image";s:36:"spy-game-proper-dvdrip-divx-vite.png";s:11:"url_release";s:32:"spy-game-proper-dvdrip-divx-vite";s:5:"annee";s:4:"2001";s:10:"titre_film";s:24:"Spy Game : Jeu d'espions";s:8:"url_film";s:8:"spy-game";s:3:"url";s:8:"spy-game";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}}
Le nombre de release est de 6 releases
Le tableau $releases contient donc 6 informations :
#12284 : Spy.Game.2001.CE.WS.DVDRip.XviD.AC3-C00LdUdE (0 fichier)
#74101 : Spy.Game.2001.1080p.BluRay.x264.DTS-FGT (0 fichier)
#105905 : Spy.Game.2001.1080p.BluRay.x265-FreetheFish (1 fichier)
#426 : Spy.Game.2001.1080p.BluRay.DTS.x264-REPTiLE (0 fichier)
#12283 : Spy.Game.2001.720P.BDRip.X264-TLF (0 fichier)
#12254 : Spy.Game.PROPER.DVDRip.DivX-ViTE (0 fichier)
On a cree le fichier ../../cache/film/2001/sp/spy-game-2001-1080p-bluray-x265-freethefish-release.php";
On cherchait les fichiers de la release spy-game-2001-1080p-bluray-x265-freethefish.php (cache/release/2001/sp/spy-game-2001-1080p-bluray-x265-freethefish.php) mais il n'existe pas donc du coup, on le recree avec cacheRelease(url, $annee, $path=NULL) donc cacheRelease('spy-game-2001-1080p-bluray-x265-freethefish', 2001); :
Donc merci de recharger la page !On lance la fonction cacheRelease('spy-game-2001-1080p-bluray-x265-freethefish', 2001) !
Ces infos serializées des 2 releases ont été strockées dans le fichier spy-game-2001-1080p-bluray-x265-freethefish.php (du dossier cache/release/2001/sp/)