Wednesday, November 6, 2013

Installing Linphone 3.6.1

Easiest way to install linphone 3.6.1 for linux is to download the debian from this link

http://packages.debian.org/sid/i386/linphone/download

and add ( deb http://ftp.de.debian.org/debian sid main) at the end of file source.list

vim /etc/apt/sources.list



deb http://ftp.de.debian.org/debian sid main

Tuesday, June 18, 2013

connection information ftp on localhost wordpress

Hi

When i try to upload the theme in wordpress it shows me message for entering data for ftp on my localhost .

Solution
Go to the wordpress directory in your localhost

and run this command

sudo chown -R www-data:www-data *

Monday, June 3, 2013

Easy content type showing ???????

I was working on wordpress i did update in plugin and later easy content type showing labels as '???' rather than showing it arabic .

So i deactivate the plugin and delete it , and reinstall it . It fix the problem

Wednesday, May 29, 2013

arabic text showing question marks

I face this problem while showing the arabic text from the database . The quickest solution i found is that i run this after connecting to the database

mysql_query("SET NAMES utf8");

Tuesday, January 1, 2013

Find Missing Sequence in mysql

Although this solution is for small numbers .

Sometime it happens that some sequence number miss and you need to find out the missing sequence to do that  first create a table with name of sequence and with one column name id and insert the numbers in my case i have number from 1-25 .

So now i have one table with name sequence which has column id and value 1-25 .

Now to find missing number of other table use this query  ;

select id from sequence where id not in (select id from other_table) ;

Thats it .

Monday, November 5, 2012

Installing SqLite on Windows 7 Error ( Could not load file or assembly 'System.Data.SQLite,)



I got this error while installing SQLite on windows 7

Could not load file or assembly 'System.Data.SQLite, Version=1.0.80.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Solution :

Project -> <project_name>_properties -> Build -> Platform target (Change it from Any PC to x86)

This solve the issue

Wednesday, October 31, 2012

To Configure AsteriskNow with FreePBX, point your browser to http://10.0.2.15

While installing AsteriskNow on my Virtual Machine i get this text before asking for login . Please note that it says this when installation went smoothly .

Usually it shouldnt give that ip as its not your network ip . problem is with the VM Ware I use the Oracle VM Ware .

Solution:

Select specific Virtual Machine Right Click and select Settings
Go to Networks
Choose atached to -> Bridge Adopter
and than it will show you either eth0 or wlan0 choose from where you want to connect to internet