Showing posts from January, 2014

404 Error or Too many redirects error on WP password protected directory

Issue: When you password protect your WordPress admin (wp-admin) directory, Wordpress Admin URL will shows 404 Error or Too many redirects error in browser. Fix: To fix this issue, open your main WordPress .htaccess file and add the following code there before the WordPress rules start. ErrorDocument 401 default Now check your Wordpress Admin URL. It will load with double authentication for your WordPress admin area. :)

Fatal error: Incompatible file format in livesite application

Error: Fatal error: Incompatible file format: The encoded file has format major ID 65540, whereas the Optimizer expects 2 in /home/user/public_html/livesite/get_page.php on line 0 Fix:  The issue occurred due to misconfiguration in PHP version and Zend optimizer. In order to fix the issue, you need to upgrade your PHP version from 5.2 to 5.3 or 5.4 and remove the old Zend Loader version code from the php.ini file add the correct Zend Loader version code. If Zend Guard/Optimizer is not installed in the server, you can install it through the following steps: 1. Login to your server via SSH 2. Run:  /scripts/installzendopt The issue should have fixed now. :)