Installing Python Imaging Library ( PIL )

Django Image Field Requires PIL support.

If you find this error ”
“image”: To use ImageFields, you need to install the Python Imaging Library. Get it at http://www.pythonware.com/products/pil/

Use the below fixes sequentially. Fixes are for Ubuntu/Unix Only.


sudo apt-get install python-imaging


sudo apt-get install python-dev
pip install PIL

** Don’t Use sudo if you are in a virtual environment.
** If PIL is already installed then upgrade it using


pip install -U PIL

How to use your web server as a proxy

If you have a unix web server ( ex. Ubuntu ), you can use it as a proxy for surfing internet.

Here is the process ,

Ubuntu/Mac :

  • Open Terminal and type
    ssh -4 -D 3128 user@yourwebserver.com
  • Web server shell will popup. If it says “unable to bind spcified port, change the port number( i.e 3128 ) to something else.
  • After that in your firefox/internet explorer  proxy settings, use

    SOCKS5 Proxy :  127.0.0.1 with
    Port :  3128 ( or your specified one, while connection )

Windows

  • For windows, you need to download ssh client software “putty” or Install any bash/shell for using ssh command to connect to the server
  • After Connecting with server using putty/bash follow the same process above mentioned for ubuntu/mac os

 

Software Links :

SMS Based Survey System

SMS Based Survey System

Business organization needs to survey about their products and services.This application can serve as what they need.

Create Survey

Create Survey

Features :

  • Easy Survey Creation with unlimited question.
  • Various Question Type ( Yes/No, Score , Net Promoter ).
  • Parallel Participant Processing.
  • Interactive User interface support.
  • Reports Generation.
  • Interactive Survey Results.
  • User access limits for company moderation.
  • Complete end-to-end solution
  • Create and manage surveys
  • Real time results.
  • Auto callback feature
  • Download results for offline processing
  • Free to end user option

Technology :

  • PHP
  • MYSQL
  • JQUERY

Website :

Developers :

  • Md. Ibrahim Rashid
  • Imrul Chowdhury Anindya

Team Lead :

  • Mizanur Rahman

Developed for iAppdragon

Make all hidden files unhidden from command line [ Windows ]

[ Windows Only ]

Sometimes .exe viruses makes folders as folder-name.exe and hides the original folder as “Hidden” folder.

There the command to fix it from command prompt .

attrib /D /S -r -h -s

Here /D /S for all directory and files.

– for unset attribute
+ for set attribute

r for unset readonly attribute
h for unset hidden attribute
s for unset system attribute

PHP Unicode Conversion Problems

Unicode conversion in PHP

“For URL Links ” with [ dr-th%c3%a9r%c3%a8se-coffey ]

html_entity_decode ( dr-th%c3%a9r%c3%a8se-coffey" , ENT_QUOTES );

“For Unicode ” with [ érèse ]

utf8_encode ( html_entity_decode ( "érèse"   , ENT_QUOTES ) )

“For Unicode Json ” with [ érèse ]

utf8_encode ( html_entity_decode ( "érèse"   , ENT_QUOTES ) )

 

Wrong permissions on configuration file, should not be world writable!” error on phpMyAdmin

Introduction

phpMyAdmin want config.inc.php to be not world writable, it’s sound simple, but not if you run phpMyAdmin from an NTFS filesystem (in my case, linux server who mount a Windows folder) it’s not that simple. There are two way to solve this problem :

Simple way, Linux Server, Linux Filesystem

Just chmod 0755 the file

chmod 0755 config.inc.php

 

Linux or Windows Server, NTFS Filesystem

If like me you run a Linux Virtual Machine who mount a Windows folder where phpMyAdmin sources are located, edit config.inc.php and add this line :

$cfg['CheckConfigurationPermissions'] = false;

This will tell phpMyAdmin to stop checking for fileperm because they can’t be properly detected.

Hope this help