WordPress showing Blank page !!

If WordPress Permalink shows blankpage, do below [root@server1 ~]# vi /wp-admin/includes/misc.php and change the line as indicated below Search for function got_mod_rewrite and replace below like in it . From $got_rewrite = apache_mod_loaded(‘mod_rewrite’, true); //old line with false negative; To $got_rewrite = true;//force the response to true as we know mod_rewite is installed

» Read more

enable or disable mod_security for particulate account[error for mod_security, access denied with error code 403]

===================================================== If you are receiving the error for mod_security, access denied with error code 403 when you checkthe error logs for any account. You can disable the mod_security for that account by adding a=====================================================simple code in his .htaccess==================SecFilterEngine OffSecFilterScanPOST Off========================== And to enable just remove these two line from .htaccess. ============================================ OR ============================================ =====================================================Disable Mod_Security for any User Domain :=====================================================Go […]

» Read more

How to enable register_globals for a single website without putting an entire server security at risk?

How to enable register_globals for a single website without putting an entire server security at risk? * Go to your control panel and then click on File manager.* In your file manager, enter the public_html folder.* In the public_html folder you will see a file called .htaccess.* Select  the .htaccess  file and click on edit in the upper right hand […]

» Read more

cPanel backend configuration files and Log Files Paths

cPanel backend configuration files and log files paths =======================================/var/cpanel=======================================accounting.log – Contains a list of accounting functions performed such as account removal and creation cpanel.config – Tweak settings for whm can be done in this file mainip – Main ip of the server is specified in this file maxemail – Maximum emails per hour for a domain can be specified here […]

» Read more

sendmail: Not running with correct effective GID. Is sendmail binary setgid mailtrap?

=================================== sendmail: Not running with correct effective GID. Is sendmail binary setgid mailtrap? [Error above error message shows in login SSH screen directly or you are getting this message]just change the send mail permission using below command:—chmod 2755 /usr/sbin/sendmail— That’s it..:)===================================

» Read more

WordPress : error_logs file does not generate the error logs

WordPress issue : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If plugin or theme is not compatible then sometimes site shows blank page and error_logs file does not generate the error logs, then need to enable the WP_DEBUG in wp-config.php file. After enabling this function, it will show an error on the site and it will find out which is the problem plugin or theme.Syntax : =================================define(‘WP_DEBUG’, true); — to […]

» Read more

Missing mysql.sock file on server.

Some times,  MySQL service doesn’t work due to missing mysql.sock file , then you need to create manually mysql.sock file. Follow the below steps to create mysql.sock file.First, login your server and check /tmp and /var/lib/mysql , you may see that there is no mysql.sock file(It is called also Symbolic file).Follow the below steps.cd /var/lib/mysql/touch mysql.sockchmod 1777 mysql.sockchown mysql.mysql mysql.sockCreate a symlink for […]

» Read more

Mysql Database size shows 0 in cPanel

Some times , database size doesn’t update in Cpanel . You can check it through Cpanel===> MySQL database ,  it shows database size “zero” even if there is available database data. You should follow below steps to resolve this.==============================================root@server [#] vi var/cpanel/cpanel.configand search for following line.disk_usage_include_sqldbs=0 ( set it to 1 instead of 0 )wq:then you need to  run the below command to update […]

» Read more
1 26 27 28 29 30 31