Skip to main content

Simple guidelines for WordPress 3.3 updates

Simple guidelines for WordPress 3.3 updates  阅读原文»


If you have not yet updated your blog to WordPress 3.3, try using the auto-updating feature first. But make sure you have performed a back-up of your blog. If time is limited, pay attention to backup these important elements:

a.) root directory .htaccess
b.) wp-config.php
c.) wp-content directory
d.) other important scripts in your blog (custom-made and not part of the WordPress core files).
e.) WordPress database
f.) robots.txt � if you are using this.
g.) wp-includes/languages �if your blog uses a language file.

The auto-updating feature in WordPress would safely bring your site to maintenance mode and update the core files to WordPress 3.3 quickly and easily.

Case#1: Auto-updating Fails

If auto-updating encounters an issue; then you can safely revert back to the previous version by following the procedures below:

1.) Login to your server root directory using FTP/SSH or your hosting control panel.
2.) Find the file named as (with dot before the file name):
3.) Delete this file to remove the maintenance mode message in your site.
4.) Clear your browser cache and history then your site should return back to normal.
5.) You can now login to your WordPress admin again but the core files are still not updated to use the latest version.
Aside from timeout issues (which you can safely click auto-update again when your server is not anymore busy); one of the common causes why auto-updating does not work is in relation to file permissions and owner settings in Apache server. To troubleshoot:

1.) Check if your WordPress directory and folders are using correct file permissions, some guide:
a.) wp-content, wp-admin, wp-includes is using 755.
b.) WordPress core PHP scripts (index.php, etc.) are using 644.
c.) Other wordpress folders such as "upgrade", "themes", "uploads", "plugins", etc. will be using 755.

2.) If any of the above items are not in the proper file permissions, try changing them to designated permissions. You can use Filezilla FTP client to do these changes. To do this, login to your server using Filezilla; right click in affected WordPress folders or scripts then click "File permissions".

3.) Check if your WordPress directory is owned by you. To do this, login to your WordPress root directory and make sure all files and directories are owned by your assigned username (which you use when logging in FTP or SSH). See screenshot below:

In the above example, the username assigned by the hosting company is "phpdevel" and the WordPress directory is owned by this username also. This is correct. The group can be owned also by you or another party but it's the owner that is important. If the owner is not the same, you need to contact your hosting company.

3.) If all file permissions and ownerships are in place; try performing the auto-update again. It should be working fine.
If it still fails, delete .maintenance and you need to manually update WordPress core files. Read this guide on how to safely update WordPress core files manually.

Follow the steps in the first section: "Overview of the Upgrade Process" except that after "Step3. Verify the backups"; you need to bring your site to maintenance mode first by:

a.) Create a PHP script and named it as 503.php with the source code below:

header('HTTP/1.1 503 Service Temporarily Unavailable');
header('Status: 503 Service Temporarily Unavailable');
header('Retry-After: 10800');
header('X-Powered-By:'); ?>
<h1>Doing maintenance</h1>
<p>This site is under maintenance right now.</p>
<p>This should be ready again in under 3 hours.</p>

You can change the number of maintenance hours from 3 hours to any number of hours by converting the number of hours first to seconds and then replacing 10800 seconds in:

header('Retry-After: 10800');

b.) Open your current WordPress .htaccess and paste the code below starting on the first line of your .htaccess

RewriteEngine On
RewriteBase /
# Allow blog admin to access the website normally
RewriteCond %{REMOTE_ADDR} !^91\.210\.196\.8
RewriteCond %{REQUEST_URI} !^/503\.php
RewriteRule .* 503.php [L]

Replace with your own IP address which you can find here. This will let you login and access your WordPress site normally while other visitors (bots, etc.) to your blog will be provided with a 503 temporary not available status.

c.) Upload your .htaccess and 503.php to your WordPress root directory.
d.) Check if 503 server header status are now returned in your blog using this server header status checker.

If the homepage now returns 503 header status then proceed with deactivating the plug-ins and the rest of the manual updating process as stated in this guide.

To remove maintenance mode, simply delete 503.php in your WordPress root directory and remove the maintenance code in your .htaccess.

Special case to those that are still using PHP 4 and MySQL 4: As of WordPress 3.2, the minimum hosting requirements is changed to PHP 5 and MySQL 5. So if you are still using PHP 4 or MySQL 4, you need to upgrade them first before upgrading WordPress to use WordPress 3.3.

Case#2: Auto-update successful but Returning with Errors

In this case, you have succeeded updated your blog to WordPress 3.3 but the site runs unstable or returning a lot of errors. There are two possible causes for this:

1.) Plug-in related issues.
2.) Theme related issues.

The first thing to check is whether plug-in related issues exist. To troubleshoot, refer to the steps below:

1.) Put your website in maintenance mode (refer to previous section for guide).
2.) Disable all plug-ins first. If you cannot access to admin panel for some reasons, you can read some guide here.
3.) Enable the plug-ins one by one and check your blog for the presence of errors or blog instability. If you are using a caching plugin, enable it last because it can be difficult to check if other plugins are working with caching enabled. Remember all the configuration settings so that you can safely revert to it.
4.) Continue doing this until a certain plug-in returns with error. This is an incompatible plug-in with WordPress 3.3. Disable them back.
5.) Continue with the rest of the plug-ins until you have completed testing all of them.
6.) Finally enable the cache plugin with the settings you have been using before. If it returns an error; then the caching plugin you are using is not compatible with WordPress 3.3.

