Monday, June 23, 2014

Missing Word Edit tools : wordpress

Text Editors and Missing Buttons in wordpress.

You can fix this issue by adding the following line on your wp-config.php file.

You should add this line at the beginning of your php opening tag

define('CONCATENATE_SCRIPTS', false);

 

OR 

Install Google Libraries plugin, which will use common java script libraries from google's not from wordpress.

Wednesday, June 4, 2014

openvz ubuntu vps not restarting


While rebooting Ubuntu vps on your Openvz node you will get the following error.

~]# vzctl start 2121454
Starting container ...
Container is mounted
Adding IP address(es): IP address for your vps
FATAL: kernel too old
Setting CPU limit: 400
Setting CPU units: 1000
Setting CPUs: 4
FATAL: kernel too old
Container start in progress...



This means your Node is running on Centos 5

2.6.18-371.3.1.el5.028stab110.1

So we cannot update to 2.6.32 openvz kernel on CenOS 5

Fix:
 kernel]# pwd
/proc/sys/kernel
kernel]# cat virt_osrelease
2.6.18-371.3.1.el5.028stab110.1
kernel]# echo 2.6.32 > virt_osrelease
[root@server kernel]# vzctl start 5909
Starting container ...
Container is mounted
Adding IP address(es): ipdaddress
Setting CPU limit: 400
Setting CPU units: 1000
Setting CPUs: 4
Container start in progress...