Nested comments

Comments inside comments ! That seems to be a basic issue in PHP. Lets say i am including a php file, and i comment it out using /* */ and it super freaks out when that file has comments. Simple things that can save developer pain and i am sure it is not a difficult patch

Support and PHP

So got to setting up OTRS, neat email based support system and it works pretty well it seems. There are some issues setting it up initially, but it integrates very well into your support email ! Should have thought of using it for kwippy once i think about it he he.

Just managed to get PHP compiled from source with php-fpm patch on it, the configure string was as follows

./configure –enable-fastcgi –enable-fpm –with-mcrypt –with-zlib –enable-mbstring –disable-pdo –with-pgsql –with-curl –disable-debug –with-pic –disable-rpath –enable-inline-optimization –with-bz2 –with-libxml-dir –with-zlib –enable-sockets –enable-sysvsem –enable-sysvshm –enable-pcntl –enable-mbregex –with-mhash –with-xsl –enable-zip –with-pcre-regex –with-mysql –with-gd –with-mysqli –with-jpeg-dir –with-freetype-dir –with-png-dir –with-pdflib

Though on debian getting GD with JPEG requires the open jpeg library [not the other jpeg lib]. Thats after going through the compilation a couple of time !

Also planning to move my server to a better setup, running out of memory right now.

FeinCMS and DjangoCMS

Spent sometime working with both over the last month, created 2 ecommerce sites around these and here are some observations which may help people decide what works for them

  • FeinCMS was a pain to get started with, i had to base it all on the default example as the documentation was not enough to get it all started from scratch. I was using the trunk as it has goodies [like a blog] which the stable did not have.
  • DjangoCMS was much easier to deal with, in hind sight it made it very easy to play with blocks modify them. I was impressed with the amount of flexibility it offered to the developer. The admin is not as simple as something like Drupal but its simple enough to be used without documentation.
  • To be honest, both had their strengths and weaknesses, their common weakness is the under-developed CMS community aroun Django. Hardly any modules to play with, setting up a blog is a pain [well i did it twice over in 2 different setups].

Do message me at me@dipankar.name if you need to get started with any of these.

Wold clock extension: Google chrome

https://chrome.google.com/extensions/detail/loilmadfanbmmecbmjfcopplelaikmjc

So here i present the google chome world clock extension ! Simple but works great. Developed it in January and has seen over 500 downloads.

So go get the beta google chrome and install this cool plugin to keep track of time ;) .

GD Library Error: Imagecreatetruecolor Does Not Exist

Well the simplest way of solving this is to run

sudo apt-get install php5-gd

That will install the necessary libraries that you need to keep continuing. If you are in windows then you need to go  to your php.ini and uncomment the following lines

;extension=php_gd.dll
;extension=php_gd2.dll

[just remove the ; to uncomment them]

Hope that solves your image issues.