Enable .NET Framework 3.5 on Windows 8 or Windows 8.1 in Offline Mode

Hey Folks,

You may or may not notice Windows 8 does not include .NET 3.5 (Which include .NET 2.0 and 3.0) Framework by default. But if the user is upgrading from Windows 7 to Windows 8, .NET Framework 3.5 will be fully enabled. The user can make sure whether this feature is enabled by checking in Program and Features.



Steps to Enable :

Go to Control Panel, Select ‘Small icons’ in ‘View By’ option & Click on ‘Program and Features’ link.

control_Panel_view

In ‘Program and Features’ window you could see ‘Turn Windows features on or off’ link located on left top of the window, Click on that.

programs-features

On clicking ‘Turn Windows features on or off’, a window will appear like the one below

Windows_Features_Window

You could see .NET Framework 3.5 (includes .NET 2.0 and 3.0) option as Checked because I had already installed this feature. Since the installation is yet to happen, In your case it may not be checked/marked.

Enabling .NET Framework 3.5 With internet connection (Online Mode)

You can enable this feature by clicking on .NET Framework 3.5 (includes .NET 2.0 and 3.0) select it and click OK. After this step, it will download the entire package from internet and install the .NET Framework 3.5 feature. If you don’t not have an internet connection, this step cannot be applied.



Enabling .NET Framework 3.5 Without internet connection (Offline Mode)

You can still enable this feature in offline mode if you’ve Windows 8/8.1 DVD or ISO image. (In fact, Windows 8/8.1 Installation files)

Step 1:

Insert Windows 8/8.1 DVD or mount ISO image. The source of this feature can be found in folder D:\WINDOWS8.1\sources\sxs. (Assumption : D:\WINDOWS8.1\ is the root directory for the windows 8.1 Setup/Installation files )

windows_8_dir

Step 2:

Open Command line (CMD.EXE) with Administrative Privileges (Run as administrator)

Step 3:

Run the command Dism.exe /online /enable-feature /featurename:NetFX3 /All /Source:D:\WINDOWS8.1\ sources\sxs /LimitAccess, and hit Enter. That’s it. It’ll start installing* .NET Framework 3.5 in your PC.

cmd_.net_installation



*The installation time may vary depending upon the performance of your PC.

Hope this helped for you. Cheers..:)

Download MySQL Workbench For Windows Free

MySQL Workbench is a unified visual tool for database architects, developers, and DBAs. MySQL Workbench provides data modeling, SQL development, and comprehensive administration tools for server configuration, user administration, backup, and much more. MySQL Workbench is available on Windows, Linux and Mac OS X.



Download MySQL Workbench For Windows (Version 6.0.9, 32 Bit)

Deprecated Warning : Assigning the return value of new by reference is deprecated in * on line *

Hey there,

Did you get this Warning/Notice? :

Deprecated Warning : Assigning the return value of new by reference is deprecated in *  on line *

In PHP5 this notation is deprecated

$obj =& new Class();

That would generate the warning but ‘&’ is not required and can be removed.

$obj = new Class();

To see why this was used in PHP4, see  http://www.php.net/manual/en/oop4.newref.php

Cheers,

JENSon.




Google has blacklisted php.net website!

PHP Developer’s Home php.net has been blacklisted by Google. I think that’s probably happened ~ in between 23rd October 2013 11:15 PM IST and 24th October 2013 9:35 AM IST. Tha actual problem is that Google’s Safe Browsing technology is blocking access to PHP.net as a precaution, after apparently detecting that some of its pages were booby-trapped with links to malicious software. php.net is widley used by coders all around the globe. Google didn’t specify the types of Trojans associated with the apparent attack but it did state the domains they came from. Users visiting the PHP.net site using Google Chrome, Mozilla’s Firefox and or Apple Safari (Mozilla and Apple both license Safe Browsing from Google) were confronted by a warning firmly instructing them not to proceed any further.

PHP founder Rasmus Lerdorf on Twitter (@rasmus) tweeted :

“It appears Google has found a false positive and marked all of  http://php.net  as suspicious. pic.twitter.com/YDlHcUnCK6 “

But One Googler (http://goo.gl/8jyJRx) told in this post (http://goo.gl/Iw2Fx4) :

“What our systems found was definitely a compromised JS file, and others on this thread have posted something similar to what we saw. This is not a false positive.

We have detailed help for webmasters in this kind of situation:

http://www.google.com/webmasters/hacked/

One thing that I strongly suggest to any webmaster in this situation is to look for any server vulnerability that allowed this file to get compromised in the first place. We sometimes see webmasters simply fix the affected files without digging into security hole that allowed the hack, which leaves the server vulnerable for repeat attacks.”

Zend Co-Founder Zeev Suraski (@zeevs) replied to my tweet related to this issue:

zeev_tweet_jensons

Below are the screenshots links which shows malware warning :

Firefox Warning

Chrome Warning

Google Search for ‘php.net’

Whatever the problem my favorite website is blacklisted by Google!..:( Google will remove this warning soon (Hopefully) !

Cheers,

JENSon.

Import sql file from mysql command line by using PuTTY emulator

Hey there,

By Using phpMyAdmin, The sql file import operations for bigger files are very difficult. There is a chance that it’ll timeout during the operations and also, browser will be using heavy memory. So how to get rid of these issues?
No problems! Just try importing the sql file directly in mysql console (command line). I’m explaining the steps based on a web hosting context. (For eg. You’ve a hosting account (Shared or Dedicated) with GoDaddy, Bluehost, Hostgator etc)

Steps:

  • Login into your server using PuTTY
  • login into mysql console
mysql -uUsername -hHostname -pPassword

(This is the command for directly logging into the mysql server. Please note that there is no space after -u, -h, -p. Also Replace Username, Hostname & Password with your DB details)

  • Choose your database for import operation
use DBname;

Replace DBname with your own database name

  • Import operation
source /var/hroot/home/contents/07/2342341/fhtml/sql/yourSql.sql

The import operation initiates once you execute the above command. We used source command to specify the location of your sql file (You’ve to give correct path of the sql file). That’s it.

Cheers,

JENSon.