{"id":469,"date":"2013-10-05T19:04:22","date_gmt":"2013-10-05T19:04:22","guid":{"rendered":"https:\/\/shan.info\/new\/probleme-de-cookie-suite-a-migration-spip-3\/"},"modified":"2013-10-05T19:04:22","modified_gmt":"2013-10-05T19:04:22","slug":"probleme-de-cookie-suite-a-migration-spip-3","status":"publish","type":"post","link":"https:\/\/shan.info\/new\/probleme-de-cookie-suite-a-migration-spip-3\/","title":{"rendered":"probleme de cookie suite \u00e0 migration SPIP 3"},"content":{"rendered":"<ul style=\"font-family: 'Trebuchet MS', Helvetica, sans-serif; font-size: 16px; line-height: normal;\">\n<li style=\"margin: 0px; padding: 0px;\">\n<div id=\"forum251947\" class=\"reponse\" style=\"margin: 0px; padding: 0px; border-width: 1px; border-style: dotted solid; border-color: #cccccc #b9a5bf; font-size: 0.9em;\">\n<div class=\"question_titre\" style=\"margin: 0.5em; padding: 0.5em; background-color: #d7afd8; border: none;\"><a style=\"color: #444444; font-size: 0.96em;\" href=\"http:\/\/forum.spip.net\/fr_251400.html#forum251400\">probleme de cookie suite \u00e0 migration SPIP 3&nbsp;\u02c6<\/a>&nbsp;<br \/><span class=\"precisions\" style=\"margin: 0px; padding: 0.2em 0px 0px; border: none; font-size: 0.8em; color: #ffffff;\">par&nbsp;<span class=\"non_auteur\" style=\"font-weight: bold; color: #666666;\">ELIE<\/span>&nbsp;&#8211; 7 mai&nbsp;<abbr class=\"published\" style=\"border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-bottom-style: dotted;\" title=\"2013-05-07T13:32:08Z\">15:32<\/abbr><\/span>&nbsp;<br class=\"nettoyeur\" style=\"clear: both; margin: 0px; padding: 0px; border: 0px; height: 0px; line-height: 1px; font-size: 1px; overflow: hidden;\" \/><\/div>\n<div class=\"crayon forum-texte-251947 message\" style=\"margin: 1em 0.8em 0px; padding: 0.5em; font-size: 1em; overflow: auto;\">\n<p style=\"margin-top: 0px; margin-bottom: 1em; padding: 0px; text-align: inherit;\">Merci,&nbsp;<br class=\"autobr\" \/>les tutos que tu m\u2019a montr\u00e9 m\u2019ont permis de r\u00e9soudre partiellement mon probl\u00e8me .<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1em; padding: 0px; text-align: inherit;\">Cr\u00e9ation d\u2019un fichier mes_options.php dans le r\u00e9pertoires \u2019config\u2019<br class=\"autobr\" \/>en ajoutant comme ligne de code<\/p>\n<div class=\"coloration_code cadre\" style=\"margin: 0px 0px 1em; padding: 0px; border: 1px solid #999999; background-color: #f7f7f7; font-size: 0.9em;\">\n<div class=\"spip_php cadre\" style=\"margin: 0.5em; padding: 0px; border: 1px inset #999999; background-color: #ffffff;\">\n<ol style=\"margin: 1em 1em 1em 2em; padding: 0px 0px 0px 0.7em; list-style: none; color: #444444;\">\n<li style=\"margin: 0px; padding: 0.1em; font-size: 1.1em; list-style-type: decimal; vertical-align: top;\">\n<div style=\"margin: 0px; padding: 0px;\"><span style=\"color: #000000; font-weight: bold;\">&lt;?php<\/span><\/div>\n<\/li>\n<li style=\"margin: 0px; padding: 0.1em; font-size: 1.1em; list-style-type: decimal; vertical-align: top;\">\n<div style=\"margin: 0px; padding: 0px;\"><span style=\"color: #b1b100;\">if<\/span> <span style=\"color: #009900;\">(<\/span><a style=\"color: #53305c;\" href=\"http:\/\/www.php.net\/function_exists\" rel=\"nofollow\"><span style=\"color: #990000;\">function_exists<\/span><\/a><span style=\"color: #009900;\">(<\/span><span style=\"color: #0000ff;\">&#8220;date_default_timezone_set&#8221;<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #009900;\">)<\/span><\/div>\n<\/li>\n<li style=\"margin: 0px; padding: 0.1em; font-size: 1.1em; list-style-type: decimal; vertical-align: top;\">\n<div style=\"margin: 0px; padding: 0px;\"><a style=\"color: #53305c;\" href=\"http:\/\/www.php.net\/date_default_timezone_set\" rel=\"nofollow\"><span style=\"color: #990000;\">date_default_timezone_set<\/span><\/a><span style=\"color: #009900;\">(<\/span><span style=\"color: #0000ff;\">&#8220;Europe\/Paris&#8221;<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span><\/div>\n<\/li>\n<li style=\"margin: 0px; padding: 0.1em; font-size: 1.1em; list-style-type: decimal; vertical-align: top;\">\n<div style=\"margin: 0px; padding: 0px;\">&nbsp;<\/div>\n<\/li>\n<li style=\"margin: 0px; padding: 0.1em; font-size: 1.1em; list-style-type: decimal; vertical-align: top;\">\n<div style=\"margin: 0px; padding: 0px;\"><a style=\"color: #53305c;\" href=\"http:\/\/www.php.net\/ini_set\" rel=\"nofollow\"><span style=\"color: #990000;\">ini_set<\/span><\/a><span style=\"color: #009900;\">(<\/span><span style=\"color: #0000ff;\">&#8216;display_errors&#8217;<\/span><span style=\"color: #339933;\">,<\/span><span style=\"color: #0000ff;\">&#8216;Off&#8217;<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span><\/div>\n<\/li>\n<li style=\"margin: 0px; padding: 0.1em; font-size: 1.1em; list-style-type: decimal; vertical-align: top;\">\n<div style=\"margin: 0px; padding: 0px;\"><span style=\"color: #000000; font-weight: bold;\">?&gt;<\/span><\/div>\n<\/li>\n<\/ol>\n<\/div>\n<p class=\"download cadre_download\" style=\"margin-top: 0px; margin-bottom: 1em; padding: 0.5em; text-align: inherit; float: right;\"><a style=\"color: #53305c;\" href=\"http:\/\/forum.spip.net\/local\/cache-code\/6d303b664e92976d8aab7a7338769101.txt\" rel=\"nofollow\">T\u00e9l\u00e9charger<\/a><\/p>\n<\/div>\n<p style=\"margin-top: 0px; margin-bottom: 1em; padding: 0px; text-align: inherit;\">ensuite lorsque je veux acc\u00e9der \u00e0 mon espace priv\u00e9e pour la premi\u00e8re fois je d\u00e9sactive le fichier mes_options.php pour l\u2019authentification puis je le r\u00e9active quand je suis logu\u00e9 sur l\u2019espace priv\u00e9e .&nbsp;<br class=\"autobr\" \/>et j\u2019\u00e9vite de me d\u00e9connecter afin de pr\u00e9server mon cookie<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1em; padding: 0px; text-align: inherit;\">Je suis conscients que ce n\u2019est pas tr\u00e8s \u00e9labor\u00e9 comme solution&nbsp;<br class=\"autobr\" \/>mais en attendant une mise \u00e0 jour de spip je n\u2019en vois pas d\u2019autre.<\/p>\n<\/div>\n<p><br class=\"nettoyeur\" style=\"clear: both; margin: 0px; padding: 0px; border: 0px; height: 0px; line-height: 1px; font-size: 1px; overflow: hidden;\" \/><\/div>\n<\/li>\n<li style=\"margin: 0px; padding: 0px;\">\n<div id=\"forum251949\" class=\"reponse_2\" style=\"margin: 0px; padding: 0px; border-width: 1px; border-style: dotted solid; border-color: #cccccc #b9a5bf; font-size: 0.9em;\">\n<div class=\"question_titre\" style=\"margin: 0.5em; padding: 0.5em; background-color: #d995d0; border: none;\"><img loading=\"lazy\" decoding=\"async\" class=\"spip_logos photo avatar\" style=\"margin: 0px; padding: 0px 0.5em 0.2em 0px; float: left;\" src=\"http:\/\/forum.spip.net\/local\/cache-vignettes\/L50xH50\/dea4889100b061439fc163450597c99e-identicon-dfe2d.jpg\" alt=\"\" width=\"50\" height=\"50\" \/><span class=\"hoba\" style=\"float: right; padding: 0px 0.5em; font-size: 0.9em; color: #444444;\"><a class=\"ho\" style=\"color: #444444; font-size: 0.96em;\" href=\"http:\/\/forum.spip.net\/fr_251400.html#forum251947\">&lt;<\/a>&nbsp;<a style=\"color: #444444; font-size: 0.96em;\" href=\"http:\/\/forum.spip.net\/fr_251400.html#forum251949\" rel=\"self bookmark\">#14<\/a>&nbsp;<a class=\"ba\" style=\"color: #444444; font-size: 0.96em;\" href=\"http:\/\/forum.spip.net\/fr_251400.html#forum252024\">&gt;<\/a><\/span><a style=\"color: #444444; font-size: 0.96em;\" href=\"http:\/\/forum.spip.net\/fr_251400.html#forum251400\">probleme de cookie suite \u00e0 migration SPIP 3&nbsp;\u02c6<\/a>&nbsp;<br \/><span class=\"precisions\" style=\"margin: 0px; padding: 0.2em 0px 0px; border: none; font-size: 0.8em; color: #ffffff;\">par&nbsp;<span class=\"non_auteur\" style=\"font-weight: bold; color: #666666;\">Pol<\/span>&nbsp;&#8211; 7 mai&nbsp;<abbr class=\"published\" style=\"border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-bottom-style: dotted;\" title=\"2013-05-07T15:50:48Z\">17:50<\/abbr><\/span>&nbsp;<br class=\"nettoyeur\" style=\"clear: both; margin: 0px; padding: 0px; border: 0px; height: 0px; line-height: 1px; font-size: 1px; overflow: hidden;\" \/><\/div>\n<div class=\"crayon forum-texte-251949 message\" style=\"margin: 1em 0.8em 0px; padding: 0.5em; font-size: 1em; overflow: auto;\">\n<p style=\"margin-top: 0px; margin-bottom: 1em; padding: 0px; text-align: inherit;\">Pense aussi \u00e0 enregistrer &#8220;mes_options.php&#8221; au format utf-8 sans BOM (avec Notepad++ par exemple). Cela n\u2019a peut \u00eatre rien \u00e0 voir, mais j\u2019ai vu que quelqu\u2019un mentionnait ce point sur ces forum. Or j\u2019ai eu r\u00e9cemment un bug qui m\u2019a pris la t\u00eate pendant une demi-journ\u00e9e \u00e0 cause de \u00e7a&nbsp;: mon machin marchait en local mais pas chez mon h\u00e9bergeur. Je voyais bien que cela venait de ce fichier mais pas quelle \u00e9tait la ligne fautive. J\u2019ai fini par vider totalement le fichier, \u00e0 l\u2019exception de<\/p>\n<div class=\"coloration_code cadre\" style=\"margin: 0px 0px 1em; padding: 0px; border: 1px solid #999999; background-color: #f7f7f7; font-size: 0.9em;\">\n<div class=\"spip_php cadre\" style=\"margin: 0.5em; padding: 0px; border: 1px inset #999999; background-color: #ffffff;\">\n<ol style=\"margin: 1em 1em 1em 2em; padding: 0px 0px 0px 0.7em; list-style: none; color: #444444;\">\n<li style=\"margin: 0px; padding: 0.1em; font-size: 1.1em; list-style-type: decimal; vertical-align: top;\">\n<div style=\"margin: 0px; padding: 0px;\"><span style=\"color: #000000; font-weight: bold;\">&lt;?php<\/span> <span style=\"color: #000000; font-weight: bold;\">?&gt;<\/span><\/div>\n<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<p style=\"margin-top: 0px; margin-bottom: 1em; padding: 0px; text-align: inherit;\">et l\u2019erreur subsistait&nbsp;! C\u2019\u00e9tait ce fichu format&#8230;<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1em; padding: 0px; text-align: inherit;\">&nbsp;<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1em; padding: 0px; text-align: inherit;\">\u7ed3\u5c3e?&gt;\u4e0d\u8981\u6709\u7a7a\u683c<\/p>\n<\/div>\n<\/div>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>probleme de cookie suite \u00e0 migration SPIP 3&nbsp;\u02c6&nbsp;par&nbsp;ELIE&nbsp;&#8211; 7 mai&nbsp;15:32&nbsp; Merci,&nbsp;les tutos que tu m\u2019a montr\u00e9 m\u2019ont permis de r\u00e9soudre partiellement mon probl\u00e8me . Cr\u00e9ation d\u2019un fichier mes_options.php dans le r\u00e9pertoires \u2019config\u2019en ajoutant comme ligne de code &lt;?php if (function_exists(&#8220;date_default_timezone_set&#8221;)) date_default_timezone_set(&#8220;Europe\/Paris&#8221;); &nbsp; ini_set(&#8216;display_errors&#8217;,&#8216;Off&#8217;); ?&gt; T\u00e9l\u00e9charger ensuite lorsque je veux acc\u00e9der \u00e0 mon espace priv\u00e9e pour [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71],"tags":[],"class_list":["post-469","post","type-post","status-publish","format-standard","hentry","category-spip"],"_links":{"self":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/469","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/comments?post=469"}],"version-history":[{"count":0,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/469\/revisions"}],"wp:attachment":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/media?parent=469"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/categories?post=469"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/tags?post=469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}