Monday, April 16, 2012

iTunes Blank Screen Can’t Load App Store

So recently I ran into an issue where iTunes couldn’t load the app store and a blank screen would just display while it endlessly searched.  I also installed Safari and the same issue would occur there as well, Safari just would have a blank screen and never load any page.
Like most users I did a repair, uninstall / reinstall and none of the problems resolved.  Ironically I searched on Apple forums at the time and couldn’t find a solution, so I opened a case with Apple about my iTunes not loading the app store and having a blank screen.
It turns out that resetting the Winsock on a Windows 7, Windows Vista or Windows XP SP2 or later machine was the trick.
image thumb2 iTunes Blank Screen Can’t Load App Store
So if you are stuck with a blank screen, and you can’t load iTunes App store or Safari has a blank screen, then try the following.

Fix iTunes Blank Screen Issue

Open up your Windows Command Prompt

For Windows Vista/7 you need to open as Administrator (right click > open as administrator)
image thumb25 iTunes Blank Screen Can’t Load App Store


Apple support referred me to this thread after sending me the following instructions and I just wondered why I couldn’t find that thread previously, it would have saved me from opening a case:  https://discussions.apple.com/thread/3371153?start=15&tstart=30

Reset the Winsock

Type in “netsh winsock reset”
image thumb26 iTunes Blank Screen Can’t Load App Store

Reboot your computer


Test iTunes or Safari by loading it again


This should solve most of the blank iTunes screen or Safari not loading any site problems, if it doesn’t then try uninstalling/reinstalling iTunes or Safari and check the Apple forums for an exact match of your issue if you are given an error code.

Sunday, April 1, 2012

Config host VMware in window and access url from window

Config host VMware in window and access url from window

1) Check networking setting in VMware

2) Select Host-only: A private network shared with host
or select custom: specific virtual network select VMnet1(host-only)

3) Goto network setting in window

4) Set IP of VMware Network Adapter VMnet1(example IP: 10.50.1.1, subnetmark 255.255.255.0)

5) Goto VWMware server change IP to 10.502.1.2 and subnetmark 255.255.255.0

6) Then restart network service

7) Try access web browser from window 10.502.1.2 to access WMware server.

Tuesday, March 27, 2012

Crontab in UNIX with PHP



1-crontab -e (edit cron)

2:-----------

*/5 * * * * /usr/bin/curl http://abc.com/index.php > /dev/null

5=minutes
/dev/null=clear email

Thursday, March 15, 2012

Remove index codeigniter with wamp in httpaccess

Remove index codeigniter with wamp in httpaccess


IfModule mod_rewrite.c


RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteBase /Test_codeigniter_plugin/
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]


IfModule

Wednesday, January 18, 2012

Fix for Joomla ‘JFolder::create: Could not create directory’ Error


Unlike other Errors, the fix for this error is pretty Simple. Follow the steps below to fix it.
#1 Goto your Hosting panel >> File Manager >> Select your Domain/Sub-Domain and then open the configuration.php file.
#2 Find var $log_path, it will contain the Directory path of your Old Server. Just replace the whole line with the code var $log_path = './logs';
#3 Find var $tmp_path, it will also have the Directory path of your Old Server. Replace the whole line with the code var $tmp_path = './tmp';

Tuesday, January 10, 2012

Convert DateTime to Month/Year(SQLServer)


Convert DateTime to Month/Year(SQLServer)

select convert(varchar(2),datepart(month,getdate())) + '/' +
convert(varchar(4),datepart(year,getdate())) 

Thursday, January 5, 2012

DATE FORMATE OF MYSQL AND SQLSERVER

SQLSERVER

date>='mm-dd-yyyy' and date<='mm-dd-yyyy'

MYSQL

date>='yyyy-mm-dd' and date<='yyyy-mm-dd'