<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="https://uname.pingveno.net/blog/index.php/feed/rss2/xslt" ?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title># uname -a - Mot-clé - bug</title>
    <link>https://uname.pingveno.net/blog/index.php/</link>
    <atom:link href="https://uname.pingveno.net/blog/index.php/feed/tag/bug/rss2" rel="self" type="application/rss+xml" />
    <description>Le blog de uname.pingveno.net</description>
    <language>fr</language>
    <pubDate>Wed, 01 Apr 2026 16:19:15 +0200</pubDate>
    <copyright>Mathieu Pellegrin</copyright>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <generator>Dotclear</generator>
          <item>
        <title>Un dotclear vous manque et tout est dépeuplé</title>
        <link>https://uname.pingveno.net/blog/index.php/post/2015/10/17/Un-dotclear-vous-manque-et-tout-est-d%C3%A9peupl%C3%A9</link>
        <guid isPermaLink="false">urn:md5:5665047e7acb8d5e22bba3e42baf2ea8</guid>
        <pubDate>Sat, 17 Oct 2015 19:24:00 +0200</pubDate>
        <dc:creator>Mathieu</dc:creator>
                  <category>Hacks</category>
                          <category>blog</category>
                  <category>bug</category>
                  <category>dotclear</category>
                  <category>timeout</category>
                <description>          &lt;p&gt;Aujourd&amp;#8217;hui je n&amp;#8217;arrivais pas à accéder au panel d&amp;#8217;administration de mon Dotclear aujourd&amp;#8217;hui. Après avoir rentré le bon mot de passe, La page tournait en boucle pour terminer sur une erreur 500.&lt;/p&gt;&lt;p&gt;Le blog fonctionnait toujours et toutes les autres pages utilisant PHP n&amp;#8217;afichaient aucun problème.&lt;/p&gt;&lt;p&gt;Dans les logs Apache, j&amp;#8217;avais&amp;#160;:&lt;/p&gt;&lt;pre&gt;mod_fcgid: read data timeout in 40 seconds
End of script output before headers: index.php
mod_fcgid: process 3114 graceful kill fail, sending SIGKILL
&lt;/pre&gt;&lt;p&gt;Aucun processus n&amp;#8217;était à 100% de CPU, la BDD était au repos, le processus PHP semblait se &amp;#8220;figer&amp;#8221; au moment d&amp;#8217;ouvrir la page d&amp;#8217;administration.&lt;/p&gt;&lt;p&gt;Le site de Dotclear était down lui aussi. Coincidence&amp;#160;?&lt;/p&gt;&lt;p&gt;Juste pour voir, j&amp;#8217;ai rajouté dans le fichier host de mon serveur la ligne suivante&amp;#160;:&lt;/p&gt;&lt;pre&gt;127.0.0.1    download.dotclear.org
&lt;/pre&gt;&lt;p&gt;Après avoir relancé Apache, l&amp;#8217;administration s&amp;#8217;est mise à fonctionner&amp;#160;!&lt;/p&gt;&lt;p&gt;Ce n&amp;#8217;était donc pas une coincidence, si Dotclear essaie de recherche ses mises à jour alors que le site &lt;a href=&quot;http://download.dotclear.org&quot;&gt;download.dotclear.org&lt;/a&gt; est en panne (pour des causes naturelles ou non), le panel d&amp;#8217;administration reste en attente d&amp;#8217;une connexion et on ne peut plus s&amp;#8217;y connecter. Évidemment, plus on raffraichit la page, plus on tape sur ce pauvre serveur de Dotclear.&lt;/p&gt;&lt;center&gt;&lt;figure style=&quot;{figureStyle}&quot;&gt;&lt;img class=&quot;media&quot; alt=&quot;heavy-mallet.gif&quot; src=&quot;https://uname.pingveno.net/blog/public/posts_thumb/.heavy-mallet_m.jpg&quot; /&gt;&lt;/figure&gt;&lt;/center&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Pour ceux qui n&amp;#8217;ont pas accès à leur serveur, vous pouvez changer l&amp;#8217;URL de DC_UPDATE_URL dans le fichier &lt;strong&gt;inc/prepend.php&lt;/strong&gt; pour le faire pointer ailleurs, temporairement&amp;#160;:&lt;/p&gt;&lt;pre&gt;define('DC_UPDATE_URL','http://download.dotclear.org/versions.xml');
&lt;/pre&gt;&lt;p&gt;N&amp;#8217;oubliez pas de le remettre comme avant une fois le site &lt;a href=&quot;http://download.dotclear.org&quot;&gt;download.dotclear.org&lt;/a&gt; réparé, sinon vous n&amp;#8217;aurez plus jamais de mises à jour automatiques &lt;img src=&quot;/blog/themes/mathedit_material3/smilies/wink.png&quot; alt=&quot;;)&quot; class=&quot;smiley&quot;&gt;&lt;/p&gt;&lt;hr /&gt;&lt;p&gt;&lt;strong&gt;Mise à jour&lt;/strong&gt;&amp;#160;: à priori, il y a aussi les flux RSS qui s&amp;#8217;affichent sur le côté de l&amp;#8217;admin qui sont aussi à désactiver, j&amp;#8217;ai fais un gros patch dans le fichier &lt;strong&gt;admin/index.php&lt;/strong&gt; pour finir par faire marcher l&amp;#8217;administration&amp;#160;:&lt;/p&gt;&lt;pre&gt;--- admin/index.php    2015-10-17 19:58:19.873121948 +0200
+++ admin/index.php    2015-10-17 19:58:08.713227238 +0200
@@ -80,6 +80,7 @@
 $favs = $core-&amp;gt;favs-&amp;gt;getUserFavorites();
 $core-&amp;gt;favs-&amp;gt;appendDashboardIcons($__dashboard_icons);
 
