August 14, 2012 archive

Aug 14

Blank page on domain after installing Drupal through softaculous.

It is nothing but, just check if PHP module mysqli is compiled and enabled in the server. Search the list “php -m” for mysqli. If present make sure the correct extension_directory is set in the php.ini and enabled extension=mysqli.so as well. If not present, recompile php(include current modules present and in addition add mysqli too). …

Continue reading

Aug 14

Issue when try to add new IP address in VPS server

This is something generic to uncommon errors, this issue arises when we try to add new IP in vps server. When we click on the option “Add a New IP Address” under IP Functions on WHM, we get the following error sometimes. “To add, edit, or remove IPs, please contact your server administrator” This can …

Continue reading

Aug 14

When /etc/userdomain is accidently deleted

Here are the steps to re-create userdomain file if it gets accidentally deleted mv /etc/userdomains /etc/userdomains.OLD /scripts/updateuserdomains If it is not still getting re-generated, do the following steps /usr/local/cpanel/bin/userdata_update mv /etc/userdomains /etc/userdomains.OLD /scripts/updateuserdomains

Aug 14

create SWAP space in Linux Servers

You need to use the dd command to create swap file. The mkswap command is used to set up a Linux swap area on a device or in a file. Login as root user, and use the following command to create a swap file. The following dd command example creates a swap file with the …

Continue reading

Aug 14

Enable Wildcard E-mail

This is a trick I have enabled through cPanel account, but it worked to enable wildcard email. Just like wildcard domains, there is a technique exists for routing mails send to non-existing email accounts to a legitimate email account situated in a particular domain. This method can generally be called as Wildcard E-mail Suppose a …

Continue reading

Aug 14

Proper Installation of Imagemagick

Please do the following steps for installing imagemagick. You can install imagemagick using the script /scripts/installimagemagick If the installation is not successful, please download and install it from source file. Download –> ImageMagick-6.7.7-3.zip cd /downloaded/path – mostly /usr/src/ unzip ImageMagick-6.7.7-3.zip cd ImageMagick-6.7.7-3 ./configure make make install If you are installing imagamagick from source, then you …

Continue reading

Aug 14

Install Captcha::reCAPTCHA

When you find captcha error or missing captcha on the page(purchasing page, cart page, mail script page etc), you just can install it using the following simple script =============== /scripts/perlinstaller Captcha::reCAPTCHA ===============

Aug 14

Issue with Movable type

You might be getting forbidden or internal server error when calling “http://domain.com/cgi-bin/mt/mt.cgi???” on browser. The fix is as follows. check the apache error and you might see this: ======= Permission denied: /home/user/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable ======= Make sure the permission of public_html is 755(Global accessible) instead of 750. …

Continue reading