Le fichier cache/release/2015/ey/eye-in-the-sky-2015-1080p-bluray-x264-drones.php n'existe pas alors on lance : cacheRelease('eye-in-the-sky-2015-1080p-bluray-x264-drones', 2015);
Le fichier cache/release/2015/ey/eye-in-the-sky-2015-1080p-bluray-x264-drones.php n'exitant pas dans le dossier cache/release/2015/ey/
On en a crée un vide avec file_put_contents()
On lance la fonction cacheRelease('eye-in-the-sky-2015-1080p-bluray-x264-drones', 2015) !
Ces infos serializées des 2 releases ont été strockées dans le fichier eye-in-the-sky-2015-1080p-bluray-x264-drones.php (du dossier cache/release/2015/ey/)
On lance la fonction cacheRelease('eye-in-the-sky-2015-1080p-bluray-x264-drones', 2015) !
Ces infos serializées des 2 releases ont été strockées dans le fichier eye-in-the-sky-2015-1080p-bluray-x264-drones.php (du dossier cache/release/2015/ey/)
Le fichier cache/release/2015/ey/eye-in-the-sky-2015-1080p-bluray-x264-drones.php existe bien mais ne peux pas être unserializé car sont contenu est s:5427:"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` = 'eye-in-the-sky-2015-1080p-bluray-x264-drones' AND `tbl_film`.`date` = 2015 AND `tbl_release`.`afficher` = 1 ORDER BY `tbl_release`.`group` ASC
l. 150
On cherche à faire la liste des 0 release du film «Eye in the Sky » qui a l'url «2015/12380-eye-in-the-sky.html » et qui est de l'année « 2015 » avec la fonction cacheRelease('eye-in-the-sky-2015-1080p-bluray-x264-drones', 2015);
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` = 'eye-in-the-sky' AND `tbl_film`.`date` = 2015
$release_id = 61028
release[id_release] = 60996
release[id_release] = 60997
release[id_release] = 61004
release[id_release] = 61028
release[id_release] = 60998
release[id_release] = 61529
a:6:{i:60996;a:15:{s:10:"id_release";i:60996;s:4:"date";i:1465579086;s:7:"film_id";i:12380;s:5:"titre";s:43:"Eye.In.The.Sky.2015.720p.BluRay.x264-DRONES";s:5:"group";s:6:"DRONES";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:43:"eye-in-the-sky-2015-720p-bluray-x264-drones";s:5:"annee";s:4:"2015";s:10:"titre_film";s:14:"Eye in the Sky";s:8:"url_film";s:14:"eye-in-the-sky";s:3:"url";s:14:"eye-in-the-sky";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:60997;a:15:{s:10:"id_release";i:60997;s:4:"date";i:1465579086;s:7:"film_id";i:12380;s:5:"titre";s:37:"Eye.In.The.Sky.2015.BDRip.x264-DRONES";s:5:"group";s:6:"DRONES";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:37:"eye-in-the-sky-2015-bdrip-x264-drones";s:5:"annee";s:4:"2015";s:10:"titre_film";s:14:"Eye in the Sky";s:8:"url_film";s:14:"eye-in-the-sky";s:3:"url";s:14:"eye-in-the-sky";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:61004;a:15:{s:10:"id_release";i:61004;s:4:"date";i:1465641600;s:7:"film_id";i:12380;s:5:"titre";s:44:"Eye.In.The.Sky.2015.1080p.BluRay.x264-DRONES";s:5:"group";s:6:"DRONES";s:7:"fichier";s:48:"eye-in-the-sky-2015-1080p-bluray-x264-drones.nfo";s:9:"nfo_image";s:48:"eye-in-the-sky-2015-1080p-bluray-x264-drones.png";s:11:"url_release";s:44:"eye-in-the-sky-2015-1080p-bluray-x264-drones";s:5:"annee";s:4:"2015";s:10:"titre_film";s:14:"Eye in the Sky";s:8:"url_film";s:14:"eye-in-the-sky";s:3:"url";s:14:"eye-in-the-sky";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:61028;a:15:{s:10:"id_release";i:61028;s:4:"date";i:1465749778;s:7:"film_id";i:12380;s:5:"titre";s:44:"Eye.In.The.Sky.2015.720p.BRRip.x264.AAC-ETRG";s:5:"group";s:4:"ETRG";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:44:"eye-in-the-sky-2015-720p-brrip-x264-aac-etrg";s:5:"annee";s:4:"2015";s:10:"titre_film";s:14:"Eye in the Sky";s:8:"url_film";s:14:"eye-in-the-sky";s:3:"url";s:14:"eye-in-the-sky";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:60998;a:15:{s:10:"id_release";i:60998;s:4:"date";i:1465579086;s:7:"film_id";i:12380;s:5:"titre";s:38:"Eye.In.The.Sky.2015.BRRip.XviD.AC3-EVO";s:5:"group";s:3:"EVO";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:38:"eye-in-the-sky-2015-brrip-xvid-ac3-evo";s:5:"annee";s:4:"2015";s:10:"titre_film";s:14:"Eye in the Sky";s:8:"url_film";s:14:"eye-in-the-sky";s:3:"url";s:14:"eye-in-the-sky";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:61529;a:15:{s:10:"id_release";i:61529;s:4:"date";i:1469376792;s:7:"film_id";i:12380;s:5:"titre";s:49:"Eye.In.The.Sky.2015.Bluray.1080p.DTS-HD.x264-Grym";s:5:"group";s:4:"Grym";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:49:"eye-in-the-sky-2015-bluray-1080p-dts-hd-x264-grym";s:5:"annee";s:4:"2015";s:10:"titre_film";s:14:"Eye in the Sky";s:8:"url_film";s:14:"eye-in-the-sky";s:3:"url";s:14:"eye-in-the-sky";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 :
#60996 : Eye.In.The.Sky.2015.720p.BluRay.x264-DRONES (0 fichier)
#60997 : Eye.In.The.Sky.2015.BDRip.x264-DRONES (0 fichier)
#61004 : Eye.In.The.Sky.2015.1080p.BluRay.x264-DRONES (1 fichier)
#61028 : Eye.In.The.Sky.2015.720p.BRRip.x264.AAC-ETRG (0 fichier)
#60998 : Eye.In.The.Sky.2015.BRRip.XviD.AC3-EVO (0 fichier)
#61529 : Eye.In.The.Sky.2015.Bluray.1080p.DTS-HD.x264-Grym (0 fichier)
On a cree le fichier ../../cache/film/2015/ey/eye-in-the-sky-2015-1080p-bluray-x264-drones-release.php";
On cherchait les fichiers de la release eye-in-the-sky-2015-1080p-bluray-x264-drones.php (cache/release/2015/ey/eye-in-the-sky-2015-1080p-bluray-x264-drones.php) mais il n'existe pas donc du coup, on le recree avec cacheRelease(url, $annee, $path=NULL) donc cacheRelease('eye-in-the-sky-2015-1080p-bluray-x264-drones', 2015); :
Donc merci de recharger la page !On lance la fonction cacheRelease('eye-in-the-sky-2015-1080p-bluray-x264-drones', 2015) !
Ces infos serializées des 2 releases ont été strockées dans le fichier eye-in-the-sky-2015-1080p-bluray-x264-drones.php (du dossier cache/release/2015/ey/)