WordPress asks ftp password on any upgrade or install

To avoid wordpress asking for FTP Username and Password for any upgrade do the following : Login to your Cpanel Go to your File Manager Open wp-config.php and insert the following lines: define(‘FTP_USER’, ‘username’); define(‘FTP_PASS’, ‘password’); define(‘FTP_HOST’, ‘ftp.example.org:21′); [wpfmb type=’info’ theme=2]If you want to import blogger site into WordPress you can check simple steps on […]

Continue Reading…

ERROR: This RRD was created on another architecture

You will get this error during cPanel account transfer time or with cPanel package account script. [wpfmb type=’error’ theme=2] Copying Bandwidth Data……[username]-all-rate.rrd….[username]-imap.rrd….[username]-http-peak.rrd..ERROR: This RRD was created on another architecture[/wpfmb] To fix this issue do the following bash script: #!/bin/bash cd /var/cpanel/bandwidth for i in `/bin/ls *.rrd` do /usr/local/cpanel/3rdparty/bin/rrdtool dump $i > $i.xml /usr/local/cpanel/3rdparty/bin/rrdtool restore -f […]

Continue Reading…

Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80 + httpd wont start

While trying to restart httpd: /etc/init.d/httpd start Having the error: [wpfmb type=’error’ theme=2]Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs [FAILED][/wpfmb] To resolve this error run: fuser -k -n tcp […]

Continue Reading…

Httpd wont start in direct admin and gives the error

While trying to start httpd in direct admin giving the following error: # /etc/init.d/httpd start [wpfmb type=’error’ theme=2]Starting httpd: Syntax error on line 30 of /usr/local/directadmin/data/users/clickalist/httpd.conf:Invalid command ‘php_admin_flag’, perhaps misspelled or defined by a module not included in the server configuration[/wpfmb] To resolve this error follow the steps below: ./build update Backup any file named […]

Continue Reading…

ERROR 1153 (08S01) at line 16985: Got a packet bigger than ‘max_allowed_packet’ bytes

While trying to restore a MySQL database I was getting the following error: [wpfmb type=’error’ theme=2]root@server [/var/lib/mysql]# mysql a24uall_data </home/username/dbuploaded.sql ERROR 1153 (08S01) at line 16985: Got a packet bigger than ‘max_allowed_packet’ bytes[/wpfmb] To resolve this error: In my.cnf file add the following line : set-variable = max_allowed_packet=32M And restart MySQL : /etc/init.d/mysql restart […]

Continue Reading…