MYSQL server has gone away

Its very rare case when I see message : “MYSQL server has gone away” , a few things to consider are : * Check variable max_timeout * Check variable max_allowed_packet These setting available in my.ini or my.cf file, edit the value and restart mysql daemon. Example : max_allowed_packet=16M max_timeout=28800 Try again to import database using …

More

Hide your plurk karma using css

I forgot the source of css code I get from browsing activity, this code can hide your plurk karma and other attribute. Here’s the code : #dash-stats h3{ opacity:0.0;filter:alpha(opacity=0); height:0; margin:0; padding:0; font-size:0; } #dash-stats a.link_arrow { opacity:0.0;filter:alpha(opacity=0);height:0;margin:0;padding:0;font-size:0; } Just drop a comment for the source and I’ll update this post Basically I like this …

More

101 nginx tutorial and articles

I’m bit lazy to read manual and prefer to read it as a case. Nginx is my favourite now, by collecting related tutorial, blog posting and articles I hope I can learn nginx more. Links I found so far : Reverse proxy in depth tutorial Step by step install Engine X (nginx) and php-fpm in …

More

undefined function imagecreatefromjpeg()

Call to undefined function imagecreatefromjpeg() in /home/materi/prog/cms_study/admin/pageuploadadd.php on line 88   Yes, that message show up when my friend try to access web based application. I think thats my fault Doing preliminary check : edp# pkg_info | grep php5-gd edit /etc/make.conf PERL_VER=5.8.8 PERL_VERSION=5.8.8 WITHOUT_X11=yes save. edp# whereis php5-gd php5-gd: /usr/ports/graphics/php5-gd edp# cd /usr/ports/graphics/php5-gd && make …

More