Categories
Technology Web Development

Get $30 ThinkHost Coupon code NOW!

I’ve been working with the best web hosting geek on website optimization, speeding up pages, securing data… He’s become also one of my advertisers and bought an ad spot on Gibni.

Just now, I got a $30 web hosting coupon from the best web hosting site !

If you doubt buying a web hosting plan, this could help you make the right decision. Here’s a ThinkHost coupon, giving you $30 off your bill! So no more hesitation please!

ThinkHost Coupon Code: oak_ah98 



Why choose ThinkHost?

  1. It’s a “perfect” host,
  2. It runs on renewable energy (wind and solar)
  3. Gives you 100% uptime guarantee
  4. Gives LOTS of unlimiteds ( Space, Bandwidth, Websites, Databases…)
  5. AND FREE SITE BUILDER FOR BEGINNERS
  6. It’s not expensive at all, and also becomes very cheap after the coupon code!
  7. And above all, just because I recommend it!
Categories
Technology

Windows 7 Installation Error – Solved

Trying to install Windows 7 Ultimate (build 7600), I got the “Windows could not prepare the computer to boot into the next phase of installation” error message. I tried the installation once again, but the error kept appearing.

The problem was that I had deleted my old Windows XP, and though I had no operating system on the PC. Fortunately I did burn a copy of ” The Ultimate Boot CD 4 Windows” and it saved me a lot of time throught the process.

After searching for the possible solutions, I came to the conclusion that this error did appear regularly on Vista but as the Windows 7 is quite new, there where no clear documentation on how to resolve this problem.


Possible solutions are:


Disk Errors:

  • Run a “CHKDSK X: /F” on your target disk (by replacing X with the proper drive letter)
  • Format the installation target partition with tools like Ultimate Boot CD
  • (WORKING SOLUTION FOR MY CASE) Using the Windows 7 installation wizard, firstly “DELETE” the installation target partition, then “CREATE A NEW” partition, and then with the same wizard, “FORMAT” the partition.


Unattend Setup:

  • If you run an unattended setup, you might face the “Windows could not prepare the computer to boot into the next phase of installation” error message, and this is most probably because of improper partitioning information in the “unattend.xml” file.
  • Check “Windows could not prepare the computer to boot into the next phase of installation” error on Microsoft knowledge base for details on this scenario.
  • You can also try to remove the “unattend.xml” file and re-burn the source, to proceed with an attended install.


System incompatibility:

  • To make sure that your hardware is not causing this error, I would recommend you remove all uneccessary connected devices, and keep only the strict minimum.
  • Check for the minimum system requirements for Windows 7 on Microsoft’s “Windows 7 minimum system requirements


Installation Source:

It might be possible that the DVD you’re using for the installation be corrupt, so check it once, and if possible, get yourself another installation source.

Categories
Security Technology

Windows Delayed Write Failed Error – Solutions

Window Delayed Write Failed ? Solutions are here!


This topic is researched, tested and written by Amir Hossein Moradi.
harddriveicon
This is the third article on the Windows Delayed Write Failed error occurring with hard drives (mostly external ones with USB/Firewire/Network connections). On 28th December 2007, I wrote the Windows – Delayed Write Failed – Solved! article which had more than 190,000 views, and helped many users till date. On 9th June 2008, the second article on this topic – Windows Delayed Write Failed – Latest Solution – which had more than 34,000 views till date, was out and is still getting many users out of trouble.

Now, it’s time to write the 3rd article and sum up all possible solutions for the Windows Delayed Write Failed error.

about_write_delayed_failedAbout Delayed Write:

Windows uses a special subsystem for certain disk functions, which caches write operations and performs them when the system is idle. This can improve system performance, but it’s typically turned off by default. The term for this kind of operation is “delayed writing”.

You can see how write-caching is handled for a particular volume by right-clicking on the icon for the drive in the “Disk drives” subtree of the Device Manager and selecting the Policies tabs. The options typically are “Optimize for quick removal” (everything is written to the drive immediately) and “Optimize for performance” (writes are cached).

