WordPress 2.5 and IIS error and solution

After installing WordPress 2.5 I started getting a line of error text in every page of the admin area:

Notice: Undefined index: PATH_INFO in C:\WebSites\user\webroot\blog\wp-settings.php on line 72

Notice: Undefined index: PATH_INFO in C:\WebSites\user\webroot\blog\wp-settings.php on line 75

To solve this issue you need to edit the wp-settings.php file.  Open the file in your favorite editor and after line 71 or “// Some IIS + PHP configurations puts the script-name in the path-info (No need to append it twice)” insert the following:
if ( isset($_SERVER['PATH_INFO']) ) {

add the closing “}”  just above the original line 77 or “// Append the query string if it exists and isn’t null”

With those changes the problem is solved. I assume this problem will be fixed in the next release of WordPress.

Starter Kit Friendly Web Host

[ad#square-post-ad]Since my favorite web host has moved upstream and no longer will offer starter (e.g. less than $59/ month) hosting plans to users I have a new starterkit friendly hosting company – http://aspkit.net – You get MS SQL 2005 with all plans, auto install of many startkits, full trust environment, free 7 day trial and much more all startering at $9.95/ month.  If you have been banging your head against 1and1 or godaddy service and tech support or if you just need a full trust environment this is the place for you.  Aspkit.net is .NET only and focuses on starter kit hosting with a support staff that knows your issues. If you want to see how easy it can be to get your starterkit online check out http://aspkit.net. Give it a try.

Google Map API – Adding address markers and geocoding

I had a need to add a set of markers to a Google map using the Google Maps API that could be easily modified over time.  It is fairly easy to add markers with the Google Maps API but I wanted to put something together that will do the geocoding at the same time so I don’t have to manually add the lat / lng coordinates when I just want to add an address.  As a result I put together the following bit of script.  The addresses are loaded from an xml file named data.xml, geocoded and then added to the map.  If you are going to use this example for yourself, just add your Google Maps API key and enter the addresses you want to add. You can visit a LIVE SAMPLE or download the full html page and associated data.xml file from HERE.  [Read more...]

Working with the My Web Pages Starter Kit

I had a need for a simple content management system website that could be up and running with minimal effort and the “My Web Pages Starter Kit” fit the bill. The “My Web Pages Starter Kit” is as simple as it gets to  install and use – just upload the files to your host and you can manage everything in your browser.  It is very shared hosting friendly as it works in a Medium Trust environment and does not need a SQL database since it stores data in XML files.  It comes with 16 themes that you can select from and is available in 8 languages and counting.  So that is the good news.  I found some of the built in features a little weak and the community support to be a bit tepid but if you are looking for a simple CMS and don’t want to invest the time to ge up to speed in DNN, you should check it out.  It may fit the bill for you if its built in features meet your needs.

What you need to know about Domain names

If you are just getting started with your web presence you have figured out that you not only need to find a web hosting company you also need a domain registar to get the name of the site you want.  There are two main options when it you are considering a domain registrar – do you use your web hosting company or do you use a third party?  The pro for going with your web host is simplicity – if you are a novice user this is going to be one less step for you if you just use your web host.  If you are willing to put up with slightly more complexity you can choose a third party domain name provider such as Moniker, Domainsite or Namecheap.  [Read more...]

Setting up your ASP Starter Kit on UltimaHosts.net

The walkthrough for setting up your Starter Kit on Ultimahosts.net is as follows:

  1. Log into your DotNetPanel (AKA control panel) at http://home.ultimahosts.net/ and then select the User Space where you will locate your web site (Starter, Standard, Unlimited – depending on the type of plan you signed up for)
  2. Under the “Hosting Space Menu” on the left click on “Domains” and add the domain name you will use for your site.
  3. Again under the “Hosting Space Menu” click on “Web Sites”, then click on the ”Create Web Site” button and associate the domain you just entered in step 1 with your new web site.
  4. [Read more...]

How to Get Your Starter Kit Launched on a Web Host

The most common problem for the novice Starter Kit user is moving their site from their personal computer to their web host.

A common stumbling block is the database configuration.  When you run the StarterKit on your personal computer a database file is created in the App_Data folder of your site and everything works fine. When you move the site to your web host this database will not work for you.  You are going to have to copy the information from the database on your personal computer and replicate it to your Web hosts SQL Server Database either through a backup and restore proceedure (which is the way I like to do it) or through running a script against the hosted database.  Check out the steps below for the details.

I am assuming you have your site up and running just fine on your local machine and here are the steps to move to a hosted environment.

Basic Steps:

1) Get a web hosting account.  You already have one you say?  Great, but all web hosts are not created equal.  Not to knock anyone in particular too much but some of the large (and inexpensive) web hosts (godaddy, 1and1, etc.) make it a challenging to get your starter kit to work.  In particular, some starter kits such as CSK and Club Starter Kit 2.0 among others require that you have a full trust rather than a medium or partial trust environment on your Web host.  This is not going to be something that you can change – either your host provides it or they do not.  There are several hosts that specialize in .NET hosting (such as discountasp.net, Ultimahosts.net among many more) and they will make your life much easier when you want to go live with your web site.  It is up to you but you may be able to save yourself a lot of time and anguish by researching which web hosts work well with your particular Starter Kit.  In addition, many of the hosts that specialize in .NET hosting have an option in their control panel where they will automatically install a blank Starter Kit into your hosted space.  Now this is not going to help you if you have already customized your Starter Kit locally but if you are just now getting started there is no easier way to get live on the Internet.

2) Create a blank SQL 2005 database on your Web Host.  The exact steps to do this are going to vary by Web Host by will be accomplished from your online control panel.  Be sure to write down the name of the database you created.

3) Create a user for that database on your Web Host.  Again the exact steps are going to vary but it will be accomplished through your control panel and you will need to write down the user name and password you created.

[Read more...]