+/*
 # Check plugins and themes update from repository
 function dc_check_store_update($mod, $url, $img, $icon)
 {
@@ -165,7 +166,7 @@
 }
 
 $core-&amp;gt;callBehavior('adminDashboardItems', $core, $__dashboard_items);
-
+*/
 # Dashboard content
 $dashboardContents = '';
 $__dashboard_contents = new ArrayObject(array(new ArrayObject,new ArrayObject));
&lt;/pre&gt;</description>
        
              </item>
          <item>
        <title>GetSimple: URL index/something returns 404</title>
        <link>https://uname.pingveno.net/blog/index.php/post/2014/02/03/GetSimple-CMS-%3A-URL-index/something-returns-404</link>
        <guid isPermaLink="false">urn:md5:3639ea02711bb850d0f9a7555f29761c</guid>
        <pubDate>Mon, 03 Feb 2014 11:25:00 +0100</pubDate>
        <dc:creator>Mathieu</dc:creator>
                  <category>Hacks</category>
                          <category>apache</category>
                  <category>bug</category>
                  <category>GetSimple</category>
                  <category>hack</category>
                  <category>htaccess</category>
                  <category>multiviews</category>
                  <category>rewrite</category>
                <description>          &lt;h3&gt;Problem&lt;/h3&gt;
&lt;p&gt;While using &lt;strong&gt;GetSimple&lt;/strong&gt; with &lt;strong&gt;FancyURLs&lt;/strong&gt; (Apache Rewrite), every menu item nested under the home page returned a 404.&lt;/p&gt;
&lt;p&gt;The (rewritted) URL of the home page is &lt;strong&gt;/index&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The sub-pages URLs are rendered as &lt;strong&gt;index/something&lt;/strong&gt;, and triggered a 404 error.&lt;/p&gt;
&lt;h3&gt;Solution&lt;/h3&gt;
&lt;p&gt;Disable &lt;strong&gt;MultiViews&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;MultiViews is an Apache mechanism for automatically switching wich document is sent to the user, based on the &lt;code&gt;Accept&lt;/code&gt; header. Because the front controller is named &lt;code&gt;index.php&lt;/code&gt;, MultiViews was trying to reach &lt;code&gt;index.php/something&lt;/code&gt; instead of (as specified in RewriteRules) &lt;code&gt;index.php?id=index/something&lt;/code&gt;.&lt;/p&gt;
&lt;h3&gt;How to do it&lt;/h3&gt;
&lt;p&gt;Open the GetSimple &lt;strong&gt;.htaccess&lt;/strong&gt; file, and locate&amp;#160;:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;Options -Indexes&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Change to&amp;#160;:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;Options -Indexes -MultiViews&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3&gt;See also&lt;/h3&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://get-simple.info/forums/showthread.php?tid=5223&quot; hreflang=&quot;en&quot;&gt;http://get-simple.info/forums/showthread.php?tid=5223&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
        
              </item>
          <item>
        <title>Getsimple : exotic char causes website crash</title>
        <link>https://uname.pingveno.net/blog/index.php/post/2013/03/15/Getsimple-%3A-exotic-char-cause-website-crash</link>
        <guid isPermaLink="false">urn:md5:c0bea23da158aaa0e1eaf74082c3d11f</guid>
        <pubDate>Fri, 15 Mar 2013 08:29:00 +0100</pubDate>
        <dc:creator>Mathieu</dc:creator>
                  <category>Hacks</category>
                          <category>bug</category>
                  <category>GetSimple</category>
                  <category>informatique</category>
                  <category>xml</category>
                <description>          Input sanitizing while editing pages is not efficient in GetSimple, incorrect char such as NULL or EOT corrupt XML files and crashes the CMS&amp;#160;:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;Warning: simplexml_load_string(): Entity: line 106: parser error : CData section not finished &lt;/pre&gt;&lt;br /&gt;Here is a patch&amp;#160;:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;--- admin/inc/basic.php
