Archive for the ‘Wordpress’ Category

Incompatible archive: PCLZIP_ERR_BAD_FORMAT

Wednesday, March 10th, 2010

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 files from your account.

 

.htaccess Generation Issues in wordpress

Thursday, February 18th, 2010

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 previous step does not work.

  1. Change File Permissions: You must chmod the .htaccess file to 666 to edit it with the WordPress template editor, but this is not recommended, since if you do that, any user of your blog, who can edit templates will be able to edit it. You can change the permissions to 660 to make it server-writable, which again will have the same limitation.

  2. Server Blockage: Your host might have blocked the SERVER_SOFTWARE variable and this will cause WordPress’ .htaccess generation to fail. If you are sure that your server is running Apache, you can force WordPress to believe that your server is running Apache by changing your wp-includes/vars.php file. Follow the steps below to implement these changes.

    • Open the wp-includes/vars.php file using the built in file editor in your WordPress Admin panel. To navigate to this panel, login to WordPress, click on “Manage”, then on “Files”, scroll to the bottom and type in wp-includes/vars.php into the text box under the “Other Files” title. Look for

      $is_apache = strstr($_SERVER['SERVER_SOFTWARE'], ‘Apache’) ? 1 : 0;

      and replace it with

      // $is_apache = strstr($_SERVER['SERVER_SOFTWARE'], ‘Apache’) ? 1 : 0;

    • Add a new line under

      // $is_apache = strstr($_SERVER['SERVER_SOFTWARE'], ‘Apache’) ? 1 : 0;

      and type in

      $is_apache = 1;

    Done

 

“WordPress database error MySQL server has gone away for query…..”

Thursday, January 21st, 2010

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

Great Wordpress Plugins

Wednesday, November 25th, 2009

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 type of form like contact form,wedding checklist etc.this plugin can handle all these things.

Search Everything : Normaly we all have search bar in our wordpress blog but you know its only search entire content ? if you want your visitors to search everything in your website and google,se ? you can use this plugin.

Google Sitemap Generator : This is a another great plugin that is very good for SEO.This Plugin submits a comprehensive index of your site to google, yahoo, bing, and Ask.com every time you update your site. It’s a huge boost to your site’s SEO.

Subscribe 2 : Its allow your visitor to e-mail sibscribe on your post.when you post anything new it will automatically send you new post to your subscriber.

Pages Link To : Sometime we want to add a categories or other websites link on our wordpres blog menu.this plugin allow us to do that easily.

TinyMCE Advance : If you want to add easily classes to blockquotes, tables, and images you can use it.The plugin also does a great job of making tables work well with WordPress posts.

Pagemash : Its a great plugin to put your pages in order, without having to edit every page individually. :)

Wp-contact Manager : This plugin can help you to make wordpress as a contact database.some pepole use it to make item database phone directory etc,its easy to install and use.

Location of configuration files in CMS

Wednesday, November 25th, 2009
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

Wednesday, November 25th, 2009

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’, ‘utf8′);
define(‘DB_COLLATE’, ”);

Comment them out like this:
//define(‘DB_CHARSET’, ‘utf8′);
//define(‘DB_COLLATE’, ”);

Fixed our problem.

The plugin does not have a valid header

Tuesday, November 24th, 2009

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.

Unable to create directory + wordpress

Tuesday, November 17th, 2009

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

Wordpress ask ftp login details when upgrade ?

Wednesday, November 11th, 2009

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. There are 2 solution for this issue

1) You need to migrate your account to suexec enable server

or

2) Set the ownership nobody.nobody to  all wordpress related files.  But is  unsecured for your account. Your account is easily hacked due the nobody.nobody ownership.

Thanks