PHP Warning (Invalid CRT parameters detected ) by qTranslate on WordPress

If you use qTranslate plugin with WordPress, you may see many warning message like below information on Apache and PHP with Windows OS.

qTranslate Warning: Invalid CRT parameters detected in … \wp-content\plugins\qtranslate\qtranslate_core.php on line 447

I will give you 1 method to resolve this problem if you want to remove many warning messages

How to remove warning messages

if you want to remove many warning messages, you should edit ‘… \wp-content\plugins\qtranslate\qtranslate_core.php‘ like below codes.

$search[] = '/(([^%])%4|^%4)/'; $replace[] = '${2}'.$date; // date U
$format = preg_replace($search,$replace,$format);

// Add Windows
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
$format = str_replace('%P','%p',$format);

return $before.strftime($format, $date).$after;

It is very easy probrem.
You cannot use ‘%P’ that format in strftime function ( PHP ) with Windows OS.
You should use ‘%p’ if you want to remove warning messages with Windows OS.

%p UPPER-CASE 'AM' or 'PM' based on the given time Example: AM for 00:31, PM for 22:23
%P lower-case 'am' or 'pm' based on the given time Example: am for 00:31, pm for 22:23

Prettyphoto And RTL

Find all text-indent properties in PrettyPhoto CSS file (They are about 6 in my version) and change all their value from negative to positive.That’s it!

You can use an advanced text editor and just replace

and you are done.
(If when viewing a photo you see horizontal scroll, add “overflow: hidden;” in each CSS rule that you changed its text-indent)

Microsoft Windows 7 Enterprise x64 SP1 Integrated June 2012-BIE

Microsoft Windows 7 Enterprise x64 SP1 Integrated June 2012-BIE

Thanks To Psyko666 it worked

just run in Command Prompt


Windows 7 Enterprise/Professional MAK Key [04-09-2012]


Hi Mahmoud Saed

new update

Windows 7 Enterprise And Professional MAK Key 19.07.2012

[Remaining Activation: 3258]

[Remaining Activation: 1295]

[Remaining Activation: 924]

[Remaining Activation: 805]

[Remaining Activation: 107]


Windows 7 Enterprise Key 11 feb. 2013

slmgr.vbs -ipk TQ47V-F64FR-KPW3Q-HMCM9-7W4RC