Le fichier cache/release/1963/th/the-haunting-1963-1080p-bluray-x264-amiable.php existe bien mais ne peux pas être unserializé car sont contenu est s:4345:"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-haunting-1963-1080p-bluray-x264-amiable' AND `tbl_film`.`date` = 1963 AND `tbl_release`.`afficher` = 1 ORDER BY `tbl_release`.`group` ASC
 
l. 150
On cherche à faire la liste des 0 release du film «La Maison du diable » qui a l'url «1963/6724-the-haunting.html » et qui est de l'année « 1963 » avec la fonction cacheRelease('the-haunting-1963-1080p-bluray-x264-amiable', 1963); 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-haunting' AND `tbl_film`.`date` = 1963
 
$release_id = 20285
release[id_release] = 23882
release[id_release] = 23883
release[id_release] = 20285
release[id_release] = 24719
a:4:{i:23882;a:15:{s:10:"id_release";i:23882;s:4:"date";i:1381028389;s:7:"film_id";i:6724;s:5:"titre";s:43:"The.Haunting.1963.1080p.BluRay.X264-AMIABLE";s:5:"group";s:7:"AMIABLE";s:7:"fichier";s:47:"the-haunting-1963-1080p-bluray-x264-amiable.nfo";s:9:"nfo_image";s:47:"the-haunting-1963-1080p-bluray-x264-amiable.png";s:11:"url_release";s:43:"the-haunting-1963-1080p-bluray-x264-amiable";s:5:"annee";s:4:"1963";s:10:"titre_film";s:19:"La Maison du diable";s:8:"url_film";s:12:"the-haunting";s:3:"url";s:12:"the-haunting";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:23883;a:15:{s:10:"id_release";i:23883;s:4:"date";i:1381028416;s:7:"film_id";i:6724;s:5:"titre";s:42:"The.Haunting.1963.720p.BluRay.X264-AMIABLE";s:5:"group";s:7:"AMIABLE";s:7:"fichier";s:46:"the-haunting-1963-720p-bluray-x264-amiable.nfo";s:9:"nfo_image";s:46:"the-haunting-1963-720p-bluray-x264-amiable.png";s:11:"url_release";s:42:"the-haunting-1963-720p-bluray-x264-amiable";s:5:"annee";s:4:"1963";s:10:"titre_film";s:19:"La Maison du diable";s:8:"url_film";s:12:"the-haunting";s:3:"url";s:12:"the-haunting";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:20285;a:15:{s:10:"id_release";i:20285;s:4:"date";i:1368264795;s:7:"film_id";i:6724;s:5:"titre";s:47:"The.Haunting.1963.720p.WEB-DL.AAC2.0.H.264-ViGi";s:5:"group";s:4:"ViGi";s:7:"fichier";s:0:"";s:9:"nfo_image";s:0:"";s:11:"url_release";s:47:"the-haunting-1963-720p-web-dl-aac2-0-h-264-vigi";s:5:"annee";s:4:"1963";s:10:"titre_film";s:19:"La Maison du diable";s:8:"url_film";s:12:"the-haunting";s:3:"url";s:12:"the-haunting";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}i:24719;a:15:{s:10:"id_release";i:24719;s:4:"date";i:1384160976;s:7:"film_id";i:6724;s:5:"titre";s:39:"The.Haunting.1963.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:39:"the-haunting-1963-720p-bluray-x264-yify";s:5:"annee";s:4:"1963";s:10:"titre_film";s:19:"La Maison du diable";s:8:"url_film";s:12:"the-haunting";s:3:"url";s:12:"the-haunting";s:8:"officiel";i:0;s:4:"last";i:0;s:2:"nb";i:0;}}
Le nombre de release est de 4 releases
Le tableau $releases contient donc 4 informations :
#23882 : The.Haunting.1963.1080p.BluRay.X264-AMIABLE (2 fichiers)
#23883 : The.Haunting.1963.720p.BluRay.X264-AMIABLE (0 fichier)
#20285 : The.Haunting.1963.720p.WEB-DL.AAC2.0.H.264-ViGi (0 fichier)
#24719 : The.Haunting.1963.720p.BluRay.x264-YIFY (0 fichier)
On a cree le fichier ../../cache/film/1963/th/the-haunting-1963-1080p-bluray-x264-amiable-release.php";

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

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