Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

No content appears in edit mode after chaging website url in EpiServer 8

Vote:
 

Hi, there,

So I need to set up a copy of our production site as the stage site. Production has the url www.oursite.com. Stage is stage.oursite.com. After editing the site url in Admin, the site runs correctly, but I am getting error messages in edit mode.

I suspect that there must be some kind of identifier that tells the system that each page belongs to a specific url. Is this right? If I am wrong, any ideas on how to fix it?

#150982
Jul 05, 2016 22:17
Vote:
 

Map url to correct language and have one mapping for * might help.

#150984
Jul 05, 2016 23:02
Vote:
 

Turn on log4net logging on info and check what they say. Need a bit more specific errors I think to pinpoint it.

#150985
Jul 06, 2016 2:02
Vote:
 

Thanks for the suggestions. Let me try those.

#151002
Jul 06, 2016 16:31
Vote:
 

Accually there are not so much more you need to do (or might need to add that star mapping like Erik suggested)

When I do stuff like that I always updates it directly in the database like descibed here:

http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=86450

All you need to do is run a SQL-skript like this:

use MySite
  
update dbo.[tblSiteDefinition]
   set SiteUrl = 'http://test.site.com/'
 where Name = 'MySite';
     
update dbo.[tblHostDefinition]
   set Name = 'test.site.com'
 where Name = 'www.site.com';
#151012
Jul 06, 2016 17:30
Vote:
 

I added the correct language and I added the mapping for *. That didn't seem to work.

I turned on log4Net on Info.  The INFO entries give me this

2016-07-06 11:00:55,940 INFO [33] ?.? - cacheKey=EP:LanguageBranch, returning an object of type TObject
2016-07-06 11:00:55,940 INFO [33] ?.? - cacheKey=EP:LanguageBranch
2016-07-06 11:00:55,940 INFO [33] ?.? - cacheKey=EP:LanguageBranch
2016-07-06 11:00:55,940 INFO [33] ?.? - cacheKey=EP:LanguageBranch, retry 1, calling CacheManager.Get for key
2016-07-06 11:00:55,940 INFO [33] ?.? - cacheKey=EP:LanguageBranch, retry 1, CacheManager.Get returned object of type EPiServer.DataAbstraction.LanguageBranchCollection[] for key
2016-07-06 11:00:55,940 INFO [33] ?.? - cacheKey=EP:LanguageBranch, retry 1, returning object of type TObject

#151014
Jul 06, 2016 17:36
Vote:
 

Nothing rings a bell on that log unfortunately. What error message do you get in edit mode? Does console log in browser complain on anything? Did you copy appData folder and www/modules folder as well?

...and the "when in doubt, IIS reset...😀"

#151018
Jul 06, 2016 20:20
Vote:
 

Le me try your fix, Henrik.

The server is the golden copy that we use to spin off production machines. Everything is exactly the same except for the database it points at and the hosting changes.

#151020
Jul 06, 2016 21:35
Vote:
 

Update on the issue.

I used the query that Henrik sent me. I did the replacement, the pages appear, but I am not seeing the edit tree. I am getting 500 errors with several calls on scripts from the shell module. I am going to investigate more in that direction now.

Thanks so much for helping. :)

#151287
Jul 13, 2016 21:53
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.