I'm having problems to make my site creation work.

I followed the guide at http://blog.sharedove.com/adisjugo/index.php/2012/07/25/visual-guide-setting-up-my-sites-in-sharepoint-2013/ , everything is setup as what described. If I go to personal site, i.e. http://my_host.com:80/my/myinc_sp_test , I can see the new site link. When click it, it pops this error shown in screen shot. What I wanted to do is create the site collect at: http://my_host.com:80/my/testtest

However, if I go to this page's site content, create a subsite, it works fine. One subsite url is shown in screen shot with yellow circle. The created subsite is at: 

http://my_host.com:80/my/myinc_sp_test/testtest


myinc is the domain name, it is the prefix for personal site.


anyone knows something about this error? or any clue how I can fix this?

BTW, if I go to http://my_host.com:80/_layouts/15/scsignup.aspx , I can see the create team site page, fill in info, click the create button. It shows error with no much other info.

Thanks



* BTW, I just know 1 thing: this site collection (my site host) was migrated from another server. Here is how it was done: create web app on this new server, then export content database from the old server, then attach to the new server. after this, everything else works fine. Could it because of this?

UPDATE: This is odd. I removed all permissions, add permissions, disable self-service, then enable self-service. Then try to create the site (it is site collection, not subsite under personal site). same error messages. The setting I use is in below screen shot:


So, I played the settings, and I accidentally changed one setting: I removed the "my/[%userid%]" in the above screen (so it is blank). When I try to create site again, it shows this error:



I'm using a domain user account. So I think if I use a farm admin account, it should be ok? It turns out YES. It works for farm admin! So, it is because of permission! But what permission? So I removed all user permissions again, and add permissions again (just like i did before), weird thing happened: now, it works for domain user! but only for root domain http://my_host.com/ . I played more and found a more weird thing. See the 2nd screen shot, I choose the "Prompt users to create a site collection under any managed path" (red circle), when I click add new site, it works:



See the site collection url, http://my_host.com/my/my_test_site_collection ? I do not understand what the difference between this and the choice in the 1st screen shot (if I give it a name my_test_site_collection).

Anyone understand this? to me, I'm ok with it since I can use it (the last screen), but would like to know why it shows error in the first screen.


Question: JQuery .replaceWith() html element to div class
Answer: Firstly, your opening a div tag and closing an h1 tag.

Secondly, your quotes are mismatched within the .replaceWith bit.

I would do this instead:

&lt;h1 id="replaceme"&gt;Blog&lt;/h1&gt;
&lt;script&gt;
$(window).load(function() {
    $("#replaceme").replaceWith('&lt;div class="blog"&gt;Blog&lt;/div&gt;');