about_write_delayed_failedAbout the error:

“Windows Delayed Write Failed” error occurs usually when the caching process gets interrupted or the files to be cached get corrupted, either because of a drive failure, a cable failure, or a USB interface fail!
This error might happen to brand new drives as well as good working old ones.

write_delayed_causeCause:

This error might be caused by several factors:

  • Cache settings
  • System Restore settings
  • Device drivers
  • Media error, drive failure
  • USB/Firewire host controllers
  • Drive overheating
  • Mis-configured BIOS settings
  • Ultra Direct Memory Access (UDMA) mis-configuration
  • Unmatched cables
  • Faulty cables
  • Memory parity conflict
  • Power management drivers

 

write_delayed_solutionResolutions:

Here are different resolutions to the problem, I’ve arranged them in such a way that the most probable and easy to apply is at the top of the list. Read all resolutions carefully before any attempt on your drive(s) and/or computer(s).

1. System Restore Settings:

Users reported that Windows might try to write system restore data on the external drive, or try to monitor the drive in case of a system crash. This procedure might be a cause for the Delayed Write Failed error. What to do is quite simple. Just follow this photo tutorial:

Open your Control Panel:
click-control-panel

Open System:
control-panel-windows-xp

Go to System Restore tab, choose your external drive, and click the Settings button:
System-restore-settings-windows-xp

Check the Turn off System Restore on this drive checkbox and click OK:
system-restore-monitoring-settings-windows-xp

Now, you need to restart your computer, and if System Restore configuration was the issue, it should be solved.

2. Device drivers:

Some older RAID device drivers are known to cause the Write Delayed Failed issue, so do check with you hardware manufacturer for the latest device drivers.
I suggest that you check for:

  • latest RAID drivers for your hardware,
  • latest BIOS for your motherboard,
  • latest chipset drivers,
  • latest USB hub (host controller) drivers,
  • latest graphics card drivers.

 

3. Overheating:

First thing to try is to see if your drive is not over heating!
According to Seagate, “the operating temperature range for most Seagate hard drives is 5 to 50 degrees Celsius”.[5]
This is true for most of hard drives on the market, either you have a Maxtor, Seagate, Samsung, Western Digital or other brands of hard drive, you should keep it under 50 degrees Celsisus ( equivalent to 122 degrees Fahrenheit)

4. Faulty cables:

Check your cables!
Old USB (or FireWire) cables, can be faulty and cause packet loss. Faulty cables can cause severe damage to your hardware, so check your cables and it’s recommended that you buy some new and good quality cables.

5. Unmatched cables:

Check your cables, again!
If you got an IDE drive, then you should check the connector to be the right one! You are using a 40-wire connector cable to connect the UDMA drive to the controller instead of the required 80-wire, 40-pin cable! Fix this and you should be finished.
Read this article from Microsoft:  You receive an error message when you save or move documents in Windows XP: “Delayed Write Failed”

6. Mis-configured BIOS settings:

When your computer starts, click the “Del” button (or F2) to go to the BIOS Setup of your motherboard. (Check your motherboard documentation  for a detailed how-to).
“This error typically occurs when the “Enable write caching on the disk” feature for your hard disk is turned on.
However, if the “Enable write caching on the disk” feature is turned off, this error can occur because the Ultra Direct Memory Access (UDMA) hard disk controller may be configured in either of the following ways:
– You are using a 40-wire connector cable to connect the UDMA drive to the controller instead of the required 80-wire, 40-pin cable.
– The BIOS settings are configured to force faster UDMA modes.” [6]
so, check for Ultra Direct Memory Access (UDMA) mis-configuration!

7. Cache settings:

As described in my previous article, Windows Delayed Write Failed – Latest Solution , incorrect cache settings may cause the Write Delayed Failed error to occur, so you should check the cache settings for your computer and controllers. Read the article to find out all the details.

8. USB/Firewire host controllers:

