cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Cannot find CMS Site but opens trough liveedit

Former Member
0 Kudos
502

Hi all,

i've created a new Storefront with webroot=/mba and following local.properties: hac.webroot=/hac mbastorefront.webroot=/store storefrontContextRoot=/store website.mba.http=http://localhost:9001/store website.mba.https=https://localhost:9002/store

 # Liveeditaddon has to be included in the storefronextension (not only by requires-extension).
 mbastorefront.additionalWebSpringConfigs.liveeditaddon=classpath:/liveeditaddon/web/spring/b2c-properties-spring.xml,classpath:/liveeditaddon/web/spring/liveeditaddon-storefront-web-spring.xml
  
 # Also some Spring used properties must be adopted, as the package is different after modulegen.
 cmsPageBeforeViewHandler=com.my.storefront.interceptors.beforeview.CmsPageBeforeViewHandler
 uiThemeResourceBeforeViewHandler=com.my.storefront.interceptors.beforeview.UiThemeResourceBeforeViewHandler

In backoffice i've created a Webpage with uid = storeand url pattern:

 (?i)^https?://[^/]+(/[^?]*)?\?(.*\&)?(site=store)(|\&.*)$
 (?i)^https?://store\.[^/]+(|/.*|\?.*)$
 (?i)^https?://[^/]*/store((?![\?\&]site=).)*
 (?i)^https?://[^/]*/localhost((?![\?\&]site=store).)*

If i try to open in the Webbrowser i've got a Server Error and in the Console Cannot find Cmssite associated...

But: if i open the page in WCMS liveedit and click any link in the page i can see and navigate the page in the browser (but only in the browser that has the liveedit open)

For me it looks like i can get no session or something else to show up the page.

Any idea?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

it was a combination of the channel and the urlpattern

Former Member
0 Kudos

I debuged the CmsSiteFilter.java but the error occures non debuggable Code (DefaultCMSSiteService) is there any way to debug DefaultCMSSiteService ?

0 Kudos

Can you debug the CmsSiteFilter.java; there must be some properties that you missed.

Hint, if it s b2b site; did you install b2bacceleratoraddon ?