Problem With Solutions

Something Different In Linux

Home » Archive by category 'CMS'

suhosin.so: undefined symbol: zend_atol

Posted by Rishikesh Vispute Categories: Error and solution, Wordpress

suhosin.so: undefined symbol: zend_atol

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 ]

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

Error : The username admin has not been activated or is blocked. Solution : If your user name “admin” is not active then you can face this problem so  you need to active admin user name  by using phpmyadmin. 1) Login to cpanel then click on the phpmyadmin and choose your database which you have  [ Read More ]

Great WordPress Plugins

Posted by Rishikesh Vispute Categories: Wordpress

Wp-e-commerce : have you ever wanted to build online shopping websites ? e-commerce type website ? yes this plugin is perfect for you can use it to make online e-commerce site.this plugin can easily handle shppoing cart,credit card processing,paypal etc. Cform : this plugin can help you to make form.sometime we need to make diffrent  [ Read More ]

Location of configuration files in CMS

Posted by Rishikesh Vispute Categories: Joomla, Knowledge, Wordpress

Location of configuration files on number of CMS WordPress: /home/username/public_html/wp-config.php CommercePro: /home/username/public_html/catalog/includes/configure.php and /catalog/admin/includes/configure.php Picture Pro: /home/username/public_html/include/config.inc.php phpBB: /home/username/public_html/config.php Joomla: /home/username/public_html/configuration.php MediaWiki: /home/username/public_html/LocalSettings.php

Strange characters ’ and  in WordPress posts

Posted by Rishikesh Vispute Categories: Wordpress

Error : After a wordpress upgrade we started to get all kinds of weird symbols in our posts, including  and ’. I figured it was a character encoding mismatch problem. Solution: You have to comment out two lines in your wp-config.php file (found in your main blog directory). These are the two lines: define(‘DB_CHARSET’,  [ Read More ]

The plugin does not have a valid header

Posted by Rishikesh Vispute Categories: Wordpress

Error : The plugin does not have a valid header Solution : The simple solution is to move plugin files to /plugin root. For example: /wp-content/plugins/akismet/akismet.php Move or copy akismet.php to /wp-content/plugins/akismet.php Your plugins’ folder will be a messy, but at least missed plugins will come back and work.

Drupal default .htaccess file

Posted by Rishikesh Vispute Categories: Drupal

When you are facing some problem in drupal then you need to copy this default .htaccess file in document root. ============================================= # # Apache/PHP/Drupal settings: # # Protect files and directories from prying eyes. <Files ~ “(\.(inc|module|pl|sh|sql|theme|engine|xtmpl)|Entries|Repositories|Root|scripts|updates)$”> Order deny,allow Deny from all </Files> # Set some options. Options -Indexes Options +FollowSymLinks # Customized error messages.  [ Read More ]

Unable to create directory + wordpress

Posted by Rishikesh Vispute Categories: Wordpress

Error : Unable to create directory /wp-content/uploads/2009/09. Is its parent directory writable by the server Solution: The problem due the wrong Store uploads folder path in admin section . You need to check the “Settings >> Miscellaneous Settings” in your word press admin section and set “wp-content/uploads” and save this setting. Done

JFolder::create: Infinite loop detected

Posted by Rishikesh Vispute Categories: Joomla

Error : When  try to install  template  or component then it shows the error * JFolder::create: Infinite loop detected * Warning! Failed to move file. Solution : The problem is an incorrectly set /tmp file. 1] Check the entry of ” Path of  Temp folder” in admin section of joomla ( “Global Configuration<< server ”  [ Read More ]

WordPress ask ftp login details when upgrade ?

Posted by Rishikesh Vispute Categories: Wordpress

WordPress ask ftp login details when upgrade ? Problem : When you have try to upgrade your wordpress blog or plugins then wordpress ask the ftp login details, you enter the correct ftp login details but it still not updated. Solution : You are facing this problem because your domain is hosted on non-suexec server.  [ Read More ]

Drupal Site with temporary URL

Posted by Rishikesh Vispute Categories: Drupal

Question :  How to access Drupal Site with temporary URL(http://serverip/~username) ? Answer : If you have installed drupal by using fantastico and if you want to access your drupal site with the tempoary URL like http://serveripaddress/~username  then follow the steps 1] Change the “$base_url = ” in /public_html/sites/default/settings.php to your temporary URL WITHOUT A TRAILING  [ Read More ]

Page optimized by WP Minify WordPress Plugin

Optimized by SEO Ultimate