After a lot of research on the Write Delayed Failed issue with different types and brands of hard drives on different PCs, I’ve come to the conclusion that, this error is usually caused by the USB/Firewire Host Controller, which is usually built-in on the motherboard.
To rectify this error, you should buy a recent PCI USB expansion card and add it to your PC. These cards cost around 20$ and are easy to install and need usually no specific configuration. But you should know that once you installed a PCI USB card, you should connect your hard drive only to this card’s USB ports.
Remember to not connect your drive to a faulty USB hub, and avoid external USB hubs without power supply adapter.

9. Media error, drive failure:

This is one of the worst case senarios. As hard disk drives are mechanical parts of your computer, they may go faulty and fail some day. You might want to do a hard disk check to find out the overall health of your drive. Checking a drive for bad sectors, or checking with the Spin Rite tool (https://grc.com/), and also using the S.M.A.R.T. technology to determine the overall perfomances and  health status of a drive are recommended.
Use your favorite search engine, to find a free S.M.A.R.T. monitor tool which will tell you about the drive’s health.

10. Memory parity conflict:

Even if this is one of the most rare causes to the Windows Delayed Write Failed error, but it should not be left out. In older motherboards, if the error message appears after you’ve inserted a new RAM, the incompatibility of the new RAM with the older one(s) might cause this type of errors. In this case, I would recommend that you check for memory compatibility and use the same BUS when matching RAMs. You may want to consider upgrading to recent hardware.

11. Power Management drivers:

As mentioned by some users, in some cases, disabling the Power Management feature of Windows, solves the issue. To do so, go to “Control Panel”, go to “Power Options” and set the “Turn off hard disks” to “Never”. Disable Power management softwares if you can to see if that solves the issue.

References:

1- Great comments from Gibni’s Visitors!
2 – https://gibni.com/technology/windows-delayed-write-failed-solved/
3- https://gibni.com/technology/windows-delayed-write-failed-2/
4- https://searchwinit.techtarget.com/tip/0,289483,sid1_gci1041334,00.html
5- https://www.tomshardware.co.uk/forum/page-261614_10_0.html
6- https://support.microsoft.com/kb/330174

Special Thanks to:

You, dear visitor, for spending your time reading my articles,
My friends and family for supporting and motivating me,
and all people who contributed to this article with their comments, experiences and critics.

Categories
Blogging Money Talks Ramblings Web Development

Mark Gibni.com's History

Have you found an article, post or comment useful on this site and it saved you time or/and money?

Many people have visited Gibni.com since its first day and the number grows everyday. Do you want to mark the history of this site by bringing some help to it?


Helping_hand_gibni


Currently I am writing the 3rd article on the Delayed Write Failed error message which will hopefully help people with this issue to get their hardware work properly as expected.

The 4th part of TOP Symbian Applications is on the way too.


I expect an increase in my unique visitors by 7 000/month. Which will lead to about 30 000 unique visitors per month.

My first goal is to provide information for free, and make it accessible to everyone. All of this takes time, a lot of time.


Many visitors wanted to say “Thanks” for the information I provided here and that helped them in some way, so I recently started a new section, which you might have already seen, it’s the Donations page. Here you can donate any amount of money to help me continue the developpement of Gibni and if you donate more than 10 USD, you can show a name and a link of your choice on the Donators list.


Go ahead and Buy me a drink (Coffee: 3.5 USD, Beer: 4.5 USD or Fresh soda: 2.5 USD) at least if you can’t donate a larger amount.

Thanks for your great support.

Categories
Technology Web Development Wordpress

Posts and comments in “any” language in WordPress!

Have you ever thought of writing your blog posts in a language other than English? or even let your visitors leave comments in another language!?


Well, some may answer with “Yes! in French!” (or Portuguese, or Italian…), but, what I mean is in other languages like Arabic, Farsi (Persian), Urdu, Chinese…, languages which have characters other than the basic “A,B,C…”

Basically, when you write a blog post on your blog, it is stored in a database, and what characters that database supports, defines the characters you can use for writting your post.


Well discuss about the two general types of WordPress, the WordPress.com blogs and self-hosted WordPress installations.


WordPress.com blogs:


Typing other languages such as Farsi or Russian or Arabic should be supported by default and you should be able to write in almost any language without problem.

But if it’s not enabled on your account, according to Fatih Syuhud [1], you should:

– Login to your administration area on WordPress.com

– Go to “Settings” > “Reading”

– and set the encoding for “Pages and Feeds” to “UTF-8”

This procedure gives you the possibility of writing all kind of characters on your pages and posts and feeds.

Encoding for other specific character:

  • Latin/Hebrew: ISO-8859-8
  • Hebrew: windows-1255
  • Latin/Arabic: ISO-8859-6
  • Arabic: windows-1256


Self-hosted WordPress installations:

Remember that you take full responsability for the modifications and actions you do on your blogs/sites! Proceed at your own risk.


The contents of posts are stored in a table called wp_post (by default) inside your WordPress main database.

What defines the type of characters supported by a table, are the charset and collation of the table.

By default, all installations of WordPress (prior to 2.3.1), use the latin1_general_ci (or latin1_swedish_ci) encoding for their rows and tables.


To post articles in Arabic or Farsi (Persian) (or Urdu, Chinese, Russian…), you should change the encodings of specific tables and respective rows to utf8_general_ci.


Step One: Backup


You should first of all, backup your files and database! use Lester ‘GaMerZ’ Chan’s WP-DBManager plugin, or do it manually by following the procedure from this article: WordPress Backups.



Step Two: Convert


First Solution proposed by Fatih and Mukhlas Rowi [3] ( 70% success rate , maybe some data loss)  is:

– Open your WordPress database in phpMyAdmin (in cPanel),

– Click on the “wp_post” table and then click on “Operations”,

– Change the collation to “utf8_general_ci”,

– Save.

– Now, browse to the “wp_post” table, and check all rows with a collation attribute,

– Click on “Edit” bellow the list of selected rows,

– Change all collations to “utf8_general_ci”,

– Save.

That’ it.


Second solution: Use a plugin to do the conversion! I’ve tested the bbwp2UTF8 plugin and it works great (at least with WordPress 2.7.1), you can download it from my Downloads Page or from WordPress.org home page: bbwp2UTF8 Home page. ( 30% success rate, big data loss)


– Install the bbwp2UTF8 plugin by extracting its content in your plugins directory (usually /wp-content/plugins ),

– Go to the plugin’s page (link is below the “Plugins” section on the left side of the page in WordPress 2.7) .

– Check the desired tables to convert ( I recomment you convert all tables),

– Proceed with the steps to complete the conversion procedure.


That’s all! Your database and tables have been converted in the right manner, and you should not face any loss of data.


(In case you don’t like the plugin suggested above, or it doesn’t work for you, you may try: UTF-8 Database Converter by g30rg3_x ( I haven’t tried this out!) )


Geeks’ solution: Follow the guide at WordPress.org : Converting Database Character Sets



Now you can type UTF8 characters in WordPress and let your visitors type in UTF8 characters in the comments section.



Read More here:

https://codex.wordpress.org/Converting_Database_Character_Sets

https://www.haidongji.com/2008/11/11/convert-character-set-to-utf8-in-mysql/

https://www.prelovac.com/vladimir/ultimate-solution-to-weird-utf-character-encoding-problem

https://codex.wordpress.org/Editing_wp-config.php#Database_character_set

https://www.haidongji.com/2009/02/16/perl-script-to-convert-mysql-character-set-to-utf8/

https://wordpress.org/extend/plugins/utf-8-database-converter/installation/

Ref:

[1]- https://fatihsyuhud.com/2009/01/16/how-to-enable-arabic-letters-in-wordpress/

[2]- https://codex.wordpress.org/Converting_Database_Character_Sets

[3]- https://www.mukhlas-rowi.web.id/2008/11/11/mengatasi-problem-penulisan-huruf-arab-di-blog/