+++ admin/inc/basic.php
@@ -654,8 +654,15 @@
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $text = htmlspecialchars($text, ENT_QUOTES, 'UTF-8');
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
-&amp;nbsp;&amp;nbsp;&amp;nbsp; $text = str_replace(chr(12), '', $text);
-&amp;nbsp;&amp;nbsp;&amp;nbsp; $text = str_replace(chr(3), ' ', $text);
+&amp;nbsp;&amp;nbsp;&amp;nbsp; $badchars = array();
+&amp;nbsp;&amp;nbsp;&amp;nbsp; for ($code = 0; $code &amp;lt; 32; $code++) {
+&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $badchars[] = chr($code);
+&amp;nbsp;&amp;nbsp;&amp;nbsp; }
+&amp;nbsp;&amp;nbsp;&amp;nbsp; unset($badchars[13]);
+&amp;nbsp;&amp;nbsp;&amp;nbsp; unset($badchars[10]);
+&amp;nbsp;&amp;nbsp;&amp;nbsp; $text = str_replace($badchars, '', $text);
+&amp;nbsp;&amp;nbsp;&amp;nbsp; //$text = str_replace(chr(12), '', $text);
+&amp;nbsp;&amp;nbsp;&amp;nbsp; //$text = str_replace(chr(3), ' ', $text);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return $text;
&amp;nbsp;}&lt;/pre&gt;Note that it does not fixes the corrupted XML files, it prevents the corrupted files to appear.&lt;br /&gt;</description>
        
              </item>
          <item>
        <title>Owncloud : could not calculate folder size</title>
        <link>https://uname.pingveno.net/blog/index.php/post/2012/05/17/Owncloud-%3A-could-not-calculate-folder-size</link>
        <guid isPermaLink="false">urn:md5:5f1d4ce72f0c710c87880e9562202a5b</guid>
        <pubDate>Thu, 17 May 2012 21:53:00 +0200</pubDate>
        <dc:creator>Mathieu</dc:creator>
                  <category>Hacks</category>
                          <category>bug</category>
                  <category>fatal error</category>
                  <category>owncloud</category>
                <description>          &lt;p&gt;I recently installed Owncloud, and I already had some problems in order to make it run.&lt;/p&gt;
