IndianWebPortal.com

Something Different In Linux

Home » Archive by category 'CMS'

common issues in wordpress

Posted by Rishikesh Vispute Categories: Wordpress

**Common Issues in WordPress** 1. Lost Admin Password & Email Retrieval Is Not Functioning The problem: You lost your WordPress admin password, and have tried to enter your username or email address in the “Lost your password?” page but failed to receive any link to create a new password via email. Here are 2 simple  [ Read More ]

Error : You do not have sufficient permissions to access this page When try to activate the plugin in wordpress and then some time it shows the error “You do not have sufficient permissions to access this page” then you need to made some changes under that account. Solution : Open wp-config.php file  and Replace  [ Read More ]

wordpress error Cheatin’ uh?

Posted by Rishikesh Vispute Categories: CMS, Wordpress

Error: When you try to  upload the image or logo from your theme or media library then wordpress shows the error “Cheatin’ uh?” Solution :  1) Open file media-upload.php vi   wp-admin/media-upload.php search line number 126 and replace the code From wp_die( __( ‘Cheatin’ uh?’ ) ); To // wp_die( __( ‘Cheatin’ uh?’ ) ); Save  [ Read More ]

wordpress permalink problem in windows server

Posted by Rishikesh Vispute Categories: Wordpress

Question : wordpress permalink problem in windows server Ans: If you are using IIS 7 and have admin rights on your server, you can use Microsoft’s URL Rewrite Module instead. Though not completely compatible with mod_rewrite, it does support WordPress’s pretty permalinks. Once installed, open the web.config file in the WordPress folder and add the following rule to the system.webServer element    [ Read More ]

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference. Solution : This error is  occurred due the php version 5.3 and joomla is not certified to work with PHP 5.3.0. You need to change some code in your files. open the file vi /home/username/public/modules/mod_mainmenu/helper.php You can change this : Form function buildXML(&$params) to  [ Read More ]

restart Ruby On Rails application

Posted by Rishikesh Vispute Categories: ruby and rails

If you want to restart Ruby On Rails application for a particular domain or Application then follow the steps : ======================================== root@server[#] cd /home/username root@server[#] cd rails_apps root@server[#] cd demo (Application name) root@server[#] mongrel_rails mongrel::restart ======================================== Note: Replace the “username” equal to original cpanel username

restart ruby and rails application

Posted by Rishikesh Vispute Categories: ruby and rails

How to restart  ruby and rails application by using ssh ? Ans : You can restart your ruby and rails application by using following command. Syntax : /usr/bin/ruby -I /home/USERNAME/ruby /usr/bin/mongrel_rails start -p PORT -d -e  ENVIRONMENT -P log/mongrel.pid This should be executed in the root directory of the Rails app you wish to run  [ Read More ]

How to protect CRE Loaded admin area ? or Problem when page requires authentication or How to set  password protection for sub directory  without affecting to other .htaccess rewrite rules Ans : You will notice that the default .htaccess will not work if your page requires authentication. Suppose you have set the password protection for  [ Read More ]

Error : Exception printing is disabled by default for security reasons. Error log record number: XXXXXXXXXXXXXXX Solution : After installation of magento then some of pages shows this error. Exception printing is disabled by default for security reasons. Error log record number: XXXXXXXXXXXXXXX In this case you need to check following steps. 1) Go to  [ Read More ]

remove index.php from url in magento

Posted by Rishikesh Vispute Categories: magento

How to remove index.php from url in magento Ans : If you want to access your magento URL without index.php for example: http://domain.com/index.php/category to http://domain.com/category then use the following steps 1) Login to admin section by using the URL http://domain.com/index.php/admin 2) then go to “System >>  Configuration >>Web >> Search Engines Optimization” Use Web Server  [ Read More ]

joomla permission in plesx

Posted by Rishikesh Vispute Categories: Joomla

When joomla admin section shows the all files unwritable  in ” System Info” Then you need to correct the permission by using following  steps. I am able to solve this issue with the following steps. cd /var/www/vhosts/[domain.com] chown -R [username]:psacln httpdocs chmod -R g+w httpdocs find httpdocs -type d -exec chmod g+s {} \; Add  [ Read More ]

Custom 404 page in joomla

Posted by Rishikesh Vispute Categories: Joomla

How to set the custom 404 page in joomla? or Change default “Joomla 404 component not found” page Ans : Create 404.shtml file under the document root then open the error.php file vi   /home/username/public_html/templates/system/error.php then add the following code below the line  “defined( ‘_JEXEC’ ) or die( ‘Restricted access’ );” ======================================= if (($this->error->code) == ‘404’)  [ Read More ]

Error : Are you getting this wordpress error whilst trying to automatically update wordpress or a plugin Incompatible archive: PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature Solution : The error due the disk space is full of your account.  You need to upgrade your hosting plan or deleted some unwanted  [ Read More ]

Warning: POST Content-Length of

Posted by Rishikesh Vispute Categories: Error and solution, Joomla

Error  : Warning: POST Content-Length of 9897293 bytes exceeds the limit of 8388608 bytes in Unknown on line 0 Solution: If you are facing same error in joomla then you need to increase the “post_max_size”  in php.ini file post_max_size =8M Replaced with post_max_size = 12 M Done

.htaccess Generation Issues in wordpress

Posted by Rishikesh Vispute Categories: htaccess, Wordpress

Fixing .htaccess Generation Issues in wordpress If your installation of WordPress does not generate a .htaccess file or if it does not write the new rules onto your existing .htaccess file then there are a couple reasons that could be causing this. Work step by step and continue to the next step only if the  [ Read More ]

MySQL server has gone away for query

Posted by Rishikesh Vispute Categories: Wordpress

Error : “WordPress database error MySQL server has gone away for query…..” Solution : You need to add the following line in line number 334 in wp-includes/wp-db.php file $this->query(“set session wait_timeout=600”); Done

Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...