Nombre total de pages vues

mardi 22 janvier 2013

Wordpress you are not allowed to edit this post

Recently, I've met this error when I went create a new article on my Wordpress blog.
I tried to disable all plugins and activate the wordpress default theme but not solved.
Then I checked the php error log and I saw this error:

WordPress database error Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause for the query

                        SELECT COUNT(*) FROM wp_em_events ...

I've searched few days to understand that problem was related with the ONLY_FULL_GROUP_BY sql mode.
I had used the Percona tools web interface to generate my mysql config file and in effect this config file contains parameters for sql modes such as:


Solution for me was simply to disable the ONLY_FULL_GROUP_BY sql_mode by removing the parameter on the config line like this:


Save the config file and restart the MySQL/MariaDB/Percona server to validate the new config.
Then, I've tried to write a new post on the wordpress blog but same issue again.
Now, this error can be checked into the php error log file:

WordPress database error Incorrect datetime value: '0000-00-00 00:00:00' for column 'post_date_gmt' at row 1 for query INSERT INTO wp_posts 

Here, a quick search helped me to find that the NO_ZERO_DATE sql mode was the cause of this error thus I removed this sql mode into the config file again like this:


Saved and restart mysql server to validate.
After these both edits I can now write articles on the blog, very glad because lot of time was lost for this bullshit !

mercredi 12 décembre 2012

15 Greatest Open Source Terminal Applications Of 2012

Nice article on NixCraft:

Linux on the desktop is making great progress. However, the real beauty of Linux and Unix like operating system lies beneath the surface at the command prompt. nixCraft picks his best open source terminal applications of 2012.

Most of the following tools are packaged by all major Linux distributions and can be installed on *BSD or Apple OS X.



FlexGet is a multipurpose automation tool for content like torrents, nzbs, podcasts, comics, series, movies, etc. It can use different kinds of sources like RSS-feeds, html pages, csv files, search engines and there are even plugins for sites that do not provide any kind of useful feeds.
There are numerous plugins that allow utilizing FlexGet in interesting ways and more are being added continuously.
FlexGet is extremely useful in conjunction with applications which have watch directory support or provide interface for external utilities like FlexGet.

jeudi 17 mai 2012

Bandwidth monitor NG

Bandwidth Monitor NG is a small and simple console-based live network and disk io bandwidth monitor for Linux, BSD, Solaris, Mac OS X and others.
So it is very useful to display current ethernet interfaces stats with this top like.

RPM package is present into the EPEL repo or you can download sources from the source forge web page:

Here is the features list of bwm-ng:

  • supports /proc/net/dev, netstat, getifaddr, sysctl, kstat, /proc/diskstats /proc/partitions, IOKit, devstat and libstatgrab
  • unlimited number of interfaces/devices supported
  • interfaces/devices are added or removed dynamically from list
  • white-/blacklist of interfaces/devices
  • output of KB/s, Kb/s, packets, errors, average, max and total sum
  • output in curses, plain console, CSV or HTML
  • configfile

Short list of changes since 0.5 (for full list read changelog):

  • curses2 output, a nice bar chart
  • disk input for bsd/macosx/linux/solaris
  • win32 network bandwidth support
  • moved to autotools
  • alot fixes


samedi 28 janvier 2012

Chive project

Here is an interesting and beautiful alternative to the famous PhpMyAdmin that permits web-based MySQL administration in a very easy way.

Chive is distributed by the fusonic austrian team and is actually in version 1.0.2
The install is babyish, the chive interface is available in less of one minute ...
The highlight of this project is syntax editors with colored accentuation for SQL queries.
So try it and have fun !

lundi 9 janvier 2012

Mesurer la vitesse de chargement des pages des sites Web

Article très intéressant concernant les outils existants en ligne pour mesurer la vitesse de chargement des pages sur les sites Web.

Mesurer la vitesse de chargement des pages des sites Web: 'via Blog this'

lundi 26 décembre 2011

PHP MySQLDump Browser

Very interesting project that permit users/system admins to browse through MySQL Database Backups (Dump Files).
PHP MySQLDump Browser