vanjarosoftware / Vanjaro.Platform

Vanjaro is all-in-one integrated Website Builder, CMS, Online Store, Memberships, and Digital Marketing platform that grows with your business.
https://www.vanjaro.com
MIT License
57 stars 25 forks source link

DNN persona bar shows instead of Vanjaro admin panel on DNN 9.11 when Vanjaro installed as extension #2317

Closed kingjordan closed 1 year ago

kingjordan commented 1 year ago

Product & Version DNN 9.11.2 Vanjaro 1.4.0

Describe the bug I installed a brand new DNN 9.11.2 in an azure web app. The very first thing I did was install the vanjaro for DNN extension. The install of the extension timed out, but I could see that the components were installed. I set the default theme to be vanjaro and also set the theme for the home page to be vanjaro.

The problem is that the DNN persona bar is visible and I cannot see or activate the vanjaro admin panel.

When I try to set the default theme for the site to vanjaro I get the following error:

2023-04-12 13:17:44.196+00:00 [RD00155D44E1C0][D:9][T:6][ERROR] Vanjaro.Common.Engines.UIEngine.AngularBootstrap.Controllers.CommonRazorController - Vanjaro Common Pre Compile Razor Templates Started at 4/12/2023 1:17:44 PM .
2023-04-12 13:17:46.582+00:00 [RD00155D44E1C0][D:9][T:6][ERROR] Vanjaro.Common.Engines.UIEngine.AngularBootstrap.Controllers.CommonRazorController - Vanjaro Common Pre Compile Razor Templates Completed In 2 Seconds at 4/12/2023 1:17:46 PM .

this error only appears in the portals/default/logs and not in the admin logs module

I have left this web app running if you want to log in and see. Direct message me to get login details. jordan (at) krisis.ca

I have tried to reinstall the vanjaro extension two times, the installation recognizes the previous install and asks me to repair. I agree but the installation always times out, perhaps there is something that is getting missed in the install. I am using a large enough app service plan that compute resources are not the issue during install. Vanjaro is not listed in any of the extension options when you load the install extension wizard.

I installed 2sxc just to make sure that other extensions install properly and it installed fine without timing out.

Additional context this may be related to: https://github.com/vanjarosoftware/Vanjaro.Platform/pull/2094

kingjordan commented 1 year ago

I was able to reproduce this issue locally.

I used nv quicksite to create a dnn 9.11.2 site using the blank website template with all other defaults.

I then installed the vanjaro for DNN extension 1.4.0

I opened themes and set the vanjaro theme as the default

I created a test page which uses the vanjaro theme default

that test page shows the persona bar and not the vanjaro admin panel.

kingjordan commented 1 year ago

okay, so it turns out that you have to "migrate" the pages you want to vanjaro. I assumed this would happen automatically if I set the site's default theme to vanjaro and then create a new page. Event the newly created page has to be migrated by going to the personal bar/manage/vanjaro and clicking migrate. I watched the installation and set up guide videos and do not remember this being mentioned.

So the vanjaro for DNN plugin seems to be working, once I migrate the desired pages.