&lt;p&gt;I finally managed to make it run, but I ran into an other problem today.&lt;/p&gt;
&lt;p&gt;I tried to upload (with SSH, not with the web interface) my music collection that is bigger than 2Go, and I got the following error&amp;#160;:&lt;/p&gt;
&lt;pre&gt;Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[22003]: Numeric value out of range: 7 ERREUR:  la valeur Â« 2857678756 Â» est en dehors des limites du type integer' in /home/.../public_html/lib/db.php:527
Stack trace:
#0 /home/.../public_html/lib/db.php(527): PDOStatement-&amp;gt;execute(Array)
#1 /home/.../public_html/lib/filestorage/local.php(326): PDOStatementWrapper-&amp;gt;execute(Array)
#2 /home/.../public_html/lib/filestorage/local.php(295): OC_Filestorage_Local-&amp;gt;calculateFolderSize('mathieu/files/M...')
#3 /home/.../public_html/lib/filestorage/local.php(47): OC_Filestorage_Local-&amp;gt;getFolderSize('mathieu/files/M...')
#4 /home/.../public_html/lib/filesystem.php(573): OC_Filestorage_Local-&amp;gt;filesize('mathieu/files/M...')
#5 /home/.../public_html/lib/filesystem.php(346): OC_Filesystem::basicOperation('filesize', '/Musique')
#6 /home/.../public_html/lib/files.php(54): OC_Filesystem::filesize('/Musique')
#7 /home/.../public_html/files/index.php(48): OC in /home/.../public_html/lib/db.php on line 527
&lt;/pre&gt;
&lt;p&gt;It seemed that the Owncloud developers haven&amp;#8217;t thought about the weird guy who had more than 2Go of Music. I changed the size of the column from integer to bigint in the PostgreSQL database (I had configured Owncloud with PostgreSQL), and the problem vanished&amp;#160;:&lt;/p&gt;
&lt;pre&gt;ALTER TABLE foldersize ALTER size TYPE bigint ;&lt;/pre&gt;&lt;p&gt;I hope it will help those who are stuck with this problem. I will also check if the problem is a known bug, and if it is not, I will declare it in the Owncloud bug tracker.&lt;/p&gt;
&lt;p&gt;Thinking about it, maybe the &amp;#8220;reasonnable&amp;#8221; solution would be to change the value to an &amp;#8220;unsigned int&amp;#8221;, but it will limit the folders size to 4Go, and the problem could appear again.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EDIT&amp;#160;: it is a known and fixed bug (in next version)&amp;#160;: &lt;a hreflang=&quot;en&quot; href=&quot;http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-296&quot;&gt;http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-296&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;</description>
        
              </item>
          <item>
        <title>Firefox 4.0 : Addons conflict between TabMixPlus and TabRenamizer</title>
        <link>https://uname.pingveno.net/blog/index.php/post/2011/04/02/Firefox-4.0-%3A-Addons-conflict-between-TabMixPlus-and-TabRenamizer</link>
        <guid isPermaLink="false">urn:md5:0df5f6c6d98502b5e7c7f8b2e7313132</guid>
        <pubDate>Sat, 02 Apr 2011 20:00:00 +0200</pubDate>
        <dc:creator>Mathieu</dc:creator>
                  <category>Informatique</category>
                          <category>addons</category>
                  <category>bug</category>
                  <category>firefox</category>
                  <category>loading</category>
                  <category>tabmixplus</category>
                  <category>tabrenamizer</category>
                <description>          &lt;p&gt;When using both TabMixPlus and TabRenamizer, if you open a new window, every tab opened in the new window will show a &amp;#8220;Loading&amp;#8221; status for a very long time.&lt;/p&gt;
&lt;p&gt;I deactivated TabRenamizer, and now it works.&lt;/p&gt;</description>
        
              </item>
          <item>
        <title>Firefox Freeze après avoir installé une extension non officielle</title>
        <link>https://uname.pingveno.net/blog/index.php/post/2011/03/17/Firefox-Freeze-apr%C3%A8s-avoir-install%C3%A9-une-extension-non-officielle</link>
        <guid isPermaLink="false">urn:md5:686fdddc90b0fe05967766c5001d6560</guid>
        <pubDate>Thu, 17 Mar 2011 22:19:00 +0100</pubDate>
        <dc:creator>Mathieu</dc:creator>
                  <category>Hacks</category>
                          <category>bug</category>
                  <category>firefox</category>
                  <category>freeze</category>
                  <category>https everywhere</category>
                <description>          &lt;p&gt;&lt;img title=&quot;firefox-plantage-certutils.png, mar. 2011&quot; alt=&quot;firefox-plantage-certutils.png&quot; src=&quot;https://uname.pingveno.net/blog/public/captures/firefox-plantage-certutils.png&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Lors de la mise à jour de modules sur mon Firefox (que la mise à jour soit automatique ou non), mon Firefox plantait, partant dans une boucle infinie avec 100% de CPU consommé. En fait l&amp;#8217;explication est simple&amp;#160;: c&amp;#8217;est une boucle infinie provoquée par la recherche d&amp;#8217;un certificat racine built-in pour réaliser la mise à jour.&lt;/p&gt;
&lt;p&gt;Voir &lt;a hreflang=&quot;en&quot; href=&quot;https://bugzilla.mozilla.org/show_bug.cgi?id=340198&quot;&gt;ce bug&lt;/a&gt; sur Bugzilla, dont le fix est à l&amp;#8217;origine du problème.&lt;/p&gt;
&lt;p&gt;Solution&amp;#160;: Désinstaller (désactiver ne suffit pas) ces modules. Désolé, pour l&amp;#8217;instant je n&amp;#8217;ai pas d&amp;#8217;autre solution&amp;#8230;&lt;/p&gt;
&lt;p&gt;Le code coupable en question&amp;#160;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;while (issuer &amp;amp;&amp;amp; !cert.equals(issuer)) {
cert = issuer;
issuer = cert.issuer;
}&lt;/code&gt;&lt;/pre&gt;</description>
        
              </item>
      </channel>
</rss>