What to do with incompatible plug-in?

1.) Contact the plugin developer for updates and report that the plug-in is incompatible with WordPress 3.3. In some cases, you can go to the plugin page in WordPress to check if it's compatible with version 3.3.
2.) If there is already an update available to sort out the incompatibility issues; update them before enabling them for use with WordPress 3.3.
3.) If there is no update available, you can either:

a.) Do not update to WordPress version 3.3 until the new version would be released.
b.) Remove the plug-in if the feature is not very important to your blog functionality and operation.
c.) Replace the plug-in with other compatible plug-in.

To troubleshoot for theme related incompatibilities. Follow the troubleshooting steps below:

1.) Put your site in maintenance mode.
2.) Login to your WordPress admin panel and change your WordPress theme to "Twenty Eleven".
3.) Check whether those errors are gone by switching to Twenty Eleven.

If the errors are gone, then your theme is not compatible with WordPress 3.3 you have to report that to the theme developer and have it fixed. If for some reason you cannot login to your admin dashboard; you need to login to your WordPress website via FTP/SSH and then manually remove all themes (do not forget to back up your original theme files) except "Twenty Eleven". This action would force WordPress to use Twenty Eleven.

Case#3: Theme errors due to overwritten WordPress core files

If you have edited your WordPress core scripts (which are not advisable) then updating to WordPress 3.3 can introduce errors because your changes will be overwritten.
To resolve this issue:

a.) Look for compatible plug-in that will replace the functionality removed by the update. Or edit only your theme files to add the features.
b.) Do not anymore edit the WordPress core files to prevent this issue from happening again in the future.
Finally for cases that are not mentioned in this post, you can refer to t


该邮件由 QQ邮件列表 推送。
如果您不想继续收到该邮件,可点此 退订


Popular posts from this blog

How to find ideas to post new article in your blog

How to find ideas to post new article in your blog    阅读原文»   It is true that sometimes being a blogger may face situations where I would personally like to call it your brain juices got dried up as you have pretty much ran out of topic to blog and you are in crisis as your readers are anxiously waiting for your new posts but you are unable to give in. That’s when you will probably come with excuses like I just posted last week although that post was more directly towards the newbies who stop themselves from making money but it’s still pretty much the same even though you consider yourself not a newbie. The fact is that ideas are everywhere and I mean everywhere if you know where to find it and know how to leverage it. You may be surprised that sometimes these ideas are just right in front of you but you are not observant enough to convert these ideas and turn it into your blog post. Today I will share some tips on where to get these ideas and most of it is part of your dai

Over A Year After Android Launch, ShopSavvy Finally Comes To The iPhone

ShopSavvy was one of the best early Android applications. It launched in October of last year after winning one of the initial Android Developer Challenge top prizes (when it was still known as GoCart). But despite the success it has seen on Android, one question remained: When would it be available for the iPhone. Today, it finally is. Developed by the guys at Big In Japan , ShopSavvy is an app that allows you to use your device as a portable barcode scanner. You point your phone's camera at any barcode and it will read it, do a product look up, and give you information about the product, as well as where you can find it online or at nearby stores and for how much. Obviously, something like this is a window shopper's dream. ShopSavvy was one of the best early Android applications. It launched in October of last year after winning one of the initial Android Developer Challenge top prizes (when it was still known as GoCart). But despite the success it has seen on Android, o

部门心脏?您好!!              生产计划与物料控制PMC高级研修班 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 课程背景: 生产计划和物料控制(PMC)部门是一个企业"心脏", 掌握着企业生产及物料运作的总调度 和命脉,统筹营运资金、物流、信息等动脉,直接涉及影响生产部、生产工程部、采购、货仓、品 控部、开发与设计部、设备工程、人力资源及财务成本预算控制等,其制度和流程决定公司盈利成 败.因此PMC部门和相关管理层必须充分了解:物料计划、请购、物料调度、物料控制(收、发、退、 借、备料等)、生产计划与生产进度控制,并谙熟运用这门管理技术来解决问题,学习拉动计划价 值流(VSM)图,从拉动计划价值流切入剖析工厂制造成本和缩短制造周期 ,提高物流过程循环效 率(库存、资金的周转率)及客户满意率;为降低或消除物流过程中的非增值活动. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 课程目标: 1、建立制定完善的生产与物控运作体系?提升准时交货和降低库存成本 2、预测及制定合理的短、中、长期销售计划?达成公司策略管理目标 3、对自身的生产能力负荷预先进行详细分析并建立完善产品数据机制协助公司建立产品工程数据 4、生产前期做好完整的生产排程和周生产计划?提高备料准确率,保持生产顺畅 5、配合生产计划做到良好物料损耗控制和备料?完善降低物料损耗机制和停工待料工时 6、对生产进度及物料进度及时跟进和沟通协调?缩短生产周期,提高企业竞争力 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 报名详情: 培训时间:2012年11月 3- 4深圳 11月15-16上海 11月22-23北京 12月 1- 2广州 承办单位:新 活 力 顾 问 培训对象:生产计划部门、物料计划部门、采购部门、 生产部门、销售部门、物流、研发部门、 PIE、IT 培训费用:3200元/人(包括资料费、午餐及上下午茶点等) 报名热线:400-623-8399 (免长途话费) 电邮: QQ:120915